Package com.ibm.fhir.search.parameters
Class QueryParameterValue
- java.lang.Object
-
- com.ibm.fhir.search.parameters.QueryParameterValue
-
public class QueryParameterValue extends Object
A search parameter value for a given search parameter that was passed in a search query
-
-
Constructor Summary
Constructors Constructor Description QueryParameterValue()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addComponent(QueryParameter... component)
List<QueryParameter>
getComponent()
SearchConstants.Prefix
getPrefix()
String
getValueCode()
Instant
getValueDateLowerBound()
Instant
getValueDateUpperBound()
BigDecimal
getValueNumber()
String
getValueString()
String
getValueSystem()
boolean
isHidden()
void
setComponent(Collection<QueryParameter> component)
void
setHidden(boolean hidden)
void
setPrefix(SearchConstants.Prefix prefix)
void
setValueCode(String valueCode)
void
setValueDateLowerBound(Instant valueDateLowerBound)
void
setValueDateUpperBound(Instant valueDateUpperBound)
void
setValueNumber(BigDecimal valueNumber)
void
setValueString(String valueString)
void
setValueSystem(String valueSystem)
String
toString()
Serialize the ParameterValue to a query parameter stringQueryParameterValue
withPrefix(SearchConstants.Prefix prefix)
-
-
-
Method Detail
-
setPrefix
public void setPrefix(SearchConstants.Prefix prefix)
-
withPrefix
public QueryParameterValue withPrefix(SearchConstants.Prefix prefix)
-
getPrefix
public SearchConstants.Prefix getPrefix()
-
getValueString
public String getValueString()
-
setValueString
public void setValueString(String valueString)
-
getValueNumber
public BigDecimal getValueNumber()
-
setValueNumber
public void setValueNumber(BigDecimal valueNumber)
-
getValueSystem
public String getValueSystem()
-
setValueSystem
public void setValueSystem(String valueSystem)
-
getValueCode
public String getValueCode()
-
setValueCode
public void setValueCode(String valueCode)
-
getValueDateLowerBound
public Instant getValueDateLowerBound()
-
setValueDateLowerBound
public void setValueDateLowerBound(Instant valueDateLowerBound)
-
getValueDateUpperBound
public Instant getValueDateUpperBound()
-
setValueDateUpperBound
public void setValueDateUpperBound(Instant valueDateUpperBound)
-
getComponent
public List<QueryParameter> getComponent()
- Returns:
- the component
-
addComponent
public void addComponent(QueryParameter... component)
- Parameters:
component
- the components to add
-
setComponent
public void setComponent(Collection<QueryParameter> component)
- Parameters:
component
- the component to set
-
isHidden
public boolean isHidden()
- Returns:
- the hidden
-
setHidden
public void setHidden(boolean hidden)
- Parameters:
b
-
-
-