Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
TypeStateWhenConstraint |
|
| 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 | package org.kuali.student.common.dictionary.old.dto; | |
17 | ||
18 | import java.io.Serializable; | |
19 | ||
20 | import javax.xml.bind.annotation.XmlAccessType; | |
21 | import javax.xml.bind.annotation.XmlAccessorType; | |
22 | import javax.xml.bind.annotation.XmlAttribute; | |
23 | import javax.xml.bind.annotation.XmlElement; | |
24 | ||
25 | ||
26 | @XmlAccessorType(XmlAccessType.FIELD) | |
27 | 0 | public class TypeStateWhenConstraint implements Serializable { |
28 | ||
29 | private static final long serialVersionUID = 1L; | |
30 | ||
31 | @XmlAttribute | |
32 | protected String type; | |
33 | ||
34 | @XmlAttribute | |
35 | protected String state; | |
36 | ||
37 | @XmlElement | |
38 | protected Integer minOccurs; | |
39 | ||
40 | @XmlElement | |
41 | protected String maxOccurs; | |
42 | ||
43 | /** | |
44 | * @return the type | |
45 | */ | |
46 | public String getType() { | |
47 | 0 | return type; |
48 | } | |
49 | ||
50 | /** | |
51 | * @param type the type to set | |
52 | */ | |
53 | public void setType(String type) { | |
54 | 0 | this.type = type; |
55 | 0 | } |
56 | ||
57 | /** | |
58 | * @return the state | |
59 | */ | |
60 | public String getState() { | |
61 | 0 | return state; |
62 | } | |
63 | ||
64 | /** | |
65 | * @param state the state to set | |
66 | */ | |
67 | public void setState(String state) { | |
68 | 0 | this.state = state; |
69 | 0 | } |
70 | ||
71 | /** | |
72 | * @return the minOccurs | |
73 | */ | |
74 | public Integer getMinOccurs() { | |
75 | 0 | return minOccurs; |
76 | } | |
77 | ||
78 | /** | |
79 | * @param minOccurs the minOccurs to set | |
80 | */ | |
81 | public void setMinOccurs(Integer minOccurs) { | |
82 | 0 | this.minOccurs = minOccurs; |
83 | 0 | } |
84 | ||
85 | /** | |
86 | * @return the maxOccurs | |
87 | */ | |
88 | public String getMaxOccurs() { | |
89 | 0 | return maxOccurs; |
90 | } | |
91 | ||
92 | /** | |
93 | * @param maxOccurs the maxOccurs to set | |
94 | */ | |
95 | public void setMaxOccurs(String maxOccurs) { | |
96 | 0 | this.maxOccurs = maxOccurs; |
97 | 0 | } |
98 | } |