Record Class ARI1ParameterDescriptionSampleMap
java.lang.Object
java.lang.Record
com.io7m.aradine.instrument.spi1.ARI1ParameterDescriptionSampleMap
- Record Components:
id- The parameter IDlabel- The parameter labeldocumentation- The parameter documentation
- All Implemented Interfaces:
ARI1DocumentedType, ARI1ParameterDescriptionType
public record ARI1ParameterDescriptionSampleMap(ARI1ParameterNumber id, String label, Optional<ARI1Documentation> documentation)
extends Record
implements ARI1ParameterDescriptionType
The type of sample map parameters.
-
Constructor Summary
ConstructorsConstructorDescriptionARI1ParameterDescriptionSampleMap(ARI1ParameterNumber id, String label, Optional<ARI1Documentation> 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.id()Returns the value of theidrecord component.label()Returns the value of thelabelrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ARI1ParameterDescriptionSampleMap
public ARI1ParameterDescriptionSampleMap(ARI1ParameterNumber id, String label, Optional<ARI1Documentation> documentation) The type of sample map parameters.
- Parameters:
id- 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). -
id
Returns the value of theidrecord component.- Specified by:
idin interfaceARI1ParameterDescriptionType- Returns:
- the value of the
idrecord component
-
label
Returns the value of thelabelrecord component.- Specified by:
labelin interfaceARI1ParameterDescriptionType- Returns:
- the value of the
labelrecord component
-
documentation
Returns the value of thedocumentationrecord component.- Specified by:
documentationin interfaceARI1DocumentedType- Returns:
- the value of the
documentationrecord component
-