Class AuditModel


  • public abstract class AuditModel
    extends Object
    Defines the minimum attributes needed in a generic audit entry.
    Author:
    Carlos Ortiz .
    • Field Detail

      • auditDate

        protected Date auditDate
        Date when the audit was entry.
      • id

        protected String id
        Id of the audit entry.
      • payload

        protected Object payload
        Payload of the audit.
    • Constructor Detail

      • AuditModel

        protected AuditModel()
    • Method Detail

      • getAuditDate

        public Date getAuditDate()
        Gets Audit entry Date.
        Returns:
        Audit entry date.
      • setAuditDate

        protected void setAuditDate​(Date auditDate)
        Sets audit entry date.
        Parameters:
        auditDate - Audit Date.
      • getId

        public String getId()
        Gets Id of the Audit Entry.
        Returns:
        Id of the Audit Entry.
      • setId

        protected void setId​(String id)
        Sets Id of the Audit Entry.
        Parameters:
        id - Id of the Audit Entry.
      • getPayload

        public Object getPayload()
        Gets Payload of the audit.
        Returns:
        Payload of the audit.
      • setPayload

        protected void setPayload​(Object payload)
        Sets payload of the audit.
        Parameters:
        payload - payload of the audit.