public class IntegerDt extends BasePrimitive<Integer> implements IBaseIntegerDatatype
| Constructor and Description |
|---|
IntegerDt()
Constructor
|
IntegerDt(int theInteger)
Constructor
|
IntegerDt(String theIntegerAsString)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
encode(Integer theValue)
Subclasses must override to convert a "coerced" value into an encoded one.
|
protected Integer |
parse(String theValue)
Subclasses must override to convert an encoded representation of this datatype into a "coerced" one
|
equals, getValue, getValueAsString, hashCode, hasValue, isEmpty, readExternal, setValue, setValueAsString, toString, updateStringValue, writeExternalgetElementSpecificId, getId, setElementSpecificId, setId, setIdaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, hasFormatComment, isBaseEmptyclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetValue, getValueAsString, hasValue, setValue, setValueAsStringfhirType, getFormatCommentsPost, getFormatCommentsPre, hasFormatComment, isEmptypublic IntegerDt()
public IntegerDt(int theInteger)
public IntegerDt(String theIntegerAsString)
theIntegerAsString - A string representation of an integerDataFormatException - If the string is not a valid integer representationprotected Integer parse(String theValue)
BasePrimitiveparse in class BasePrimitive<Integer>theValue - Will not be nullprotected String encode(Integer theValue)
BasePrimitiveencode in class BasePrimitive<Integer>theValue - Will not be nullCopyright © 2014–2019 University Health Network. All rights reserved.