public static class Provenance.Agent extends BaseIdentifiableElement implements IResourceBlock
Definition: An agent takes a role in an activity such that the agent can be assigned some degree of responsibility for the activity taking place. An agent can be a person, an organization, software, or other entities that may be ascribed responsibility
| Constructor and Description |
|---|
Agent() |
| Modifier and Type | Method and Description |
|---|---|
Provenance.AgentRelatedAgent |
addRelatedAgent()
Adds and returns a new value for relatedAgent ()
|
Provenance.Agent |
addRelatedAgent(Provenance.AgentRelatedAgent theValue)
Adds a given new value for relatedAgent ()
|
ResourceReferenceDt |
getActor()
Gets the value(s) for actor (who.actor).
|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType) |
List<Provenance.AgentRelatedAgent> |
getRelatedAgent()
Gets the value(s) for relatedAgent ().
|
Provenance.AgentRelatedAgent |
getRelatedAgentFirstRep()
Gets the first repetition for relatedAgent (),
creating it if it does not already exist.
|
CodingDt |
getRole()
Gets the value(s) for role ().
|
IdentifierDt |
getUserId()
Gets the value(s) for userId (who.actor).
|
boolean |
isEmpty() |
Provenance.Agent |
setActor(ResourceReferenceDt theValue)
Sets the value(s) for actor (who.actor)
|
Provenance.Agent |
setRelatedAgent(List<Provenance.AgentRelatedAgent> theValue)
Sets the value(s) for relatedAgent ()
|
Provenance.Agent |
setRole(CodingDt theValue)
Sets the value(s) for role ()
|
Provenance.Agent |
setUserId(IdentifierDt theValue)
Sets the value(s) for userId (who.actor)
|
getElementSpecificId, getId, setElementSpecificId, setId, setIdaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, isBaseEmptyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetElementSpecificId, getId, setElementSpecificId, setId, setIdpublic Agent()
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
getAllPopulatedChildElementsOfType in interface ICompositeElementpublic CodingDt getRole()
null.
Definition: The function of the agent with respect to the activity.
public Provenance.Agent setRole(CodingDt theValue)
Definition: The function of the agent with respect to the activity.
public ResourceReferenceDt getActor()
null.
Definition: The individual, device or organization that participated in the event
public Provenance.Agent setActor(ResourceReferenceDt theValue)
Definition: The individual, device or organization that participated in the event
public IdentifierDt getUserId()
null.
Definition: The identity of the agent as known by the authorization system
public Provenance.Agent setUserId(IdentifierDt theValue)
Definition: The identity of the agent as known by the authorization system
public List<Provenance.AgentRelatedAgent> getRelatedAgent()
null.
Definition: A relationship between two the agents referenced in this resource. This is defined to allow for explicit description of the delegation between agents. For example, this human author used this device, or one person acted on another's behest
public Provenance.Agent setRelatedAgent(List<Provenance.AgentRelatedAgent> theValue)
Definition: A relationship between two the agents referenced in this resource. This is defined to allow for explicit description of the delegation between agents. For example, this human author used this device, or one person acted on another's behest
public Provenance.AgentRelatedAgent addRelatedAgent()
Definition: A relationship between two the agents referenced in this resource. This is defined to allow for explicit description of the delegation between agents. For example, this human author used this device, or one person acted on another's behest
public Provenance.Agent addRelatedAgent(Provenance.AgentRelatedAgent theValue)
Definition: A relationship between two the agents referenced in this resource. This is defined to allow for explicit description of the delegation between agents. For example, this human author used this device, or one person acted on another's behest
theValue - The relatedAgent to add (must not be null)public Provenance.AgentRelatedAgent getRelatedAgentFirstRep()
Definition: A relationship between two the agents referenced in this resource. This is defined to allow for explicit description of the delegation between agents. For example, this human author used this device, or one person acted on another's behest
Copyright © 2014–2016 University Health Network. All rights reserved.