Package ca.uhn.fhir.rest.param
Class BaseAndListParam<T extends IQueryParameterOr<?>>
- java.lang.Object
-
- ca.uhn.fhir.rest.param.BaseAndListParam<T>
-
- All Implemented Interfaces:
IQueryParameterAnd<T>,Serializable
- Direct Known Subclasses:
CompositeAndListParam,DateAndListParam,HasAndListParam,NumberAndListParam,QuantityAndListParam,ReferenceAndListParam,SpecialAndListParam,StringAndListParam,TokenAndListParam,UriAndListParam
public abstract class BaseAndListParam<T extends IQueryParameterOr<?>> extends Object implements IQueryParameterAnd<T>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BaseAndListParam()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract BaseAndListParam<T>addAnd(T theValue)BaseAndListParam<T>addValue(T theValue)List<T>getValuesAsQueryTokens()See FHIR specification 2.2.2 Search SearchParameter Types for information on the token formatvoidsetValuesAsQueryTokens(FhirContext theContext, String theParamName, List<QualifiedParamList> theParameters)See FHIR specification 2.2.2 Search SearchParameter Types for information on the token formatintsize()Returns the number of AND parametersStringtoString()
-
-
-
Constructor Detail
-
BaseAndListParam
public BaseAndListParam()
-
-
Method Detail
-
addAnd
public abstract BaseAndListParam<T> addAnd(T theValue)
-
addValue
public BaseAndListParam<T> addValue(T theValue)
-
getValuesAsQueryTokens
public List<T> getValuesAsQueryTokens()
Description copied from interface:IQueryParameterAndSee FHIR specification 2.2.2 Search SearchParameter Types for information on the token format
- Specified by:
getValuesAsQueryTokensin interfaceIQueryParameterAnd<T extends IQueryParameterOr<?>>
-
setValuesAsQueryTokens
public void setValuesAsQueryTokens(FhirContext theContext, String theParamName, List<QualifiedParamList> theParameters) throws InvalidRequestException
Description copied from interface:IQueryParameterAndSee FHIR specification 2.2.2 Search SearchParameter Types for information on the token format
- Specified by:
setValuesAsQueryTokensin interfaceIQueryParameterAnd<T extends IQueryParameterOr<?>>- Parameters:
theContext- TODOtheParamName- TODO- Throws:
InvalidRequestException
-
size
public int size()
Returns the number of AND parameters
-
-