public class StringDt extends BasePrimitive<String> implements IQueryParameterType
| Constructor and Description |
|---|
StringDt()
Create a new String
|
StringDt(String theValue)
Create a new String
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
encode(String theValue)
Subclasses must override to convert a "coerced" value into an encoded one.
|
boolean |
equals(Object obj) |
Boolean |
getMissing()
Deprecated.
get/setMissing is not supported in StringDt. Use
StringParam instead if you
need this functionality |
String |
getQueryParameterQualifier()
This method will return any qualifier that should be appended to the parameter name (e.g ":exact")
|
String |
getValueAsQueryToken()
Returns a representation of this parameter's value as it will be represented "over the wire".
|
String |
getValueNotNull() |
int |
hashCode() |
boolean |
isEmpty()
Returns
true if this datatype has no extensions, and has either a null value or an empty ("") value. |
protected String |
parse(String theValue)
Subclasses must override to convert an encoded representation of this datatype into a "coerced" one
|
void |
setMissing(Boolean theMissing)
Deprecated.
get/setMissing is not supported in StringDt. Use
StringParam instead if you
need this functionality |
void |
setValueAsQueryToken(String theQualifier,
String theValue)
This method is generally only called by HAPI itself, and should not need to be called from user code.
|
String |
toString()
Returns the value of this string, or
null |
getValue, getValueAsString, readExternal, setValue, setValueAsString, updateStringValue, writeExternalgetElementSpecificId, getId, setElementSpecificId, setId, setIdaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, isBaseEmptypublic StringDt()
public String getValueNotNull()
public String toString()
nulltoString in class BasePrimitive<String>public int hashCode()
hashCode in class BasePrimitive<String>public boolean equals(Object obj)
equals in class BasePrimitive<String>public void setValueAsQueryToken(String theQualifier, String theValue)
See FHIR specification 2.2.2 Search SearchParameter Types for information on the token format
setValueAsQueryToken in interface IQueryParameterTypetheQualifier - The parameter name qualifier that accompanied this value. For example, if the complete query was
http://foo?name:exact=John, qualifier would be ":exact"theValue - The actual parameter value. For example, if the complete query was
http://foo?name:exact=John, the value would be "John"public String getValueAsQueryToken()
See FHIR specification 2.2.2 Search SearchParameter Types for information on the token format
getValueAsQueryToken in interface IQueryParameterTypepublic boolean isEmpty()
true if this datatype has no extensions, and has either a null value or an empty ("") value.isEmpty in interface IBaseisEmpty in class BasePrimitive<String>public String getQueryParameterQualifier()
IQueryParameterTypegetQueryParameterQualifier in interface IQueryParameterTypeprotected String parse(String theValue)
BasePrimitiveparse in class BasePrimitive<String>theValue - Will not be nullprotected String encode(String theValue)
BasePrimitiveencode in class BasePrimitive<String>theValue - Will not be null@Deprecated public Boolean getMissing()
StringParam instead if you
need this functionalitygetMissing in interface IQueryParameterType@Deprecated public void setMissing(Boolean theMissing)
StringParam instead if you
need this functionalitysetMissing in interface IQueryParameterTypeCopyright © 2014–2016 University Health Network. All rights reserved.