Record Class SmartGatewaysAdapterMessageField
java.lang.Object
java.lang.Record
energy.eddie.aiida.adapters.datasource.sga.SmartGatewaysAdapterMessageField
public record SmartGatewaysAdapterMessageField(String rawTag, String value, UnitOfMeasurement unitOfMeasurement, ObisCode obisCode)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionSmartGatewaysAdapterMessageField(String rawTag, String value, UnitOfMeasurement unitOfMeasurement, ObisCode obisCode) Creates an instance of aSmartGatewaysAdapterMessageFieldrecord 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.obisCode()Returns the value of theobisCoderecord component.rawTag()Returns the value of therawTagrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theunitOfMeasurementrecord component.value()Returns the value of thevaluerecord component.
-
Constructor Details
-
SmartGatewaysAdapterMessageField
public SmartGatewaysAdapterMessageField(String rawTag, String value, UnitOfMeasurement unitOfMeasurement, ObisCode obisCode) Creates an instance of aSmartGatewaysAdapterMessageFieldrecord class.- Parameters:
rawTag- the value for therawTagrecord componentvalue- the value for thevaluerecord componentunitOfMeasurement- the value for theunitOfMeasurementrecord componentobisCode- the value for theobisCoderecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
rawTag
Returns the value of therawTagrecord component.- Returns:
- the value of the
rawTagrecord component
-
value
Returns the value of thevaluerecord component.- Returns:
- the value of the
valuerecord component
-
unitOfMeasurement
Returns the value of theunitOfMeasurementrecord component.- Returns:
- the value of the
unitOfMeasurementrecord component
-
obisCode
Returns the value of theobisCoderecord component.- Returns:
- the value of the
obisCoderecord component
-