Record Class WeatherObservation.Path
java.lang.Object
java.lang.Record
ecmwf.ecpds.master.weather.WeatherObservation.Path
- All Implemented Interfaces:
Serializable
- Enclosing class:
WeatherObservation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theconfiguredTargetrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.hostId()Returns the value of thehostIdrecord component.leg()Returns the value of thelegrecord component.protocol()Returns the value of theprotocolrecord component.sourceId()Returns the value of thesourceIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Path
Creates an instance of aPathrecord class.- Parameters:
sourceId- the value for thesourceIdrecord componenthostId- the value for thehostIdrecord componentconfiguredTarget- the value for theconfiguredTargetrecord componentprotocol- the value for theprotocolrecord componentleg- the value for thelegrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
sourceId
Returns the value of thesourceIdrecord component.- Returns:
- the value of the
sourceIdrecord component
-
hostId
Returns the value of thehostIdrecord component.- Returns:
- the value of the
hostIdrecord component
-
configuredTarget
Returns the value of theconfiguredTargetrecord component.- Returns:
- the value of the
configuredTargetrecord component
-
protocol
Returns the value of theprotocolrecord component.- Returns:
- the value of the
protocolrecord component
-
leg
Returns the value of thelegrecord component.- Returns:
- the value of the
legrecord component
-