Record Class MatrixPage<T>
java.lang.Object
java.lang.Record
ch.tocco.nice2.rest.action.api.matrix.MatrixPage<T>
-
Constructor Summary
ConstructorsConstructorDescriptionMatrixPage(List<T> items, boolean hasMore) Creates an instance of aMatrixPagerecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.static <T, QB extends CriteriaQueryBuilder<QB,T, QW>, QW extends CriteriaQueryWrapper<T>>
MatrixPage<T> findMatrixPage(QB query, int offset, int limit) final inthashCode()Returns a hash code value for this object.booleanhasMore()Returns the value of thehasMorerecord component.items()Returns the value of theitemsrecord component.<R> MatrixPage<R> final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
MatrixPage
-
-
Method Details
-
findMatrixPage
public static <T, QB extends CriteriaQueryBuilder<QB,T, MatrixPage<T> findMatrixPageQW>, QW extends CriteriaQueryWrapper<T>> (QB query, int offset, int limit) -
map
-
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. -
items
-
hasMore
public boolean hasMore()Returns the value of thehasMorerecord component.- Returns:
- the value of the
hasMorerecord component
-