001/** 002 * Copyright 2005-2015 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 */ 016package org.kuali.rice.krad.datadictionary.validation.constraint; 017 018import java.io.Serializable; 019import java.util.List; 020 021 022/** 023 * This class is a direct copy of one that was in Kuali Student. Look up constraints are currently not implemented. 024 * 025 * @author Kuali Rice Team (rice.collab@kuali.org) 026 * @since 1.1 027 */ 028public class CommonLookup implements Serializable { 029 030 private static final long serialVersionUID = 1L; 031 032 private String id; // unique ID of this lookup 033 private String name; // name of this search 034 private String desc; 035 private String searchTypeId; 036 private String resultReturnKey; 037 private String searchParamIdKey; 038 private List<CommonLookupParam> params; 039 040 public String getSearchTypeId() { 041 return searchTypeId; 042 } 043 044 public void setSearchTypeId(String searchTypeId) { 045 this.searchTypeId = searchTypeId; 046 } 047 048 public String getResultReturnKey() { 049 return resultReturnKey; 050 } 051 052 public void setResultReturnKey(String resultReturnKey) { 053 this.resultReturnKey = resultReturnKey; 054 } 055 056 public List<CommonLookupParam> getParams() { 057 return params; 058 } 059 060 public void setParams(List<CommonLookupParam> params) { 061 this.params = params; 062 } 063 064 public String getId() { 065 return id; 066 } 067 068 public void setId(String id) { 069 this.id = id; 070 } 071 072 public String getName() { 073 return name; 074 } 075 076 public void setName(String name) { 077 this.name = name; 078 } 079 080 public String getDesc() { 081 return desc; 082 } 083 084 public void setDesc(String desc) { 085 this.desc = desc; 086 } 087 088 public String getSearchParamIdKey() { 089 return searchParamIdKey; 090 } 091 092 public void setSearchParamIdKey(String searchParamIdKey) { 093 this.searchParamIdKey = searchParamIdKey; 094 } 095 096}