public class TokenOrListParam extends Object
| Constructor and Description |
|---|
TokenOrListParam()
Create a new empty token "OR list"
|
TokenOrListParam(String theSystem,
String... theValues)
Create a new token "OR list" with a single token, or multiple tokens which have the same system value
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(BaseCodingDt theCodingDt)
Convenience method which adds a token to this OR list using the system and code from a coding
|
void |
add(BaseIdentifierDt theIdentifierDt)
Convenience method which adds a token to this OR list using the system and value from an identifier
|
void |
add(String theSystem,
String theValue)
Add a new token to this list
|
ca.uhn.fhir.rest.param.BaseOrListParam<T> |
add(T theParameter) |
TokenOrListParam |
addOr(TokenParam theParameter) |
boolean |
doesCodingListMatch(List<? extends BaseCodingDt> theCodings) |
List<BaseCodingDt> |
getListAsCodings() |
List<T> |
getValuesAsQueryTokens() |
void |
setValuesAsQueryTokens(QualifiedParamList theParameters) |
public TokenOrListParam()
public TokenOrListParam(String theSystem, String... theValues)
theSystem - The system to use for the one token to pre-populate in this listtheValues - The values to use for the one token to pre-populate in this listpublic void add(BaseCodingDt theCodingDt)
public void add(BaseIdentifierDt theIdentifierDt)
public void add(String theSystem, String theValue)
theSystem - The system to use for the one token to pre-populate in this listtheValue - The value to use for the one token to pre-populate in this listpublic List<BaseCodingDt> getListAsCodings()
public boolean doesCodingListMatch(List<? extends BaseCodingDt> theCodings)
public TokenOrListParam addOr(TokenParam theParameter)
public void setValuesAsQueryTokens(QualifiedParamList theParameters)
setValuesAsQueryTokens in interface IQueryParameterOr<T extends IQueryParameterType>public ca.uhn.fhir.rest.param.BaseOrListParam<T> add(T theParameter)
public List<T> getValuesAsQueryTokens()
getValuesAsQueryTokens in interface IQueryParameterOr<T extends IQueryParameterType>Copyright © 2014–2016 University Health Network. All rights reserved.