Record Class ErrorGroupDTO
java.lang.Object
java.lang.Record
ch.admin.bit.jeap.errorhandling.web.api.ErrorGroupDTO
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of theerrorCoderecord component.Returns the value of theerrorCountrecord component.Returns the value of theerrorEventrecord component.Returns the value of theerrorGroupIdrecord component.Returns the value of theerrorMessagerecord component.Returns the value of theerrorPublisherrecord component.Returns the value of thefirstErrorAtrecord component.freeText()Returns the value of thefreeTextrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thelatestErrorAtrecord component.Returns the value of theticketNumberrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ErrorGroupDTO
public ErrorGroupDTO(String errorGroupId, Long errorCount, String errorEvent, String errorPublisher, String errorCode, String errorMessage, String firstErrorAt, String latestErrorAt, String ticketNumber, String freeText) Creates an instance of aErrorGroupDTOrecord class.- Parameters:
errorGroupId- the value for theerrorGroupIdrecord componenterrorCount- the value for theerrorCountrecord componenterrorEvent- the value for theerrorEventrecord componenterrorPublisher- the value for theerrorPublisherrecord componenterrorCode- the value for theerrorCoderecord componenterrorMessage- the value for theerrorMessagerecord componentfirstErrorAt- the value for thefirstErrorAtrecord componentlatestErrorAt- the value for thelatestErrorAtrecord componentticketNumber- the value for theticketNumberrecord componentfreeText- the value for thefreeTextrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
errorGroupId
Returns the value of theerrorGroupIdrecord component.- Returns:
- the value of the
errorGroupIdrecord component
-
errorCount
Returns the value of theerrorCountrecord component.- Returns:
- the value of the
errorCountrecord component
-
errorEvent
Returns the value of theerrorEventrecord component.- Returns:
- the value of the
errorEventrecord component
-
errorPublisher
Returns the value of theerrorPublisherrecord component.- Returns:
- the value of the
errorPublisherrecord component
-
errorCode
Returns the value of theerrorCoderecord component.- Returns:
- the value of the
errorCoderecord component
-
errorMessage
Returns the value of theerrorMessagerecord component.- Returns:
- the value of the
errorMessagerecord component
-
firstErrorAt
Returns the value of thefirstErrorAtrecord component.- Returns:
- the value of the
firstErrorAtrecord component
-
latestErrorAt
Returns the value of thelatestErrorAtrecord component.- Returns:
- the value of the
latestErrorAtrecord component
-
ticketNumber
Returns the value of theticketNumberrecord component.- Returns:
- the value of the
ticketNumberrecord component
-
freeText
Returns the value of thefreeTextrecord component.- Returns:
- the value of the
freeTextrecord component
-