| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| Dictionary |
|
| 1.0;1 |
| 1 | /* | |
| 2 | * Copyright 2009 The Kuali Foundation | |
| 3 | * | |
| 4 | * Licensed under the Educational Community License, Version 2.0 (the "License"); | |
| 5 | * you may not use this file except in compliance with the License. | |
| 6 | * You may obtain a copy of the License at | |
| 7 | * | |
| 8 | * http://www.osedu.org/licenses/ECL-2.0 | |
| 9 | * | |
| 10 | * Unless required by applicable law or agreed to in writing, software | |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, | |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 13 | * See the License for the specific language governing permissions and | |
| 14 | * limitations under the License. | |
| 15 | */ | |
| 16 | package org.kuali.student.contract.model; | |
| 17 | ||
| 18 | import java.io.Serializable; | |
| 19 | import java.util.List; | |
| 20 | ||
| 21 | /** | |
| 22 | * Models a single dictionary entry | |
| 23 | * @author nwright | |
| 24 | */ | |
| 25 | public class Dictionary implements Serializable, Cloneable { | |
| 26 | ||
| 27 | public Dictionary() { | |
| 28 | 0 | super(); |
| 29 | 0 | } |
| 30 | private String id; | |
| 31 | ||
| 32 | /** | |
| 33 | * Get the value of id | |
| 34 | * | |
| 35 | * @return the value of id | |
| 36 | */ | |
| 37 | public String getId() { | |
| 38 | 0 | return id; |
| 39 | } | |
| 40 | ||
| 41 | /** | |
| 42 | * Set the value of id | |
| 43 | * | |
| 44 | * @param id new value of id | |
| 45 | */ | |
| 46 | public void setId(String id) { | |
| 47 | 0 | this.id = id; |
| 48 | 0 | } |
| 49 | private String type; | |
| 50 | ||
| 51 | /** | |
| 52 | * Get the value of type | |
| 53 | * | |
| 54 | * @return the value of type | |
| 55 | */ | |
| 56 | public String getType() { | |
| 57 | 0 | return type; |
| 58 | } | |
| 59 | ||
| 60 | /** | |
| 61 | * Set the value of type | |
| 62 | * | |
| 63 | * @param type new value of type | |
| 64 | */ | |
| 65 | public void setType(String type) { | |
| 66 | 0 | this.type = type; |
| 67 | 0 | } |
| 68 | private String state; | |
| 69 | ||
| 70 | /** | |
| 71 | * Get the value of state | |
| 72 | * | |
| 73 | * @return the value of state | |
| 74 | */ | |
| 75 | public String getState() { | |
| 76 | 0 | return state; |
| 77 | } | |
| 78 | ||
| 79 | /** | |
| 80 | * Set the value of state | |
| 81 | * | |
| 82 | * @param state new value of state | |
| 83 | */ | |
| 84 | public void setState(String state) { | |
| 85 | 0 | this.state = state; |
| 86 | 0 | } |
| 87 | private Dictionary parent; | |
| 88 | ||
| 89 | public Dictionary getParent() { | |
| 90 | 0 | return parent; |
| 91 | } | |
| 92 | ||
| 93 | public void setParent(Dictionary parent) { | |
| 94 | 0 | this.parent = parent; |
| 95 | 0 | } |
| 96 | private String subType; | |
| 97 | ||
| 98 | /** | |
| 99 | * Get the value of subType | |
| 100 | * | |
| 101 | * @return the value of subType | |
| 102 | */ | |
| 103 | public String getSubType() { | |
| 104 | 0 | return subType; |
| 105 | } | |
| 106 | ||
| 107 | /** | |
| 108 | * Set the value of subType | |
| 109 | * | |
| 110 | * @param subType new value of subType | |
| 111 | */ | |
| 112 | public void setSubType(String subType) { | |
| 113 | 0 | this.subType = subType; |
| 114 | 0 | } |
| 115 | private String subState; | |
| 116 | ||
| 117 | /** | |
| 118 | * Get the value of subState | |
| 119 | * | |
| 120 | * @return the value of subState | |
| 121 | */ | |
| 122 | public String getSubState() { | |
| 123 | 0 | return subState; |
| 124 | } | |
| 125 | ||
| 126 | /** | |
| 127 | * Set the value of subState | |
| 128 | * | |
| 129 | * @param subState new value of subState | |
| 130 | */ | |
| 131 | public void setSubState(String subState) { | |
| 132 | 0 | this.subState = subState; |
| 133 | 0 | } |
| 134 | private String xmlObject; | |
| 135 | ||
| 136 | /** | |
| 137 | * Get the value of xmlObject | |
| 138 | * | |
| 139 | * @return the value of xmlObject | |
| 140 | */ | |
| 141 | public String getXmlObject() { | |
| 142 | 0 | return xmlObject; |
| 143 | } | |
| 144 | ||
| 145 | /** | |
| 146 | * Set the value of xmlObject | |
| 147 | * | |
| 148 | * @param xmlObject new value of xmlObject | |
| 149 | */ | |
| 150 | public void setXmlObject(String xmlObject) { | |
| 151 | 0 | this.xmlObject = xmlObject; |
| 152 | 0 | } |
| 153 | private String shortName; | |
| 154 | ||
| 155 | /** | |
| 156 | * Get the value of shortName | |
| 157 | * | |
| 158 | * @return the value of shortName | |
| 159 | */ | |
| 160 | public String getShortName() { | |
| 161 | 0 | return shortName; |
| 162 | } | |
| 163 | ||
| 164 | /** | |
| 165 | * Set the value of shortName | |
| 166 | * | |
| 167 | * @param shortName new value of shortName | |
| 168 | */ | |
| 169 | public void setShortName(String shortName) { | |
| 170 | 0 | this.shortName = shortName; |
| 171 | 0 | } |
| 172 | private String primitive; | |
| 173 | ||
| 174 | /** | |
| 175 | * Get the value of primitive | |
| 176 | * | |
| 177 | * @return the value of primitive | |
| 178 | */ | |
| 179 | public String getPrimitive() { | |
| 180 | 0 | return primitive; |
| 181 | } | |
| 182 | ||
| 183 | /** | |
| 184 | * Set the value of primitive | |
| 185 | * | |
| 186 | * @param primitive new value of primitive | |
| 187 | */ | |
| 188 | public void setPrimitive(String primitive) { | |
| 189 | 0 | this.primitive = primitive; |
| 190 | 0 | } |
| 191 | private String baseConstraintDescription; | |
| 192 | ||
| 193 | /** | |
| 194 | * Get the value of baseConstraintDescription | |
| 195 | * | |
| 196 | * @return the value of baseConstraintDescription | |
| 197 | */ | |
| 198 | public String getBaseConstraintDescription() { | |
| 199 | 0 | return baseConstraintDescription; |
| 200 | } | |
| 201 | ||
| 202 | /** | |
| 203 | * Set the value of baseConstraintDescription | |
| 204 | * | |
| 205 | * @param baseConstraintDescription new value of baseConstraintDescription | |
| 206 | */ | |
| 207 | public void setBaseConstraintDescription(String baseConstraintDescription) { | |
| 208 | 0 | this.baseConstraintDescription = baseConstraintDescription; |
| 209 | 0 | } |
| 210 | private String name; | |
| 211 | ||
| 212 | /** | |
| 213 | * Get the value of name | |
| 214 | * | |
| 215 | * @return the value of name | |
| 216 | */ | |
| 217 | public String getName() { | |
| 218 | 0 | return name; |
| 219 | } | |
| 220 | ||
| 221 | /** | |
| 222 | * Set the value of name | |
| 223 | * | |
| 224 | * @param name new value of name | |
| 225 | */ | |
| 226 | public void setName(String name) { | |
| 227 | 0 | this.name = name; |
| 228 | 0 | } |
| 229 | public String desc; | |
| 230 | ||
| 231 | /** | |
| 232 | * Get the value of desc | |
| 233 | * | |
| 234 | * @return the value of desc | |
| 235 | */ | |
| 236 | public String getDesc() { | |
| 237 | 0 | return desc; |
| 238 | } | |
| 239 | ||
| 240 | /** | |
| 241 | * Set the value of desc | |
| 242 | * | |
| 243 | * @param desc new value of desc | |
| 244 | */ | |
| 245 | public void setDesc(String desc) { | |
| 246 | 0 | this.desc = desc; |
| 247 | 0 | } |
| 248 | private boolean selector; | |
| 249 | ||
| 250 | /** | |
| 251 | * Get the value of selector | |
| 252 | * | |
| 253 | * @return the value of selector | |
| 254 | */ | |
| 255 | public boolean isSelector() { | |
| 256 | 0 | return selector; |
| 257 | } | |
| 258 | ||
| 259 | /** | |
| 260 | * Set the value of selector | |
| 261 | * | |
| 262 | * @param selector new value of selector | |
| 263 | */ | |
| 264 | public void setSelector(boolean selector) { | |
| 265 | 0 | this.selector = selector; |
| 266 | 0 | } |
| 267 | private boolean dynamic; | |
| 268 | ||
| 269 | public boolean isDynamic() { | |
| 270 | 0 | return dynamic; |
| 271 | } | |
| 272 | ||
| 273 | public void setDynamic(boolean dynamic) { | |
| 274 | 0 | this.dynamic = dynamic; |
| 275 | 0 | } |
| 276 | private String comments; | |
| 277 | ||
| 278 | /** | |
| 279 | * Get the value of comments | |
| 280 | * | |
| 281 | * @return the value of comments | |
| 282 | */ | |
| 283 | public String getComments() { | |
| 284 | 0 | return comments; |
| 285 | } | |
| 286 | ||
| 287 | /** | |
| 288 | * Set the value of comments | |
| 289 | * | |
| 290 | * @param comments new value of comments | |
| 291 | */ | |
| 292 | public void setComments(String comments) { | |
| 293 | 0 | this.comments = comments; |
| 294 | 0 | } |
| 295 | protected List<String> additionalConstraintIds; | |
| 296 | ||
| 297 | /** | |
| 298 | * Get the value of additionalConstraintIds | |
| 299 | * | |
| 300 | * @return the value of additionalConstraintIds | |
| 301 | */ | |
| 302 | public List<String> getAdditionalConstraintIds() { | |
| 303 | 0 | return additionalConstraintIds; |
| 304 | } | |
| 305 | ||
| 306 | /** | |
| 307 | * Set the value of additionalConstraintIds | |
| 308 | * | |
| 309 | * @param additionalConstraintIds new value of additionalConstraintIds | |
| 310 | */ | |
| 311 | public void setAdditionalConstraintIds(List<String> additionalConstraintIds) { | |
| 312 | 0 | this.additionalConstraintIds = additionalConstraintIds; |
| 313 | 0 | } |
| 314 | protected String additionalConstraintDescription; | |
| 315 | ||
| 316 | /** | |
| 317 | * Get the value of additionalConstraintDescription | |
| 318 | * | |
| 319 | * @return the value of additionalConstraintDescription | |
| 320 | */ | |
| 321 | public String getAdditionalConstraintDescription() { | |
| 322 | 0 | return additionalConstraintDescription; |
| 323 | } | |
| 324 | ||
| 325 | /** | |
| 326 | * Set the value of additionalConstraintDescription | |
| 327 | * | |
| 328 | * @param additionalConstraintDescription new value of additionalConstraintDescription | |
| 329 | */ | |
| 330 | public void setAdditionalConstraintDescription( | |
| 331 | String additionalConstraintDescription) { | |
| 332 | 0 | this.additionalConstraintDescription = additionalConstraintDescription; |
| 333 | 0 | } |
| 334 | protected String combinedConstraintDescription; | |
| 335 | ||
| 336 | /** | |
| 337 | * Get the value of combinedConstraintDescription | |
| 338 | * | |
| 339 | * @return the value of combinedConstraintDescription | |
| 340 | */ | |
| 341 | public String getCombinedConstraintDescription() { | |
| 342 | 0 | return combinedConstraintDescription; |
| 343 | } | |
| 344 | ||
| 345 | /** | |
| 346 | * Set the value of combinedConstraintDescription | |
| 347 | * | |
| 348 | * @param combinedConstraintDescription new value of combinedConstraintDescription | |
| 349 | */ | |
| 350 | public void setCombinedConstraintDescription( | |
| 351 | String combinedConstraintDescription) { | |
| 352 | 0 | this.combinedConstraintDescription = combinedConstraintDescription; |
| 353 | 0 | } |
| 354 | private Constraint inlineConstraint; | |
| 355 | ||
| 356 | /** | |
| 357 | * Get the value of inlineConstraint | |
| 358 | * | |
| 359 | * @return the value of inlineConstraint | |
| 360 | */ | |
| 361 | public Constraint getInlineConstraint() { | |
| 362 | 0 | return inlineConstraint; |
| 363 | } | |
| 364 | ||
| 365 | /** | |
| 366 | * Set the value of inlineConstraint | |
| 367 | * | |
| 368 | * @param inlineConstraint new value of inlineConstraint | |
| 369 | */ | |
| 370 | public void setInlineConstraint(Constraint inlineConstraint) { | |
| 371 | 0 | this.inlineConstraint = inlineConstraint; |
| 372 | 0 | } |
| 373 | ||
| 374 | @Override | |
| 375 | public Object clone() | |
| 376 | throws CloneNotSupportedException { | |
| 377 | 0 | return super.clone(); |
| 378 | } | |
| 379 | } |