Class AuditEvent.Entity

  • All Implemented Interfaces:
    Visitable
    Enclosing class:
    AuditEvent

    public static class AuditEvent.Entity
    extends BackboneElement
    Specific instances of data or objects that have been accessed.
    • Method Detail

      • getWhat

        public Reference getWhat()
        Identifies a specific instance of the entity. The reference should be version specific.
        Returns:
        An immutable object of type Reference that may be null.
      • getType

        public Coding getType()
        The type of the object that was involved in this audit event.
        Returns:
        An immutable object of type Coding that may be null.
      • getRole

        public Coding getRole()
        Code representing the role the entity played in the event being audited.
        Returns:
        An immutable object of type Coding that may be null.
      • getLifecycle

        public Coding getLifecycle()
        Identifier for the data life-cycle stage for the entity.
        Returns:
        An immutable object of type Coding that may be null.
      • getSecurityLabel

        public List<Coding> getSecurityLabel()
        Security labels for the identified entity.
        Returns:
        An unmodifiable list containing immutable objects of type Coding that may be empty.
      • getName

        public String getName()
        A name of the entity in the audit event.
        Returns:
        An immutable object of type String that may be null.
      • getDescription

        public String getDescription()
        Text that describes the entity in more detail.
        Returns:
        An immutable object of type String that may be null.
      • getQuery

        public Base64Binary getQuery()
        The query parameters for a query-type entities.
        Returns:
        An immutable object of type Base64Binary that may be null.
      • accept

        public void accept​(String elementName,
                           int elementIndex,
                           Visitor visitor)
        Description copied from interface: Visitable
        Accept a Visitor and invoke the appropriate visit methods. A typical implementation would look like this:
         if (visitor.preVisit(this)) {
             visitor.visitStart(elementName, elementIndex, this);
             if (visitor.visit(elementName, elementIndex, this)) {
                 // visit children
             }
             visitor.visitEnd(elementName, elementIndex, this);
             visitor.postVisit(this);
         }
         
        Specified by:
        accept in interface Visitable
        Specified by:
        accept in class AbstractVisitable
        Parameters:
        elementName - the name of the element in the context of this visit
        elementIndex - the index of the element in a list or -1 if it is not contained within a List
        visitor - the visitor to use
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object