Package ca.uhn.fhir.model.primitive
Class PositiveIntDt
java.lang.Object
ca.uhn.fhir.model.api.BaseElement
ca.uhn.fhir.model.api.BaseIdentifiableElement
ca.uhn.fhir.model.api.BasePrimitive<Integer>
ca.uhn.fhir.model.primitive.IntegerDt
ca.uhn.fhir.model.primitive.PositiveIntDt
- All Implemented Interfaces:
IDatatype
,IElement
,IIdentifiableElement
,IPrimitiveDatatype<Integer>
,ISupportsUndeclaredExtensions
,Externalizable
,Serializable
,IBase
,IBaseDatatype
,IBaseIntegerDatatype
,IPrimitiveType<Integer>
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructorPositiveIntDt
(int theInteger) ConstructorPositiveIntDt
(String theIntegerAsString) Constructor -
Method Summary
Methods inherited from class ca.uhn.fhir.model.api.BasePrimitive
equals, getValue, getValueAsString, hashCode, hasValue, isEmpty, readExternal, setValue, setValueAsString, toString, updateStringValue, writeExternal
Methods inherited from class ca.uhn.fhir.model.api.BaseIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, isBaseEmpty, setUserData
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
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
-
Constructor Details
-
PositiveIntDt
public PositiveIntDt()Constructor -
PositiveIntDt
Constructor -
PositiveIntDt
Constructor- Parameters:
theIntegerAsString
- A string representation of an integer- Throws:
DataFormatException
- If the string is not a valid integer representation
-