Package com.ibm.fhir.search.parameters
Class QueryParameter
- java.lang.Object
-
- com.ibm.fhir.search.parameters.QueryParameter
-
public class QueryParameter extends Object
general type of parameter.
-
-
Constructor Summary
Constructors Constructor Description QueryParameter(SearchConstants.Type type, String code, SearchConstants.Modifier modifier, String modifierResourceTypeName)
QueryParameter(SearchConstants.Type type, String code, SearchConstants.Modifier modifier, String modifierResourceTypeName, boolean isInclusionCriteria)
QueryParameter(SearchConstants.Type type, String code, SearchConstants.Modifier modifier, String modifierResourceTypeName, boolean isInclusionCriteria, boolean isReverseChained)
QueryParameter(SearchConstants.Type type, String code, SearchConstants.Modifier modifier, String modifierResourceTypeName, List<QueryParameterValue> parmValues)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LinkedList<QueryParameter>
getChain()
The returned value is intentionally not abstract.String
getCode()
SearchConstants.Modifier
getModifier()
String
getModifierResourceTypeName()
QueryParameter
getNextParameter()
SearchConstants.Type
getType()
List<QueryParameterValue>
getValues()
boolean
isChained()
boolean
isInclusionCriteria()
boolean
isReverseChained()
void
setNextParameter(QueryParameter nextParameter)
String
toString()
-
-
-
Constructor Detail
-
QueryParameter
public QueryParameter(SearchConstants.Type type, String code, SearchConstants.Modifier modifier, String modifierResourceTypeName)
-
QueryParameter
public QueryParameter(SearchConstants.Type type, String code, SearchConstants.Modifier modifier, String modifierResourceTypeName, boolean isInclusionCriteria)
-
QueryParameter
public QueryParameter(SearchConstants.Type type, String code, SearchConstants.Modifier modifier, String modifierResourceTypeName, boolean isInclusionCriteria, boolean isReverseChained)
-
QueryParameter
public QueryParameter(SearchConstants.Type type, String code, SearchConstants.Modifier modifier, String modifierResourceTypeName, List<QueryParameterValue> parmValues)
-
-
Method Detail
-
getType
public SearchConstants.Type getType()
-
getCode
public String getCode()
-
getModifier
public SearchConstants.Modifier getModifier()
-
getModifierResourceTypeName
public String getModifierResourceTypeName()
-
getValues
public List<QueryParameterValue> getValues()
-
isChained
public boolean isChained()
-
getNextParameter
public QueryParameter getNextParameter()
-
setNextParameter
public void setNextParameter(QueryParameter nextParameter)
-
getChain
public LinkedList<QueryParameter> getChain()
The returned value is intentionally not abstract. The order is important.- Returns:
- A non-null linked list of parameters that starts from the nextParameter.
-
isInclusionCriteria
public boolean isInclusionCriteria()
-
isReverseChained
public boolean isReverseChained()
-
-