| 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 | 0 | 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 | 0 | return code; |
| 65 | |
} |
| 66 | |
|
| 67 | |
public void setCode(String code) { |
| 68 | 0 | this.code = code; |
| 69 | 0 | } |
| 70 | |
|
| 71 | |
|
| 72 | |
|
| 73 | |
|
| 74 | |
public String getAbbrevValue() { |
| 75 | 0 | return abbrevValue; |
| 76 | |
} |
| 77 | |
|
| 78 | |
public void setAbbrevValue(String abbrevValue) { |
| 79 | 0 | this.abbrevValue = abbrevValue; |
| 80 | 0 | } |
| 81 | |
|
| 82 | |
|
| 83 | |
|
| 84 | |
|
| 85 | |
public String getValue() { |
| 86 | 0 | return value; |
| 87 | |
} |
| 88 | |
|
| 89 | |
public void setValue(String value) { |
| 90 | 0 | this.value = value; |
| 91 | 0 | } |
| 92 | |
|
| 93 | |
|
| 94 | |
|
| 95 | |
|
| 96 | |
public Date getEffectiveDate() { |
| 97 | 0 | return effectiveDate; |
| 98 | |
} |
| 99 | |
|
| 100 | |
public void setEffectiveDate(Date effectiveDate) { |
| 101 | 0 | this.effectiveDate = effectiveDate; |
| 102 | 0 | } |
| 103 | |
|
| 104 | |
|
| 105 | |
|
| 106 | |
|
| 107 | |
public Date getExpirationDate() { |
| 108 | 0 | return expirationDate; |
| 109 | |
} |
| 110 | |
|
| 111 | |
public void setExpirationDate(Date expirationDate) { |
| 112 | 0 | this.expirationDate = expirationDate; |
| 113 | 0 | } |
| 114 | |
|
| 115 | |
|
| 116 | |
|
| 117 | |
|
| 118 | |
public String getSortKey() { |
| 119 | 0 | return sortKey; |
| 120 | |
} |
| 121 | |
|
| 122 | |
public void setSortKey(String sortKey) { |
| 123 | 0 | this.sortKey = sortKey; |
| 124 | 0 | } |
| 125 | |
|
| 126 | |
|
| 127 | |
|
| 128 | |
|
| 129 | |
public List<EnumContextValueInfo> getContexts() { |
| 130 | 0 | if (contexts == null) { |
| 131 | 0 | contexts = new ArrayList<EnumContextValueInfo>(); |
| 132 | |
} |
| 133 | 0 | return contexts; |
| 134 | |
} |
| 135 | |
|
| 136 | |
public void setContexts(List<EnumContextValueInfo> contexts) { |
| 137 | 0 | this.contexts = contexts; |
| 138 | 0 | } |
| 139 | |
|
| 140 | |
public String getEnumerationKey() { |
| 141 | 0 | return enumerationKey; |
| 142 | |
} |
| 143 | |
|
| 144 | |
public void setEnumerationKey(String enumerationKey) { |
| 145 | 0 | this.enumerationKey = enumerationKey; |
| 146 | 0 | } |
| 147 | |
|
| 148 | |
|
| 149 | |
} |