Class Provenance.Entity
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement
,ca.uhn.fhir.model.api.IElement
,ca.uhn.fhir.model.api.IIdentifiableElement
,ca.uhn.fhir.model.api.IResourceBlock
,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions
,Serializable
,org.hl7.fhir.instance.model.api.IBase
- Enclosing class:
Provenance
Definition: An entity used in this activity
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAgent()
Gets the value(s) for agent ().<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType
(Class<T> theType) Gets the value(s) for display ().ca.uhn.fhir.model.primitive.StringDt
Gets the value(s) for display ().Gets the value(s) for reference ().ca.uhn.fhir.model.primitive.UriDt
Gets the value(s) for reference ().getRole()
Gets the value(s) for role ().ca.uhn.fhir.model.primitive.BoundCodeDt
<ProvenanceEntityRoleEnum> Gets the value(s) for role ().getType()
Gets the value(s) for type ().boolean
isEmpty()
setAgent
(Provenance.Agent theValue) Sets the value(s) for agent ()setDisplay
(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for display ()setDisplay
(String theString) Sets the value for display ()setReference
(ca.uhn.fhir.model.primitive.UriDt theValue) Sets the value(s) for reference ()setReference
(String theUri) Sets the value for reference ()setRole
(ProvenanceEntityRoleEnum theValue) Sets the value(s) for role ()setRole
(ca.uhn.fhir.model.primitive.BoundCodeDt<ProvenanceEntityRoleEnum> theValue) Sets the value(s) for role ()Sets the value(s) for type ()Methods inherited from class ca.uhn.fhir.model.api.BaseIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, isBaseEmpty, setUserData
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
Methods inherited from interface ca.uhn.fhir.model.api.IIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
-
Constructor Details
-
Entity
public Entity()
-
-
Method Details
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
-
getAllPopulatedChildElementsOfType
public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) - Specified by:
getAllPopulatedChildElementsOfType
in interfaceca.uhn.fhir.model.api.ICompositeElement
-
getRoleElement
Gets the value(s) for role (). creating it if it does not exist. Will not returnnull
.Definition: How the entity was used during the activity
-
getRole
Gets the value(s) for role (). creating it if it does not exist. This method may returnnull
.Definition: How the entity was used during the activity
-
setRole
public Provenance.Entity setRole(ca.uhn.fhir.model.primitive.BoundCodeDt<ProvenanceEntityRoleEnum> theValue) Sets the value(s) for role ()Definition: How the entity was used during the activity
-
setRole
Sets the value(s) for role ()Definition: How the entity was used during the activity
-
getType
Gets the value(s) for type (). creating it if it does not exist. Will not returnnull
.Definition: The type of the entity. If the entity is a resource, then this is a resource type
-
setType
Sets the value(s) for type ()Definition: The type of the entity. If the entity is a resource, then this is a resource type
-
getReferenceElement
Gets the value(s) for reference (). creating it if it does not exist. Will not returnnull
.Definition: Identity of the Entity used. May be a logical or physical uri and maybe absolute or relative
-
getReference
Gets the value(s) for reference (). creating it if it does not exist. This method may returnnull
.Definition: Identity of the Entity used. May be a logical or physical uri and maybe absolute or relative
-
setReference
Sets the value(s) for reference ()Definition: Identity of the Entity used. May be a logical or physical uri and maybe absolute or relative
-
setReference
Sets the value for reference ()Definition: Identity of the Entity used. May be a logical or physical uri and maybe absolute or relative
-
getDisplayElement
Gets the value(s) for display (). creating it if it does not exist. Will not returnnull
.Definition: Human-readable description of the entity
-
getDisplay
Gets the value(s) for display (). creating it if it does not exist. This method may returnnull
.Definition: Human-readable description of the entity
-
setDisplay
Sets the value(s) for display ()Definition: Human-readable description of the entity
-
setDisplay
Sets the value for display ()Definition: Human-readable description of the entity
-
getAgent
Gets the value(s) for agent (). creating it if it does not exist. Will not returnnull
.Definition: 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
-
setAgent
Sets the value(s) for agent ()Definition: 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
-