public static class ModuleMetadata.ModuleMetadataRelatedResourceComponent extends Element implements org.hl7.fhir.instance.model.api.IBaseDatatypeElement
| Modifier and Type | Field and Description |
|---|---|
protected Attachment |
document
The document being referenced, represented as an attachment.
|
protected Reference |
resource
The related resource, such as a library, value set, profile, or other module.
|
protected Resource |
resourceTarget
The actual object that is the target of the reference (The related resource, such as a library, value set, profile, or other module.)
|
protected Enumeration<ModuleMetadata.ModuleMetadataResourceType> |
type
The type of related resource.
|
| Constructor and Description |
|---|
ModuleMetadataRelatedResourceComponent()
Constructor
|
ModuleMetadataRelatedResourceComponent(Enumeration<ModuleMetadata.ModuleMetadataResourceType> type)
Constructor
|
addExtension, 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, setUserDataINNprotected Enumeration<ModuleMetadata.ModuleMetadataResourceType> type
protected Attachment document
protected Reference resource
protected Resource resourceTarget
public ModuleMetadataRelatedResourceComponent()
public ModuleMetadataRelatedResourceComponent(Enumeration<ModuleMetadata.ModuleMetadataResourceType> type)
public Enumeration<ModuleMetadata.ModuleMetadataResourceType> getTypeElement()
type (The type of related resource.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the valuepublic boolean hasTypeElement()
public boolean hasType()
public ModuleMetadata.ModuleMetadataRelatedResourceComponent setTypeElement(Enumeration<ModuleMetadata.ModuleMetadataResourceType> value)
value - type (The type of related resource.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the valuepublic ModuleMetadata.ModuleMetadataResourceType getType()
public ModuleMetadata.ModuleMetadataRelatedResourceComponent setType(ModuleMetadata.ModuleMetadataResourceType value)
value - The type of related resource.public Attachment getDocument()
document (The document being referenced, represented as an attachment. This is exclusive with the resource element.)public boolean hasDocument()
public ModuleMetadata.ModuleMetadataRelatedResourceComponent setDocument(Attachment value)
value - document (The document being referenced, represented as an attachment. This is exclusive with the resource element.)public Reference getResource()
resource (The related resource, such as a library, value set, profile, or other module.)public boolean hasResource()
public ModuleMetadata.ModuleMetadataRelatedResourceComponent setResource(Reference value)
value - resource (The related resource, such as a library, value set, profile, or other module.)public Resource getResourceTarget()
resource The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The related resource, such as a library, value set, profile, or other module.)public ModuleMetadata.ModuleMetadataRelatedResourceComponent setResourceTarget(Resource value)
value - resource The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The related resource, such as a library, value set, profile, or other module.)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 ModuleMetadata.ModuleMetadataRelatedResourceComponent copy()
public boolean equalsDeep(Base other)
equalsDeep in class Elementpublic boolean equalsShallow(Base other)
equalsShallow in class Elementpublic boolean isEmpty()
Copyright © 2014–2018 University Health Network. All rights reserved.