Record Class ARI1JParameterDescriptionReal
java.lang.Object
java.lang.Record
com.io7m.aradine.instrument.spi1.json_data.internal.ARI1JParameterDescriptionReal
- Record Components:
number- The parameter IDlabel- The parameter labeldocumentation- The parameter documentationunitOfMeasurement- The unit of measurement for the parametervalueMinimum- The minimum value (inclusive)valueMaximum- The maximum value (inclusive)valueDefault- The default value
- All Implemented Interfaces:
ARI1JElementType, ARI1JParameterDescriptionType
public record ARI1JParameterDescriptionReal(ARI1JParameterNumber number, String label, Optional<ARI1JDocumentation> documentation, ARI1JDottedName unitOfMeasurement, double valueMinimum, double valueMaximum, double valueDefault)
extends Record
implements ARI1JParameterDescriptionType, ARI1JElementType
A real-typed parameter description.
-
Constructor Summary
ConstructorsConstructorDescriptionARI1JParameterDescriptionReal(ARI1JParameterNumber number, String label, Optional<ARI1JDocumentation> documentation, ARI1JDottedName unitOfMeasurement, double valueMinimum, double valueMaximum, double valueDefault) A real-typed parameter description. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedocumentationrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.label()Returns the value of thelabelrecord component.number()Returns the value of thenumberrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theunitOfMeasurementrecord component.doubleReturns the value of thevalueDefaultrecord component.doubleReturns the value of thevalueMaximumrecord component.doubleReturns the value of thevalueMinimumrecord component.
-
Constructor Details
-
ARI1JParameterDescriptionReal
public ARI1JParameterDescriptionReal(ARI1JParameterNumber number, String label, Optional<ARI1JDocumentation> documentation, ARI1JDottedName unitOfMeasurement, double valueMinimum, double valueMaximum, double valueDefault) A real-typed parameter description.
- Parameters:
number- The parameter IDlabel- The parameter labeldocumentation- The parameter documentationunitOfMeasurement- The unit of measurement for the parametervalueMinimum- The minimum value (inclusive)valueMaximum- The maximum value (inclusive)valueDefault- The default value
-
-
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. -
number
Returns the value of thenumberrecord component.- Specified by:
numberin interfaceARI1JParameterDescriptionType- Returns:
- the value of the
numberrecord component
-
label
Returns the value of thelabelrecord component.- Specified by:
labelin interfaceARI1JParameterDescriptionType- Returns:
- the value of the
labelrecord component
-
documentation
Returns the value of thedocumentationrecord component.- Returns:
- the value of the
documentationrecord component
-
unitOfMeasurement
Returns the value of theunitOfMeasurementrecord component.- Returns:
- the value of the
unitOfMeasurementrecord component
-
valueMinimum
public double valueMinimum()Returns the value of thevalueMinimumrecord component.- Returns:
- the value of the
valueMinimumrecord component
-
valueMaximum
public double valueMaximum()Returns the value of thevalueMaximumrecord component.- Returns:
- the value of the
valueMaximumrecord component
-
valueDefault
public double valueDefault()Returns the value of thevalueDefaultrecord component.- Returns:
- the value of the
valueDefaultrecord component
-