Module org.firebirdsql.jaybird
Package org.firebirdsql.jdbc
Record Class AbstractFieldMetaData.ExtendedFieldInfo
java.lang.Object
java.lang.Record
org.firebirdsql.jdbc.AbstractFieldMetaData.ExtendedFieldInfo
- Enclosing class:
- AbstractFieldMetaData
protected static record AbstractFieldMetaData.ExtendedFieldInfo(AbstractFieldMetaData.FieldKey fieldKey, int fieldPrecision, boolean autoIncrement)
extends Record
Stores additional information about fields in a database.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionExtendedFieldInfo(String relationName, String fieldName, int precision, boolean autoIncrement) protectedExtendedFieldInfo(AbstractFieldMetaData.FieldKey fieldKey, int fieldPrecision, boolean autoIncrement) Creates an instance of aExtendedFieldInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of theautoIncrementrecord component.final booleanIndicates whether some other object is "equal to" this one.fieldKey()Returns the value of thefieldKeyrecord component.intReturns the value of thefieldPrecisionrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ExtendedFieldInfo
-
ExtendedFieldInfo
protected ExtendedFieldInfo(AbstractFieldMetaData.FieldKey fieldKey, int fieldPrecision, boolean autoIncrement) Creates an instance of aExtendedFieldInforecord class.- Parameters:
fieldKey- the value for thefieldKeyrecord componentfieldPrecision- the value for thefieldPrecisionrecord componentautoIncrement- the value for theautoIncrementrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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 '=='. -
fieldKey
Returns the value of thefieldKeyrecord component.- Returns:
- the value of the
fieldKeyrecord component
-
fieldPrecision
public int fieldPrecision()Returns the value of thefieldPrecisionrecord component.- Returns:
- the value of the
fieldPrecisionrecord component
-
autoIncrement
public boolean autoIncrement()Returns the value of theautoIncrementrecord component.- Returns:
- the value of the
autoIncrementrecord component
-