1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
package org.kuali.student.lum.lu.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.core.dto.HasAttributes; |
30 | |
import org.kuali.student.core.dto.HasTypeState; |
31 | |
import org.kuali.student.core.dto.Idable; |
32 | |
import org.kuali.student.core.dto.MetaInfo; |
33 | |
import org.kuali.student.core.dto.RichTextInfo; |
34 | |
import org.kuali.student.core.ws.binding.JaxbAttributeMapListAdapter; |
35 | |
|
36 | |
|
37 | |
|
38 | |
|
39 | |
@XmlAccessorType(XmlAccessType.FIELD) |
40 | 0 | public class LuDocRelationInfo implements Serializable, Idable, HasTypeState, HasAttributes { |
41 | |
|
42 | |
private static final long serialVersionUID = 1L; |
43 | |
|
44 | |
@XmlElement |
45 | |
private String cluId; |
46 | |
|
47 | |
@XmlElement |
48 | |
private String documentId; |
49 | |
|
50 | |
@XmlElement |
51 | |
private String title; |
52 | |
|
53 | |
@XmlElement |
54 | |
private RichTextInfo desc; |
55 | |
|
56 | |
@XmlElement |
57 | |
private Date effectiveDate; |
58 | |
|
59 | |
@XmlElement |
60 | |
private Date expirationDate; |
61 | |
|
62 | |
@XmlElement |
63 | |
@XmlJavaTypeAdapter(JaxbAttributeMapListAdapter.class) |
64 | |
private Map<String, String> attributes; |
65 | |
|
66 | |
@XmlElement |
67 | |
private MetaInfo metaInfo; |
68 | |
|
69 | |
@XmlAttribute |
70 | |
private String type; |
71 | |
|
72 | |
@XmlAttribute |
73 | |
private String state; |
74 | |
|
75 | |
@XmlAttribute |
76 | |
private String id; |
77 | |
|
78 | |
|
79 | |
|
80 | |
|
81 | |
public String getCluId() { |
82 | 0 | return cluId; |
83 | |
} |
84 | |
|
85 | |
public void setCluId(String cluId) { |
86 | 0 | this.cluId = cluId; |
87 | 0 | } |
88 | |
|
89 | |
|
90 | |
|
91 | |
|
92 | |
public String getDocumentId() { |
93 | 0 | return documentId; |
94 | |
} |
95 | |
|
96 | |
public void setDocumentId(String documentId) { |
97 | 0 | this.documentId = documentId; |
98 | 0 | } |
99 | |
|
100 | |
|
101 | |
|
102 | |
|
103 | |
public String getTitle() { |
104 | 0 | return title; |
105 | |
} |
106 | |
|
107 | |
public void setTitle(String title) { |
108 | 0 | this.title = title; |
109 | 0 | } |
110 | |
|
111 | |
|
112 | |
|
113 | |
|
114 | |
public RichTextInfo getDesc() { |
115 | 0 | return desc; |
116 | |
} |
117 | |
|
118 | |
public void setDesc(RichTextInfo desc) { |
119 | 0 | this.desc = desc; |
120 | 0 | } |
121 | |
|
122 | |
|
123 | |
|
124 | |
|
125 | |
public Date getEffectiveDate() { |
126 | 0 | return effectiveDate; |
127 | |
} |
128 | |
|
129 | |
public void setEffectiveDate(Date effectiveDate) { |
130 | 0 | this.effectiveDate = effectiveDate; |
131 | 0 | } |
132 | |
|
133 | |
|
134 | |
|
135 | |
|
136 | |
public Date getExpirationDate() { |
137 | 0 | return expirationDate; |
138 | |
} |
139 | |
|
140 | |
public void setExpirationDate(Date expirationDate) { |
141 | 0 | this.expirationDate = expirationDate; |
142 | 0 | } |
143 | |
|
144 | |
|
145 | |
|
146 | |
|
147 | |
public Map<String, String> getAttributes() { |
148 | 0 | if (attributes == null) { |
149 | 0 | attributes = new HashMap<String, String>(); |
150 | |
} |
151 | 0 | return attributes; |
152 | |
} |
153 | |
|
154 | |
public void setAttributes(Map<String, String> attributes) { |
155 | 0 | this.attributes = attributes; |
156 | 0 | } |
157 | |
|
158 | |
|
159 | |
|
160 | |
|
161 | |
public MetaInfo getMetaInfo() { |
162 | 0 | return metaInfo; |
163 | |
} |
164 | |
|
165 | |
public void setMetaInfo(MetaInfo metaInfo) { |
166 | 0 | this.metaInfo = metaInfo; |
167 | 0 | } |
168 | |
|
169 | |
|
170 | |
|
171 | |
|
172 | |
public String getType() { |
173 | 0 | return type; |
174 | |
} |
175 | |
|
176 | |
public void setType(String type) { |
177 | 0 | this.type = type; |
178 | 0 | } |
179 | |
|
180 | |
|
181 | |
|
182 | |
|
183 | |
public String getState() { |
184 | 0 | return state; |
185 | |
} |
186 | |
|
187 | |
public void setState(String state) { |
188 | 0 | this.state = state; |
189 | 0 | } |
190 | |
|
191 | |
|
192 | |
|
193 | |
|
194 | |
public String getId() { |
195 | 0 | return id; |
196 | |
} |
197 | |
|
198 | |
public void setId(String id) { |
199 | 0 | this.id = id; |
200 | 0 | } |
201 | |
} |