public class IntegerType extends PrimitiveType<Integer> implements org.hl7.fhir.instance.model.api.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, forceStringValue, fpValue, fromStringValue, getProperty, getTypesForProperty, getValue, getValueAsString, hashCode, hasPrimitiveValue, hasValue, isEmpty, isPrimitive, makeProperty, primitiveValue, readExternal, setProperty, setProperty, setValue, setValueAsString, toString, typedCopy, updateStringValue, writeExternaladdChild, addExtension, addExtension, addExtension, copyValues, getExtension, getExtensionByUrl, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, getNamedProperty, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, listChildren, noExtensions, removeExtension, setDisallowExtensions, setExtension, setId, setIdBase, setIdElementcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCanonical, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExpression, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMarketingStatus, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPopulation, castToPositiveInt, castToProdCharacteristic, castToProductShelfLife, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToSubstanceAmount, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUrl, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isResource, listChildrenByName, listChildrenByName, setUserData, setUserDataINNclone, equals, finalize, getClass, notify, notifyAll, wait, wait, waitgetValue, getValueAsString, hasValue, setValue, setValueAsString, toValueOrNullgetFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, isEmpty, setUserDatapublic 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–2021 Health Level 7. All rights reserved.