| 1 | |
|
| 2 | |
|
| 3 | |
|
| 4 | |
|
| 5 | |
|
| 6 | |
|
| 7 | |
|
| 8 | |
|
| 9 | |
|
| 10 | |
|
| 11 | |
|
| 12 | |
|
| 13 | |
|
| 14 | |
|
| 15 | |
|
| 16 | |
|
| 17 | |
package org.kuali.student.lum.lu.dto; |
| 18 | |
|
| 19 | |
import org.kuali.student.core.dto.HasAttributes; |
| 20 | |
import org.kuali.student.core.dto.Idable; |
| 21 | |
import org.kuali.student.core.dto.MetaInfo; |
| 22 | |
import org.kuali.student.core.dto.RichTextInfo; |
| 23 | |
import org.kuali.student.core.ws.binding.JaxbAttributeMapListAdapter; |
| 24 | |
|
| 25 | |
import javax.xml.bind.annotation.XmlAccessType; |
| 26 | |
import javax.xml.bind.annotation.XmlAccessorType; |
| 27 | |
import javax.xml.bind.annotation.XmlAttribute; |
| 28 | |
import javax.xml.bind.annotation.XmlElement; |
| 29 | |
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; |
| 30 | |
import java.io.Serializable; |
| 31 | |
import java.util.*; |
| 32 | |
|
| 33 | |
|
| 34 | |
|
| 35 | |
|
| 36 | |
|
| 37 | |
|
| 38 | |
@XmlAccessorType(XmlAccessType.FIELD) |
| 39 | 0 | public class CluSetInfo implements Serializable, Idable, HasAttributes { |
| 40 | |
|
| 41 | |
private static final long serialVersionUID = 1L; |
| 42 | |
|
| 43 | |
@XmlElement |
| 44 | |
private String name; |
| 45 | |
|
| 46 | |
@XmlElement |
| 47 | |
private RichTextInfo descr; |
| 48 | |
|
| 49 | |
@XmlElement |
| 50 | |
private Date effectiveDate; |
| 51 | |
|
| 52 | |
@XmlElement |
| 53 | |
private Date expirationDate; |
| 54 | |
|
| 55 | |
@XmlElement |
| 56 | |
private MembershipQueryInfo membershipQuery; |
| 57 | |
|
| 58 | |
@XmlElement |
| 59 | |
private String adminOrg; |
| 60 | |
|
| 61 | |
@XmlElement |
| 62 | |
private Boolean isReusable; |
| 63 | |
|
| 64 | |
@XmlElement |
| 65 | |
private Boolean isReferenceable; |
| 66 | |
|
| 67 | |
@XmlElement |
| 68 | |
private List<String> cluSetIds; |
| 69 | |
|
| 70 | |
@XmlElement |
| 71 | |
private List<String> cluIds; |
| 72 | |
|
| 73 | |
@XmlElement |
| 74 | |
@XmlJavaTypeAdapter(JaxbAttributeMapListAdapter.class) |
| 75 | |
private Map<String, String> attributes; |
| 76 | |
|
| 77 | |
@XmlElement |
| 78 | |
private MetaInfo metaInfo; |
| 79 | |
|
| 80 | |
@XmlAttribute |
| 81 | |
private String type; |
| 82 | |
|
| 83 | |
@XmlAttribute |
| 84 | |
private String state; |
| 85 | |
|
| 86 | |
@XmlAttribute |
| 87 | |
private String id; |
| 88 | |
|
| 89 | |
|
| 90 | |
|
| 91 | |
|
| 92 | |
|
| 93 | |
|
| 94 | |
public String getName() { |
| 95 | 0 | return name; |
| 96 | |
} |
| 97 | |
|
| 98 | |
public void setName(String name) { |
| 99 | 0 | this.name = name; |
| 100 | 0 | } |
| 101 | |
|
| 102 | |
|
| 103 | |
|
| 104 | |
|
| 105 | |
|
| 106 | |
|
| 107 | |
public RichTextInfo getDescr() { |
| 108 | 0 | return descr; |
| 109 | |
} |
| 110 | |
|
| 111 | |
public void setDescr(RichTextInfo descr) { |
| 112 | 0 | this.descr = descr; |
| 113 | 0 | } |
| 114 | |
|
| 115 | |
|
| 116 | |
|
| 117 | |
|
| 118 | |
|
| 119 | |
|
| 120 | |
|
| 121 | |
|
| 122 | |
|
| 123 | |
public Date getEffectiveDate() { |
| 124 | 0 | return effectiveDate; |
| 125 | |
} |
| 126 | |
|
| 127 | |
public void setEffectiveDate(Date effectiveDate) { |
| 128 | 0 | this.effectiveDate = effectiveDate; |
| 129 | 0 | } |
| 130 | |
|
| 131 | |
|
| 132 | |
|
| 133 | |
|
| 134 | |
|
| 135 | |
|
| 136 | |
|
| 137 | |
|
| 138 | |
|
| 139 | |
|
| 140 | |
|
| 141 | |
public Date getExpirationDate() { |
| 142 | 0 | return expirationDate; |
| 143 | |
} |
| 144 | |
|
| 145 | |
public void setExpirationDate(Date expirationDate) { |
| 146 | 0 | this.expirationDate = expirationDate; |
| 147 | 0 | } |
| 148 | |
|
| 149 | |
|
| 150 | |
|
| 151 | |
|
| 152 | |
|
| 153 | |
|
| 154 | |
|
| 155 | |
|
| 156 | |
|
| 157 | |
|
| 158 | |
|
| 159 | |
|
| 160 | |
|
| 161 | |
|
| 162 | |
|
| 163 | |
|
| 164 | |
|
| 165 | |
|
| 166 | |
public List<String> getCluSetIds() { |
| 167 | 0 | if (cluSetIds == null) { |
| 168 | 0 | cluSetIds = new ArrayList<String>(); |
| 169 | |
} |
| 170 | |
|
| 171 | 0 | return cluSetIds; |
| 172 | |
} |
| 173 | |
|
| 174 | |
public void setCluSetIds(List<String> cluSetIds) { |
| 175 | 0 | this.cluSetIds = cluSetIds; |
| 176 | 0 | } |
| 177 | |
|
| 178 | |
|
| 179 | |
|
| 180 | |
|
| 181 | |
|
| 182 | |
|
| 183 | |
|
| 184 | |
public List<String> getCluIds() { |
| 185 | 0 | if (cluIds == null) { |
| 186 | 0 | cluIds = new ArrayList<String>(); |
| 187 | |
} |
| 188 | |
|
| 189 | 0 | return cluIds; |
| 190 | |
} |
| 191 | |
|
| 192 | |
public void setCluIds(List<String> cluIds) { |
| 193 | 0 | this.cluIds = cluIds; |
| 194 | 0 | } |
| 195 | |
|
| 196 | |
|
| 197 | |
|
| 198 | |
|
| 199 | |
|
| 200 | |
|
| 201 | |
public Map<String, String> getAttributes() { |
| 202 | 0 | if (attributes == null) { |
| 203 | 0 | attributes = new HashMap<String, String>(); |
| 204 | |
} |
| 205 | |
|
| 206 | 0 | return attributes; |
| 207 | |
} |
| 208 | |
|
| 209 | |
public void setAttributes(Map<String, String> attributes) { |
| 210 | 0 | this.attributes = attributes; |
| 211 | 0 | } |
| 212 | |
|
| 213 | |
|
| 214 | |
|
| 215 | |
|
| 216 | |
|
| 217 | |
|
| 218 | |
|
| 219 | |
|
| 220 | |
public MetaInfo getMetaInfo() { |
| 221 | 0 | return metaInfo; |
| 222 | |
} |
| 223 | |
|
| 224 | |
public void setMetaInfo(MetaInfo metaInfo) { |
| 225 | 0 | this.metaInfo = metaInfo; |
| 226 | 0 | } |
| 227 | |
|
| 228 | |
|
| 229 | |
|
| 230 | |
|
| 231 | |
|
| 232 | |
|
| 233 | |
|
| 234 | |
|
| 235 | |
public String getId() { |
| 236 | 0 | return id; |
| 237 | |
} |
| 238 | |
|
| 239 | |
public void setId(String id) { |
| 240 | 0 | this.id = id; |
| 241 | 0 | } |
| 242 | |
|
| 243 | |
public MembershipQueryInfo getMembershipQuery() { |
| 244 | 0 | return membershipQuery; |
| 245 | |
} |
| 246 | |
|
| 247 | |
public void setMembershipQuery(MembershipQueryInfo membershipQuery) { |
| 248 | 0 | this.membershipQuery = membershipQuery; |
| 249 | 0 | } |
| 250 | |
|
| 251 | |
|
| 252 | |
|
| 253 | |
|
| 254 | |
|
| 255 | |
|
| 256 | |
|
| 257 | |
|
| 258 | |
|
| 259 | |
public String getType() { |
| 260 | 0 | return type; |
| 261 | |
} |
| 262 | |
|
| 263 | |
|
| 264 | |
|
| 265 | |
|
| 266 | |
|
| 267 | |
|
| 268 | |
|
| 269 | |
|
| 270 | |
|
| 271 | |
public void setType(String type) { |
| 272 | 0 | this.type = type; |
| 273 | 0 | } |
| 274 | |
|
| 275 | |
public String getState() { |
| 276 | 0 | return state; |
| 277 | |
} |
| 278 | |
|
| 279 | |
public void setState(String state) { |
| 280 | 0 | this.state = state; |
| 281 | 0 | } |
| 282 | |
|
| 283 | |
public String getAdminOrg() { |
| 284 | 0 | return adminOrg; |
| 285 | |
} |
| 286 | |
|
| 287 | |
public void setAdminOrg(String adminOrg) { |
| 288 | 0 | this.adminOrg = adminOrg; |
| 289 | 0 | } |
| 290 | |
|
| 291 | |
public Boolean getIsReusable() { |
| 292 | 0 | return isReusable; |
| 293 | |
} |
| 294 | |
|
| 295 | |
public void setIsReusable(Boolean isReusable) { |
| 296 | 0 | this.isReusable = isReusable; |
| 297 | 0 | } |
| 298 | |
|
| 299 | |
public Boolean getIsReferenceable() { |
| 300 | 0 | return isReferenceable; |
| 301 | |
} |
| 302 | |
|
| 303 | |
public void setIsReferenceable(Boolean isReferenceable) { |
| 304 | 0 | this.isReferenceable = isReferenceable; |
| 305 | 0 | } |
| 306 | |
} |