public abstract class BackboneElement extends Element implements org.hl7.fhir.instance.model.api.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 in which it is contained and/or the understanding of the containing element's descendants.
|
| Constructor and Description |
|---|
BackboneElement()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Base |
addChild(String name) |
Extension |
addModifierExtension() |
BackboneElement |
addModifierExtension(Extension t) |
void |
checkNoModifiers(String noun,
String verb) |
abstract BackboneElement |
copy() |
void |
copyValues(BackboneElement dst) |
boolean |
equalsDeep(Base other_) |
boolean |
equalsShallow(Base other_) |
String |
fhirType() |
List<Extension> |
getModifierExtension() |
Extension |
getModifierExtensionFirstRep() |
Property |
getNamedProperty(int _hash,
String _name,
boolean _checkValid) |
Base[] |
getProperty(int hash,
String name,
boolean checkValid) |
String[] |
getTypesForProperty(int hash,
String name) |
boolean |
hasModifierExtension() |
boolean |
isEmpty() |
protected void |
listChildren(List<Property> children) |
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, getExtensionByUrl, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, 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, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddExtension, getExtension, hasExtensionprotected List<Extension> modifierExtension
public BackboneElement()
public List<Extension> getModifierExtension()
getModifierExtension in interface org.hl7.fhir.instance.model.api.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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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.
Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).)public BackboneElement setModifierExtension(List<Extension> theModifierExtension)
this for easy method chainingpublic boolean hasModifierExtension()
hasModifierExtension in interface org.hl7.fhir.instance.model.api.IBaseHasModifierExtensionspublic Extension addModifierExtension()
addModifierExtension in interface org.hl7.fhir.instance.model.api.IBaseHasModifierExtensionspublic BackboneElement addModifierExtension(Extension t)
public Extension getModifierExtensionFirstRep()
modifierExtension, creating it if it does not already existprotected void listChildren(List<Property> children)
listChildren in class Elementpublic Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
getNamedProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
makeProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
getTypesForProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic abstract BackboneElement copy()
public void copyValues(BackboneElement dst)
public boolean equalsDeep(Base other_)
equalsDeep in class Elementpublic boolean equalsShallow(Base other_)
equalsShallow in class Elementpublic boolean isEmpty()
public void checkNoModifiers(String noun, String verb) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionCopyright © 2014–2021 Health Level 7. All rights reserved.