Record Class ReservationLecturerBookingCheckResource.Cell

java.lang.Object
java.lang.Record
ch.tocco.nice2.optional.reservation.impl.actions.reservationlecturerbookingcheck.ReservationLecturerBookingCheckResource.Cell
Enclosing class:
ReservationLecturerBookingCheckResource

public static record ReservationLecturerBookingCheckResource.Cell(String rowKey, String columnKey, String planningStatus, String accomplishmentStatus) extends Record
  • Constructor Details

    • Cell

      public Cell(String rowKey, String columnKey, String planningStatus, String accomplishmentStatus)
      Creates an instance of a Cell record class.
      Parameters:
      rowKey - the value for the rowKey record component
      columnKey - the value for the columnKey record component
      planningStatus - the value for the planningStatus record component
      accomplishmentStatus - the value for the accomplishmentStatus record component
  • Method Details

    • 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.
    • rowKey

      public String rowKey()
      Returns the value of the rowKey record component.
      Returns:
      the value of the rowKey record component
    • columnKey

      public String columnKey()
      Returns the value of the columnKey record component.
      Returns:
      the value of the columnKey record component
    • planningStatus

      public String planningStatus()
      Returns the value of the planningStatus record component.
      Returns:
      the value of the planningStatus record component
    • accomplishmentStatus

      public String accomplishmentStatus()
      Returns the value of the accomplishmentStatus record component.
      Returns:
      the value of the accomplishmentStatus record component