Record Class PaginationUrlQueryParametersBinder.InitialState
java.lang.Object
java.lang.Record
io.jmix.flowui.facet.urlqueryparameters.PaginationUrlQueryParametersBinder.InitialState
- Record Components:
firstResult- the value offirstResultat initializationmaxResults- the value ofmaxResultat initialization
- Enclosing class:
- PaginationUrlQueryParametersBinder
protected static record PaginationUrlQueryParametersBinder.InitialState(int firstResult, int maxResults)
extends Record
A POJO class for storing properties of the
PaginationComponent's initial state.-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedInitialState(int firstResult, int maxResults) Creates an instance of aInitialStaterecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.intReturns the value of thefirstResultrecord component.final inthashCode()Returns a hash code value for this object.intReturns the value of themaxResultsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
InitialState
protected InitialState(int firstResult, int maxResults) Creates an instance of aInitialStaterecord class.- Parameters:
firstResult- the value for thefirstResultrecord componentmaxResults- the value for themaxResultsrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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 with '=='. -
firstResult
public int firstResult()Returns the value of thefirstResultrecord component.- Returns:
- the value of the
firstResultrecord component
-
maxResults
public int maxResults()Returns the value of themaxResultsrecord component.- Returns:
- the value of the
maxResultsrecord component
-