
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
FieldsModifier and TypeFieldDescriptionprotected Provenance.ProvenanceAgentComponentThe entity is attributed to an agent to express the agent's responsibility for that entity, possibly along with other agents.protected StringTypeHuman-readable description of the entity.protected UriTypeIdentity of the Entity used.protected Enumeration<Provenance.ProvenanceEntityRole> How the entity was used during the activity.protected CodingThe type of the entity.Fields inherited from class org.hl7.fhir.dstu2.model.BackboneElement
modifierExtension -
Constructor Summary
ConstructorsConstructorDescriptionProvenanceEntityComponent(Enumeration<Provenance.ProvenanceEntityRole> role, Coding type, UriType reference) -
Method Summary
Modifier and TypeMethodDescriptioncopy()booleanequalsDeep(Base other) booleanequalsShallow(Base other) fhirType()getAgent()getRole()getType()booleanhasAgent()booleanbooleanbooleanbooleanbooleanhasRole()booleanbooleanhasType()booleanisEmpty()protected voidlistChildren(List<Property> childrenList) setDisplay(String value) setDisplayElement(StringType value) voidsetProperty(String name, Base value) setReference(String value) setReferenceElement(UriType value) Methods inherited from class org.hl7.fhir.dstu2.model.BackboneElement
addModifierExtension, addModifierExtension, copyValues, getModifierExtension, hasModifierExtensionMethods inherited from class org.hl7.fhir.dstu2.model.Element
addExtension, addExtension, addExtension, copyValues, getExtension, getExtensionByUrl, getExtensionsByUrl, getExtensionString, getId, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setId, setIdElementMethods 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, setUserDataINNMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserDataMethods inherited from interface org.hl7.fhir.instance.model.api.IBaseElement
getUserData, setUserDataMethods inherited from interface org.hl7.fhir.instance.model.api.IBaseHasExtensions
addExtension, getExtension, hasExtensionMethods 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:
listChildrenin classBackboneElement
-
setProperty
- Overrides:
setPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChildin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
copy
- Specified by:
copyin classBackboneElement
-
equalsDeep
- Overrides:
equalsDeepin classBackboneElement
-
equalsShallow
- Overrides:
equalsShallowin classBackboneElement
-
isEmpty
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classBackboneElement
-
fhirType
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classBackboneElement
-