Package org.hl7.fhir

Class AuditEventEntity

All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2

public class AuditEventEntity 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.Entity complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="AuditEvent.Entity">
   <complexContent>
     <extension base="{http://hl7.org/fhir}BackboneElement">
       <sequence>
         <element name="identifier" type="{http://hl7.org/fhir}Identifier" minOccurs="0"/>
         <element name="reference" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
         <element name="type" type="{http://hl7.org/fhir}Coding" minOccurs="0"/>
         <element name="role" type="{http://hl7.org/fhir}Coding" minOccurs="0"/>
         <element name="lifecycle" type="{http://hl7.org/fhir}Coding" minOccurs="0"/>
         <element name="securityLabel" type="{http://hl7.org/fhir}Coding" maxOccurs="unbounded" minOccurs="0"/>
         <element name="name" type="{http://hl7.org/fhir}string" minOccurs="0"/>
         <element name="description" type="{http://hl7.org/fhir}string" minOccurs="0"/>
         <element name="query" type="{http://hl7.org/fhir}base64Binary" minOccurs="0"/>
         <element name="detail" type="{http://hl7.org/fhir}AuditEvent.Detail" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • AuditEventEntity

      public AuditEventEntity()
  • Method Details

    • getIdentifier

      public Identifier getIdentifier()
      Gets the value of the identifier property.
      Returns:
      possible object is Identifier
    • setIdentifier

      public void setIdentifier(Identifier value)
      Sets the value of the identifier property.
      Parameters:
      value - allowed object is Identifier
    • 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 is Reference
    • getType

      public Coding getType()
      Gets the value of the type property.
      Returns:
      possible object is Coding
    • setType

      public void setType(Coding value)
      Sets the value of the type property.
      Parameters:
      value - allowed object is Coding
    • getRole

      public Coding getRole()
      Gets the value of the role property.
      Returns:
      possible object is Coding
    • setRole

      public void setRole(Coding value)
      Sets the value of the role property.
      Parameters:
      value - allowed object is Coding
    • getLifecycle

      public Coding getLifecycle()
      Gets the value of the lifecycle property.
      Returns:
      possible object is Coding
    • setLifecycle

      public void setLifecycle(Coding value)
      Sets the value of the lifecycle property.
      Parameters:
      value - allowed object is Coding
    • getSecurityLabel

      public List<Coding> getSecurityLabel()
      Gets the value of the securityLabel 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 Jakarta XML Binding object. This is why there is not a set method for the securityLabel property.

      For example, to add a new item, do as follows:

          getSecurityLabel().add(newItem);
       

      Objects of the following type(s) are allowed in the list Coding

    • 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 is String
    • getDescription

      public String getDescription()
      Gets the value of the description property.
      Returns:
      possible object is String
    • setDescription

      public void setDescription(String value)
      Sets the value of the description property.
      Parameters:
      value - allowed object is String
    • getQuery

      public Base64Binary getQuery()
      Gets the value of the query property.
      Returns:
      possible object is Base64Binary
    • setQuery

      public void setQuery(Base64Binary value)
      Sets the value of the query property.
      Parameters:
      value - allowed object is Base64Binary
    • getDetail

      public List<AuditEventDetail> getDetail()
      Gets the value of the detail 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 Jakarta XML Binding object. This is why there is not a set method for the detail property.

      For example, to add a new item, do as follows:

          getDetail().add(newItem);
       

      Objects of the following type(s) are allowed in the list AuditEventDetail

    • withIdentifier

      public AuditEventEntity withIdentifier(Identifier value)
    • withReference

      public AuditEventEntity withReference(Reference value)
    • withType

      public AuditEventEntity withType(Coding value)
    • withRole

      public AuditEventEntity withRole(Coding value)
    • withLifecycle

      public AuditEventEntity withLifecycle(Coding value)
    • withSecurityLabel

      public AuditEventEntity withSecurityLabel(Coding... values)
    • withSecurityLabel

      public AuditEventEntity withSecurityLabel(Collection<Coding> values)
    • withName

      public AuditEventEntity withName(String value)
    • withDescription

      public AuditEventEntity withDescription(String value)
    • withQuery

      public AuditEventEntity withQuery(Base64Binary value)
    • withDetail

      public AuditEventEntity withDetail(AuditEventDetail... values)
    • withDetail

      public AuditEventEntity withDetail(Collection<AuditEventDetail> values)
    • withModifierExtension

      public AuditEventEntity withModifierExtension(Extension... values)
      Overrides:
      withModifierExtension in class BackboneElement
    • withModifierExtension

      public AuditEventEntity withModifierExtension(Collection<Extension> values)
      Overrides:
      withModifierExtension in class BackboneElement
    • withExtension

      public AuditEventEntity withExtension(Extension... values)
      Overrides:
      withExtension in class BackboneElement
    • withExtension

      public AuditEventEntity withExtension(Collection<Extension> values)
      Overrides:
      withExtension in class BackboneElement
    • withId

      public AuditEventEntity withId(String value)
      Overrides:
      withId in class BackboneElement
    • equals

      public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
      Specified by:
      equals in interface org.jvnet.jaxb2_commons.lang.Equals2
      Overrides:
      equals in class BackboneElement
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class BackboneElement
    • hashCode

      public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
      Specified by:
      hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2
      Overrides:
      hashCode in class BackboneElement
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class BackboneElement
    • toString

      public String toString()
      Overrides:
      toString in class BackboneElement
    • append

      public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
      Specified by:
      append in interface org.jvnet.jaxb2_commons.lang.ToString2
      Overrides:
      append in class BackboneElement
    • appendFields

      public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
      Specified by:
      appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2
      Overrides:
      appendFields in class BackboneElement
    • setSecurityLabel

      public void setSecurityLabel(List<Coding> value)
    • setDetail

      public void setDetail(List<AuditEventDetail> value)