Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
Field |
|
| 1.0;1 |
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.common.dictionary.old.dto; | |
25 | ||
26 | import java.io.Serializable; | |
27 | ||
28 | import javax.xml.bind.annotation.XmlAccessType; | |
29 | import javax.xml.bind.annotation.XmlAccessorType; | |
30 | import javax.xml.bind.annotation.XmlAttribute; | |
31 | import javax.xml.bind.annotation.XmlElement; | |
32 | ||
33 | ||
34 | /** | |
35 | * <p>Java class for anonymous complex type. | |
36 | * | |
37 | * <p>The following schema fragment specifies the expected content contained within this class. | |
38 | * | |
39 | * <pre> | |
40 | * <complexType> | |
41 | * <complexContent> | |
42 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> | |
43 | * <sequence> | |
44 | * <element ref="{http://www.dto.dictionary.student.kuali.org}fieldDescriptor"/> | |
45 | * <element name="readOnly" type="{http://www.w3.org/2001/XMLSchema}boolean"/> | |
46 | * </sequence> | |
47 | * <attribute name="key" type="{http://www.w3.org/2001/XMLSchema}string" /> | |
48 | * </restriction> | |
49 | * </complexContent> | |
50 | * </complexType> | |
51 | * </pre> | |
52 | * | |
53 | * | |
54 | */ | |
55 | @XmlAccessorType(XmlAccessType.FIELD) | |
56 | 0 | public class Field implements Serializable{ |
57 | ||
58 | private static final long serialVersionUID = 1L; | |
59 | ||
60 | @XmlAttribute(required = true) | |
61 | protected String key; | |
62 | ||
63 | @XmlAttribute | |
64 | protected String id; | |
65 | ||
66 | @XmlElement //TODO there is no required here but there should be | |
67 | protected FieldDescriptor fieldDescriptor; | |
68 | ||
69 | @XmlElement | |
70 | protected ConstraintDescriptor constraintDescriptor; | |
71 | ||
72 | @XmlElement | |
73 | protected boolean selector; | |
74 | ||
75 | @XmlElement | |
76 | protected boolean dynamic; | |
77 | ||
78 | ||
79 | /** | |
80 | * Gets the value of the fieldDescriptor property. | |
81 | * | |
82 | * @return | |
83 | * possible object is | |
84 | * {@link FieldDescriptor } | |
85 | * | |
86 | */ | |
87 | public FieldDescriptor getFieldDescriptor() { | |
88 | 0 | return fieldDescriptor; |
89 | } | |
90 | ||
91 | /** | |
92 | * Sets the value of the fieldDescriptor property. | |
93 | * | |
94 | * @param value | |
95 | * allowed object is | |
96 | * {@link FieldDescriptor } | |
97 | * | |
98 | */ | |
99 | public void setFieldDescriptor(FieldDescriptor value) { | |
100 | 0 | this.fieldDescriptor = value; |
101 | 0 | } |
102 | ||
103 | public boolean isSelector() { | |
104 | 0 | return selector; |
105 | } | |
106 | ||
107 | /** | |
108 | * Indicates if the field is a selector field, which indicates that changes | |
109 | * to this field may alter the structure of the object type. This may provide | |
110 | * insight as to frequency of calls to a validate operation, as the | |
111 | * constraints will not be externalized. | |
112 | * | |
113 | * @param isSelector | |
114 | */ | |
115 | public void setSelector(boolean isSelector) { | |
116 | 0 | this.selector = isSelector; |
117 | 0 | } |
118 | ||
119 | /** | |
120 | * Gets the value of the key property. | |
121 | * | |
122 | * @return | |
123 | * possible object is | |
124 | * {@link String } | |
125 | * | |
126 | */ | |
127 | public String getKey() { | |
128 | 0 | return key; |
129 | } | |
130 | ||
131 | /** | |
132 | * Sets the value of the key property. | |
133 | * | |
134 | * @param value | |
135 | * allowed object is | |
136 | * {@link String } | |
137 | * | |
138 | */ | |
139 | public void setKey(String value) { | |
140 | 0 | this.key = value; |
141 | 0 | } |
142 | ||
143 | /** | |
144 | * @return the constraintDescriptor | |
145 | */ | |
146 | public ConstraintDescriptor getConstraintDescriptor() { | |
147 | 0 | return constraintDescriptor; |
148 | } | |
149 | ||
150 | /** | |
151 | * @param constraintDescriptor the constraintDescriptor to set | |
152 | */ | |
153 | public void setConstraintDescriptor(ConstraintDescriptor constraintDescriptor) { | |
154 | 0 | this.constraintDescriptor = constraintDescriptor; |
155 | 0 | } |
156 | ||
157 | /** | |
158 | * @return the id | |
159 | */ | |
160 | public String getId() { | |
161 | 0 | return id; |
162 | } | |
163 | ||
164 | /** | |
165 | * @param id the id to set | |
166 | */ | |
167 | public void setId(String id) { | |
168 | 0 | this.id = id; |
169 | 0 | } |
170 | ||
171 | /** | |
172 | * @return the dynamic | |
173 | */ | |
174 | public boolean isDynamic() { | |
175 | 0 | return dynamic; |
176 | } | |
177 | ||
178 | /** | |
179 | * @param dyncamic the dynamic to set | |
180 | */ | |
181 | public void setDynamic(boolean dynamic) { | |
182 | 0 | this.dynamic = dynamic; |
183 | 0 | } |
184 | ||
185 | } |