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:
-
Field Summary
Modifier and TypeFieldDescriptionprotected Provenance.ProvenanceAgentComponent
The entity is attributed to an agent to express the agent's responsibility for that entity, possibly along with other agents.protected StringType
Human-readable description of the entity.protected UriType
Identity of the Entity used.protected Enumeration
<Provenance.ProvenanceEntityRole> How the entity was used during the activity.protected Coding
The type of the entity.Fields inherited from class org.hl7.fhir.dstu2.model.BackboneElement
modifierExtension
-
Constructor Summary
ConstructorDescriptionProvenanceEntityComponent
(Enumeration<Provenance.ProvenanceEntityRole> role, Coding type, UriType reference) -
Method Summary
Modifier and TypeMethodDescriptioncopy()
boolean
equalsDeep
(Base other) boolean
equalsShallow
(Base other) fhirType()
getAgent()
getRole()
getType()
boolean
hasAgent()
boolean
boolean
boolean
boolean
boolean
hasRole()
boolean
boolean
hasType()
boolean
isEmpty()
protected void
listChildren
(List<Property> childrenList) setDisplay
(String value) setDisplayElement
(StringType value) void
setProperty
(String name, Base value) setReference
(String value) setReferenceElement
(UriType value) 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, addExtension, copyValues, getExtension, getExtensionByUrl, 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
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseHasExtensions
addExtension, getExtension, hasExtension
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions
addModifierExtension, getModifierExtension, hasModifierExtension
-
Field Details
-
role
How the entity was used during the activity. -
type
The type of the entity. If the entity is a resource, then this is a resource type. -
reference
Identity of the Entity used. May be a logical or physical uri and maybe absolute or relative. -
display
Human-readable description of the entity. -
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 Details
-
ProvenanceEntityComponent
public ProvenanceEntityComponent() -
ProvenanceEntityComponent
public ProvenanceEntityComponent(Enumeration<Provenance.ProvenanceEntityRole> role, Coding type, UriType reference)
-
-
Method Details
-
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
-
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
- Returns:
- How the entity was used during the activity.
-
setRole
- Parameters:
value
- How the entity was used during the activity.
-
getType
- Returns:
type
(The type of the entity. If the entity is a resource, then this is a resource type.)
-
hasType
-
setType
- Parameters:
value
-type
(The type of the entity. If the entity is a resource, then this is a resource type.)
-
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
-
hasReference
-
setReferenceElement
- 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
- Returns:
- Identity of the Entity used. May be a logical or physical uri and maybe absolute or relative.
-
setReference
- Parameters:
value
- Identity of the Entity used. May be a logical or physical uri and maybe absolute or relative.
-
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
-
hasDisplay
-
setDisplayElement
- 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
- Returns:
- Human-readable description of the entity.
-
setDisplay
- Parameters:
value
- Human-readable description of the entity.
-
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
-
setAgent
- 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
- Overrides:
listChildren
in classBackboneElement
-
setProperty
- Overrides:
setProperty
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChild
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
copy
- Specified by:
copy
in classBackboneElement
-
equalsDeep
- Overrides:
equalsDeep
in classBackboneElement
-
equalsShallow
- Overrides:
equalsShallow
in classBackboneElement
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
isEmpty
in classBackboneElement
-
fhirType
- Specified by:
fhirType
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
fhirType
in classBackboneElement
-