Record Class MatrixPageRequest<F>
java.lang.Object
java.lang.Record
ch.tocco.nice2.rest.action.api.matrix.MatrixPageRequest<F>
public record MatrixPageRequest<F>(EntitySelectionBean selection, @Nullable F filter, int offset, int limit)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionMatrixPageRequest(EntitySelectionBean selection, @Nullable F filter, int offset, int limit) Creates an instance of aMatrixPageRequestrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.@Nullable Ffilter()Returns the value of thefilterrecord component.final inthashCode()Returns a hash code value for this object.intlimit()Returns the value of thelimitrecord component.intoffset()Returns the value of theoffsetrecord component.Returns the value of theselectionrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
MatrixPageRequest
Creates an instance of aMatrixPageRequestrecord class.- Parameters:
selection- the value for theselectionrecord componentfilter- the value for thefilterrecord componentoffset- the value for theoffsetrecord componentlimit- the value for thelimitrecord 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. -
selection
Returns the value of theselectionrecord component.- Returns:
- the value of the
selectionrecord component
-
filter
Returns the value of thefilterrecord component.- Returns:
- the value of the
filterrecord component
-
offset
public int offset()Returns the value of theoffsetrecord component.- Returns:
- the value of the
offsetrecord component
-
limit
public int limit()Returns the value of thelimitrecord component.- Returns:
- the value of the
limitrecord component
-