View Javadoc

1   /**
2    * Copyright 2005-2011 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.opensource.org/licenses/ecl2.php
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.rice.krad.datadictionary.validation.constraint;
17  
18  import javax.xml.bind.annotation.XmlAccessType;
19  import javax.xml.bind.annotation.XmlAccessorType;
20  import javax.xml.bind.annotation.XmlElement;
21  import java.util.List;
22  
23  /**
24   * This class is a direct copy of one that was in Kuali Student. Look up constraints are currently not implemented. 
25   * 
26   * @author Kuali Rice Team (rice.collab@kuali.org)
27   * @since 1.1
28   */
29  @XmlAccessorType(XmlAccessType.FIELD)
30  public class LookupConstraintParamMapping {
31  	@XmlElement
32      protected String fieldPath;
33  	@XmlElement
34  	protected String paramKey;
35  	@XmlElement
36  	protected List<String> defaultValueList;
37  	@XmlElement
38  	protected String defaultValueString;
39  
40  	public String getFieldPath() {
41  		return fieldPath;
42  	}
43  
44  	public void setFieldPath(String fieldPath) {
45  		this.fieldPath = fieldPath;
46  	}
47  
48  	public String getParamKey() {
49  		return paramKey;
50  	}
51  
52  	public void setParamKey(String paramKey) {
53  		this.paramKey = paramKey;
54  	}
55  
56  	public List<String> getDefaultValueList() {
57  		return defaultValueList;
58  	}
59  
60  	public void setDefaultValueList(List<String> defaultValueList) {
61  		this.defaultValueList = defaultValueList;
62  	}
63  
64  	public String getDefaultValueString() {
65  		return defaultValueString;
66  	}
67  
68  	public void setDefaultValueString(String defaultValueString) {
69  		this.defaultValueString = defaultValueString;
70  	}
71  }