Class QuantityParameter
- java.lang.Object
-
- org.linuxforhealth.fhir.cql.engine.searchparam.BaseQueryParameter<NumberParameter>
-
- org.linuxforhealth.fhir.cql.engine.searchparam.NumberParameter
-
- org.linuxforhealth.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, java.lang.String system, java.lang.String units)
QuantityParameter(java.math.BigDecimal value)
QuantityParameter(java.math.BigDecimal value, java.lang.String system, java.lang.String units)
QuantityParameter(SearchConstants.Prefix valuePrefix, long value, java.lang.String system, java.lang.String units)
QuantityParameter(SearchConstants.Prefix valuePrefix, java.math.BigDecimal value, java.lang.String system, java.lang.String units)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getParameterValue()
java.lang.String
getSystem()
java.lang.String
getUnits()
QuantityParameter
setSystem(java.lang.String system)
QuantityParameter
setUnits(java.lang.String units)
-
Methods inherited from class org.linuxforhealth.fhir.cql.engine.searchparam.NumberParameter
getValue, getValuePrefix, setValue, setValue, setValuePrefix
-
Methods inherited from class org.linuxforhealth.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(java.math.BigDecimal value)
-
QuantityParameter
public QuantityParameter(long value, java.lang.String system, java.lang.String units)
-
QuantityParameter
public QuantityParameter(java.math.BigDecimal value, java.lang.String system, java.lang.String units)
-
QuantityParameter
public QuantityParameter(SearchConstants.Prefix valuePrefix, long value, java.lang.String system, java.lang.String units)
-
QuantityParameter
public QuantityParameter(SearchConstants.Prefix valuePrefix, java.math.BigDecimal value, java.lang.String system, java.lang.String units)
-
-
Method Detail
-
getSystem
public java.lang.String getSystem()
-
setSystem
public QuantityParameter setSystem(java.lang.String system)
-
getUnits
public java.lang.String getUnits()
-
setUnits
public QuantityParameter setUnits(java.lang.String units)
-
getParameterValue
public java.lang.String getParameterValue()
- Specified by:
getParameterValue
in interfaceIQueryParameter
- Overrides:
getParameterValue
in classNumberParameter
-
-