Record Class DataFile.RetrievalWeatherContext
java.lang.Object
java.lang.Record
ecmwf.common.database.DataFile.RetrievalWeatherContext
- All Implemented Interfaces:
Serializable
- Enclosing class:
DataFile
public static record DataFile.RetrievalWeatherContext(long transferId, String destination)
extends Record
implements Serializable
Frozen retrieval attribution sent to the Mover; not mapped to a database column.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRetrievalWeatherContext(long transferId, String destination) Creates an instance of aRetrievalWeatherContextrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedestinationrecord 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.longReturns the value of thetransferIdrecord component.
-
Constructor Details
-
RetrievalWeatherContext
Creates an instance of aRetrievalWeatherContextrecord class.- Parameters:
transferId- the value for thetransferIdrecord componentdestination- the value for thedestinationrecord 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. -
transferId
public long transferId()Returns the value of thetransferIdrecord component.- Returns:
- the value of the
transferIdrecord component
-
destination
Returns the value of thedestinationrecord component.- Returns:
- the value of the
destinationrecord component
-