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