Record Class ReservationLecturerBookingCheckResource.ColumnPage
java.lang.Object
java.lang.Record
ch.tocco.nice2.optional.reservation.impl.actions.reservationlecturerbookingcheck.ReservationLecturerBookingCheckResource.ColumnPage
- Enclosing class:
ReservationLecturerBookingCheckResource
public static record ReservationLecturerBookingCheckResource.ColumnPage(List<ReservationLecturerBookingCheckResource.Column> columns, boolean hasMore)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionColumnPage(List<ReservationLecturerBookingCheckResource.Column> columns, boolean hasMore) Creates an instance of aColumnPagerecord class. -
Method Summary
Modifier and TypeMethodDescriptioncolumns()Returns the value of thecolumnsrecord component.final 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.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ColumnPage
Creates an instance of aColumnPagerecord class.- Parameters:
columns- the value for thecolumnsrecord 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. -
columns
Returns the value of thecolumnsrecord component.- Returns:
- the value of the
columnsrecord component
-
hasMore
public boolean hasMore()Returns the value of thehasMorerecord component.- Returns:
- the value of the
hasMorerecord component
-