001 /**
002 * Copyright 2005-2013 The Kuali Foundation
003 *
004 * Licensed under the Educational Community License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 *
008 * http://www.opensource.org/licenses/ecl2.php
009 *
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 * See the License for the specific language governing permissions and
014 * limitations under the License.
015 */
016 package org.kuali.rice.krad.datadictionary.validation.constraint;
017
018 import javax.xml.bind.annotation.XmlAccessType;
019 import javax.xml.bind.annotation.XmlAccessorType;
020 import javax.xml.bind.annotation.XmlElement;
021 import java.util.List;
022
023 /**
024 * This class is a direct copy of one that was in Kuali Student. Look up constraints are currently not implemented.
025 *
026 * @author Kuali Rice Team (rice.collab@kuali.org)
027 * @since 1.1
028 */
029 @XmlAccessorType(XmlAccessType.FIELD)
030 public class LookupConstraintParamMapping {
031 @XmlElement
032 protected String fieldPath;
033 @XmlElement
034 protected String paramKey;
035 @XmlElement
036 protected List<String> defaultValueList;
037 @XmlElement
038 protected String defaultValueString;
039
040 public String getFieldPath() {
041 return fieldPath;
042 }
043
044 public void setFieldPath(String fieldPath) {
045 this.fieldPath = fieldPath;
046 }
047
048 public String getParamKey() {
049 return paramKey;
050 }
051
052 public void setParamKey(String paramKey) {
053 this.paramKey = paramKey;
054 }
055
056 public List<String> getDefaultValueList() {
057 return defaultValueList;
058 }
059
060 public void setDefaultValueList(List<String> defaultValueList) {
061 this.defaultValueList = defaultValueList;
062 }
063
064 public String getDefaultValueString() {
065 return defaultValueString;
066 }
067
068 public void setDefaultValueString(String defaultValueString) {
069 this.defaultValueString = defaultValueString;
070 }
071 }