Record Class AgingClimate
java.lang.Object
java.lang.Record
ke.ric.api.aging.AgingClimate
Climate sample recorded at an aging reconciliation boundary.
-
Constructor Summary
ConstructorsConstructorDescriptionAgingClimate(double temperature, double humidity, int skylight) Creates an instance of aAgingClimaterecord 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.doublehumidity()Returns the value of thehumidityrecord component.Stable exposure key shared by addon rules and the rack history codec.intskylight()Returns the value of theskylightrecord component.doubleReturns the value of thetemperaturerecord component.Stable exposure key shared by addon rules and the rack history codec.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AgingClimate
public AgingClimate(double temperature, double humidity, int skylight) Creates an instance of aAgingClimaterecord class.- Parameters:
temperature- the value for thetemperaturerecord componenthumidity- the value for thehumidityrecord componentskylight- the value for theskylightrecord component
-
-
Method Details
-
temperatureBand
Stable exposure key shared by addon rules and the rack history codec. -
humidityBand
Stable exposure key shared by addon rules and the rack history codec. -
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 with thecomparemethod from their corresponding wrapper classes. -
temperature
public double temperature()Returns the value of thetemperaturerecord component.- Returns:
- the value of the
temperaturerecord component
-
humidity
public double humidity()Returns the value of thehumidityrecord component.- Returns:
- the value of the
humidityrecord component
-
skylight
public int skylight()Returns the value of theskylightrecord component.- Returns:
- the value of the
skylightrecord component
-