| 1 | |
|
| 2 | |
|
| 3 | |
|
| 4 | |
|
| 5 | |
|
| 6 | |
|
| 7 | |
|
| 8 | |
|
| 9 | |
|
| 10 | |
|
| 11 | |
|
| 12 | |
|
| 13 | |
|
| 14 | |
|
| 15 | |
|
| 16 | |
package org.kuali.student.contract.model; |
| 17 | |
|
| 18 | |
import java.io.Serializable; |
| 19 | |
import java.util.Date; |
| 20 | |
import java.util.LinkedHashMap; |
| 21 | |
import java.util.Map; |
| 22 | |
|
| 23 | |
|
| 24 | |
|
| 25 | |
|
| 26 | |
|
| 27 | |
public class State implements Serializable |
| 28 | |
{ |
| 29 | |
|
| 30 | |
public static final String DEFAULT = "(default)"; |
| 31 | |
public static final String GROUPING = "Grouping"; |
| 32 | |
|
| 33 | |
public State () |
| 34 | |
{ |
| 35 | 0 | super (); |
| 36 | 0 | } |
| 37 | |
|
| 38 | |
private String xmlTypeState; |
| 39 | |
|
| 40 | |
|
| 41 | |
|
| 42 | |
|
| 43 | |
|
| 44 | |
|
| 45 | |
public String getXmlTypeState () |
| 46 | |
{ |
| 47 | 0 | return xmlTypeState; |
| 48 | |
} |
| 49 | |
|
| 50 | |
|
| 51 | |
|
| 52 | |
|
| 53 | |
|
| 54 | |
|
| 55 | |
public void setXmlTypeState (String xmlTypeState) |
| 56 | |
{ |
| 57 | 0 | this.xmlTypeState = xmlTypeState; |
| 58 | 0 | } |
| 59 | |
|
| 60 | |
private String xmlObject; |
| 61 | |
|
| 62 | |
|
| 63 | |
|
| 64 | |
|
| 65 | |
|
| 66 | |
|
| 67 | |
public String getXmlObject () |
| 68 | |
{ |
| 69 | 0 | return xmlObject; |
| 70 | |
} |
| 71 | |
|
| 72 | |
|
| 73 | |
|
| 74 | |
|
| 75 | |
|
| 76 | |
|
| 77 | |
public void setXmlObject (String xmlObject) |
| 78 | |
{ |
| 79 | 0 | this.xmlObject = xmlObject; |
| 80 | 0 | } |
| 81 | |
|
| 82 | |
private String xmlObjectDesc; |
| 83 | |
|
| 84 | |
|
| 85 | |
|
| 86 | |
|
| 87 | |
|
| 88 | |
|
| 89 | |
public String getXmlObjectDesc () |
| 90 | |
{ |
| 91 | 0 | return xmlObjectDesc; |
| 92 | |
} |
| 93 | |
|
| 94 | |
|
| 95 | |
|
| 96 | |
|
| 97 | |
|
| 98 | |
|
| 99 | |
public void setXmlObjectDesc (String xmlObjectDesc) |
| 100 | |
{ |
| 101 | 0 | this.xmlObjectDesc = xmlObjectDesc; |
| 102 | 0 | } |
| 103 | |
|
| 104 | |
private boolean include; |
| 105 | |
|
| 106 | |
|
| 107 | |
|
| 108 | |
|
| 109 | |
|
| 110 | |
|
| 111 | |
public boolean getInclude () |
| 112 | |
{ |
| 113 | 0 | return include; |
| 114 | |
} |
| 115 | |
|
| 116 | |
|
| 117 | |
|
| 118 | |
|
| 119 | |
|
| 120 | |
|
| 121 | |
public void setInclude (boolean include) |
| 122 | |
{ |
| 123 | 0 | this.include = include; |
| 124 | 0 | } |
| 125 | |
|
| 126 | |
private String name; |
| 127 | |
|
| 128 | |
|
| 129 | |
|
| 130 | |
|
| 131 | |
|
| 132 | |
|
| 133 | |
public String getName () |
| 134 | |
{ |
| 135 | 0 | return name; |
| 136 | |
} |
| 137 | |
|
| 138 | |
|
| 139 | |
|
| 140 | |
|
| 141 | |
|
| 142 | |
|
| 143 | |
public void setName (String name) |
| 144 | |
{ |
| 145 | 0 | this.name = name; |
| 146 | 0 | } |
| 147 | |
|
| 148 | |
private String desc; |
| 149 | |
|
| 150 | |
|
| 151 | |
|
| 152 | |
|
| 153 | |
|
| 154 | |
|
| 155 | |
public String getDesc () |
| 156 | |
{ |
| 157 | 0 | return desc; |
| 158 | |
} |
| 159 | |
|
| 160 | |
|
| 161 | |
|
| 162 | |
|
| 163 | |
|
| 164 | |
|
| 165 | |
public void setDesc (String desc) |
| 166 | |
{ |
| 167 | 0 | this.desc = desc; |
| 168 | 0 | } |
| 169 | |
|
| 170 | |
private String status; |
| 171 | |
|
| 172 | |
|
| 173 | |
|
| 174 | |
|
| 175 | |
|
| 176 | |
|
| 177 | |
public String getStatus () |
| 178 | |
{ |
| 179 | 0 | return status; |
| 180 | |
} |
| 181 | |
|
| 182 | |
|
| 183 | |
|
| 184 | |
|
| 185 | |
|
| 186 | |
|
| 187 | |
public void setStatus (String status) |
| 188 | |
{ |
| 189 | 0 | this.status = status; |
| 190 | 0 | } |
| 191 | |
|
| 192 | |
private String comments; |
| 193 | |
|
| 194 | |
|
| 195 | |
|
| 196 | |
|
| 197 | |
|
| 198 | |
|
| 199 | |
public String getComments () |
| 200 | |
{ |
| 201 | 0 | return comments; |
| 202 | |
} |
| 203 | |
|
| 204 | |
|
| 205 | |
|
| 206 | |
|
| 207 | |
|
| 208 | |
|
| 209 | |
public void setComments (String comments) |
| 210 | |
{ |
| 211 | 0 | this.comments = comments; |
| 212 | 0 | } |
| 213 | |
|
| 214 | |
private Map<String, String> attributes; |
| 215 | |
|
| 216 | |
public Map<String, String> getAttributes () |
| 217 | |
{ |
| 218 | 0 | if (attributes == null) |
| 219 | |
{ |
| 220 | 0 | attributes = new LinkedHashMap (); |
| 221 | |
} |
| 222 | 0 | return attributes; |
| 223 | |
} |
| 224 | |
|
| 225 | |
public void setAttributes (Map<String, String> attributes) |
| 226 | |
{ |
| 227 | 0 | this.attributes = attributes; |
| 228 | 0 | } |
| 229 | |
|
| 230 | |
private Date effectiveDate; |
| 231 | |
|
| 232 | |
public Date getEffectiveDate () |
| 233 | |
{ |
| 234 | 0 | return effectiveDate; |
| 235 | |
} |
| 236 | |
|
| 237 | |
public void setEffectiveDate (Date effectiveDate) |
| 238 | |
{ |
| 239 | 0 | this.effectiveDate = effectiveDate; |
| 240 | 0 | } |
| 241 | |
|
| 242 | |
private Date expirationDate; |
| 243 | |
|
| 244 | |
public Date getExpirationDate () |
| 245 | |
{ |
| 246 | 0 | return expirationDate; |
| 247 | |
} |
| 248 | |
|
| 249 | |
public void setExpirationDate (Date expirationDate) |
| 250 | |
{ |
| 251 | 0 | this.expirationDate = expirationDate; |
| 252 | 0 | } |
| 253 | |
|
| 254 | |
private String stateKey; |
| 255 | |
|
| 256 | |
public String getStateKey () |
| 257 | |
{ |
| 258 | 0 | return stateKey; |
| 259 | |
} |
| 260 | |
|
| 261 | |
public void setStateKey (String stateKey) |
| 262 | |
{ |
| 263 | 0 | this.stateKey = stateKey; |
| 264 | 0 | } |
| 265 | |
} |