| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| XmlType |
|
| 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 | ||
| 20 | /** | |
| 21 | * Implements the XML type definitions in the spreadsheet | |
| 22 | * @author nwright | |
| 23 | */ | |
| 24 | public class XmlType implements Serializable { | |
| 25 | ||
| 26 | public static final String COMPLEX = "Complex"; | |
| 27 | ||
| 28 | 0 | public XmlType() { |
| 29 | 0 | } |
| 30 | private String name; | |
| 31 | ||
| 32 | /** | |
| 33 | * Get the value of name | |
| 34 | * | |
| 35 | * @return the value of object | |
| 36 | */ | |
| 37 | public String getName() { | |
| 38 | 0 | return name; |
| 39 | } | |
| 40 | ||
| 41 | /** | |
| 42 | * Set the value of name | |
| 43 | * | |
| 44 | * @param object new value of object | |
| 45 | */ | |
| 46 | public void setName(String name) { | |
| 47 | 0 | this.name = name; |
| 48 | 0 | } |
| 49 | private String desc; | |
| 50 | ||
| 51 | /** | |
| 52 | * Get the value of description | |
| 53 | * | |
| 54 | * @return the value of description | |
| 55 | */ | |
| 56 | public String getDesc() { | |
| 57 | 0 | return desc; |
| 58 | } | |
| 59 | ||
| 60 | /** | |
| 61 | * Set the value of description | |
| 62 | * | |
| 63 | * @param description new value of description | |
| 64 | */ | |
| 65 | public void setDesc(String desc) { | |
| 66 | 0 | this.desc = desc; |
| 67 | 0 | } |
| 68 | private String primitive; | |
| 69 | ||
| 70 | /** | |
| 71 | * Get the value of primitive | |
| 72 | * | |
| 73 | * @return the value of primitive | |
| 74 | */ | |
| 75 | public String getPrimitive() { | |
| 76 | 0 | return primitive; |
| 77 | } | |
| 78 | ||
| 79 | /** | |
| 80 | * Set the value of category | |
| 81 | * | |
| 82 | * @param primitive new value of primitive | |
| 83 | */ | |
| 84 | public void setPrimitive(String primitive) { | |
| 85 | 0 | this.primitive = primitive; |
| 86 | 0 | } |
| 87 | private String url; | |
| 88 | ||
| 89 | public String getUrl() { | |
| 90 | 0 | return url; |
| 91 | } | |
| 92 | ||
| 93 | public void setUrl(String url) { | |
| 94 | 0 | this.url = url; |
| 95 | 0 | } |
| 96 | private String examples; | |
| 97 | ||
| 98 | /** | |
| 99 | * Get the value of examples | |
| 100 | * | |
| 101 | * @return the value of examples | |
| 102 | */ | |
| 103 | public String getExamples() { | |
| 104 | 0 | return examples; |
| 105 | } | |
| 106 | ||
| 107 | /** | |
| 108 | * Set the value of examples | |
| 109 | * | |
| 110 | * @param examples new value of examples | |
| 111 | */ | |
| 112 | public void setExamples(String examples) { | |
| 113 | 0 | this.examples = examples; |
| 114 | 0 | } |
| 115 | private boolean hasOwnType; | |
| 116 | ||
| 117 | /** | |
| 118 | * Get the value of hasOwnType | |
| 119 | * | |
| 120 | * @return the value of hasOwnType | |
| 121 | */ | |
| 122 | public boolean hasOwnType() { | |
| 123 | 0 | return hasOwnType; |
| 124 | } | |
| 125 | ||
| 126 | /** | |
| 127 | * Set the value of hasOwnType | |
| 128 | * | |
| 129 | * @param hasOwnType new value of hasOwnType | |
| 130 | */ | |
| 131 | public void setHasOwnType(boolean hasOwnType) { | |
| 132 | 0 | this.hasOwnType = hasOwnType; |
| 133 | 0 | } |
| 134 | private boolean hasOwnState; | |
| 135 | ||
| 136 | /** | |
| 137 | * Get the value of hasOwnState | |
| 138 | * | |
| 139 | * @return the value of hasOwnState | |
| 140 | */ | |
| 141 | public boolean hasOwnState() { | |
| 142 | 0 | return hasOwnState; |
| 143 | } | |
| 144 | ||
| 145 | /** | |
| 146 | * Set the value of hasOwnState | |
| 147 | * | |
| 148 | * @param hasOwnState new value of hasOwnState | |
| 149 | */ | |
| 150 | public void setHasOwnState(boolean hasOwnState) { | |
| 151 | 0 | this.hasOwnState = hasOwnState; |
| 152 | 0 | } |
| 153 | private boolean hasOwnCreateUpdate; | |
| 154 | ||
| 155 | /** | |
| 156 | * Get the value of hasOwnCreateUpdate | |
| 157 | * | |
| 158 | * @return the value of hasOwnCreateUpdate | |
| 159 | */ | |
| 160 | public boolean hasOwnCreateUpdate() { | |
| 161 | 0 | return hasOwnCreateUpdate; |
| 162 | } | |
| 163 | ||
| 164 | /** | |
| 165 | * Set the value of hasOwnCreateUpdate | |
| 166 | * | |
| 167 | * @param hasOwnCreateUpdate new value of hasOwnCreateUpdate | |
| 168 | */ | |
| 169 | public void setHasOwnCreateUpdate(boolean hasOwnCreateUpdate) { | |
| 170 | 0 | this.hasOwnCreateUpdate = hasOwnCreateUpdate; |
| 171 | 0 | } |
| 172 | private String service; | |
| 173 | ||
| 174 | public String getService() { | |
| 175 | 0 | return service; |
| 176 | } | |
| 177 | ||
| 178 | public void setService(String service) { | |
| 179 | 0 | this.service = service; |
| 180 | 0 | } |
| 181 | private String javaPackage; | |
| 182 | ||
| 183 | /** | |
| 184 | * Get the value of javaPackage | |
| 185 | * | |
| 186 | * @return the value of javaPackage | |
| 187 | */ | |
| 188 | public String getJavaPackage() { | |
| 189 | 0 | return javaPackage; |
| 190 | } | |
| 191 | ||
| 192 | /** | |
| 193 | * Set the value of javaPackage | |
| 194 | * | |
| 195 | * @param javaPackage new value of javaPackage | |
| 196 | */ | |
| 197 | public void setJavaPackage(String javaPackage) { | |
| 198 | 0 | this.javaPackage = javaPackage; |
| 199 | 0 | } |
| 200 | private String comments; | |
| 201 | ||
| 202 | /** | |
| 203 | * Get the value of comments | |
| 204 | * | |
| 205 | * @return the value of comments | |
| 206 | */ | |
| 207 | public String getComments() { | |
| 208 | 0 | return comments; |
| 209 | } | |
| 210 | ||
| 211 | /** | |
| 212 | * Set the value of comments | |
| 213 | * | |
| 214 | * @param comments new value of comments | |
| 215 | */ | |
| 216 | public void setComments(String comments) { | |
| 217 | 0 | this.comments = comments; |
| 218 | 0 | } |
| 219 | private String version; | |
| 220 | ||
| 221 | public String getVersion() { | |
| 222 | 0 | return version; |
| 223 | } | |
| 224 | ||
| 225 | public void setVersion(String version) { | |
| 226 | 0 | this.version = version; |
| 227 | 0 | } |
| 228 | } |