Package org.hl7.fhir.dstu2.model
Class Provenance.ProvenanceEntityComponent
- java.lang.Object
-
- org.hl7.fhir.dstu2.model.Base
-
- org.hl7.fhir.dstu2.model.Element
-
- org.hl7.fhir.dstu2.model.BackboneElement
-
- org.hl7.fhir.dstu2.model.Provenance.ProvenanceEntityComponent
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement,Serializable,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseBackboneElement,org.hl7.fhir.instance.model.api.IBaseElement,org.hl7.fhir.instance.model.api.IBaseHasExtensions,org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions
- Enclosing class:
- Provenance
public static class Provenance.ProvenanceEntityComponent extends BackboneElement implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Provenance.ProvenanceAgentComponentagentThe entity is attributed to an agent to express the agent's responsibility for that entity, possibly along with other agents.protected StringTypedisplayHuman-readable description of the entity.protected UriTypereferenceIdentity of the Entity used.protected Enumeration<Provenance.ProvenanceEntityRole>roleHow the entity was used during the activity.protected CodingtypeThe type of the entity.-
Fields inherited from class org.hl7.fhir.dstu2.model.BackboneElement
modifierExtension
-
-
Constructor Summary
Constructors Constructor Description ProvenanceEntityComponent()ProvenanceEntityComponent(Enumeration<Provenance.ProvenanceEntityRole> role, Coding type, UriType reference)
-
Method Summary
-
Methods inherited from class org.hl7.fhir.dstu2.model.BackboneElement
addModifierExtension, addModifierExtension, copyValues, getModifierExtension, hasModifierExtension
-
Methods inherited from class org.hl7.fhir.dstu2.model.Element
addExtension, addExtension, copyValues, getExtension, getExtensionsByUrl, getExtensionString, getId, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setId, setIdElement
-
Methods inherited from class org.hl7.fhir.dstu2.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, primitiveValue, setUserData, setUserDataINN
-
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
getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
-
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseElement
getUserData, setUserData
-
-
-
-
Field Detail
-
role
protected Enumeration<Provenance.ProvenanceEntityRole> role
How the entity was used during the activity.
-
type
protected Coding type
The type of the entity. If the entity is a resource, then this is a resource type.
-
reference
protected UriType reference
Identity of the Entity used. May be a logical or physical uri and maybe absolute or relative.
-
display
protected StringType display
Human-readable description of the entity.
-
agent
protected Provenance.ProvenanceAgentComponent 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.
-
-
Constructor Detail
-
ProvenanceEntityComponent
public ProvenanceEntityComponent()
-
ProvenanceEntityComponent
public ProvenanceEntityComponent(Enumeration<Provenance.ProvenanceEntityRole> role, Coding type, UriType reference)
-
-
Method Detail
-
getRoleElement
public Enumeration<Provenance.ProvenanceEntityRole> getRoleElement()
- Returns:
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 value
-
hasRoleElement
public boolean hasRoleElement()
-
hasRole
public boolean hasRole()
-
setRoleElement
public Provenance.ProvenanceEntityComponent setRoleElement(Enumeration<Provenance.ProvenanceEntityRole> value)
- Parameters:
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 value
-
getRole
public Provenance.ProvenanceEntityRole getRole()
- Returns:
- How the entity was used during the activity.
-
setRole
public Provenance.ProvenanceEntityComponent setRole(Provenance.ProvenanceEntityRole value)
- Parameters:
value- How the entity was used during the activity.
-
getType
public Coding getType()
- Returns:
type(The type of the entity. If the entity is a resource, then this is a resource type.)
-
hasType
public boolean hasType()
-
setType
public Provenance.ProvenanceEntityComponent setType(Coding value)
- Parameters:
value-type(The type of the entity. If the entity is a resource, then this is a resource type.)
-
getReferenceElement
public UriType getReferenceElement()
- Returns:
reference(Identity of the Entity used. May be a logical or physical uri and maybe absolute or relative.). This is the underlying object with id, value and extensions. The accessor "getReference" gives direct access to the value
-
hasReferenceElement
public boolean hasReferenceElement()
-
hasReference
public boolean hasReference()
-
setReferenceElement
public Provenance.ProvenanceEntityComponent setReferenceElement(UriType value)
- Parameters:
value-reference(Identity of the Entity used. May be a logical or physical uri and maybe absolute or relative.). This is the underlying object with id, value and extensions. The accessor "getReference" gives direct access to the value
-
getReference
public String getReference()
- Returns:
- Identity of the Entity used. May be a logical or physical uri and maybe absolute or relative.
-
setReference
public Provenance.ProvenanceEntityComponent setReference(String value)
- Parameters:
value- Identity of the Entity used. May be a logical or physical uri and maybe absolute or relative.
-
getDisplayElement
public StringType getDisplayElement()
- Returns:
display(Human-readable description of the entity.). This is the underlying object with id, value and extensions. The accessor "getDisplay" gives direct access to the value
-
hasDisplayElement
public boolean hasDisplayElement()
-
hasDisplay
public boolean hasDisplay()
-
setDisplayElement
public Provenance.ProvenanceEntityComponent setDisplayElement(StringType value)
- Parameters:
value-display(Human-readable description of the entity.). This is the underlying object with id, value and extensions. The accessor "getDisplay" gives direct access to the value
-
getDisplay
public String getDisplay()
- Returns:
- Human-readable description of the entity.
-
setDisplay
public Provenance.ProvenanceEntityComponent setDisplay(String value)
- Parameters:
value- Human-readable description of the entity.
-
getAgent
public Provenance.ProvenanceAgentComponent getAgent()
- Returns:
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.)
-
hasAgent
public boolean hasAgent()
-
setAgent
public Provenance.ProvenanceEntityComponent setAgent(Provenance.ProvenanceAgentComponent value)
- Parameters:
value-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.)
-
listChildren
protected void listChildren(List<Property> childrenList)
- Overrides:
listChildrenin classBackboneElement
-
setProperty
public void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChildin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
copy
public Provenance.ProvenanceEntityComponent copy()
- Specified by:
copyin classBackboneElement
-
equalsDeep
public boolean equalsDeep(Base other)
- Overrides:
equalsDeepin classBackboneElement
-
equalsShallow
public boolean equalsShallow(Base other)
- Overrides:
equalsShallowin classBackboneElement
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classBackboneElement
-
fhirType
public String fhirType()
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classBackboneElement
-
-