Record Class ComplianceHierarchyView.StatisticsTableEntry
java.lang.Object
java.lang.Record
com.persequor.saga.modules.compliance.frontend.ComplianceHierarchyView.StatisticsTableEntry
- Enclosing class:
- ComplianceHierarchyView
public static record ComplianceHierarchyView.StatisticsTableEntry(String regulation, MessageStatus status, Integer level, List<UUID> events, List<IComplianceServiceReply> disaggregationComplianceReplies)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionStatisticsTableEntry
(String regulation, MessageStatus status, Integer level, List<UUID> events, List<IComplianceServiceReply> disaggregationComplianceReplies) Creates an instance of aStatisticsTableEntry
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedisaggregationComplianceReplies
record component.final boolean
Indicates whether some other object is "equal to" this one.events()
Returns the value of theevents
record component.getSomeEventIds
(int requestedAmount) final int
hashCode()
Returns a hash code value for this object.header()
boolean
level()
Returns the value of thelevel
record component.Returns the value of theregulation
record component.status()
Returns the value of thestatus
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
StatisticsTableEntry
public StatisticsTableEntry(String regulation, MessageStatus status, Integer level, List<UUID> events, List<IComplianceServiceReply> disaggregationComplianceReplies) Creates an instance of aStatisticsTableEntry
record class.- Parameters:
regulation
- the value for theregulation
record componentstatus
- the value for thestatus
record componentlevel
- the value for thelevel
record componentevents
- the value for theevents
record componentdisaggregationComplianceReplies
- the value for thedisaggregationComplianceReplies
record component
-
-
Method Details
-
header
-
getSomeEventIds
-
isSameTo
-
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)
. -
regulation
Returns the value of theregulation
record component.- Returns:
- the value of the
regulation
record component
-
status
Returns the value of thestatus
record component.- Returns:
- the value of the
status
record component
-
level
Returns the value of thelevel
record component.- Returns:
- the value of the
level
record component
-
events
Returns the value of theevents
record component.- Returns:
- the value of the
events
record component
-
disaggregationComplianceReplies
Returns the value of thedisaggregationComplianceReplies
record component.- Returns:
- the value of the
disaggregationComplianceReplies
record component
-