Package com.io7m.cardant.protocol.inventory.cb

# Interface CAI1Metadata

All Superinterfaces:
  `com.io7m.cedarbridge.runtime.api.CBSerializableType`

All Known Implementing Classes:
  `CAI1Metadata.Integral`, `CAI1Metadata.Monetary`, `CAI1Metadata.Real`, `CAI1Metadata.Text`, `CAI1Metadata.Time`

public sealed interface CAI1Metadata extends com.io7m.cedarbridge.runtime.api.CBSerializableType permits CAI1Metadata.Integral, CAI1Metadata.Text, CAI1Metadata.Time, CAI1Metadata.Monetary, CAI1Metadata.Real
A metadata value.

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Interface
  Description
  `static final record`
  `CAI1Metadata.Integral`
  `static final record`
  `CAI1Metadata.Monetary`
  `static final record`
  `CAI1Metadata.Real`
  `static final record`
  `CAI1Metadata.Text`
  `static final record`
  `CAI1Metadata.Time`

- ## Method Summary

  Static Methods
  Modifier and Type
  Method
  Description
  `static CAI1Metadata`
  `deserialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context)`
  Deserialize a value of type CAI1Metadata.
  `static void`
  `serialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context, CAI1Metadata $x)`
  Serialize a value of type CAI1Metadata.

- ## Method Details

  - ### serialize

    static void serialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context, CAI1Metadata $x) throws IOException
    Serialize a value of type CAI1Metadata.
    Parameters:
      `$context` - The serialization context.
      `$x` - The value to be serialized.
    Throws:
      `IOException`

  - ### deserialize

    static CAI1Metadata deserialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context) throws IOException
    Deserialize a value of type CAI1Metadata.
    Parameters:
      `$context` - The serialization context.
    Returns:
      A value of type CAI1Metadata.
    Throws:
      `IOException`