public class Element extends Base
| Type | Property and Description |
|---|---|
boolean |
hasElement |
| Modifier and Type | Class and Description |
|---|---|
class |
Element.ElementSortComparator |
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, 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, equalsDeep, equalsShallow, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, listChildrenByName, listChildrenByName, setProperty, setUserData, setUserDataINNpublic boolean hasElementProperty
public 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 FHIRException
getProperty in class BaseFHIRExceptionprotected void listChildren(List<Property> childProps)
listChildren in class Basepublic Base setProperty(int hash, String name, Base value) throws FHIRException
setProperty in class BaseFHIRExceptionpublic Base makeProperty(int hash, String name) throws FHIRException
makeProperty in class BaseFHIRExceptionpublic boolean isPrimitive()
isPrimitive 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 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 boolean isEmpty()
public Property getElementProperty()
public boolean hasElementProperty()
public Type asType() throws FHIRException
FHIRExceptionpublic boolean isMetadataBased()
isMetadataBased in class Basepublic boolean isList()
public String[] getTypesForProperty(int hash, String name) throws FHIRException
getTypesForProperty in class BaseFHIRExceptionpublic void sort()
Copyright © 2014–2017 University Health Network. All rights reserved.