Record Class CAICommandTypePackageGetText
java.lang.Object
java.lang.Record
com.io7m.cardant.protocol.inventory.CAICommandTypePackageGetText
- Record Components:
identifier- The identifier
- All Implemented Interfaces:
CAProtocolMessageType,CAICommandType<CAIResponseTypePackageGetText>,CAIMessageType,com.io7m.hibiscus.api.HBMessageType
public record CAICommandTypePackageGetText(CATypePackageIdentifier identifier)
extends Record
implements CAICommandType<CAIResponseTypePackageGetText>
Get the text of a type package.
-
Constructor Summary
ConstructorsConstructorDescriptionCAICommandTypePackageGetText(CATypePackageIdentifier identifier) Get the text of a type package. -
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.Returns the value of theidentifierrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CAICommandTypePackageGetText
Get the text of a type package.- Parameters:
identifier- The identifier
-
-
Method Details
-
responseClass
- Specified by:
responseClassin interfaceCAICommandType<CAIResponseTypePackageGetText>- Returns:
- The response class associated with this command (excluding the error response)
-
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). -
identifier
Returns the value of theidentifierrecord component.- Returns:
- the value of the
identifierrecord component
-