Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
OccursConstraint |
|
| 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.core.dictionary.old.dto; | |
17 | ||
18 | import java.io.Serializable; | |
19 | import java.util.List; | |
20 | ||
21 | import javax.xml.bind.annotation.XmlAccessType; | |
22 | import javax.xml.bind.annotation.XmlAccessorType; | |
23 | import javax.xml.bind.annotation.XmlAttribute; | |
24 | import javax.xml.bind.annotation.XmlElement; | |
25 | ||
26 | ||
27 | @XmlAccessorType(XmlAccessType.FIELD) | |
28 | 0 | public class OccursConstraint implements Serializable { |
29 | ||
30 | private static final long serialVersionUID = 1L; | |
31 | ||
32 | @XmlElement | |
33 | private List<RequireConstraint> require; | |
34 | ||
35 | @XmlElement | |
36 | private List<OccursConstraint> occurs; | |
37 | ||
38 | @XmlAttribute | |
39 | private Integer min; | |
40 | ||
41 | @XmlAttribute | |
42 | private Integer max; | |
43 | ||
44 | /** | |
45 | * @return the require | |
46 | */ | |
47 | public List<RequireConstraint> getRequire() { | |
48 | 0 | return require; |
49 | } | |
50 | ||
51 | /** | |
52 | * @param require the require to set | |
53 | */ | |
54 | public void setRequire(List<RequireConstraint> require) { | |
55 | 0 | this.require = require; |
56 | 0 | } |
57 | ||
58 | /** | |
59 | * @return the min | |
60 | */ | |
61 | public Integer getMin() { | |
62 | 0 | return min; |
63 | } | |
64 | ||
65 | /** | |
66 | * @param min the min to set | |
67 | */ | |
68 | public void setMin(Integer min) { | |
69 | 0 | this.min = min; |
70 | 0 | } |
71 | ||
72 | /** | |
73 | * @return the max | |
74 | */ | |
75 | public Integer getMax() { | |
76 | 0 | return max; |
77 | } | |
78 | ||
79 | /** | |
80 | * @param max the max to set | |
81 | */ | |
82 | public void setMax(Integer max) { | |
83 | 0 | this.max = max; |
84 | 0 | } |
85 | ||
86 | /** | |
87 | * @return the occurs | |
88 | */ | |
89 | public List<OccursConstraint> getOccurs() { | |
90 | 0 | return occurs; |
91 | } | |
92 | ||
93 | /** | |
94 | * @param occurs the occurs to set | |
95 | */ | |
96 | public void setOccurs(List<OccursConstraint> occurs) { | |
97 | 0 | this.occurs = occurs; |
98 | 0 | } |
99 | } |