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 Details

    • StatisticsTableEntry

      public StatisticsTableEntry(String regulation, MessageStatus status, Integer level, List<UUID> events, List<IComplianceServiceReply> disaggregationComplianceReplies)
      Creates an instance of a StatisticsTableEntry record class.
      Parameters:
      regulation - the value for the regulation record component
      status - the value for the status record component
      level - the value for the level record component
      events - the value for the events record component
      disaggregationComplianceReplies - the value for the disaggregationComplianceReplies record component
  • Method Details

    • header

      public String header()
    • getSomeEventIds

      public Set<UUID> getSomeEventIds(int requestedAmount)
    • isSameTo

      public boolean isSameTo(ComplianceHierarchyView.StatisticsTableEntry that)
    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • regulation

      public String regulation()
      Returns the value of the regulation record component.
      Returns:
      the value of the regulation record component
    • status

      public MessageStatus status()
      Returns the value of the status record component.
      Returns:
      the value of the status record component
    • level

      public Integer level()
      Returns the value of the level record component.
      Returns:
      the value of the level record component
    • events

      public List<UUID> events()
      Returns the value of the events record component.
      Returns:
      the value of the events record component
    • disaggregationComplianceReplies

      public List<IComplianceServiceReply> disaggregationComplianceReplies()
      Returns the value of the disaggregationComplianceReplies record component.
      Returns:
      the value of the disaggregationComplianceReplies record component