public class AuditEventAgent extends BackboneElement implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for AuditEvent.Agent complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AuditEvent.Agent">
<complexContent>
<extension base="{http://hl7.org/fhir}BackboneElement">
<sequence>
<element name="role" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded" minOccurs="0"/>
<element name="reference" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="userId" type="{http://hl7.org/fhir}Identifier" minOccurs="0"/>
<element name="altId" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="name" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="requestor" type="{http://hl7.org/fhir}boolean"/>
<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="media" type="{http://hl7.org/fhir}Coding" minOccurs="0"/>
<element name="network" type="{http://hl7.org/fhir}AuditEvent.Network" minOccurs="0"/>
<element name="purposeOfUse" type="{http://hl7.org/fhir}Coding" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
altId |
protected Reference |
location |
protected Coding |
media |
protected String |
name |
protected AuditEventNetwork |
network |
protected java.util.List<Uri> |
policy |
protected java.util.List<Coding> |
purposeOfUse |
protected Reference |
reference |
protected Boolean |
requestor |
protected java.util.List<CodeableConcept> |
role |
protected Identifier |
userId |
modifierExtension| Constructor and Description |
|---|
AuditEventAgent() |
| 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) |
String |
getAltId()
Gets the value of the altId property.
|
Reference |
getLocation()
Gets the value of the location property.
|
Coding |
getMedia()
Gets the value of the media property.
|
String |
getName()
Gets the value of the name property.
|
AuditEventNetwork |
getNetwork()
Gets the value of the network property.
|
java.util.List<Uri> |
getPolicy()
Gets the value of the policy property.
|
java.util.List<Coding> |
getPurposeOfUse()
Gets the value of the purposeOfUse property.
|
Reference |
getReference()
Gets the value of the reference property.
|
Boolean |
getRequestor()
Gets the value of the requestor property.
|
java.util.List<CodeableConcept> |
getRole()
Gets the value of the role property.
|
Identifier |
getUserId()
Gets the value of the userId property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setAltId(String value)
Sets the value of the altId property.
|
void |
setLocation(Reference value)
Sets the value of the location property.
|
void |
setMedia(Coding value)
Sets the value of the media property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setNetwork(AuditEventNetwork value)
Sets the value of the network property.
|
void |
setReference(Reference value)
Sets the value of the reference property.
|
void |
setRequestor(Boolean value)
Sets the value of the requestor property.
|
void |
setUserId(Identifier value)
Sets the value of the userId property.
|
java.lang.String |
toString() |
AuditEventAgent |
withAltId(String value) |
AuditEventAgent |
withExtension(java.util.Collection<Extension> values) |
AuditEventAgent |
withExtension(Extension... values) |
AuditEventAgent |
withId(java.lang.String value) |
AuditEventAgent |
withLocation(Reference value) |
AuditEventAgent |
withMedia(Coding value) |
AuditEventAgent |
withModifierExtension(java.util.Collection<Extension> values) |
AuditEventAgent |
withModifierExtension(Extension... values) |
AuditEventAgent |
withName(String value) |
AuditEventAgent |
withNetwork(AuditEventNetwork value) |
AuditEventAgent |
withPolicy(java.util.Collection<Uri> values) |
AuditEventAgent |
withPolicy(Uri... values) |
AuditEventAgent |
withPurposeOfUse(Coding... values) |
AuditEventAgent |
withPurposeOfUse(java.util.Collection<Coding> values) |
AuditEventAgent |
withReference(Reference value) |
AuditEventAgent |
withRequestor(Boolean value) |
AuditEventAgent |
withRole(CodeableConcept... values) |
AuditEventAgent |
withRole(java.util.Collection<CodeableConcept> values) |
AuditEventAgent |
withUserId(Identifier value) |
getModifierExtensiongetExtension, getId, setIdprotected java.util.List<CodeableConcept> role
protected Reference reference
protected Identifier userId
protected String altId
protected String name
protected Boolean requestor
protected Reference location
protected java.util.List<Uri> policy
protected Coding media
protected AuditEventNetwork network
protected java.util.List<Coding> purposeOfUse
public java.util.List<CodeableConcept> getRole()
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 role property.
For example, to add a new item, do as follows:
getRole().add(newItem);
Objects of the following type(s) are allowed in the list
CodeableConcept
public Reference getReference()
Referencepublic void setReference(Reference value)
value - allowed object is
Referencepublic Identifier getUserId()
Identifierpublic void setUserId(Identifier value)
value - allowed object is
Identifierpublic String getAltId()
Stringpublic void setAltId(String value)
value - allowed object is
Stringpublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic Boolean getRequestor()
Booleanpublic void setRequestor(Boolean value)
value - allowed object is
Booleanpublic 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 Coding getMedia()
Codingpublic void setMedia(Coding value)
value - allowed object is
Codingpublic AuditEventNetwork getNetwork()
AuditEventNetworkpublic void setNetwork(AuditEventNetwork value)
value - allowed object is
AuditEventNetworkpublic java.util.List<Coding> getPurposeOfUse()
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 purposeOfUse property.
For example, to add a new item, do as follows:
getPurposeOfUse().add(newItem);
Objects of the following type(s) are allowed in the list
Coding
public AuditEventAgent withRole(CodeableConcept... values)
public AuditEventAgent withRole(java.util.Collection<CodeableConcept> values)
public AuditEventAgent withReference(Reference value)
public AuditEventAgent withUserId(Identifier value)
public AuditEventAgent withAltId(String value)
public AuditEventAgent withName(String value)
public AuditEventAgent withRequestor(Boolean value)
public AuditEventAgent withLocation(Reference value)
public AuditEventAgent withPolicy(Uri... values)
public AuditEventAgent withPolicy(java.util.Collection<Uri> values)
public AuditEventAgent withMedia(Coding value)
public AuditEventAgent withNetwork(AuditEventNetwork value)
public AuditEventAgent withPurposeOfUse(Coding... values)
public AuditEventAgent withPurposeOfUse(java.util.Collection<Coding> values)
public AuditEventAgent withModifierExtension(Extension... values)
withModifierExtension in class BackboneElementpublic AuditEventAgent withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class BackboneElementpublic AuditEventAgent withExtension(Extension... values)
withExtension in class BackboneElementpublic AuditEventAgent withExtension(java.util.Collection<Extension> values)
withExtension in class BackboneElementpublic AuditEventAgent 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