Record Class HostPasswordRetirementStore.Attempt
java.lang.Object
java.lang.Record
ecmwf.common.database.HostPasswordRetirementStore.Attempt
- Enclosing class:
HostPasswordRetirementStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncontext()Returns the value of thecontextrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.longhost()Returns the value of thehostrecord component.id()Returns the value of theidrecord component.key()Returns the value of thekeyrecord component.mover()Returns the value of themoverrecord component.Returns the value of thereferencerecord component.route()Returns the value of therouterecord component.final StringtoString()Returns a string representation of this record class.longtransfer()Returns the value of thetransferrecord component.
-
Constructor Details
-
Attempt
public Attempt(UUID id, long host, UUID reference, long transfer, String mover, String key, String route, String context) Creates an instance of aAttemptrecord class.- Parameters:
id- the value for theidrecord componenthost- the value for thehostrecord componentreference- the value for thereferencerecord componenttransfer- the value for thetransferrecord componentmover- the value for themoverrecord componentkey- the value for thekeyrecord componentroute- the value for therouterecord componentcontext- the value for thecontextrecord 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. -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
host
public long host()Returns the value of thehostrecord component.- Returns:
- the value of the
hostrecord component
-
reference
Returns the value of thereferencerecord component.- Returns:
- the value of the
referencerecord component
-
transfer
public long transfer()Returns the value of thetransferrecord component.- Returns:
- the value of the
transferrecord component
-
mover
Returns the value of themoverrecord component.- Returns:
- the value of the
moverrecord component
-
key
Returns the value of thekeyrecord component.- Returns:
- the value of the
keyrecord component
-
route
Returns the value of therouterecord component.- Returns:
- the value of the
routerecord component
-
context
Returns the value of thecontextrecord component.- Returns:
- the value of the
contextrecord component
-