Record Class ARI1InstrumentDescription
java.lang.Object
java.lang.Record
com.io7m.aradine.instrument.spi1.ARI1InstrumentDescription
- Record Components:
group- The group of the instrumentidentifier- The unique identifier of the instrumentversion- The version of the instrumentmetadata- The metadata strings declared in the instrument descriptionparameters- The parameters declared by the instrumentports- The ports declared by the instrument
public record ARI1InstrumentDescription(ARI1DottedName group, ARI1DottedName identifier, ARI1Version version, Map<String,String> metadata, Map<ARI1ParameterNumber, ARI1ParameterDescriptionType> parameters, Map<ARI1PortNumber, ARI1PortDescription> ports)
extends Record
Create an instrument description.
-
Constructor Summary
ConstructorsConstructorDescriptionARI1InstrumentDescription(ARI1DottedName group, ARI1DottedName identifier, ARI1Version version, Map<String, String> metadata, Map<ARI1ParameterNumber, ARI1ParameterDescriptionType> parameters, Map<ARI1PortNumber, ARI1PortDescription> ports) Create an instrument description. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.group()Returns the value of thegrouprecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theidentifierrecord component.metadata()Returns the value of themetadatarecord component.Returns the value of theparametersrecord component.ports()Returns the value of theportsrecord component.final StringtoString()Returns a string representation of this record class.version()Returns the value of theversionrecord component.
-
Constructor Details
-
ARI1InstrumentDescription
public ARI1InstrumentDescription(ARI1DottedName group, ARI1DottedName identifier, ARI1Version version, Map<String, String> metadata, Map<ARI1ParameterNumber, ARI1ParameterDescriptionType> parameters, Map<ARI1PortNumber, ARI1PortDescription> ports) Create an instrument description.- Parameters:
group- The group of the instrumentidentifier- The unique identifier of the instrumentversion- The version of the instrumentmetadata- The metadata strings declared in the instrument descriptionparameters- The parameters declared by the instrumentports- The ports declared by the instrument
-
-
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). -
group
-
identifier
Returns the value of theidentifierrecord component.- Returns:
- the value of the
identifierrecord component
-
version
-
metadata
-
parameters
Returns the value of theparametersrecord component.- Returns:
- the value of the
parametersrecord component
-
ports
-