Record Class WeatherSending
java.lang.Object
java.lang.Record
ecmwf.ecpds.master.weather.WeatherSending
Validated input to the future transactional socket writer. This is deliberately not registered with Hibernate until
schema capability has been checked.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionWeatherSending(int sendingIndex, WeatherObservation terminal) Creates an instance of aWeatherSendingrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intReturns the value of thesendingIndexrecord component.terminal()Returns the value of theterminalrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
WeatherSending
Creates an instance of aWeatherSendingrecord class.- Parameters:
sendingIndex- the value for thesendingIndexrecord componentterminal- the value for theterminalrecord component
-
-
Method Details
-
executionId
-
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. -
sendingIndex
public int sendingIndex()Returns the value of thesendingIndexrecord component.- Returns:
- the value of the
sendingIndexrecord component
-
terminal
Returns the value of theterminalrecord component.- Returns:
- the value of the
terminalrecord component
-