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 TgetValue()StringgetValueAsString()IPrimitiveType<T>setValue(T theValue)voidsetValueAsString(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:
setValueAsStringin interfaceIPrimitiveType<T>- Throws:
DataFormatException
-
getValueAsString
String getValueAsString() throws DataFormatException
- Specified by:
getValueAsStringin interfaceIPrimitiveType<T>- Throws:
DataFormatException
-
getValue
T getValue()
- Specified by:
getValuein interfaceIPrimitiveType<T>
-
setValue
IPrimitiveType<T> setValue(T theValue) throws DataFormatException
- Specified by:
setValuein interfaceIPrimitiveType<T>- Throws:
DataFormatException
-
-