Package net.truej.sql.bindings
Record Class Standard.Binding
java.lang.Object
java.lang.Record
net.truej.sql.bindings.Standard.Binding
- Enclosing class:
Standard
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theclassNamerecord component.@Nullable IntegerReturns the value of thecompatibleSqlTyperecord component.@Nullable StringReturns the value of thecompatibleSqlTypeNamerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of therwClassNamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Binding
public Binding(String className, String rwClassName, @Nullable @Nullable Integer compatibleSqlType, @Nullable @Nullable String compatibleSqlTypeName) Creates an instance of aBindingrecord class.- Parameters:
className- the value for theclassNamerecord componentrwClassName- the value for therwClassNamerecord componentcompatibleSqlType- the value for thecompatibleSqlTyperecord componentcompatibleSqlTypeName- the value for thecompatibleSqlTypeNamerecord 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). -
className
Returns the value of theclassNamerecord component.- Returns:
- the value of the
classNamerecord component
-
rwClassName
Returns the value of therwClassNamerecord component.- Returns:
- the value of the
rwClassNamerecord component
-
compatibleSqlType
Returns the value of thecompatibleSqlTyperecord component.- Returns:
- the value of the
compatibleSqlTyperecord component
-
compatibleSqlTypeName
Returns the value of thecompatibleSqlTypeNamerecord component.- Returns:
- the value of the
compatibleSqlTypeNamerecord component
-