Package org.ethelred.kiwiproc.meta
Record Class ArrayComponent
java.lang.Object
java.lang.Record
org.ethelred.kiwiproc.meta.ArrayComponent
-
Constructor Summary
ConstructorsConstructorDescriptionArrayComponent(JDBCType jdbcType, String dbType) Creates an instance of aArrayComponentrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondbType()Returns the value of thedbTyperecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.jdbcType()Returns the value of thejdbcTyperecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ArrayComponent
Creates an instance of aArrayComponentrecord class.- Parameters:
jdbcType- the value for thejdbcTyperecord componentdbType- the value for thedbTyperecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
jdbcType
Returns the value of thejdbcTyperecord component.- Returns:
- the value of the
jdbcTyperecord component
-
dbType
Returns the value of thedbTyperecord component.- Returns:
- the value of the
dbTyperecord component
-