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