Class QuantityParameter
- java.lang.Object
-
- com.ibm.fhir.cql.engine.searchparam.BaseQueryParameter<NumberParameter>
-
- com.ibm.fhir.cql.engine.searchparam.NumberParameter
-
- com.ibm.fhir.cql.engine.searchparam.QuantityParameter
-
- All Implemented Interfaces:
IQueryParameter
public class QuantityParameter extends NumberParameter
-
-
Constructor Summary
Constructors Constructor Description QuantityParameter()
QuantityParameter(long value)
QuantityParameter(long value, String system, String units)
QuantityParameter(SearchConstants.Prefix valuePrefix, long value, String system, String units)
QuantityParameter(SearchConstants.Prefix valuePrefix, BigDecimal value, String system, String units)
QuantityParameter(BigDecimal value)
QuantityParameter(BigDecimal value, String system, String units)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getParameterValue()
String
getSystem()
String
getUnits()
QuantityParameter
setSystem(String system)
QuantityParameter
setUnits(String units)
-
Methods inherited from class com.ibm.fhir.cql.engine.searchparam.NumberParameter
getValue, getValuePrefix, setValue, setValue, setValuePrefix
-
Methods inherited from class com.ibm.fhir.cql.engine.searchparam.BaseQueryParameter
equals, getMissing, getModifier, getName, getSearchParameter, hashCode, setMissing, setModifier, setName, setSearchParameter, toString
-
-
-
-
Constructor Detail
-
QuantityParameter
public QuantityParameter()
-
QuantityParameter
public QuantityParameter(long value)
-
QuantityParameter
public QuantityParameter(BigDecimal value)
-
QuantityParameter
public QuantityParameter(BigDecimal value, String system, String units)
-
QuantityParameter
public QuantityParameter(SearchConstants.Prefix valuePrefix, long value, String system, String units)
-
QuantityParameter
public QuantityParameter(SearchConstants.Prefix valuePrefix, BigDecimal value, String system, String units)
-
-
Method Detail
-
getSystem
public String getSystem()
-
setSystem
public QuantityParameter setSystem(String system)
-
getUnits
public String getUnits()
-
setUnits
public QuantityParameter setUnits(String units)
-
getParameterValue
public String getParameterValue()
- Specified by:
getParameterValue
in interfaceIQueryParameter
- Overrides:
getParameterValue
in classNumberParameter
-
-