public class Enumeration<T extends Enum<?>> extends PrimitiveType<T> implements org.hl7.fhir.instance.model.api.IBaseEnumeration<T>
| Constructor and Description |
|---|
Enumeration(EnumFactory<T> theEnumFactory)
Constructor
|
Enumeration(EnumFactory<T> theEnumFactory,
String theValue)
Constructor
|
Enumeration(EnumFactory<T> theEnumFactory,
T theValue)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Enumeration<T> |
copy() |
protected String |
encode(T theValue)
Subclasses must override to convert a "coerced" value into an encoded one.
|
String |
fhirType() |
protected T |
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, setValue, setValueAsString, toString, typedCopy, updateStringValueaddChild, addExtension, addExtension, copyValues, getExtension, getExtensionsByUrl, getExtensionString, getId, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, listChildren, setId, setIdElement, setPropertycastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, isMetadataBased, listChildrenByName, setUserData, setUserDataINNclone, equals, finalize, getClass, notify, notifyAll, wait, wait, waitgetValue, getValueAsString, setValue, setValueAsStringpublic Enumeration(EnumFactory<T> theEnumFactory)
public Enumeration(EnumFactory<T> theEnumFactory, T theValue)
public Enumeration(EnumFactory<T> theEnumFactory, String theValue)
protected T parse(String theValue)
PrimitiveTypeparse in class PrimitiveType<T extends Enum<?>>theValue - Will not be nullprotected String encode(T theValue)
PrimitiveTypeencode in class PrimitiveType<T extends Enum<?>>theValue - Will not be nullpublic Enumeration<T> copy()
copy in class PrimitiveType<T extends Enum<?>>Copyright © 2014–2018 University Health Network. All rights reserved.