Class AuditEventAgent
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class AuditEventAgent extends BackboneElement implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
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>
-
Field Summary
Fields Modifier and Type Field Description protected StringaltIdprotected Referencelocationprotected Codingmediaprotected Stringnameprotected AuditEventNetworknetworkprotected java.util.List<Uri>policyprotected java.util.List<Coding>purposeOfUseprotected Referencereferenceprotected Booleanrequestorprotected java.util.List<CodeableConcept>roleprotected IdentifieruserId -
Constructor Summary
Constructors Constructor Description AuditEventAgent() -
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)StringgetAltId()Gets the value of the altId property.ReferencegetLocation()Gets the value of the location property.CodinggetMedia()Gets the value of the media property.StringgetName()Gets the value of the name property.AuditEventNetworkgetNetwork()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.ReferencegetReference()Gets the value of the reference property.BooleangetRequestor()Gets the value of the requestor property.java.util.List<CodeableConcept>getRole()Gets the value of the role property.IdentifiergetUserId()Gets the value of the userId property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetAltId(String value)Sets the value of the altId property.voidsetLocation(Reference value)Sets the value of the location property.voidsetMedia(Coding value)Sets the value of the media property.voidsetName(String value)Sets the value of the name property.voidsetNetwork(AuditEventNetwork value)Sets the value of the network property.voidsetReference(Reference value)Sets the value of the reference property.voidsetRequestor(Boolean value)Sets the value of the requestor property.voidsetUserId(Identifier value)Sets the value of the userId property.java.lang.StringtoString()AuditEventAgentwithAltId(String value)AuditEventAgentwithExtension(java.util.Collection<Extension> values)AuditEventAgentwithExtension(Extension... values)AuditEventAgentwithId(java.lang.String value)AuditEventAgentwithLocation(Reference value)AuditEventAgentwithMedia(Coding value)AuditEventAgentwithModifierExtension(java.util.Collection<Extension> values)AuditEventAgentwithModifierExtension(Extension... values)AuditEventAgentwithName(String value)AuditEventAgentwithNetwork(AuditEventNetwork value)AuditEventAgentwithPolicy(java.util.Collection<Uri> values)AuditEventAgentwithPolicy(Uri... values)AuditEventAgentwithPurposeOfUse(java.util.Collection<Coding> values)AuditEventAgentwithPurposeOfUse(Coding... values)AuditEventAgentwithReference(Reference value)AuditEventAgentwithRequestor(Boolean value)AuditEventAgentwithRole(java.util.Collection<CodeableConcept> values)AuditEventAgentwithRole(CodeableConcept... values)AuditEventAgentwithUserId(Identifier value)
-
Field Details
-
Constructor Details
-
AuditEventAgent
public AuditEventAgent()
-
-
Method Details
-
getRole
Gets the value of the role 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 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 -
getReference
Gets the value of the reference property.- Returns:
- possible object is
Reference
-
setReference
Sets the value of the reference property.- Parameters:
value- allowed object isReference
-
getUserId
Gets the value of the userId property.- Returns:
- possible object is
Identifier
-
setUserId
Sets the value of the userId property.- Parameters:
value- allowed object isIdentifier
-
getAltId
Gets the value of the altId property.- Returns:
- possible object is
String
-
setAltId
Sets the value of the altId property.- Parameters:
value- allowed object isString
-
getName
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getRequestor
Gets the value of the requestor property.- Returns:
- possible object is
Boolean
-
setRequestor
Sets the value of the requestor property.- Parameters:
value- allowed object isBoolean
-
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 -
getMedia
Gets the value of the media property.- Returns:
- possible object is
Coding
-
setMedia
Sets the value of the media property.- Parameters:
value- allowed object isCoding
-
getNetwork
Gets the value of the network property.- Returns:
- possible object is
AuditEventNetwork
-
setNetwork
Sets the value of the network property.- Parameters:
value- allowed object isAuditEventNetwork
-
getPurposeOfUse
Gets the value of the purposeOfUse 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 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 -
withRole
-
withRole
-
withReference
-
withUserId
-
withAltId
-
withName
-
withRequestor
-
withLocation
-
withPolicy
-
withPolicy
-
withMedia
-
withNetwork
-
withPurposeOfUse
-
withPurposeOfUse
-
withModifierExtension
- Overrides:
withModifierExtensionin classBackboneElement
-
withModifierExtension
- Overrides:
withModifierExtensionin classBackboneElement
-
withExtension
- Overrides:
withExtensionin classBackboneElement
-
withExtension
- Overrides:
withExtensionin classBackboneElement
-
withId
- Overrides:
withIdin classBackboneElement
-
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 classBackboneElement
-
equals
public boolean equals(java.lang.Object object)- Overrides:
equalsin classBackboneElement
-
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 classBackboneElement
-
hashCode
public int hashCode()- Overrides:
hashCodein classBackboneElement
-
toString
public java.lang.String toString()- Overrides:
toStringin classBackboneElement
-
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 classBackboneElement
-
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 classBackboneElement
-