public static class Provenance.ProvenanceEntityComponent extends BackboneElement implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
| Modifier and Type | Field and Description |
|---|---|
protected List<Provenance.ProvenanceAgentComponent> |
agent
The entity is attributed to an agent to express the agent's responsibility for that entity, possibly along with other agents.
|
protected Enumeration<Provenance.ProvenanceEntityRole> |
role
How the entity was used during the activity.
|
protected Type |
what
Identity of the Entity used.
|
modifierExtension| Constructor and Description |
|---|
ProvenanceEntityComponent()
Constructor
|
ProvenanceEntityComponent(Enumeration<Provenance.ProvenanceEntityRole> role,
Type what)
Constructor
|
addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getModifierExtension, getModifierExtensionFirstRep, hasModifierExtension, setModifierExtensionaddExtension, addExtension, addExtension, copyValues, getExtension, getExtensionByUrl, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, noExtensions, setDisallowExtensions, setExtension, setId, setIdBase, setIdElementcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCanonical, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMarketingStatus, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, 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, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFormatCommentsPost, getFormatCommentsPre, hasFormatCommentprotected Enumeration<Provenance.ProvenanceEntityRole> role
protected Type what
protected List<Provenance.ProvenanceAgentComponent> agent
public ProvenanceEntityComponent()
public ProvenanceEntityComponent(Enumeration<Provenance.ProvenanceEntityRole> role, Type what)
public Enumeration<Provenance.ProvenanceEntityRole> getRoleElement()
role (How the entity was used during the activity.). This is the underlying object with id, value and extensions. The accessor "getRole" gives direct access to the valuepublic boolean hasRoleElement()
public boolean hasRole()
public Provenance.ProvenanceEntityComponent setRoleElement(Enumeration<Provenance.ProvenanceEntityRole> value)
value - role (How the entity was used during the activity.). This is the underlying object with id, value and extensions. The accessor "getRole" gives direct access to the valuepublic Provenance.ProvenanceEntityRole getRole()
public Provenance.ProvenanceEntityComponent setRole(Provenance.ProvenanceEntityRole value)
value - How the entity was used during the activity.public Type getWhat()
what (Identity of the Entity used. May be a logical or physical uri and maybe absolute or relative.)public Identifier getWhatIdentifier() throws org.hl7.fhir.exceptions.FHIRException
what (Identity of the Entity used. May be a logical or physical uri and maybe absolute or relative.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasWhatIdentifier()
public Reference getWhatReference() throws org.hl7.fhir.exceptions.FHIRException
what (Identity of the Entity used. May be a logical or physical uri and maybe absolute or relative.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasWhatReference()
public boolean hasWhat()
public Provenance.ProvenanceEntityComponent setWhat(Type value)
value - what (Identity of the Entity used. May be a logical or physical uri and maybe absolute or relative.)public List<Provenance.ProvenanceAgentComponent> getAgent()
agent (The entity is attributed to an agent to express the agent's responsibility for that entity, possibly along with other agents. This description can be understood as shorthand for saying that the agent was responsible for the activity which generated the entity.)public Provenance.ProvenanceEntityComponent setAgent(List<Provenance.ProvenanceAgentComponent> theAgent)
this for easy method chainingpublic boolean hasAgent()
public Provenance.ProvenanceAgentComponent addAgent()
public Provenance.ProvenanceEntityComponent addAgent(Provenance.ProvenanceAgentComponent t)
public Provenance.ProvenanceAgentComponent getAgentFirstRep()
agent, creating it if it does not already existprotected void listChildren(List<Property> children)
listChildren in class BackboneElementpublic Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
getNamedProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
makeProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
getTypesForProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
addChild in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Provenance.ProvenanceEntityComponent copy()
copy in class BackboneElementpublic boolean equalsDeep(Base other_)
equalsDeep in class BackboneElementpublic boolean equalsShallow(Base other_)
equalsShallow in class BackboneElementpublic boolean isEmpty()
isEmpty in interface org.hl7.fhir.instance.model.api.IBaseisEmpty in class BackboneElementpublic String fhirType()
fhirType in class BackboneElementCopyright © 2014–2018 University Health Network. All rights reserved.