Package org.hl7.fhir.instance.model.api
Interface IPrimitiveType<T>
-
- All Superinterfaces:
IBase,IBaseDatatype,IElement,Serializable
- All Known Subinterfaces:
IBaseBooleanDatatype,IBaseDecimalDatatype,IBaseEnumeration<T>,IBaseIntegerDatatype,IBaseLongDatatype,IBaseXhtml,IIdType,IPrimitiveDatatype<T>,IStreamingDatatype<T>
- 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 IPrimitiveType<T> extends IBaseDatatype
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TgetValue()StringgetValueAsString()booleanhasValue()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
-
-
-
-
Method Detail
-
setValueAsString
void setValueAsString(String theValue) throws IllegalArgumentException
- Throws:
IllegalArgumentException
-
getValueAsString
String getValueAsString()
-
hasValue
boolean hasValue()
-
setValue
IPrimitiveType<T> setValue(T theValue) throws IllegalArgumentException
- Throws:
IllegalArgumentException
-
-