1 /**
2 * Copyright 2010 The Kuali Foundation Licensed under the
3 * Educational Community License, Version 2.0 (the "License"); you may
4 * not use this file except in compliance with the License. You may
5 * obtain a copy of the License at
6 *
7 * http://www.osedu.org/licenses/ECL-2.0
8 *
9 * Unless required by applicable law or agreed to in writing,
10 * software distributed under the License is distributed on an "AS IS"
11 * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
12 * or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15
16 //
17 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.0 in JDK 1.6
18 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
19 // Any modifications to this file will be lost upon recompilation of the source schema.
20 // Generated on: 2008.10.21 at 02:14:18 PM PDT
21 //
22
23
24 package org.kuali.student.r1.common.dictionary.old.dto;
25
26 import java.io.Serializable;
27 import java.util.ArrayList;
28 import java.util.List;
29
30 import javax.xml.bind.annotation.XmlAccessType;
31 import javax.xml.bind.annotation.XmlAccessorType;
32 import javax.xml.bind.annotation.XmlAttribute;
33 import javax.xml.bind.annotation.XmlElement;
34
35
36 /**
37 * <p>Java class for anonymous complex type.
38 *
39 * <p>The following schema fragment specifies the expected content contained within this class.
40 *
41 * <pre>
42 * <complexType>
43 * <complexContent>
44 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
45 * <sequence>
46 * <element ref="{http://www.dto.dictionary.student.kuali.org}field" maxOccurs="unbounded"/>
47 * </sequence>
48 * <attribute name="key" type="{http://www.w3.org/2001/XMLSchema}string" />
49 * </restriction>
50 * </complexContent>
51 * </complexType>
52 * </pre>
53 *
54 *
55 */
56 @Deprecated
57 @XmlAccessorType(XmlAccessType.FIELD)
58 public class State implements Serializable{
59
60 private static final long serialVersionUID = 1L;
61
62 @XmlElement(required = true)
63 protected List<Field> field;
64
65 @XmlAttribute
66 protected String id;
67
68 @XmlAttribute(required = true)
69 protected String key;
70
71 @XmlElement
72 protected ConstraintDescriptor constraintDescriptor;
73
74 /**
75 * Gets the value of the field property.
76 *
77 * <p>
78 * This accessor method returns a reference to the live list,
79 * not a snapshot. Therefore any modification you make to the
80 * returned list will be present inside the JAXB object.
81 * This is why there is not a <CODE>set</CODE> method for the field property.
82 *
83 * <p>
84 * For example, to add a new item, do as follows:
85 * <pre>
86 * getField().add(newItem);
87 * </pre>
88 *
89 *
90 * <p>
91 * Objects of the following type(s) are allowed in the list
92 * {@link Field }
93 *
94 *
95 */
96 public List<Field> getField() {
97 if (field == null) {
98 field = new ArrayList<Field>();
99 }
100 return this.field;
101 }
102
103 /**
104 * Gets the value of the key property.
105 *
106 * @return
107 * possible object is
108 * {@link String }
109 *
110 */
111 public String getKey() {
112 return key;
113 }
114
115 /**
116 * Sets the value of the key property.
117 *
118 * @param value
119 * allowed object is
120 * {@link String }
121 *
122 */
123 public void setKey(String value) {
124 this.key = value;
125 }
126
127 public void setField(List<Field> field) {
128 this.field = field;
129 }
130
131 /**
132 * @return the constraintDescriptor
133 */
134 public ConstraintDescriptor getConstraintDescriptor() {
135 return constraintDescriptor;
136 }
137
138 /**
139 * @param constraintDescriptor the constraintDescriptor to set
140 */
141 public void setConstraintDescriptor(ConstraintDescriptor constraintDescriptor) {
142 this.constraintDescriptor = constraintDescriptor;
143 }
144 }