
Package ca.uhn.fhir.rest.param
Class NumberParam
- java.lang.Object
-
- ca.uhn.fhir.rest.param.BaseParam
-
- ca.uhn.fhir.rest.param.BaseParamWithPrefix<NumberParam>
-
- ca.uhn.fhir.rest.param.NumberParam
-
- All Implemented Interfaces:
IQueryParameterType
,Serializable
public class NumberParam extends BaseParamWithPrefix<NumberParam> implements IQueryParameterType
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NumberParam()
ConstructorNumberParam(int theValue)
ConstructorNumberParam(String theValue)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigDecimal
getValue()
NumberParam
setValue(BigDecimal theValue)
String
toString()
-
Methods inherited from class ca.uhn.fhir.rest.param.BaseParamWithPrefix
getPrefix, setPrefix
-
Methods inherited from class ca.uhn.fhir.rest.param.BaseParam
getMissing, getQueryParameterQualifier, getValueAsQueryToken, isSupportsChain, setMissing, setValueAsQueryToken
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface ca.uhn.fhir.model.api.IQueryParameterType
getMissing, getQueryParameterQualifier, getValueAsQueryToken, setMissing, setValueAsQueryToken
-
-
-
-
Constructor Detail
-
NumberParam
public NumberParam()
Constructor
-
NumberParam
public NumberParam(int theValue)
Constructor- Parameters:
theValue
- A value, e.g. "10"
-
NumberParam
public NumberParam(String theValue)
Constructor- Parameters:
theValue
- A string value, e.g. "gt5.0"
-
-
Method Detail
-
getValue
public BigDecimal getValue()
-
setValue
public NumberParam setValue(BigDecimal theValue)
-
-