Record Class StorageLifecycleStore.Transfer
java.lang.Object
java.lang.Record
ecmwf.common.database.StorageLifecycleStore.Transfer
- Enclosing class:
StorageLifecycleStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theconfigurationrecord component.Returns the value of thedestinationrecord component.final booleanIndicates whether some other object is "equal to" this one.longexpiry()Returns the value of theexpiryrecord component.longfinish()Returns the value of thefinishrecord component.longReturns the value of thefirstFinishrecord component.group()Returns the value of thegrouprecord component.final inthashCode()Returns a hash code value for this object.longid()Returns the value of theidrecord component.original()Returns the value of theoriginalrecord component.status()Returns the value of thestatusrecord component.target()Returns the value of thetargetrecord component.final StringtoString()Returns a string representation of this record class.inttype()Returns the value of thetyperecord component.
-
Constructor Details
-
Transfer
public Transfer(long id, String destination, int type, String group, String configuration, String target, String status, long expiry, long firstFinish, long finish, String original) Creates an instance of aTransferrecord class.- Parameters:
id- the value for theidrecord componentdestination- the value for thedestinationrecord componenttype- the value for thetyperecord componentgroup- the value for thegrouprecord componentconfiguration- the value for theconfigurationrecord componenttarget- the value for thetargetrecord componentstatus- the value for thestatusrecord componentexpiry- the value for theexpiryrecord componentfirstFinish- the value for thefirstFinishrecord componentfinish- the value for thefinishrecord componentoriginal- the value for theoriginalrecord 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
public long id()Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
destination
Returns the value of thedestinationrecord component.- Returns:
- the value of the
destinationrecord component
-
type
public int type()Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-
group
Returns the value of thegrouprecord component.- Returns:
- the value of the
grouprecord component
-
configuration
Returns the value of theconfigurationrecord component.- Returns:
- the value of the
configurationrecord component
-
target
Returns the value of thetargetrecord component.- Returns:
- the value of the
targetrecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
expiry
public long expiry()Returns the value of theexpiryrecord component.- Returns:
- the value of the
expiryrecord component
-
firstFinish
public long firstFinish()Returns the value of thefirstFinishrecord component.- Returns:
- the value of the
firstFinishrecord component
-
finish
public long finish()Returns the value of thefinishrecord component.- Returns:
- the value of the
finishrecord component
-
original
Returns the value of theoriginalrecord component.- Returns:
- the value of the
originalrecord component
-