001    /*
002     * Copyright 2009 The Kuali Foundation
003     *
004     * Licensed under the Educational Community License, Version 2.0 (the "License");
005     * you may not use this file except in compliance with the License.
006     * You may      obtain a copy of the License at
007     *
008     *      http://www.osedu.org/licenses/ECL-2.0
009     *
010     * Unless required by applicable law or agreed to in writing, software
011     * distributed under the License is distributed on an "AS IS" BASIS,
012     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013     * See the License for the specific language governing permissions and
014     * limitations under the License.
015     */
016    package org.kuali.student.contract.model;
017    
018    import java.io.Serializable;
019    import java.util.List;
020    
021    /**
022     * This models a single field definition in the spreadsheet
023     * @author nwright
024     */
025    public class Field implements Serializable {
026    
027        public Field() {
028        }
029        private String id;
030    
031        /**
032         * Get the value of id
033         *
034         * @return the value of id
035         */
036        public String getId() {
037            return id;
038        }
039    
040        /**
041         * Set the value of id
042         *
043         * @param id new value of id
044         */
045        public void setId(String id) {
046            this.id = id;
047        }
048        private String xmlObject;
049    
050        /**
051         * Get the value of xmlObject
052         *
053         * @return the value of xmlObject
054         */
055        public String getXmlObject() {
056            return xmlObject;
057        }
058    
059        /**
060         * Set the value of xmlObject
061         *
062         * @param xmlObject new value of xmlObject
063         */
064        public void setXmlObject(String xmlObject) {
065            this.xmlObject = xmlObject;
066        }
067        private String shortName;
068    
069        /**
070         * Get the value of shortName
071         *
072         * @return the value of shortName
073         */
074        public String getShortName() {
075            return shortName;
076        }
077    
078        /**
079         * Set the value of shortName
080         *
081         * @param shortName new value of shortName
082         */
083        public void setShortName(String shortName) {
084            this.shortName = shortName;
085        }
086        private String name;
087    
088        /**
089         * Get the value of name
090         *
091         * @return the value of name
092         */
093        public String getName() {
094            return name;
095        }
096    
097        /**
098         * Set the value of name
099         *
100         * @param name new value of name
101         */
102        public void setName(String name) {
103            this.name = name;
104        }
105        private String xmlType;
106    
107        /**
108         * Get the value of xmlType
109         *
110         * @return the value of xmlType
111         */
112        public String getXmlType() {
113            return xmlType;
114        }
115    
116        /**
117         * Set the value of xmlType
118         *
119         * @param xmlType new value of xmlType
120         */
121        public void setXmlType(String xmlType) {
122            this.xmlType = xmlType;
123        }
124        private String primitive;
125    
126        /**
127         * Get the value of primitive
128         *
129         * @return the value of primitive
130         */
131        public String getPrimitive() {
132            return primitive;
133        }
134    
135        /**
136         * Set the value of primitive
137         *
138         * @param primitive new value of primitive
139         */
140        public void setPrimitive(String primitive) {
141            this.primitive = primitive;
142        }
143        private String desc;
144    
145        /**
146         * Get the value of desc
147         *
148         * @return the value of desc
149         */
150        public String getDesc() {
151            return desc;
152        }
153    
154        /**
155         * Set the value of desc
156         *
157         * @param desc new value of desc
158         */
159        public void setDesc(String desc) {
160            this.desc = desc;
161        }
162        private List<String> constraintIds;
163    
164        /**
165         * Get the value of constraintIds
166         *
167         * @return the value of constraintIds
168         */
169        public List<String> getConstraintIds() {
170            return constraintIds;
171        }
172    
173        /**
174         * Set the value of constraintIds
175         *
176         * @param constraintIds new value of constraintIds
177         */
178        public void setConstraintIds(List<String> constraintIds) {
179            this.constraintIds = constraintIds;
180        }
181        private String constraintDescription;
182    
183        /**
184         * Get the value of constraintDescription
185         *
186         * @return the value of constraintDescription
187         */
188        public String getConstraintDescription() {
189            return constraintDescription;
190        }
191    
192        /**
193         * Set the value of constraintDescription
194         *
195         * @param constraintDescription new value of constraintDescription
196         */
197        public void setConstraintDescription(String constraintDescription) {
198            this.constraintDescription = constraintDescription;
199        }
200        private boolean dynamic;
201    
202        /**
203         * Get the value of dynamic
204         *
205         * @return the value of dynamic
206         */
207        public boolean isDynamic() {
208            return dynamic;
209        }
210    
211        /**
212         * Set the value of dynamic
213         *
214         * @param dynamic new value of dynamic
215         */
216        public void setDynamic(boolean dynamic) {
217            this.dynamic = dynamic;
218        }
219        private boolean selector;
220    
221        /**
222         * Get the value of selector
223         *
224         * @return the value of selector
225         */
226        public boolean isSelector() {
227            return selector;
228        }
229    
230        /**
231         * Set the value of selector
232         *
233         * @param selector new value of selector
234         */
235        public void setSelector(boolean selector) {
236            this.selector = selector;
237        }
238        private Constraint inlineConstraint;
239    
240        /**
241         * Get the value of inlineConstraint
242         *
243         * @return the value of inlineConstraint
244         */
245        public Constraint getInlineConstraint() {
246            return inlineConstraint;
247        }
248    
249        /**
250         * Set the value of inlineConstraint
251         *
252         * @param inlineConstraint new value of inlineConstraint
253         */
254        public void setInlineConstraint(Constraint inlineConstraint) {
255            this.inlineConstraint = inlineConstraint;
256        }
257        private String comments;
258    
259        /**
260         * Get the value of comments
261         *
262         * @return the value of comments
263         */
264        public String getComments() {
265            return comments;
266        }
267    
268        /**
269         * Set the value of comments
270         *
271         * @param comments new value of comments
272         */
273        public void setComments(String comments) {
274            this.comments = comments;
275        }
276    }