Interface CAI1StockOccurrenceKind
- All Superinterfaces:
com.io7m.cedarbridge.runtime.api.CBSerializableType
- All Known Implementing Classes:
CAI1StockOccurrenceKind.Serial,CAI1StockOccurrenceKind.Set
public sealed interface CAI1StockOccurrenceKind
extends com.io7m.cedarbridge.runtime.api.CBSerializableType
permits CAI1StockOccurrenceKind.Set, CAI1StockOccurrenceKind.Serial
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordstatic final record -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic CAI1StockOccurrenceKinddeserialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context) Deserialize a value of type CAI1StockOccurrenceKind.static voidserialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context, CAI1StockOccurrenceKind $x) Serialize a value of type CAI1StockOccurrenceKind.
-
Method Details
-
serialize
static void serialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context, CAI1StockOccurrenceKind $x) throws IOException Serialize a value of type CAI1StockOccurrenceKind.- Parameters:
$context- The serialization context.$x- The value to be serialized.- Throws:
IOException
-
deserialize
static CAI1StockOccurrenceKind deserialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context) throws IOException Deserialize a value of type CAI1StockOccurrenceKind.- Parameters:
$context- The serialization context.- Returns:
- A value of type CAI1StockOccurrenceKind.
- Throws:
IOException
-