Record Class CAI1IncludeDeleted.IncludeLiveAndDeleted
java.lang.Object
java.lang.Record
com.io7m.cardant.protocol.inventory.cb.CAI1IncludeDeleted.IncludeLiveAndDeleted
- All Implemented Interfaces:
CAI1IncludeDeleted,com.io7m.cedarbridge.runtime.api.CBSerializableType
- Enclosing interface:
CAI1IncludeDeleted
public static record CAI1IncludeDeleted.IncludeLiveAndDeleted()
extends Record
implements com.io7m.cedarbridge.runtime.api.CBSerializableType, CAI1IncludeDeleted
Include both live and deleted data.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.io7m.cardant.protocol.inventory.cb.CAI1IncludeDeleted
CAI1IncludeDeleted.IncludeLiveAndDeleted, CAI1IncludeDeleted.IncludeOnlyDeleted, CAI1IncludeDeleted.IncludeOnlyLive -
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of aIncludeLiveAndDeletedrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondeserialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context) Deserialize a value of type com.io7m.cardant.protocol.inventory.cb.IncludeLiveAndDeleted.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.static voidserialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context, CAI1IncludeDeleted.IncludeLiveAndDeleted $x) Serialize a value of type com.io7m.cardant.protocol.inventory.cb.IncludeLiveAndDeleted.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
IncludeLiveAndDeleted
public IncludeLiveAndDeleted()Creates an instance of aIncludeLiveAndDeletedrecord class.
-
-
Method Details
-
serialize
public static void serialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context, CAI1IncludeDeleted.IncludeLiveAndDeleted $x) throws IOException Serialize a value of type com.io7m.cardant.protocol.inventory.cb.IncludeLiveAndDeleted.- Parameters:
$context- The serialization context.$x- The value to be serialized.- Throws:
IOException
-
deserialize
public static CAI1IncludeDeleted.IncludeLiveAndDeleted deserialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context) throws IOException Deserialize a value of type com.io7m.cardant.protocol.inventory.cb.IncludeLiveAndDeleted.- Parameters:
$context- The serialization context.- Returns:
- A value of type com.io7m.cardant.protocol.inventory.cb.IncludeLiveAndDeleted.
- Throws:
IOException
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal.
-