Class Provenance
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
Java class for Provenance complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Provenance">
<complexContent>
<extension base="{http://hl7.org/fhir}DomainResource">
<sequence>
<element name="target" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded"/>
<element name="period" type="{http://hl7.org/fhir}Period" minOccurs="0"/>
<element name="recorded" type="{http://hl7.org/fhir}instant"/>
<element name="reason" type="{http://hl7.org/fhir}Coding" maxOccurs="unbounded" minOccurs="0"/>
<element name="activity" type="{http://hl7.org/fhir}Coding" minOccurs="0"/>
<element name="location" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="policy" type="{http://hl7.org/fhir}uri" maxOccurs="unbounded" minOccurs="0"/>
<element name="agent" type="{http://hl7.org/fhir}Provenance.Agent" maxOccurs="unbounded"/>
<element name="entity" type="{http://hl7.org/fhir}Provenance.Entity" maxOccurs="unbounded" minOccurs="0"/>
<element name="signature" type="{http://hl7.org/fhir}Signature" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Codingprotected List<ProvenanceAgent> protected List<ProvenanceEntity> protected Referenceprotected Periodprotected InstantFields inherited from class org.hl7.fhir.DomainResource
contained, extension, modifierExtension, textFields inherited from class org.hl7.fhir.Resource
id, implicitRules, language, meta -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) booleanbooleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) Gets the value of the activity property.getAgent()Gets the value of the agent property.Gets the value of the entity property.Gets the value of the location property.Gets the value of the period property.Gets the value of the policy property.Gets the value of the reason property.Gets the value of the recorded property.Gets the value of the signature property.Gets the value of the target property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) voidsetActivity(Coding value) Sets the value of the activity property.voidsetAgent(List<ProvenanceAgent> value) voidsetEntity(List<ProvenanceEntity> value) voidsetLocation(Reference value) Sets the value of the location property.voidSets the value of the period property.voidvoidvoidsetRecorded(Instant value) Sets the value of the recorded property.voidsetSignature(List<Signature> value) voidtoString()withActivity(Coding value) withAgent(Collection<ProvenanceAgent> values) withAgent(ProvenanceAgent... values) withContained(Collection<ResourceContainer> values) withContained(ResourceContainer... values) withEntity(Collection<ProvenanceEntity> values) withEntity(ProvenanceEntity... values) withExtension(Collection<Extension> values) withExtension(Extension... values) withImplicitRules(Uri value) withLanguage(Code value) withLocation(Reference value) withModifierExtension(Collection<Extension> values) withModifierExtension(Extension... values) withPeriod(Period value) withPolicy(Collection<Uri> values) withPolicy(Uri... values) withReason(Collection<Coding> values) withReason(Coding... values) withRecorded(Instant value) withSignature(Collection<Signature> values) withSignature(Signature... values) withTarget(Collection<Reference> values) withTarget(Reference... values) Methods inherited from class org.hl7.fhir.DomainResource
getContained, getExtension, getModifierExtension, getText, setContained, setExtension, setModifierExtension, setTextMethods inherited from class org.hl7.fhir.Resource
getId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMeta
-
Field Details
-
target
-
period
-
recorded
-
reason
-
activity
-
location
-
policy
-
agent
-
entity
-
signature
-
-
Constructor Details
-
Provenance
public Provenance()
-
-
Method Details
-
getTarget
Gets the value of the target property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
setmethod for the target property.For example, to add a new item, do as follows:
getTarget().add(newItem);Objects of the following type(s) are allowed in the list
Reference -
getPeriod
Gets the value of the period property.- Returns:
- possible object is
Period
-
setPeriod
Sets the value of the period property.- Parameters:
value- allowed object isPeriod
-
getRecorded
Gets the value of the recorded property.- Returns:
- possible object is
Instant
-
setRecorded
Sets the value of the recorded property.- Parameters:
value- allowed object isInstant
-
getReason
Gets the value of the reason property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
setmethod for the reason property.For example, to add a new item, do as follows:
getReason().add(newItem);Objects of the following type(s) are allowed in the list
Coding -
getActivity
Gets the value of the activity property.- Returns:
- possible object is
Coding
-
setActivity
Sets the value of the activity property.- Parameters:
value- allowed object isCoding
-
getLocation
Gets the value of the location property.- Returns:
- possible object is
Reference
-
setLocation
Sets the value of the location property.- Parameters:
value- allowed object isReference
-
getPolicy
Gets the value of the policy property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
setmethod for the policy property.For example, to add a new item, do as follows:
getPolicy().add(newItem);Objects of the following type(s) are allowed in the list
Uri -
getAgent
Gets the value of the agent property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
setmethod for the agent property.For example, to add a new item, do as follows:
getAgent().add(newItem);Objects of the following type(s) are allowed in the list
ProvenanceAgent -
getEntity
Gets the value of the entity property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
setmethod for the entity property.For example, to add a new item, do as follows:
getEntity().add(newItem);Objects of the following type(s) are allowed in the list
ProvenanceEntity -
getSignature
Gets the value of the signature property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
setmethod for the signature property.For example, to add a new item, do as follows:
getSignature().add(newItem);Objects of the following type(s) are allowed in the list
Signature -
withTarget
-
withTarget
-
withPeriod
-
withRecorded
-
withReason
-
withReason
-
withActivity
-
withLocation
-
withPolicy
-
withPolicy
-
withAgent
-
withAgent
-
withEntity
-
withEntity
-
withSignature
-
withSignature
-
withText
- Overrides:
withTextin classDomainResource
-
withContained
- Overrides:
withContainedin classDomainResource
-
withContained
- Overrides:
withContainedin classDomainResource
-
withExtension
- Overrides:
withExtensionin classDomainResource
-
withExtension
- Overrides:
withExtensionin classDomainResource
-
withModifierExtension
- Overrides:
withModifierExtensionin classDomainResource
-
withModifierExtension
- Overrides:
withModifierExtensionin classDomainResource
-
withId
- Overrides:
withIdin classDomainResource
-
withMeta
- Overrides:
withMetain classDomainResource
-
withImplicitRules
- Overrides:
withImplicitRulesin classDomainResource
-
withLanguage
- Overrides:
withLanguagein classDomainResource
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) - Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2- Overrides:
equalsin classDomainResource
-
equals
- Overrides:
equalsin classDomainResource
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) - Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2- Overrides:
hashCodein classDomainResource
-
hashCode
public int hashCode()- Overrides:
hashCodein classDomainResource
-
toString
- Overrides:
toStringin classDomainResource
-
append
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendin classDomainResource
-
appendFields
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classDomainResource
-
setTarget
-
setReason
-
setPolicy
-
setAgent
-
setEntity
-
setSignature
-