Record Class CsvManifestSnapshotBuilder.AttributeSpec
java.lang.Object
java.lang.Record
org.impulsegraph.builder.csv.CsvManifestSnapshotBuilder.AttributeSpec
- Enclosing class:
CsvManifestSnapshotBuilder
-
Constructor Summary
ConstructorsConstructorDescriptionAttributeSpec(String name, String rawType, byte baseTypeCode, boolean nullable) Creates an instance of aAttributeSpecrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbyteReturns the value of thebaseTypeCoderecord component.bytefinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.booleannullable()Returns the value of thenullablerecord component.rawType()Returns the value of therawTyperecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AttributeSpec
Creates an instance of aAttributeSpecrecord class.- Parameters:
name- the value for thenamerecord componentrawType- the value for therawTyperecord componentbaseTypeCode- the value for thebaseTypeCoderecord componentnullable- the value for thenullablerecord component
-
-
Method Details
-
encodedTypeCode
public byte encodedTypeCode() -
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
rawType
Returns the value of therawTyperecord component.- Returns:
- the value of the
rawTyperecord component
-
baseTypeCode
public byte baseTypeCode()Returns the value of thebaseTypeCoderecord component.- Returns:
- the value of the
baseTypeCoderecord component
-
nullable
public boolean nullable()Returns the value of thenullablerecord component.- Returns:
- the value of the
nullablerecord component
-