Record Class CAI1StockOccurrenceKind.Set
java.lang.Object
java.lang.Record
com.io7m.cardant.protocol.inventory.cb.CAI1StockOccurrenceKind.Set
- All Implemented Interfaces:
CAI1StockOccurrenceKind,com.io7m.cedarbridge.runtime.api.CBSerializableType
- Enclosing interface:
CAI1StockOccurrenceKind
public static record CAI1StockOccurrenceKind.Set()
extends Record
implements com.io7m.cedarbridge.runtime.api.CBSerializableType, CAI1StockOccurrenceKind
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.io7m.cardant.protocol.inventory.cb.CAI1StockOccurrenceKind
CAI1StockOccurrenceKind.Serial, CAI1StockOccurrenceKind.Set -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CAI1StockOccurrenceKind.Setdeserialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context) Deserialize a value of type com.io7m.cardant.protocol.inventory.cb.Set.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, CAI1StockOccurrenceKind.Set $x) Serialize a value of type com.io7m.cardant.protocol.inventory.cb.Set.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Set
public Set()Creates an instance of aSetrecord class.
-
-
Method Details
-
serialize
public static void serialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context, CAI1StockOccurrenceKind.Set $x) throws IOException Serialize a value of type com.io7m.cardant.protocol.inventory.cb.Set.- Parameters:
$context- The serialization context.$x- The value to be serialized.- Throws:
IOException
-
deserialize
public static CAI1StockOccurrenceKind.Set deserialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context) throws IOException Deserialize a value of type com.io7m.cardant.protocol.inventory.cb.Set.- Parameters:
$context- The serialization context.- Returns:
- A value of type com.io7m.cardant.protocol.inventory.cb.Set.
- 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.
-