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

# Interface CAI1ItemColumn

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

All Known Implementing Classes:
  `CAI1ItemColumn.CAI1ById`, `CAI1ItemColumn.CAI1ByName`

public sealed interface CAI1ItemColumn extends com.io7m.cedarbridge.runtime.api.CBSerializableType permits CAI1ItemColumn.CAI1ById, CAI1ItemColumn.CAI1ByName
The item column by which to order results.

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Interface
  Description
  `static final record`
  `CAI1ItemColumn.CAI1ById`
  Order by item ID.
  `static final record`
  `CAI1ItemColumn.CAI1ByName`
  Order by item name.

- ## Method Summary

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

- ## Method Details

  - ### serialize

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

  - ### deserialize

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