Class AuditEntryDetail

java.lang.Object
com.sas.lsaf.security.audit.AuditEntryDetail
All Implemented Interfaces:
Serializable

public class AuditEntryDetail extends Object implements Serializable
Audit entry details contains the attributes that were changed during an auditable action, hich includes the old and new values, for a particular audit entry.
Since:
1.5
See Also:
  • Constructor Details

    • AuditEntryDetail

      public AuditEntryDetail(String auditEntryId, String attributeType, String attributeId, String attributeName, String oldValue, String newValue)
      It is not intended or recommended that the consumer of this API construct these objects. They should only deal with the audit entries returned by the API.
      Parameters:
      auditEntryId - the parent audit entry identifier that generated the detail.
      attributeType - the type of the attribute that was changed.
      attributeId - the identifier of the attribute that was changed.
      attributeName - the name of the attribute that was changed.
      oldValue - the value before the change.
      newValue - the value after the change.
  • Method Details

    • getAuditEntryId

      public String getAuditEntryId()
      Gets the parent audit entry identifier that generated the detail.
      Returns:
      The parent audit entry identifier that generated the detail.
    • getAttributeId

      public String getAttributeId()
      Gets the identifier of the attribute that was changed.
      Returns:
      The identifier of the attribute that was changed.
    • getAttributeName

      public String getAttributeName()
      Gets the name of the attribute that was changed.
      Returns:
      The name of the attribute that was changed.
    • getAttributeType

      public String getAttributeType()
      Gets the type of the attribute that was changed.
      Returns:
      The type of the attribute that was changed.
    • getOldValue

      public String getOldValue()
      Gets the value before the change.
      Returns:
      The value before to the change.
    • getNewValue

      public String getNewValue()
      Gets the value after the change.
      Returns:
      The value after the change.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object