
Package ca.uhn.fhir.model.primitive
Class IntegerDt
- All Implemented Interfaces:
- IDatatype,- IElement,- IIdentifiableElement,- IPrimitiveDatatype<Integer>,- ISupportsUndeclaredExtensions,- Externalizable,- Serializable,- IBase,- IBaseDatatype,- IBaseIntegerDatatype,- IPrimitiveType<Integer>
- Direct Known Subclasses:
- PositiveIntDt,- UnsignedIntDt
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class ca.uhn.fhir.model.api.BasePrimitiveequals, getValue, getValueAsString, hashCode, hasValue, isEmpty, readExternal, setValue, setValueAsString, toString, updateStringValue, writeExternalMethods inherited from class ca.uhn.fhir.model.api.BaseIdentifiableElementgetElementSpecificId, getId, setElementSpecificId, setId, setIdMethods inherited from class ca.uhn.fhir.model.api.BaseElementaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, isBaseEmpty, setUserDataMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.hl7.fhir.instance.model.api.IBasefhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, isEmpty, setUserDataMethods inherited from interface org.hl7.fhir.instance.model.api.IPrimitiveTypehasValue
- 
Constructor Details- 
IntegerDtpublic IntegerDt()Constructor
- 
IntegerDtConstructor
- 
IntegerDtConstructor- Parameters:
- theIntegerAsString- A string representation of an integer
- Throws:
- DataFormatException- If the string is not a valid integer representation
 
 
- 
- 
Method Details- 
parseDescription copied from class:BasePrimitiveSubclasses must override to convert an encoded representation of this datatype into a "coerced" one- Specified by:
- parsein class- BasePrimitive<Integer>
- Parameters:
- theValue- Will not be null
- Returns:
- May return null if the value does not correspond to anything
 
- 
encodeDescription copied from class:BasePrimitiveSubclasses must override to convert a "coerced" value into an encoded one.- Specified by:
- encodein class- BasePrimitive<Integer>
- Parameters:
- theValue- Will not be null
- Returns:
- May return null if the value does not correspond to anything
 
 
-