Record Class CAI1MetadataElementMatch.And
java.lang.Object
java.lang.Record
com.io7m.cardant.protocol.inventory.cb.CAI1MetadataElementMatch.And
- Record Components:
fieldE0-fieldE1-
- All Implemented Interfaces:
CAI1MetadataElementMatch,com.io7m.cedarbridge.runtime.api.CBSerializableType
- Enclosing interface:
CAI1MetadataElementMatch
public static record CAI1MetadataElementMatch.And(CAI1MetadataElementMatch fieldE0, CAI1MetadataElementMatch fieldE1)
extends Record
implements com.io7m.cedarbridge.runtime.api.CBSerializableType, CAI1MetadataElementMatch
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.io7m.cardant.protocol.inventory.cb.CAI1MetadataElementMatch
CAI1MetadataElementMatch.And, CAI1MetadataElementMatch.Or, CAI1MetadataElementMatch.Specific -
Constructor Summary
ConstructorsConstructorDescriptionAnd(CAI1MetadataElementMatch fieldE0, CAI1MetadataElementMatch fieldE1) Creates an instance of aAndrecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic CAI1MetadataElementMatch.Anddeserialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context) Deserialize a value of type com.io7m.cardant.protocol.inventory.cb.And.final booleanIndicates whether some other object is "equal to" this one.fieldE0()Returns the value of thefieldE0record component.fieldE1()Returns the value of thefieldE1record component.final inthashCode()Returns a hash code value for this object.static voidserialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context, CAI1MetadataElementMatch.And $x) Serialize a value of type com.io7m.cardant.protocol.inventory.cb.And.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Method Details
-
serialize
public static void serialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context, CAI1MetadataElementMatch.And $x) throws IOException Serialize a value of type com.io7m.cardant.protocol.inventory.cb.And.- Parameters:
$context- The serialization context.$x- The value to be serialized.- Throws:
IOException
-
deserialize
public static CAI1MetadataElementMatch.And deserialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context) throws IOException Deserialize a value of type com.io7m.cardant.protocol.inventory.cb.And.- Parameters:
$context- The serialization context.- Returns:
- A value of type com.io7m.cardant.protocol.inventory.cb.And.
- 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. All components in this record class are compared withObjects::equals(Object,Object). -
fieldE0
-
fieldE1
-