
Package org.hl7.fhir.r4.elementmodel
Class Element
java.lang.Object
org.hl7.fhir.r4.model.Base
org.hl7.fhir.r4.elementmodel.Element
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement,Serializable,org.hl7.fhir.instance.model.api.IBase
Deprecated.
This class represents the underlying reference model of FHIR
A resource is nothing but a set of elements, where every element has a name,
maybe a stated type, maybe an id, and either a value or child elements (one
or the other, but not both or neither)
- Author:
- Grahame Grieve
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassDeprecated.classDeprecated.static enumDeprecated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasType()Deprecated.voidDeprecated.intcol()Deprecated.copy()Deprecated.voidcopyValues(Base dst) Deprecated.booleanequalsDeep(Base other) Deprecated.booleanequalsShallow(Base other) Deprecated.fhirType()Deprecated.Deprecated.Deprecated.getChildren(String name) Deprecated.getChildrenByName(String name) Deprecated.getChildValue(String name) Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.intgetIndex()Deprecated.getName()Deprecated.getNamedChild(String name) Deprecated.voidgetNamedChildren(String name, List<Element> list) Deprecated.voidgetNamedChildrenWithWildcard(String string, List<Element> values) Deprecated.getNamedChildValue(String name) Deprecated.Deprecated.Base[]getProperty(int hash, String name, boolean checkValid) Deprecated.Deprecated.getType()Deprecated.String[]getTypesForProperty(int hash, String name) Deprecated.getValue()Deprecated.org.hl7.fhir.utilities.xhtml.XhtmlNodegetXhtml()Deprecated.booleanDeprecated.booleanDeprecated.booleanhasChildren(String name) Deprecated.booleanDeprecated.booleanDeprecated.booleanhasIndex()Deprecated.booleanDeprecated.booleanhasType()Deprecated.booleanhasValue()Deprecated.booleanDeprecated.booleanisEmpty()Deprecated.booleanisList()Deprecated.booleanDeprecated.booleanDeprecated.booleanDeprecated.intline()Deprecated.protected voidlistChildren(List<Property> childProps) Deprecated.makeProperty(int hash, String name) Deprecated.markLocation(int line, int col) Deprecated.voidmarkValidation(StructureDefinition profile, ElementDefinition definition) Deprecated.voidDeprecated.Deprecated.voidsetChildValue(String name, String value) Deprecated.voidsetExplicitType(String explicitType) Deprecated.voidDeprecated.voidsetIndex(int index) Deprecated.setProperty(int hash, String name, Base value) Deprecated.voidDeprecated.voidDeprecated.setXhtml(org.hl7.fhir.utilities.xhtml.XhtmlNode xhtml) Deprecated.return set XHTML if this is an XHTML node, else errorvoidsort()Deprecated.toString()Deprecated.voidupdateProperty(Property property, Element.SpecialElement special, Property elementProperty) Deprecated.Methods inherited from class org.hl7.fhir.r4.model.Base
addChild, castToAddress, 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, getChildValueByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, isDateTime, listChildrenByName, listChildrenByName, removeChild, setProperty, setUserData, setUserDataINN
-
Constructor Details
-
Element
Deprecated. -
Element
Deprecated. -
Element
Deprecated. -
Element
Deprecated.
-
-
Method Details
-
updateProperty
public void updateProperty(Property property, Element.SpecialElement special, Property elementProperty) Deprecated. -
getSpecial
Deprecated. -
getName
Deprecated. -
getType
Deprecated. -
getValue
Deprecated. -
hasChildren
Deprecated. -
getChildren
Deprecated. -
hasComments
Deprecated. -
getComments
Deprecated. -
getProperty
Deprecated. -
setValue
Deprecated. -
setType
Deprecated. -
hasValue
Deprecated. -
getChildrenByName
Deprecated. -
numberChildren
Deprecated. -
getIndex
Deprecated. -
hasIndex
Deprecated. -
setIndex
Deprecated. -
getChildValue
Deprecated. -
setChildValue
Deprecated. -
getChildren
Deprecated. -
hasType
Deprecated. -
fhirType
Deprecated. -
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException Deprecated.- Overrides:
getPropertyin classBase- Throws:
org.hl7.fhir.exceptions.FHIRException
-
listChildren
Deprecated.- Specified by:
listChildrenin classBase
-
copy
Deprecated. -
copyValues
Deprecated.- Overrides:
copyValuesin classBase
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException Deprecated.- Overrides:
setPropertyin classBase- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
Deprecated.- Overrides:
makePropertyin classBase- Throws:
org.hl7.fhir.exceptions.FHIRException
-
isPrimitive
Deprecated.- Overrides:
isPrimitivein classBase
-
isBooleanPrimitive
Deprecated.- Overrides:
isBooleanPrimitivein classBase
-
isResource
Deprecated.- Overrides:
isResourcein classBase
-
hasPrimitiveValue
Deprecated.- Overrides:
hasPrimitiveValuein classBase
-
primitiveValue
Deprecated.- Overrides:
primitiveValuein classBase
-
line
Deprecated. -
col
Deprecated. -
markLocation
Deprecated. -
clearDecorations
Deprecated. -
markValidation
Deprecated. -
getNamedChild
Deprecated. -
getNamedChildren
Deprecated. -
getNamedChildValue
Deprecated. -
getNamedChildrenWithWildcard
Deprecated. -
getXhtml
Deprecated. -
setXhtml
Deprecated.Description copied from class:Basereturn set XHTML if this is an XHTML node, else error -
isEmpty
Deprecated. -
getElementProperty
Deprecated. -
hasElementProperty
Deprecated. -
hasChild
Deprecated. -
hasChildren
Deprecated. -
toString
Deprecated. -
getIdBase
Deprecated. -
setIdBase
Deprecated. -
equalsDeep
Deprecated.- Overrides:
equalsDeepin classBase
-
equalsShallow
Deprecated.- Overrides:
equalsShallowin classBase
-
asType
Deprecated.- Throws:
org.hl7.fhir.exceptions.FHIRException
-
isMetadataBased
Deprecated.- Overrides:
isMetadataBasedin classBase
-
isList
Deprecated. -
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException Deprecated.- Overrides:
getTypesForPropertyin classBase- Throws:
org.hl7.fhir.exceptions.FHIRException
-
sort
Deprecated. -
getAsICoding
Deprecated.- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getExplicitType
Deprecated. -
setExplicitType
Deprecated.
-