public class ProvenanceEntity extends BackboneElement implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for Provenance.Entity complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Provenance.Entity">
<complexContent>
<extension base="{http://hl7.org/fhir}BackboneElement">
<sequence>
<element name="role" type="{http://hl7.org/fhir}ProvenanceEntityRole"/>
<element name="type" type="{http://hl7.org/fhir}Coding"/>
<element name="reference" type="{http://hl7.org/fhir}uri"/>
<element name="display" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="agent" type="{http://hl7.org/fhir}Provenance.Agent" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected ProvenanceAgent |
agent |
protected String |
display |
protected Uri |
reference |
protected ProvenanceEntityRole |
role |
protected Coding |
type |
modifierExtension| Constructor and Description |
|---|
ProvenanceEntity() |
| 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) |
ProvenanceAgent |
getAgent()
Gets the value of the agent property.
|
String |
getDisplay()
Gets the value of the display property.
|
Uri |
getReference()
Gets the value of the reference property.
|
ProvenanceEntityRole |
getRole()
Gets the value of the role property.
|
Coding |
getType()
Gets the value of the type property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setAgent(ProvenanceAgent value)
Sets the value of the agent property.
|
void |
setDisplay(String value)
Sets the value of the display property.
|
void |
setReference(Uri value)
Sets the value of the reference property.
|
void |
setRole(ProvenanceEntityRole value)
Sets the value of the role property.
|
void |
setType(Coding value)
Sets the value of the type property.
|
java.lang.String |
toString() |
ProvenanceEntity |
withAgent(ProvenanceAgent value) |
ProvenanceEntity |
withDisplay(String value) |
ProvenanceEntity |
withExtension(java.util.Collection<Extension> values) |
ProvenanceEntity |
withExtension(Extension... values) |
ProvenanceEntity |
withId(java.lang.String value) |
ProvenanceEntity |
withModifierExtension(java.util.Collection<Extension> values) |
ProvenanceEntity |
withModifierExtension(Extension... values) |
ProvenanceEntity |
withReference(Uri value) |
ProvenanceEntity |
withRole(ProvenanceEntityRole value) |
ProvenanceEntity |
withType(Coding value) |
getModifierExtensiongetExtension, getId, setIdprotected ProvenanceEntityRole role
protected Coding type
protected Uri reference
protected String display
protected ProvenanceAgent agent
public ProvenanceEntityRole getRole()
ProvenanceEntityRolepublic void setRole(ProvenanceEntityRole value)
value - allowed object is
ProvenanceEntityRolepublic Coding getType()
Codingpublic void setType(Coding value)
value - allowed object is
Codingpublic Uri getReference()
Uripublic void setReference(Uri value)
value - allowed object is
Uripublic String getDisplay()
Stringpublic void setDisplay(String value)
value - allowed object is
Stringpublic ProvenanceAgent getAgent()
ProvenanceAgentpublic void setAgent(ProvenanceAgent value)
value - allowed object is
ProvenanceAgentpublic ProvenanceEntity withRole(ProvenanceEntityRole value)
public ProvenanceEntity withType(Coding value)
public ProvenanceEntity withReference(Uri value)
public ProvenanceEntity withDisplay(String value)
public ProvenanceEntity withAgent(ProvenanceAgent value)
public ProvenanceEntity withModifierExtension(Extension... values)
withModifierExtension in class BackboneElementpublic ProvenanceEntity withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class BackboneElementpublic ProvenanceEntity withExtension(Extension... values)
withExtension in class BackboneElementpublic ProvenanceEntity withExtension(java.util.Collection<Extension> values)
withExtension in class BackboneElementpublic ProvenanceEntity withId(java.lang.String value)
withId in class BackboneElementpublic 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 BackboneElementpublic boolean equals(java.lang.Object object)
equals in class BackboneElementpublic 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 BackboneElementpublic int hashCode()
hashCode in class BackboneElementpublic java.lang.String toString()
toString in class BackboneElementpublic 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 BackboneElementpublic 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 BackboneElement