Line | |
---|
1 | package eu.clarin.cmdi.mdservice.model; |
---|
2 | |
---|
3 | /** |
---|
4 | |
---|
5 | */ |
---|
6 | |
---|
7 | |
---|
8 | |
---|
9 | public class SearchClause{ |
---|
10 | private String _index; |
---|
11 | private String relation; |
---|
12 | private String value; |
---|
13 | private Boolean negation; |
---|
14 | |
---|
15 | private Boolean is_category; |
---|
16 | private String category; |
---|
17 | |
---|
18 | |
---|
19 | public SearchClause() { |
---|
20 | _index = ""; |
---|
21 | relation = ""; |
---|
22 | value = ""; |
---|
23 | |
---|
24 | negation = false; |
---|
25 | is_category = false; |
---|
26 | category = ""; |
---|
27 | } |
---|
28 | public SearchClause(String __index,String _relation, String _value){ |
---|
29 | _index = __index; |
---|
30 | relation = _relation; |
---|
31 | value = _value; |
---|
32 | |
---|
33 | negation = false; |
---|
34 | is_category = false; |
---|
35 | category = ""; |
---|
36 | } |
---|
37 | |
---|
38 | public void setIndex(String __index) { |
---|
39 | if (__index!=null) { |
---|
40 | this._index = __index; |
---|
41 | } |
---|
42 | } |
---|
43 | |
---|
44 | public String getIndex() { |
---|
45 | return _index; |
---|
46 | } |
---|
47 | |
---|
48 | public void setRelation(String _relation) { |
---|
49 | if (_relation!=null) { |
---|
50 | this.relation = _relation; |
---|
51 | } |
---|
52 | } |
---|
53 | |
---|
54 | public String getRelation() { |
---|
55 | return relation; |
---|
56 | } |
---|
57 | |
---|
58 | public void setValue(String _value) { |
---|
59 | if (_value!=null) { |
---|
60 | this.value = _value; |
---|
61 | } |
---|
62 | } |
---|
63 | |
---|
64 | public String getValue() { |
---|
65 | return value; |
---|
66 | } |
---|
67 | |
---|
68 | } |
---|
69 | |
---|
70 | |
---|
Note: See
TracBrowser
for help on using the repository browser.