View Javadoc
1   /*
2    * Copyright 2017 the original author or authors.
3    *
4    * Licensed under the Apache 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.apache.org/licenses/LICENSE-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.openehealth.ipf.commons.ihe.hpd.stub.dsmlv2;
17  
18  import javax.xml.bind.annotation.XmlAccessType;
19  import javax.xml.bind.annotation.XmlAccessorType;
20  import javax.xml.bind.annotation.XmlType;
21  
22  
23  /**
24   * <p>Java class for Filter complex type.
25   * 
26   * <p>The following schema fragment specifies the expected content contained within this class.
27   * 
28   * <pre>
29   * &lt;complexType name="Filter">
30   *   &lt;complexContent>
31   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
32   *       &lt;group ref="{urn:oasis:names:tc:DSML:2:0:core}FilterGroup"/>
33   *     &lt;/restriction>
34   *   &lt;/complexContent>
35   * &lt;/complexType>
36   * </pre>
37   * 
38   * 
39   */
40  @XmlAccessorType(XmlAccessType.FIELD)
41  @XmlType(name = "Filter", propOrder = {
42      "and",
43      "or",
44      "not",
45      "equalityMatch",
46      "substrings",
47      "greaterOrEqual",
48      "lessOrEqual",
49      "present",
50      "approxMatch",
51      "extensibleMatch"
52  })
53  public class Filter {
54  
55      protected FilterSet and;
56      protected FilterSet or;
57      protected Filter not;
58      protected AttributeValueAssertion equalityMatch;
59      protected SubstringFilter substrings;
60      protected AttributeValueAssertion greaterOrEqual;
61      protected AttributeValueAssertion lessOrEqual;
62      protected AttributeDescription present;
63      protected AttributeValueAssertion approxMatch;
64      protected MatchingRuleAssertion extensibleMatch;
65  
66      /**
67       * Gets the value of the and property.
68       * 
69       * @return
70       *     possible object is
71       *     {@link FilterSet }
72       *     
73       */
74      public FilterSet getAnd() {
75          return and;
76      }
77  
78      /**
79       * Sets the value of the and property.
80       * 
81       * @param value
82       *     allowed object is
83       *     {@link FilterSet }
84       *     
85       */
86      public void setAnd(FilterSet value) {
87          this.and = value;
88      }
89  
90      /**
91       * Gets the value of the or property.
92       * 
93       * @return
94       *     possible object is
95       *     {@link FilterSet }
96       *     
97       */
98      public FilterSet getOr() {
99          return or;
100     }
101 
102     /**
103      * Sets the value of the or property.
104      * 
105      * @param value
106      *     allowed object is
107      *     {@link FilterSet }
108      *     
109      */
110     public void setOr(FilterSet value) {
111         this.or = value;
112     }
113 
114     /**
115      * Gets the value of the not property.
116      * 
117      * @return
118      *     possible object is
119      *     {@link Filter }
120      *     
121      */
122     public Filter getNot() {
123         return not;
124     }
125 
126     /**
127      * Sets the value of the not property.
128      * 
129      * @param value
130      *     allowed object is
131      *     {@link Filter }
132      *     
133      */
134     public void setNot(Filter value) {
135         this.not = value;
136     }
137 
138     /**
139      * Gets the value of the equalityMatch property.
140      * 
141      * @return
142      *     possible object is
143      *     {@link AttributeValueAssertion }
144      *     
145      */
146     public AttributeValueAssertion getEqualityMatch() {
147         return equalityMatch;
148     }
149 
150     /**
151      * Sets the value of the equalityMatch property.
152      * 
153      * @param value
154      *     allowed object is
155      *     {@link AttributeValueAssertion }
156      *     
157      */
158     public void setEqualityMatch(AttributeValueAssertion value) {
159         this.equalityMatch = value;
160     }
161 
162     /**
163      * Gets the value of the substrings property.
164      * 
165      * @return
166      *     possible object is
167      *     {@link SubstringFilter }
168      *     
169      */
170     public SubstringFilter getSubstrings() {
171         return substrings;
172     }
173 
174     /**
175      * Sets the value of the substrings property.
176      * 
177      * @param value
178      *     allowed object is
179      *     {@link SubstringFilter }
180      *     
181      */
182     public void setSubstrings(SubstringFilter value) {
183         this.substrings = value;
184     }
185 
186     /**
187      * Gets the value of the greaterOrEqual property.
188      * 
189      * @return
190      *     possible object is
191      *     {@link AttributeValueAssertion }
192      *     
193      */
194     public AttributeValueAssertion getGreaterOrEqual() {
195         return greaterOrEqual;
196     }
197 
198     /**
199      * Sets the value of the greaterOrEqual property.
200      * 
201      * @param value
202      *     allowed object is
203      *     {@link AttributeValueAssertion }
204      *     
205      */
206     public void setGreaterOrEqual(AttributeValueAssertion value) {
207         this.greaterOrEqual = value;
208     }
209 
210     /**
211      * Gets the value of the lessOrEqual property.
212      * 
213      * @return
214      *     possible object is
215      *     {@link AttributeValueAssertion }
216      *     
217      */
218     public AttributeValueAssertion getLessOrEqual() {
219         return lessOrEqual;
220     }
221 
222     /**
223      * Sets the value of the lessOrEqual property.
224      * 
225      * @param value
226      *     allowed object is
227      *     {@link AttributeValueAssertion }
228      *     
229      */
230     public void setLessOrEqual(AttributeValueAssertion value) {
231         this.lessOrEqual = value;
232     }
233 
234     /**
235      * Gets the value of the present property.
236      * 
237      * @return
238      *     possible object is
239      *     {@link AttributeDescription }
240      *     
241      */
242     public AttributeDescription getPresent() {
243         return present;
244     }
245 
246     /**
247      * Sets the value of the present property.
248      * 
249      * @param value
250      *     allowed object is
251      *     {@link AttributeDescription }
252      *     
253      */
254     public void setPresent(AttributeDescription value) {
255         this.present = value;
256     }
257 
258     /**
259      * Gets the value of the approxMatch property.
260      * 
261      * @return
262      *     possible object is
263      *     {@link AttributeValueAssertion }
264      *     
265      */
266     public AttributeValueAssertion getApproxMatch() {
267         return approxMatch;
268     }
269 
270     /**
271      * Sets the value of the approxMatch property.
272      * 
273      * @param value
274      *     allowed object is
275      *     {@link AttributeValueAssertion }
276      *     
277      */
278     public void setApproxMatch(AttributeValueAssertion value) {
279         this.approxMatch = value;
280     }
281 
282     /**
283      * Gets the value of the extensibleMatch property.
284      * 
285      * @return
286      *     possible object is
287      *     {@link MatchingRuleAssertion }
288      *     
289      */
290     public MatchingRuleAssertion getExtensibleMatch() {
291         return extensibleMatch;
292     }
293 
294     /**
295      * Sets the value of the extensibleMatch property.
296      * 
297      * @param value
298      *     allowed object is
299      *     {@link MatchingRuleAssertion }
300      *     
301      */
302     public void setExtensibleMatch(MatchingRuleAssertion value) {
303         this.extensibleMatch = value;
304     }
305 
306 }