View Javadoc

1   /*
2    * Copyright 2009 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.osedu.org/licenses/ECL-2.0
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.student.contract.model;
17  
18  import org.kuali.rice.core.api.criteria.QueryByCriteria;
19  
20  /**
21   *
22   * @author nwright
23   */
24  public class Lookup {
25  
26      private String serviceKey;
27      private String xmlTypeName;
28      private String getMethod;
29      private String searchMethod;
30      private QueryByCriteria additionalCriteria;
31  
32      public Lookup() {
33      }
34  
35      public Lookup(String serviceKey, String xmlTypeName) {
36          this.serviceKey = serviceKey;
37          this.xmlTypeName = xmlTypeName;
38      }
39  
40      
41      
42      public String getServiceKey() {
43          return serviceKey;
44      }
45  
46      public void setServiceKey(String serviceKey) {
47          this.serviceKey = serviceKey;
48      }
49  
50      public String getXmlTypeName() {
51          return xmlTypeName;
52      }
53  
54      public void setXmlTypeName(String xmlTypeName) {
55          this.xmlTypeName = xmlTypeName;
56      }
57      
58      public String getGetMethod() {
59          return getMethod;
60      }
61  
62      public void setGetMethod(String getMethod) {
63          this.getMethod = getMethod;
64      }
65  
66      public String getSearchMethod() {
67          return searchMethod;
68      }
69  
70      public void setSearchMethod(String searchMethod) {
71          this.searchMethod = searchMethod;
72      }
73  
74      public QueryByCriteria getAdditionalCriteria() {
75          return additionalCriteria;
76      }
77  
78      public void setAdditionalCriteria(QueryByCriteria additionalCriteria) {
79          this.additionalCriteria = additionalCriteria;
80      }
81      
82      
83      
84  	@Override
85  	public String toString() {
86  		return "Lookup [lookup=" + serviceKey + "." + xmlTypeName + "]";
87  	}
88     
89      
90  }