| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| Field |
|
| 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 | * This models a single field definition in the spreadsheet | |
| 23 | * @author nwright | |
| 24 | */ | |
| 25 | public class Field implements Serializable { | |
| 26 | ||
| 27 | 0 | public Field() { |
| 28 | 0 | } |
| 29 | private String id; | |
| 30 | ||
| 31 | /** | |
| 32 | * Get the value of id | |
| 33 | * | |
| 34 | * @return the value of id | |
| 35 | */ | |
| 36 | public String getId() { | |
| 37 | 0 | return id; |
| 38 | } | |
| 39 | ||
| 40 | /** | |
| 41 | * Set the value of id | |
| 42 | * | |
| 43 | * @param id new value of id | |
| 44 | */ | |
| 45 | public void setId(String id) { | |
| 46 | 0 | this.id = id; |
| 47 | 0 | } |
| 48 | private String xmlObject; | |
| 49 | ||
| 50 | /** | |
| 51 | * Get the value of xmlObject | |
| 52 | * | |
| 53 | * @return the value of xmlObject | |
| 54 | */ | |
| 55 | public String getXmlObject() { | |
| 56 | 0 | return xmlObject; |
| 57 | } | |
| 58 | ||
| 59 | /** | |
| 60 | * Set the value of xmlObject | |
| 61 | * | |
| 62 | * @param xmlObject new value of xmlObject | |
| 63 | */ | |
| 64 | public void setXmlObject(String xmlObject) { | |
| 65 | 0 | this.xmlObject = xmlObject; |
| 66 | 0 | } |
| 67 | private String shortName; | |
| 68 | ||
| 69 | /** | |
| 70 | * Get the value of shortName | |
| 71 | * | |
| 72 | * @return the value of shortName | |
| 73 | */ | |
| 74 | public String getShortName() { | |
| 75 | 0 | return shortName; |
| 76 | } | |
| 77 | ||
| 78 | /** | |
| 79 | * Set the value of shortName | |
| 80 | * | |
| 81 | * @param shortName new value of shortName | |
| 82 | */ | |
| 83 | public void setShortName(String shortName) { | |
| 84 | 0 | this.shortName = shortName; |
| 85 | 0 | } |
| 86 | private String name; | |
| 87 | ||
| 88 | /** | |
| 89 | * Get the value of name | |
| 90 | * | |
| 91 | * @return the value of name | |
| 92 | */ | |
| 93 | public String getName() { | |
| 94 | 0 | return name; |
| 95 | } | |
| 96 | ||
| 97 | /** | |
| 98 | * Set the value of name | |
| 99 | * | |
| 100 | * @param name new value of name | |
| 101 | */ | |
| 102 | public void setName(String name) { | |
| 103 | 0 | this.name = name; |
| 104 | 0 | } |
| 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 | 0 | 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 | 0 | this.xmlType = xmlType; |
| 123 | 0 | } |
| 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 | 0 | 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 | 0 | this.primitive = primitive; |
| 142 | 0 | } |
| 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 | 0 | 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 | 0 | this.desc = desc; |
| 161 | 0 | } |
| 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 | 0 | 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 | 0 | this.constraintIds = constraintIds; |
| 180 | 0 | } |
| 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 | 0 | 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 | 0 | this.constraintDescription = constraintDescription; |
| 199 | 0 | } |
| 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 | 0 | 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 | 0 | this.dynamic = dynamic; |
| 218 | 0 | } |
| 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 | 0 | 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 | 0 | this.selector = selector; |
| 237 | 0 | } |
| 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 | 0 | 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 | 0 | this.inlineConstraint = inlineConstraint; |
| 256 | 0 | } |
| 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 | 0 | 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 | 0 | this.comments = comments; |
| 275 | 0 | } |
| 276 | } |