Class ErrorReportSummary

java.lang.Object
africa.absa.inception.error.ErrorReportSummary
All Implemented Interfaces:
Serializable

@Entity public class ErrorReportSummary extends Object implements Serializable
The ErrorReportSummary class holds the summary information for an error report.
Author:
Marcus Portmann
See Also:
  • Constructor Details

    • ErrorReportSummary

      public ErrorReportSummary()
      Constructs a new ErrorReportSummary.
    • ErrorReportSummary

      public ErrorReportSummary(UUID id, String applicationId, String applicationVersion, String description, LocalDateTime created, String who, UUID deviceId)
      Constructs a new ErrorReportSummary.
      Parameters:
      id - the ID for the error report
      applicationId - the ID for the application that generated the error report
      applicationVersion - the version of the application that generated the error report
      description - the description of the error
      created - the date and time the error report was created
      who - the optional username for the user associated with the error report
      deviceId - the optional ID for the device the error report originated from
  • Method Details

    • equals

      public boolean equals(Object object)
      Indicates whether some other object is "equal to" this one.
      Overrides:
      equals in class Object
      Parameters:
      object - the reference object with which to compare
      Returns:
      true if this object is the same as the object argument otherwise false
    • getApplicationId

      public String getApplicationId()
      Returns the ID for the application that generated the error report.
      Returns:
      the ID for the application that generated the error report
    • getApplicationVersion

      public String getApplicationVersion()
      Returns the version of the application that generated the error report.
      Returns:
      the version of the application that generated the error report
    • getCreated

      public LocalDateTime getCreated()
      Returns the date and time the error report was created.
      Returns:
      the date and time the error report was created
    • getDescription

      public String getDescription()
      Returns the description of the error.
      Returns:
      the description of the error
    • getDeviceId

      public UUID getDeviceId()
      Returns the optional ID for the device the error report originated from.
      Returns:
      the optional ID for the device the error report originated from
    • getId

      public UUID getId()
      Returns the ID for the error report.
      Returns:
      the ID for the error report
    • getWho

      public String getWho()
      Returns the username for the user associated with the error report.
      Returns:
      the username for the user associated with the error report
    • hashCode

      public int hashCode()
      Returns a hash code value for the object.
      Overrides:
      hashCode in class Object
      Returns:
      a hash code value for the object