Record Class CAI1TypeRecordFieldIdentifier
java.lang.Object
java.lang.Record
com.io7m.cardant.protocol.inventory.cb.CAI1TypeRecordFieldIdentifier
- Record Components:
fieldPackageName-fieldTypeName-fieldFieldName-
- All Implemented Interfaces:
com.io7m.cedarbridge.runtime.api.CBSerializableType
public record CAI1TypeRecordFieldIdentifier(com.io7m.cedarbridge.runtime.api.CBString fieldPackageName, com.io7m.cedarbridge.runtime.api.CBString fieldTypeName, com.io7m.cedarbridge.runtime.api.CBString fieldFieldName)
extends Record
implements com.io7m.cedarbridge.runtime.api.CBSerializableType
-
Constructor Summary
ConstructorsConstructorDescriptionCAI1TypeRecordFieldIdentifier(com.io7m.cedarbridge.runtime.api.CBString fieldPackageName, com.io7m.cedarbridge.runtime.api.CBString fieldTypeName, com.io7m.cedarbridge.runtime.api.CBString fieldFieldName) Creates an instance of aCAI1TypeRecordFieldIdentifierrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondeserialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context) Deserialize a value of type CAI1TypeRecordFieldIdentifier.final booleanIndicates whether some other object is "equal to" this one.com.io7m.cedarbridge.runtime.api.CBStringReturns the value of thefieldFieldNamerecord component.com.io7m.cedarbridge.runtime.api.CBStringReturns the value of thefieldPackageNamerecord component.com.io7m.cedarbridge.runtime.api.CBStringReturns the value of thefieldTypeNamerecord component.final inthashCode()Returns a hash code value for this object.static voidserialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context, CAI1TypeRecordFieldIdentifier $x) Serialize a value of type CAI1TypeRecordFieldIdentifier.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CAI1TypeRecordFieldIdentifier
public CAI1TypeRecordFieldIdentifier(com.io7m.cedarbridge.runtime.api.CBString fieldPackageName, com.io7m.cedarbridge.runtime.api.CBString fieldTypeName, com.io7m.cedarbridge.runtime.api.CBString fieldFieldName) Creates an instance of aCAI1TypeRecordFieldIdentifierrecord class.- Parameters:
fieldPackageName- the value for thefieldPackageNamerecord componentfieldTypeName- the value for thefieldTypeNamerecord componentfieldFieldName- the value for thefieldFieldNamerecord component
-
-
Method Details
-
serialize
public static void serialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context, CAI1TypeRecordFieldIdentifier $x) throws IOException Serialize a value of type CAI1TypeRecordFieldIdentifier.- Parameters:
$context- The serialization context.$x- The value to be serialized.- Throws:
IOException
-
deserialize
public static CAI1TypeRecordFieldIdentifier deserialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context) throws IOException Deserialize a value of type CAI1TypeRecordFieldIdentifier.- Parameters:
$context- The serialization context.- Returns:
- A value of type CAI1TypeRecordFieldIdentifier.
- Throws:
IOException
-
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). -
fieldPackageName
public com.io7m.cedarbridge.runtime.api.CBString fieldPackageName()Returns the value of thefieldPackageNamerecord component.- Returns:
- the value of the
fieldPackageNamerecord component
-
fieldTypeName
public com.io7m.cedarbridge.runtime.api.CBString fieldTypeName()Returns the value of thefieldTypeNamerecord component.- Returns:
- the value of the
fieldTypeNamerecord component
-
fieldFieldName
public com.io7m.cedarbridge.runtime.api.CBString fieldFieldName()Returns the value of thefieldFieldNamerecord component.- Returns:
- the value of the
fieldFieldNamerecord component
-