Package africa.absa.inception.error
Class ErrorReportSummary
java.lang.Object
africa.absa.inception.error.ErrorReportSummary
- All Implemented Interfaces:
Serializable
The ErrorReportSummary class holds the summary information for an error report.
- Author:
- Marcus Portmann
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new ErrorReportSummary.ErrorReportSummary(UUID id, String applicationId, String applicationVersion, String description, LocalDateTime created, String who, UUID deviceId) Constructs a new ErrorReportSummary. -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether some other object is "equal to" this one.Returns the ID for the application that generated the error report.Returns the version of the application that generated the error report.Returns the date and time the error report was created.Returns the description of the error.Returns the optional ID for the device the error report originated from.getId()Returns the ID for the error report.getWho()Returns the username for the user associated with the error report.inthashCode()Returns a hash code value for the object.
-
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 reportapplicationId- the ID for the application that generated the error reportapplicationVersion- the version of the application that generated the error reportdescription- the description of the errorcreated- the date and time the error report was createdwho- the optional username for the user associated with the error reportdeviceId- the optional ID for the device the error report originated from
-
-
Method Details
-
equals
Indicates whether some other object is "equal to" this one. -
getApplicationId
Returns the ID for the application that generated the error report.- Returns:
- the ID for the application that generated the error report
-
getApplicationVersion
Returns the version of the application that generated the error report.- Returns:
- the version of the application that generated the error report
-
getCreated
Returns the date and time the error report was created.- Returns:
- the date and time the error report was created
-
getDescription
Returns the description of the error.- Returns:
- the description of the error
-
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
Returns the ID for the error report.- Returns:
- the ID for the error report
-
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.
-