
Package ca.uhn.fhir.model.api
Interface IPrimitiveDatatype<T>
-
- All Superinterfaces:
IBase
,IBaseDatatype
,IDatatype
,IElement
,IPrimitiveType<T>
,Serializable
- All Known Implementing Classes:
Base64BinaryDt
,BaseDateTimeDt
,BasePrimitive
,BooleanDt
,BoundCodeDt
,CodeDt
,DateDt
,DateParam.DateParamDateTimeHolder
,DateTimeDt
,DecimalDt
,IdDt
,InstantDt
,IntegerDt
,MarkdownDt
,OidDt
,PositiveIntDt
,StringDt
,TimeDt
,UnsignedIntDt
,UriDt
,XhtmlDt
public interface IPrimitiveDatatype<T> extends IDatatype, IPrimitiveType<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
getValue()
String
getValueAsString()
IPrimitiveType<T>
setValue(T theValue)
void
setValueAsString(String theValue)
-
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, isEmpty, setUserData
-
Methods inherited from interface org.hl7.fhir.instance.model.api.IPrimitiveType
hasValue
-
-
-
-
Method Detail
-
setValueAsString
void setValueAsString(String theValue) throws DataFormatException
- Specified by:
setValueAsString
in interfaceIPrimitiveType<T>
- Throws:
DataFormatException
-
getValueAsString
String getValueAsString() throws DataFormatException
- Specified by:
getValueAsString
in interfaceIPrimitiveType<T>
- Throws:
DataFormatException
-
getValue
T getValue()
- Specified by:
getValue
in interfaceIPrimitiveType<T>
-
setValue
IPrimitiveType<T> setValue(T theValue) throws DataFormatException
- Specified by:
setValue
in interfaceIPrimitiveType<T>
- Throws:
DataFormatException
-
-