public class Extension extends BaseExtension implements org.hl7.fhir.instance.model.api.IBaseExtension<Extension,Type>, org.hl7.fhir.instance.model.api.IBaseHasExtensions
| Modifier and Type | Field and Description |
|---|---|
protected UriType |
url
Source of the definition for the extension code - a logical name or a URL.
|
protected Type |
value
Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).
|
| Constructor and Description |
|---|
Extension()
Constructor
|
Extension(String theUrl)
Constructor
|
Extension(String theUrl,
org.hl7.fhir.instance.model.api.IBaseDatatype theValue)
Constructor
|
Extension(UriType url)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Base |
addChild(String name) |
Extension |
copy() |
boolean |
equalsDeep(Base other) |
boolean |
equalsShallow(Base other) |
String |
fhirType() |
Base[] |
getProperty(int hash,
String name,
boolean checkValid) |
String |
getUrl() |
UriType |
getUrlElement() |
Type |
getValue() |
boolean |
hasUrl() |
boolean |
hasUrlElement() |
boolean |
hasValue() |
boolean |
isEmpty() |
protected void |
listChildren(List<Property> childrenList) |
Base |
makeProperty(int hash,
String name) |
void |
setProperty(int hash,
String name,
Base value) |
void |
setProperty(String name,
Base value) |
Extension |
setUrl(String value) |
Extension |
setUrlElement(UriType value) |
Extension |
setValue(Type value) |
protected Extension |
typedCopy() |
setValueaddExtension, addExtension, copyValues, getExtension, getExtensionsByUrl, getExtensionString, getId, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setId, setIdElementcastToActionDefinition, castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToModuleMetadata, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetExtension, setValueprotected UriType url
public Extension()
public UriType getUrlElement()
url (Source of the definition for the extension code - a logical name or a URL.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the valuepublic boolean hasUrlElement()
public boolean hasUrl()
public Extension setUrlElement(UriType value)
value - url (Source of the definition for the extension code - a logical name or a URL.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the valuepublic boolean hasValue()
public Extension setValue(Type value)
setValue in class BaseExtensionvalue - value (Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).)protected void listChildren(List<Property> childrenList)
listChildren in class Elementpublic Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic void setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic void 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 boolean equalsDeep(Base other)
equalsDeep in class Elementpublic boolean equalsShallow(Base other)
equalsShallow in class ElementCopyright © 2014–2018 University Health Network. All rights reserved.