Record Class ReservationLecturerBookingCheckResource.ApplyResult
java.lang.Object
java.lang.Record
ch.tocco.nice2.optional.reservation.impl.actions.reservationlecturerbookingcheck.ReservationLecturerBookingCheckResource.ApplyResult
- Enclosing class:
ReservationLecturerBookingCheckResource
public static record ReservationLecturerBookingCheckResource.ApplyResult(List<ReservationLecturerBookingCheckResource.Cell> changedCells, List<MatrixCellKey> removedCells)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionApplyResult(List<ReservationLecturerBookingCheckResource.Cell> changedCells, List<MatrixCellKey> removedCells) Creates an instance of aApplyResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thechangedCellsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theremovedCellsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ApplyResult
public ApplyResult(List<ReservationLecturerBookingCheckResource.Cell> changedCells, List<MatrixCellKey> removedCells) Creates an instance of aApplyResultrecord class.- Parameters:
changedCells- the value for thechangedCellsrecord componentremovedCells- the value for theremovedCellsrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
changedCells
Returns the value of thechangedCellsrecord component.- Returns:
- the value of the
changedCellsrecord component
-
removedCells
Returns the value of theremovedCellsrecord component.- Returns:
- the value of the
removedCellsrecord component
-