Record Class ReservationLecturerBookingCheckResource.RowPage
java.lang.Object
java.lang.Record
ch.tocco.nice2.optional.reservation.impl.actions.reservationlecturerbookingcheck.ReservationLecturerBookingCheckResource.RowPage
- Enclosing class:
ReservationLecturerBookingCheckResource
public static record ReservationLecturerBookingCheckResource.RowPage(List<ReservationLecturerBookingCheckResource.Row> rows, boolean hasMore)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionRowPage(List<ReservationLecturerBookingCheckResource.Row> rows, boolean hasMore) Creates an instance of aRowPagerecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanhasMore()Returns the value of thehasMorerecord component.rows()Returns the value of therowsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
RowPage
Creates an instance of aRowPagerecord class.- Parameters:
rows- the value for therowsrecord componenthasMore- the value for thehasMorerecord 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. -
rows
Returns the value of therowsrecord component.- Returns:
- the value of the
rowsrecord component
-
hasMore
public boolean hasMore()Returns the value of thehasMorerecord component.- Returns:
- the value of the
hasMorerecord component
-