Record Class ReservationLecturerBookingCheckResource.MatrixInfo
java.lang.Object
java.lang.Record
ch.tocco.nice2.optional.reservation.impl.actions.reservationlecturerbookingcheck.ReservationLecturerBookingCheckResource.MatrixInfo
- Enclosing class:
ReservationLecturerBookingCheckResource
public static record ReservationLecturerBookingCheckResource.MatrixInfo(String label, boolean readOnly, List<MatrixStatus> planningStatuses, List<MatrixStatus> accomplishmentStatuses)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionMatrixInfo(String label, boolean readOnly, List<MatrixStatus> planningStatuses, List<MatrixStatus> accomplishmentStatuses) Creates an instance of aMatrixInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theaccomplishmentStatusesrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.label()Returns the value of thelabelrecord component.Returns the value of theplanningStatusesrecord component.booleanreadOnly()Returns the value of thereadOnlyrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
MatrixInfo
public MatrixInfo(String label, boolean readOnly, List<MatrixStatus> planningStatuses, List<MatrixStatus> accomplishmentStatuses) Creates an instance of aMatrixInforecord class.- Parameters:
label- the value for thelabelrecord componentreadOnly- the value for thereadOnlyrecord componentplanningStatuses- the value for theplanningStatusesrecord componentaccomplishmentStatuses- the value for theaccomplishmentStatusesrecord component
-
-
Method Details
-
toString
-
hashCode
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
label
Returns the value of thelabelrecord component.- Returns:
- the value of the
labelrecord component
-
readOnly
public boolean readOnly()Returns the value of thereadOnlyrecord component.- Returns:
- the value of the
readOnlyrecord component
-
planningStatuses
Returns the value of theplanningStatusesrecord component.- Returns:
- the value of the
planningStatusesrecord component
-
accomplishmentStatuses
Returns the value of theaccomplishmentStatusesrecord component.- Returns:
- the value of the
accomplishmentStatusesrecord component
-