View Javadoc

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.r1.common.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  @Deprecated
28  @XmlAccessorType(XmlAccessType.FIELD)
29  public class OccursConstraint implements Serializable {
30  
31      private static final long serialVersionUID = 1L;
32  
33      @XmlElement
34      private List<RequireConstraint> require;
35  
36      @XmlElement
37      private List<OccursConstraint> occurs;
38      
39      @XmlAttribute
40      private Integer min;
41      
42      @XmlAttribute
43      private Integer max;
44      
45  	/**
46  	 * @return the require
47  	 */
48  	public List<RequireConstraint> getRequire() {
49  		return require;
50  	}
51  
52  	/**
53  	 * @param require the require to set
54  	 */
55  	public void setRequire(List<RequireConstraint> require) {
56  		this.require = require;
57  	}
58  
59  	/**
60  	 * @return the min
61  	 */
62  	public Integer getMin() {
63  		return min;
64  	}
65  
66  	/**
67  	 * @param min the min to set
68  	 */
69  	public void setMin(Integer min) {
70  		this.min = min;
71  	}
72  
73  	/**
74  	 * @return the max
75  	 */
76  	public Integer getMax() {
77  		return max;
78  	}
79  
80  	/**
81  	 * @param max the max to set
82  	 */
83  	public void setMax(Integer max) {
84  		this.max = max;
85  	}
86  
87  	/**
88  	 * @return the occurs
89  	 */
90  	public List<OccursConstraint> getOccurs() {
91  		return occurs;
92  	}
93  
94  	/**
95  	 * @param occurs the occurs to set
96  	 */
97  	public void setOccurs(List<OccursConstraint> occurs) {
98  		this.occurs = occurs;
99  	}		
100 }