Record Class ARI1JParameterDescriptionSampleMap
java.lang.Object
java.lang.Record
com.io7m.aradine.instrument.spi1.json_data.internal.ARI1JParameterDescriptionSampleMap
- Record Components:
number- The parameter IDlabel- The parameter labeldocumentation- The parameter documentation
- All Implemented Interfaces:
ARI1JElementType, ARI1JParameterDescriptionType
public record ARI1JParameterDescriptionSampleMap(ARI1JParameterNumber number, String label, Optional<ARI1JDocumentation> documentation)
extends Record
implements ARI1JParameterDescriptionType, ARI1JElementType
The type of sample map parameters.
-
Constructor Summary
ConstructorsConstructorDescriptionARI1JParameterDescriptionSampleMap(ARI1JParameterNumber number, String label, Optional<ARI1JDocumentation> documentation) The type of sample map parameters. -
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.
-
Constructor Details
-
ARI1JParameterDescriptionSampleMap
public ARI1JParameterDescriptionSampleMap(ARI1JParameterNumber number, String label, Optional<ARI1JDocumentation> documentation) The type of sample map parameters.
- Parameters:
number- The parameter IDlabel- The parameter labeldocumentation- The parameter documentation
-
-
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). -
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
-