Record Class UidsearchTask.UidsearchInput
java.lang.Object
java.lang.Record
ch.tocco.nice2.optional.address.impl.action.uidsearch.UidsearchTask.UidsearchInput
- Enclosing class:
UidsearchTask
public static record UidsearchTask.UidsearchInput(PrimaryKey addressId, int total, int current)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionUidsearchInput(PrimaryKey addressId, int total, int current) Creates an instance of aUidsearchInputrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theaddressIdrecord component.intcurrent()Returns the value of thecurrentrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.inttotal()Returns the value of thetotalrecord component.
-
Constructor Details
-
UidsearchInput
Creates an instance of aUidsearchInputrecord class.- Parameters:
addressId- the value for theaddressIdrecord componenttotal- the value for thetotalrecord componentcurrent- the value for thecurrentrecord 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. -
addressId
Returns the value of theaddressIdrecord component.- Returns:
- the value of the
addressIdrecord component
-
total
public int total()Returns the value of thetotalrecord component.- Returns:
- the value of the
totalrecord component
-
current
public int current()Returns the value of thecurrentrecord component.- Returns:
- the value of the
currentrecord component
-