1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.student.lum.lo.dto;
17
18 import java.io.Serializable;
19 import java.util.Date;
20 import java.util.HashMap;
21 import java.util.Map;
22
23 import javax.xml.bind.annotation.XmlAccessType;
24 import javax.xml.bind.annotation.XmlAccessorType;
25 import javax.xml.bind.annotation.XmlAttribute;
26 import javax.xml.bind.annotation.XmlElement;
27 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
28
29 import org.kuali.student.common.dto.MetaInfo;
30 import org.kuali.student.core.ws.binding.JaxbAttributeMapListAdapter;
31
32
33
34
35
36
37
38
39
40
41 @XmlAccessorType(XmlAccessType.FIELD)
42 public class LoLoRelationInfo implements Serializable {
43
44 private static final long serialVersionUID = 1L;
45
46 @XmlElement
47 private String loId;
48
49 @XmlElement
50 private String relatedLoId;
51
52 @XmlElement
53 private Date effectiveDate;
54
55 @XmlElement
56 private Date expirationDate;
57
58 @XmlElement
59 @XmlJavaTypeAdapter(JaxbAttributeMapListAdapter.class)
60 private Map<String, String> attributes;
61
62 @XmlElement
63 private MetaInfo metaInfo;
64
65 @XmlAttribute
66 private String type;
67
68 @XmlAttribute
69 private String state;
70
71 @XmlAttribute
72 private String id;
73
74
75
76
77 public String getLoId() {
78 return loId;
79 }
80
81 public void setLoId(String loId) {
82 this.loId = loId;
83 }
84
85
86
87
88 public String getRelatedLoId() {
89 return relatedLoId;
90 }
91
92 public void setRelatedLoId(String relatedLoId) {
93 this.relatedLoId = relatedLoId;
94 }
95
96
97
98
99 public Date getEffectiveDate() {
100 return effectiveDate;
101 }
102
103 public void setEffectiveDate(Date effectiveDate) {
104 this.effectiveDate = effectiveDate;
105 }
106
107
108
109
110 public Date getExpirationDate() {
111 return expirationDate;
112 }
113
114 public void setExpirationDate(Date expirationDate) {
115 this.expirationDate = expirationDate;
116 }
117
118
119
120
121 public Map<String, String> getAttributes() {
122 if (attributes == null) {
123 attributes = new HashMap<String, String>();
124 }
125 return attributes;
126 }
127
128 public void setAttributes(Map<String, String> attributes) {
129 this.attributes = attributes;
130 }
131
132
133
134
135 public MetaInfo getMetaInfo() {
136 return metaInfo;
137 }
138
139 public void setMetaInfo(MetaInfo metaInfo) {
140 this.metaInfo = metaInfo;
141 }
142
143
144
145
146 public String getType() {
147 return type;
148 }
149
150 public void setType(String type) {
151 this.type = type;
152 }
153
154
155
156
157 public String getState() {
158 return state;
159 }
160
161 public void setState(String state) {
162 this.state = state;
163 }
164
165
166
167
168 public String getId() {
169 return id;
170 }
171
172 public void setId(String id) {
173 this.id = id;
174 }
175 }