public abstract class BackboneElement extends Element implements IBaseBackboneElement
| Modifier and Type | Field and Description |
|---|---|
protected List<Extension> |
modifierExtension
May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it.
|
| Constructor and Description |
|---|
BackboneElement()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Base |
addChild(String name) |
Extension |
addModifierExtension() |
BackboneElement |
addModifierExtension(Extension t) |
abstract BackboneElement |
copy() |
void |
copyValues(BackboneElement dst) |
boolean |
equalsDeep(Base other) |
boolean |
equalsShallow(Base other) |
String |
fhirType() |
List<Extension> |
getModifierExtension() |
Extension |
getModifierExtensionFirstRep() |
Base[] |
getProperty(int hash,
String name,
boolean checkValid) |
String[] |
getTypesForProperty(int hash,
String name) |
boolean |
hasModifierExtension() |
boolean |
isEmpty() |
protected void |
listChildren(List<Property> childrenList) |
Base |
makeProperty(int hash,
String name) |
BackboneElement |
setModifierExtension(List<Extension> theModifierExtension) |
Base |
setProperty(int hash,
String name,
Base value) |
Base |
setProperty(String name,
Base value) |
addExtension, addExtension, addExtension, copyValues, getExtension, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setExtension, setId, setIdBase, setIdElementcastToAddress, 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, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFormatCommentsPost, getFormatCommentsPre, hasFormatCommentaddExtension, getExtension, hasExtensionprotected List<Extension> modifierExtension
public BackboneElement()
public List<Extension> getModifierExtension()
getModifierExtension in interface IBaseHasModifierExtensionsmodifierExtension (May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.)public BackboneElement setModifierExtension(List<Extension> theModifierExtension)
this for easy method chainingpublic boolean hasModifierExtension()
hasModifierExtension in interface IBaseHasModifierExtensionspublic Extension addModifierExtension()
addModifierExtension in interface IBaseHasModifierExtensionspublic BackboneElement addModifierExtension(Extension t)
public Extension getModifierExtensionFirstRep()
modifierExtension, creating it if it does not already existprotected void listChildren(List<Property> childrenList)
listChildren in class Elementpublic Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException
getProperty in class ElementFHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws FHIRException
setProperty in class ElementFHIRExceptionpublic Base setProperty(String name, Base value) throws FHIRException
setProperty in class ElementFHIRExceptionpublic Base makeProperty(int hash, String name) throws FHIRException
makeProperty in class ElementFHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws FHIRException
getTypesForProperty in class ElementFHIRExceptionpublic Base addChild(String name) throws FHIRException
addChild in class ElementFHIRExceptionpublic abstract BackboneElement copy()
public void copyValues(BackboneElement dst)
public boolean equalsDeep(Base other)
equalsDeep in class Elementpublic boolean equalsShallow(Base other)
equalsShallow in class ElementCopyright © 2014–2017 University Health Network. All rights reserved.