Class OMRSAuditLogReport

java.lang.Object
org.odpi.openmetadata.frameworks.auditlog.AuditLogReport
org.odpi.openmetadata.repositoryservices.auditlog.OMRSAuditLogReport

public class OMRSAuditLogReport extends AuditLogReport
OMRSAuditLogReport is a structure that describes the properties of the audit log running in a server. It extends the AuditLogReport from the Audit Log Framework (ALF).
  • Constructor Details

    • OMRSAuditLogReport

      public OMRSAuditLogReport()
      Default constructor
    • OMRSAuditLogReport

      public OMRSAuditLogReport(AuditLogReport template)
      Copy/clone constructor.
      Parameters:
      template - object to copy
    • OMRSAuditLogReport

      public OMRSAuditLogReport(OMRSAuditLogReport template)
      Copy/clone constructor.
      Parameters:
      template - object to copy
  • Method Details

    • getOriginatorProperties

      public Map<String,String> getOriginatorProperties()
      Return the properties that describe the server that owns the audit log.
      Returns:
      map of property value pairs
    • setOriginatorProperties

      public void setOriginatorProperties(Map<String,String> originatorProperties)
      Set up the properties that describe the server that owns the audit log.
      Parameters:
      originatorProperties - map of property value pairs
    • getDestinationsReport

      public OMRSAuditLogDestinationsReport getDestinationsReport()
      Return the list of destinations where audit log records are being sent.
      Returns:
      destinations report object
    • setDestinationsReport

      public void setDestinationsReport(OMRSAuditLogDestinationsReport destinationsReport)
      Set up the list of destinations where audit log records are being sent.
      Parameters:
      destinationsReport - destinations report object
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class AuditLogReport
      Returns:
      JSON style description of variables.
    • equals

      public boolean equals(Object objectToCompare)
      Validate that an object is equal depending on their stored values.
      Overrides:
      equals in class AuditLogReport
      Parameters:
      objectToCompare - object
      Returns:
      boolean result
    • hashCode

      public int hashCode()
      Return a hash code based on the values of this object.
      Overrides:
      hashCode in class AuditLogReport
      Returns:
      in hash code