Class Provenance
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class Provenance extends DomainResource implements 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
Fields Modifier and Type Field Description protected Codingactivityprotected java.util.List<ProvenanceAgent>agentprotected java.util.List<ProvenanceEntity>entityprotected Referencelocationprotected Periodperiodprotected java.util.List<Uri>policyprotected java.util.List<Coding>reasonprotected Instantrecordedprotected java.util.List<Signature>signatureprotected java.util.List<Reference>targetFields inherited from class org.hl7.fhir.DomainResource
contained, extension, modifierExtension, text -
Constructor Summary
Constructors Constructor Description Provenance() -
Method Summary
Modifier and Type Method Description java.lang.StringBuilderappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)java.lang.StringBuilderappendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)booleanequals(java.lang.Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)CodinggetActivity()Gets the value of the activity property.java.util.List<ProvenanceAgent>getAgent()Gets the value of the agent property.java.util.List<ProvenanceEntity>getEntity()Gets the value of the entity property.ReferencegetLocation()Gets the value of the location property.PeriodgetPeriod()Gets the value of the period property.java.util.List<Uri>getPolicy()Gets the value of the policy property.java.util.List<Coding>getReason()Gets the value of the reason property.InstantgetRecorded()Gets the value of the recorded property.java.util.List<Signature>getSignature()Gets the value of the signature property.java.util.List<Reference>getTarget()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.voidsetLocation(Reference value)Sets the value of the location property.voidsetPeriod(Period value)Sets the value of the period property.voidsetRecorded(Instant value)Sets the value of the recorded property.java.lang.StringtoString()ProvenancewithActivity(Coding value)ProvenancewithAgent(java.util.Collection<ProvenanceAgent> values)ProvenancewithAgent(ProvenanceAgent... values)ProvenancewithContained(java.util.Collection<ResourceContainer> values)ProvenancewithContained(ResourceContainer... values)ProvenancewithEntity(java.util.Collection<ProvenanceEntity> values)ProvenancewithEntity(ProvenanceEntity... values)ProvenancewithExtension(java.util.Collection<Extension> values)ProvenancewithExtension(Extension... values)ProvenancewithId(Id value)ProvenancewithImplicitRules(Uri value)ProvenancewithLanguage(Code value)ProvenancewithLocation(Reference value)ProvenancewithMeta(Meta value)ProvenancewithModifierExtension(java.util.Collection<Extension> values)ProvenancewithModifierExtension(Extension... values)ProvenancewithPeriod(Period value)ProvenancewithPolicy(java.util.Collection<Uri> values)ProvenancewithPolicy(Uri... values)ProvenancewithReason(java.util.Collection<Coding> values)ProvenancewithReason(Coding... values)ProvenancewithRecorded(Instant value)ProvenancewithSignature(java.util.Collection<Signature> values)ProvenancewithSignature(Signature... values)ProvenancewithTarget(java.util.Collection<Reference> values)ProvenancewithTarget(Reference... values)ProvenancewithText(Narrative value)Methods inherited from class org.hl7.fhir.DomainResource
getContained, getExtension, getModifierExtension, getText, setTextMethods inherited from class org.hl7.fhir.Resource
getId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMeta
-
Field Details
-
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 JAXB 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 JAXB 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 JAXB 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 JAXB 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 JAXB 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 JAXB 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, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)- Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2- Overrides:
equalsin classDomainResource
-
equals
public boolean equals(java.lang.Object object)- 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
public java.lang.String toString()- Overrides:
toStringin classDomainResource
-
append
public java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendin classDomainResource
-
appendFields
public java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classDomainResource
-