View Javadoc
1   /*
2    * Copyright 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.ole.docstore.discovery.model;
17  
18  public class SearchCondition {
19  
20      public String searchText;
21      public String operator;
22      public String docField;
23      public String searchScope;
24      private String fieldType = "string";// by default
25  
26      public String getFieldType() {
27          return fieldType;
28      }
29  
30      public void setFieldType(String fieldType) {
31          this.fieldType = fieldType;
32      }
33  
34      public String getSearchText() {
35          return searchText;
36      }
37  
38      public void setSearchText(String searchText) {
39          this.searchText = searchText;
40      }
41  
42      public String getOperator() {
43          return operator;
44      }
45  
46      public void setOperator(String operator) {
47          this.operator = operator;
48      }
49  
50      public String getDocField() {
51          return docField;
52      }
53  
54      public void setDocField(String docField) {
55          this.docField = docField;
56      }
57  
58      public String getSearchScope() {
59          return searchScope;
60      }
61  
62      public void setSearchScope(String searchScope) {
63          this.searchScope = searchScope;
64      }
65  
66  }