Record Class PaginationUrlQueryParametersBinder.InitialState
java.lang.Object
java.lang.Record
io.jmix.flowui.facet.urlqueryparameters.PaginationUrlQueryParametersBinder.InitialState
- Record Components:
firstResult
- the value offirstResult
at initializationmaxResults
- the value ofmaxResult
at 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
ConstructorsModifierConstructorDescriptionprotected
InitialState
(int firstResult, int maxResults) Creates an instance of aInitialState
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.int
Returns the value of thefirstResult
record component.final int
hashCode()
Returns a hash code value for this object.int
Returns the value of themaxResults
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
InitialState
protected InitialState(int firstResult, int maxResults) Creates an instance of aInitialState
record class.- Parameters:
firstResult
- the value for thefirstResult
record componentmaxResults
- the value for themaxResults
record 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 thefirstResult
record component.- Returns:
- the value of the
firstResult
record component
-
maxResults
public int maxResults()Returns the value of themaxResults
record component.- Returns:
- the value of the
maxResults
record component
-