public class Element extends Base
| Modifier and Type | Class and Description |
|---|---|
class |
Element.ElementSortComparator |
class |
Element.ICodingImpl |
static class |
Element.SpecialElement |
| Constructor and Description |
|---|
Element(Element other) |
Element(String name) |
Element(String name,
Property property) |
Element(String name,
Property property,
String type,
String value) |
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, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, isDateTime, listChildrenByName, listChildrenByName, setProperty, setUserData, setUserDataINNpublic void updateProperty(Property property, Element.SpecialElement special, Property elementProperty)
public Element.SpecialElement getSpecial()
public boolean hasChildren()
public List<Element> getChildren()
public boolean hasComments()
public List<String> getComments()
public Property getProperty()
public boolean hasValue()
public List<Element> getChildrenByName(String name)
public void numberChildren()
public int getIndex()
public boolean hasIndex()
public void setIndex(int index)
public String getChildValue(String name)
public void setChildValue(String name, String value)
public List<Element> getChildren(String name)
public boolean hasType()
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class Baseorg.hl7.fhir.exceptions.FHIRExceptionprotected void listChildren(List<Property> childProps)
listChildren in class Basepublic Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class Baseorg.hl7.fhir.exceptions.FHIRExceptionpublic Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
makeProperty in class Baseorg.hl7.fhir.exceptions.FHIRExceptionpublic boolean isPrimitive()
isPrimitive in class Basepublic boolean isBooleanPrimitive()
isBooleanPrimitive in class Basepublic boolean isResource()
isResource in class Basepublic boolean hasPrimitiveValue()
hasPrimitiveValue in class Basepublic String primitiveValue()
primitiveValue in class Basepublic int line()
public int col()
public Element markLocation(int line, int col)
public void clearDecorations()
public void markValidation(StructureDefinition profile, ElementDefinition definition)
public Element getNamedChild(String name)
public void getNamedChildren(String name, List<Element> list)
public String getNamedChildValue(String name)
public void getNamedChildrenWithWildcard(String string, List<Element> values)
public org.hl7.fhir.utilities.xhtml.XhtmlNode getXhtml()
public boolean isEmpty()
public Property getElementProperty()
public boolean hasElementProperty()
public boolean hasChildren(String name)
public boolean equalsDeep(Base other)
equalsDeep in class Basepublic boolean equalsShallow(Base other)
equalsShallow in class Basepublic Type asType() throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic boolean isMetadataBased()
isMetadataBased in class Basepublic boolean isList()
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
getTypesForProperty in class Baseorg.hl7.fhir.exceptions.FHIRExceptionpublic void sort()
public ICoding getAsICoding() throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic String getExplicitType()
public void setExplicitType(String explicitType)
Copyright © 2014–2021 Health Level 7. All rights reserved.