Interface CAI1ItemReposit
- All Superinterfaces:
com.io7m.cedarbridge.runtime.api.CBSerializableType
- All Known Implementing Classes:
CAI1ItemReposit.CAI1ItemRepositAdd,CAI1ItemReposit.CAI1ItemRepositMove,CAI1ItemReposit.CAI1ItemRepositRemove
public sealed interface CAI1ItemReposit
extends com.io7m.cedarbridge.runtime.api.CBSerializableType
permits CAI1ItemReposit.CAI1ItemRepositAdd, CAI1ItemReposit.CAI1ItemRepositMove, CAI1ItemReposit.CAI1ItemRepositRemove
The type of item reposit operations.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordAn operation that adds a set of items to a storage location.static final recordAn operation that moves a set of items from one storage location to another.static final recordAn operation that removes a set of items from a storage location. -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic CAI1ItemRepositdeserialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context) Deserialize a value of type CAI1ItemReposit.static voidserialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context, CAI1ItemReposit $x) Serialize a value of type CAI1ItemReposit.
-
Method Details
-
serialize
static void serialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context, CAI1ItemReposit $x) throws IOException Serialize a value of type CAI1ItemReposit.- Parameters:
$context- The serialization context.$x- The value to be serialized.- Throws:
IOException
-
deserialize
static CAI1ItemReposit deserialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context) throws IOException Deserialize a value of type CAI1ItemReposit.- Parameters:
$context- The serialization context.- Returns:
- A value of type CAI1ItemReposit.
- Throws:
IOException
-