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  
28  @Deprecated
29  @XmlAccessorType(XmlAccessType.FIELD)
30  public class CaseConstraint implements Serializable {
31  
32      private static final long serialVersionUID = 1L;
33  
34      @XmlElement(name = "when")
35      protected List<WhenConstraint> whenConstraint;
36  
37      @XmlAttribute
38      protected String field;
39      
40      @XmlAttribute
41      protected String operator;
42      
43  
44  	/**
45  	 * @return the whenConstraint
46  	 */
47  	public List<WhenConstraint> getWhenConstraint() {
48  		return whenConstraint;
49  	}
50  
51  	/**
52  	 * @param whenConstraint the whenConstraint to set
53  	 */
54  	public void setWhenConstraint(List<WhenConstraint> whenConstraint) {
55  		this.whenConstraint = whenConstraint;
56  	}
57  
58  	/**
59  	 * @return the field
60  	 */
61  	public String getField() {
62  		return field;
63  	}
64  
65  	/**
66  	 * @param field the field to set
67  	 */
68  	public void setField(String field) {
69  		this.field = field;
70  	}
71  
72  	/**
73  	 * @return the operator
74  	 */
75  	public String getOperator() {
76  		return operator;
77  	}
78  
79  	/**
80  	 * @param operator the operator to set
81  	 */
82  	public void setOperator(String operator) {
83  		this.operator = operator;
84  	}	
85  }