001 /**
002 * Copyright 2004-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.student.contract.model;
017
018 import org.kuali.rice.core.api.criteria.QueryByCriteria;
019
020 /**
021 *
022 * @author nwright
023 */
024 public class Lookup {
025
026 private String serviceKey;
027 private String xmlTypeName;
028 private String getMethod;
029 private String searchMethod;
030 private QueryByCriteria additionalCriteria;
031
032 public Lookup() {
033 }
034
035 public Lookup(String serviceKey, String xmlTypeName) {
036 this.serviceKey = serviceKey;
037 this.xmlTypeName = xmlTypeName;
038 }
039
040
041
042 public String getServiceKey() {
043 return serviceKey;
044 }
045
046 public void setServiceKey(String serviceKey) {
047 this.serviceKey = serviceKey;
048 }
049
050 public String getXmlTypeName() {
051 return xmlTypeName;
052 }
053
054 public void setXmlTypeName(String xmlTypeName) {
055 this.xmlTypeName = xmlTypeName;
056 }
057
058 public String getGetMethod() {
059 return getMethod;
060 }
061
062 public void setGetMethod(String getMethod) {
063 this.getMethod = getMethod;
064 }
065
066 public String getSearchMethod() {
067 return searchMethod;
068 }
069
070 public void setSearchMethod(String searchMethod) {
071 this.searchMethod = searchMethod;
072 }
073
074 public QueryByCriteria getAdditionalCriteria() {
075 return additionalCriteria;
076 }
077
078 public void setAdditionalCriteria(QueryByCriteria additionalCriteria) {
079 this.additionalCriteria = additionalCriteria;
080 }
081
082
083
084 @Override
085 public String toString() {
086 return "Lookup [lookup=" + serviceKey + "." + xmlTypeName + "]";
087 }
088
089
090 }