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 java.util.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.
      • getDetail

        public java.util.List<AuditEvent.Entity.Detail> getDetail()
        Tagged value pairs for conveying additional information about the entity.
        Returns:
        An unmodifiable list containing immutable objects of type AuditEvent.Entity.Detail that may be empty.
      • accept

        public void accept​(java.lang.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
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object