Class QueryParameter
- java.lang.Object
-
- org.linuxforhealth.fhir.search.parameters.QueryParameter
-
public class QueryParameter extends java.lang.Object
general type of parameter.
-
-
Constructor Summary
Constructors Constructor Description QueryParameter(SearchConstants.Type type, java.lang.String code, SearchConstants.Modifier modifier, java.lang.String modifierResourceTypeName)
QueryParameter(SearchConstants.Type type, java.lang.String code, SearchConstants.Modifier modifier, java.lang.String modifierResourceTypeName, boolean isInclusionCriteria)
QueryParameter(SearchConstants.Type type, java.lang.String code, SearchConstants.Modifier modifier, java.lang.String modifierResourceTypeName, boolean isInclusionCriteria, boolean isReverseChained)
QueryParameter(SearchConstants.Type type, java.lang.String code, SearchConstants.Modifier modifier, java.lang.String modifierResourceTypeName, boolean isInclusionCriteria, boolean isReverseChained, boolean isCanonical)
QueryParameter(SearchConstants.Type type, java.lang.String code, SearchConstants.Modifier modifier, java.lang.String modifierResourceTypeName, java.util.List<QueryParameterValue> parmValues)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.LinkedList<QueryParameter>
getChain()
The returned value is intentionally not abstract.java.lang.String
getCode()
SearchConstants.Modifier
getModifier()
java.lang.String
getModifierResourceTypeName()
QueryParameter
getNextParameter()
SearchConstants.Type
getType()
java.util.List<QueryParameterValue>
getValues()
boolean
isCanonical()
boolean
isChained()
boolean
isInclusionCriteria()
boolean
isReverseChained()
void
setNextParameter(QueryParameter nextParameter)
java.lang.String
toString()
-
-
-
Constructor Detail
-
QueryParameter
public QueryParameter(SearchConstants.Type type, java.lang.String code, SearchConstants.Modifier modifier, java.lang.String modifierResourceTypeName)
-
QueryParameter
public QueryParameter(SearchConstants.Type type, java.lang.String code, SearchConstants.Modifier modifier, java.lang.String modifierResourceTypeName, boolean isInclusionCriteria)
-
QueryParameter
public QueryParameter(SearchConstants.Type type, java.lang.String code, SearchConstants.Modifier modifier, java.lang.String modifierResourceTypeName, boolean isInclusionCriteria, boolean isReverseChained)
-
QueryParameter
public QueryParameter(SearchConstants.Type type, java.lang.String code, SearchConstants.Modifier modifier, java.lang.String modifierResourceTypeName, boolean isInclusionCriteria, boolean isReverseChained, boolean isCanonical)
-
QueryParameter
public QueryParameter(SearchConstants.Type type, java.lang.String code, SearchConstants.Modifier modifier, java.lang.String modifierResourceTypeName, java.util.List<QueryParameterValue> parmValues)
-
-
Method Detail
-
getType
public SearchConstants.Type getType()
-
getCode
public java.lang.String getCode()
-
getModifier
public SearchConstants.Modifier getModifier()
-
getModifierResourceTypeName
public java.lang.String getModifierResourceTypeName()
-
getValues
public java.util.List<QueryParameterValue> getValues()
-
isChained
public boolean isChained()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getNextParameter
public QueryParameter getNextParameter()
-
setNextParameter
public void setNextParameter(QueryParameter nextParameter)
-
getChain
public java.util.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()
-
isCanonical
public boolean isCanonical()
-
-