Class OMRSAuditLogReport

  • All Implemented Interfaces:
    java.io.Serializable

    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).
    See Also:
    Serialized Form
    • Constructor Detail

      • 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 Detail

      • getOriginatorProperties

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

        public void setOriginatorProperties​(java.util.Map<java.lang.String,​java.lang.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 java.lang.String toString()
        Standard toString method.
        Overrides:
        toString in class AuditLogReport
        Returns:
        JSON style description of variables.
      • equals

        public boolean equals​(java.lang.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