public class IntegerType extends PrimitiveType<Integer> implements IBaseIntegerDatatype
| Constructor and Description |
|---|
IntegerType()
Constructor
|
IntegerType(int theInteger)
Constructor
|
IntegerType(Long theValue)
Constructor
|
IntegerType(String theIntegerAsString)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
IntegerType |
copy() |
protected String |
encode(Integer theValue)
Subclasses must override to convert a "coerced" value into an encoded one.
|
String |
fhirType() |
protected Integer |
parse(String theValue)
Subclasses must override to convert an encoded representation of this datatype into a "coerced" one
|
asStringValue, equalsDeep, equalsShallow, fromStringValue, getValue, getValueAsString, hashCode, hasValue, isEmpty, isPrimitive, primitiveValue, readExternal, setValue, setValueAsString, toString, typedCopy, updateStringValue, writeExternaladdChild, addExtension, addExtension, addExtension, copyValues, getExtension, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, getProperty, getTypesForProperty, hasExtension, hasExtension, hasId, hasIdElement, listChildren, makeProperty, setExtension, setId, setIdBase, setIdElement, setProperty, setPropertycastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isMetadataBased, isResource, listChildrenByName, listChildrenByName, setUserData, setUserDataINNclone, equals, finalize, getClass, notify, notifyAll, wait, wait, waitgetValue, getValueAsString, setValue, setValueAsStringgetFormatCommentsPost, getFormatCommentsPre, hasFormatComment, isEmptyaddExtension, getExtension, hasExtensionpublic IntegerType()
public IntegerType(int theInteger)
public IntegerType(String theIntegerAsString)
theIntegerAsString - A string representation of an integerIllegalArgumentException - If the string is not a valid integer representationpublic IntegerType(Long theValue)
theValue - The valueIllegalArgumentException - If the value is too large to fit in a signed integerprotected Integer parse(String theValue)
PrimitiveTypeparse in class PrimitiveType<Integer>theValue - Will not be nullprotected String encode(Integer theValue)
PrimitiveTypeencode in class PrimitiveType<Integer>theValue - Will not be nullpublic IntegerType copy()
copy in class PrimitiveType<Integer>Copyright © 2014–2017 University Health Network. All rights reserved.