1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.student.core.enumerationmanagement.dto;
17
18 import java.io.Serializable;
19 import java.util.ArrayList;
20 import java.util.Date;
21 import java.util.List;
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
28
29
30
31 @XmlAccessorType(XmlAccessType.FIELD)
32 public class EnumeratedValueInfo implements Serializable {
33
34 private static final long serialVersionUID = 1L;
35
36 @XmlElement
37 private String code;
38
39 @XmlElement
40 private String abbrevValue;
41
42 @XmlElement
43 private String value;
44
45 @XmlElement
46 private Date effectiveDate;
47
48 @XmlElement
49 private Date expirationDate;
50
51 @XmlElement
52 private String sortKey;
53
54 @XmlElement
55 private List<EnumContextValueInfo> contexts;
56
57 @XmlAttribute
58 private String enumerationKey;
59
60
61
62
63 public String getCode() {
64 return code;
65 }
66
67 public void setCode(String code) {
68 this.code = code;
69 }
70
71
72
73
74 public String getAbbrevValue() {
75 return abbrevValue;
76 }
77
78 public void setAbbrevValue(String abbrevValue) {
79 this.abbrevValue = abbrevValue;
80 }
81
82
83
84
85 public String getValue() {
86 return value;
87 }
88
89 public void setValue(String value) {
90 this.value = value;
91 }
92
93
94
95
96 public Date getEffectiveDate() {
97 return effectiveDate;
98 }
99
100 public void setEffectiveDate(Date effectiveDate) {
101 this.effectiveDate = effectiveDate;
102 }
103
104
105
106
107 public Date getExpirationDate() {
108 return expirationDate;
109 }
110
111 public void setExpirationDate(Date expirationDate) {
112 this.expirationDate = expirationDate;
113 }
114
115
116
117
118 public String getSortKey() {
119 return sortKey;
120 }
121
122 public void setSortKey(String sortKey) {
123 this.sortKey = sortKey;
124 }
125
126
127
128
129 public List<EnumContextValueInfo> getContexts() {
130 if (contexts == null) {
131 contexts = new ArrayList<EnumContextValueInfo>();
132 }
133 return contexts;
134 }
135
136 public void setContexts(List<EnumContextValueInfo> contexts) {
137 this.contexts = contexts;
138 }
139
140 public String getEnumerationKey() {
141 return enumerationKey;
142 }
143
144 public void setEnumerationKey(String enumerationKey) {
145 this.enumerationKey = enumerationKey;
146 }
147
148
149 }