Class AuditEventAgent
- java.lang.Object
-
- org.hl7.fhir.Element
-
- org.hl7.fhir.BackboneElement
-
- org.hl7.fhir.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
A record of an event made for purposes of maintaining a security log. Typical uses include detection of intrusion attempts and monitoring for inappropriate usage.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-
Fields inherited from class org.hl7.fhir.BackboneElement
modifierExtension
-
-
Constructor Summary
Constructors Constructor Description AuditEventAgent()
-
Method Summary
All Methods Instance Methods Concrete Methods 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)-
Methods inherited from class org.hl7.fhir.BackboneElement
getModifierExtension
-
Methods inherited from class org.hl7.fhir.Element
getExtension, getId, setId
-
-
-
-
Field Detail
-
role
protected java.util.List<CodeableConcept> role
-
reference
protected Reference reference
-
userId
protected Identifier userId
-
altId
protected String altId
-
name
protected String name
-
requestor
protected Boolean requestor
-
location
protected Reference location
-
policy
protected java.util.List<Uri> policy
-
media
protected Coding media
-
network
protected AuditEventNetwork network
-
purposeOfUse
protected java.util.List<Coding> purposeOfUse
-
-
Method Detail
-
getRole
public java.util.List<CodeableConcept> 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
public Reference getReference()
Gets the value of the reference property.- Returns:
- possible object is
Reference
-
setReference
public void setReference(Reference value)
Sets the value of the reference property.- Parameters:
value- allowed object isReference
-
getUserId
public Identifier getUserId()
Gets the value of the userId property.- Returns:
- possible object is
Identifier
-
setUserId
public void setUserId(Identifier value)
Sets the value of the userId property.- Parameters:
value- allowed object isIdentifier
-
getAltId
public String getAltId()
Gets the value of the altId property.- Returns:
- possible object is
String
-
setAltId
public void setAltId(String value)
Sets the value of the altId property.- Parameters:
value- allowed object isString
-
getName
public String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(String value)
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getRequestor
public Boolean getRequestor()
Gets the value of the requestor property.- Returns:
- possible object is
Boolean
-
setRequestor
public void setRequestor(Boolean value)
Sets the value of the requestor property.- Parameters:
value- allowed object isBoolean
-
getLocation
public Reference getLocation()
Gets the value of the location property.- Returns:
- possible object is
Reference
-
setLocation
public void setLocation(Reference value)
Sets the value of the location property.- Parameters:
value- allowed object isReference
-
getPolicy
public java.util.List<Uri> 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
public Coding getMedia()
Gets the value of the media property.- Returns:
- possible object is
Coding
-
setMedia
public void setMedia(Coding value)
Sets the value of the media property.- Parameters:
value- allowed object isCoding
-
getNetwork
public AuditEventNetwork getNetwork()
Gets the value of the network property.- Returns:
- possible object is
AuditEventNetwork
-
setNetwork
public void setNetwork(AuditEventNetwork value)
Sets the value of the network property.- Parameters:
value- allowed object isAuditEventNetwork
-
getPurposeOfUse
public java.util.List<Coding> 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
public AuditEventAgent withRole(CodeableConcept... values)
-
withRole
public AuditEventAgent withRole(java.util.Collection<CodeableConcept> values)
-
withReference
public AuditEventAgent withReference(Reference value)
-
withUserId
public AuditEventAgent withUserId(Identifier value)
-
withAltId
public AuditEventAgent withAltId(String value)
-
withName
public AuditEventAgent withName(String value)
-
withRequestor
public AuditEventAgent withRequestor(Boolean value)
-
withLocation
public AuditEventAgent withLocation(Reference value)
-
withPolicy
public AuditEventAgent withPolicy(Uri... values)
-
withPolicy
public AuditEventAgent withPolicy(java.util.Collection<Uri> values)
-
withMedia
public AuditEventAgent withMedia(Coding value)
-
withNetwork
public AuditEventAgent withNetwork(AuditEventNetwork value)
-
withPurposeOfUse
public AuditEventAgent withPurposeOfUse(Coding... values)
-
withPurposeOfUse
public AuditEventAgent withPurposeOfUse(java.util.Collection<Coding> values)
-
withModifierExtension
public AuditEventAgent withModifierExtension(Extension... values)
- Overrides:
withModifierExtensionin classBackboneElement
-
withModifierExtension
public AuditEventAgent withModifierExtension(java.util.Collection<Extension> values)
- Overrides:
withModifierExtensionin classBackboneElement
-
withExtension
public AuditEventAgent withExtension(Extension... values)
- Overrides:
withExtensionin classBackboneElement
-
withExtension
public AuditEventAgent withExtension(java.util.Collection<Extension> values)
- Overrides:
withExtensionin classBackboneElement
-
withId
public AuditEventAgent withId(java.lang.String value)
- 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
-
-