public class Provenance extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
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>
| Modifier and Type | Field and Description |
|---|---|
protected Coding |
activity |
protected java.util.List<ProvenanceAgent> |
agent |
protected java.util.List<ProvenanceEntity> |
entity |
protected Reference |
location |
protected Period |
period |
protected java.util.List<Uri> |
policy |
protected java.util.List<Coding> |
reason |
protected Instant |
recorded |
protected java.util.List<Signature> |
signature |
protected java.util.List<Reference> |
target |
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
Provenance() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
java.lang.StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
boolean |
equals(java.lang.Object object) |
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.EqualsStrategy strategy) |
Coding |
getActivity()
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.
|
Reference |
getLocation()
Gets the value of the location property.
|
Period |
getPeriod()
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.
|
Instant |
getRecorded()
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.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setActivity(Coding value)
Sets the value of the activity property.
|
void |
setLocation(Reference value)
Sets the value of the location property.
|
void |
setPeriod(Period value)
Sets the value of the period property.
|
void |
setRecorded(Instant value)
Sets the value of the recorded property.
|
java.lang.String |
toString() |
Provenance |
withActivity(Coding value) |
Provenance |
withAgent(java.util.Collection<ProvenanceAgent> values) |
Provenance |
withAgent(ProvenanceAgent... values) |
Provenance |
withContained(java.util.Collection<ResourceContainer> values) |
Provenance |
withContained(ResourceContainer... values) |
Provenance |
withEntity(java.util.Collection<ProvenanceEntity> values) |
Provenance |
withEntity(ProvenanceEntity... values) |
Provenance |
withExtension(java.util.Collection<Extension> values) |
Provenance |
withExtension(Extension... values) |
Provenance |
withId(Id value) |
Provenance |
withImplicitRules(Uri value) |
Provenance |
withLanguage(Code value) |
Provenance |
withLocation(Reference value) |
Provenance |
withMeta(Meta value) |
Provenance |
withModifierExtension(java.util.Collection<Extension> values) |
Provenance |
withModifierExtension(Extension... values) |
Provenance |
withPeriod(Period value) |
Provenance |
withPolicy(java.util.Collection<Uri> values) |
Provenance |
withPolicy(Uri... values) |
Provenance |
withReason(Coding... values) |
Provenance |
withReason(java.util.Collection<Coding> values) |
Provenance |
withRecorded(Instant value) |
Provenance |
withSignature(java.util.Collection<Signature> values) |
Provenance |
withSignature(Signature... values) |
Provenance |
withTarget(java.util.Collection<Reference> values) |
Provenance |
withTarget(Reference... values) |
Provenance |
withText(Narrative value) |
getContained, getExtension, getModifierExtension, getText, setTextgetId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMetaprotected java.util.List<Reference> target
protected Period period
protected Instant recorded
protected java.util.List<Coding> reason
protected Coding activity
protected Reference location
protected java.util.List<Uri> policy
protected java.util.List<ProvenanceAgent> agent
protected java.util.List<ProvenanceEntity> entity
protected java.util.List<Signature> signature
public java.util.List<Reference> getTarget()
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 set method 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
public Period getPeriod()
Periodpublic void setPeriod(Period value)
value - allowed object is
Periodpublic Instant getRecorded()
Instantpublic void setRecorded(Instant value)
value - allowed object is
Instantpublic java.util.List<Coding> getReason()
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 set method 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
public Coding getActivity()
Codingpublic void setActivity(Coding value)
value - allowed object is
Codingpublic Reference getLocation()
Referencepublic void setLocation(Reference value)
value - allowed object is
Referencepublic java.util.List<Uri> getPolicy()
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 set method 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
public java.util.List<ProvenanceAgent> getAgent()
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 set method 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
public java.util.List<ProvenanceEntity> getEntity()
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 set method 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
public java.util.List<Signature> getSignature()
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 set method 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
public Provenance withTarget(Reference... values)
public Provenance withTarget(java.util.Collection<Reference> values)
public Provenance withPeriod(Period value)
public Provenance withRecorded(Instant value)
public Provenance withReason(Coding... values)
public Provenance withReason(java.util.Collection<Coding> values)
public Provenance withActivity(Coding value)
public Provenance withLocation(Reference value)
public Provenance withPolicy(Uri... values)
public Provenance withPolicy(java.util.Collection<Uri> values)
public Provenance withAgent(ProvenanceAgent... values)
public Provenance withAgent(java.util.Collection<ProvenanceAgent> values)
public Provenance withEntity(ProvenanceEntity... values)
public Provenance withEntity(java.util.Collection<ProvenanceEntity> values)
public Provenance withSignature(Signature... values)
public Provenance withSignature(java.util.Collection<Signature> values)
public Provenance withText(Narrative value)
withText in class DomainResourcepublic Provenance withContained(ResourceContainer... values)
withContained in class DomainResourcepublic Provenance withContained(java.util.Collection<ResourceContainer> values)
withContained in class DomainResourcepublic Provenance withExtension(Extension... values)
withExtension in class DomainResourcepublic Provenance withExtension(java.util.Collection<Extension> values)
withExtension in class DomainResourcepublic Provenance withModifierExtension(Extension... values)
withModifierExtension in class DomainResourcepublic Provenance withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class DomainResourcepublic Provenance withId(Id value)
withId in class DomainResourcepublic Provenance withMeta(Meta value)
withMeta in class DomainResourcepublic Provenance withImplicitRules(Uri value)
withImplicitRules in class DomainResourcepublic Provenance withLanguage(Code value)
withLanguage in class DomainResourcepublic 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.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalsequals in class DomainResourcepublic boolean equals(java.lang.Object object)
equals in class DomainResourcepublic int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodehashCode in class DomainResourcepublic int hashCode()
hashCode in class DomainResourcepublic java.lang.String toString()
toString in class DomainResourcepublic java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToStringappend in class DomainResourcepublic java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToStringappendFields in class DomainResource