View Javadoc
1   package ca.uhn.fhir.rest.gclient;
2   
3   import java.util.*;
4   
5   import ca.uhn.fhir.model.api.IQueryParameterType;
6   
7   /*
8    * #%L
9    * HAPI FHIR - Core Library
10   * %%
11   * Copyright (C) 2014 - 2018 University Health Network
12   * %%
13   * Licensed under the Apache License, Version 2.0 (the "License");
14   * you may not use this file except in compliance with the License.
15   * You may obtain a copy of the License at
16   * 
17   *      http://www.apache.org/licenses/LICENSE-2.0
18   * 
19   * Unless required by applicable law or agreed to in writing, software
20   * distributed under the License is distributed on an "AS IS" BASIS,
21   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
22   * See the License for the specific language governing permissions and
23   * limitations under the License.
24   * #L%
25   */
26  
27  public interface IBaseQuery<T extends IBaseQuery<?>> {
28  
29      T where(ICriterion<?> theCriterion);
30  
31      T where(Map<String, List<IQueryParameterType>> theCriterion);
32  
33      T and(ICriterion<?> theCriterion);
34  
35  }