Package de.calamanari.adl.sql.config
Record Class DataBinding
java.lang.Object
java.lang.Record
de.calamanari.adl.sql.config.DataBinding
- Record Components:
dataTableConfig- NOT NULLsqlContainsPolicy- NOT NULL
- All Implemented Interfaces:
Serializable
public record DataBinding(DataTableConfig dataTableConfig, SqlContainsPolicy sqlContainsPolicy)
extends Record
implements Serializable
The
DataBinding contains all the meta information about the underlying store and the mapping to the logical argNames.- Author:
- Karl Eilebrecht
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDataBinding(DataTableConfig dataTableConfig, SqlContainsPolicy sqlContainsPolicy) Creates an instance of aDataBindingrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedataTableConfigrecord 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 thesqlContainsPolicyrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
DataBinding
Creates an instance of aDataBindingrecord class.- Parameters:
dataTableConfig- the value for thedataTableConfigrecord componentsqlContainsPolicy- the value for thesqlContainsPolicyrecord 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). -
dataTableConfig
Returns the value of thedataTableConfigrecord component.- Returns:
- the value of the
dataTableConfigrecord component
-
sqlContainsPolicy
Returns the value of thesqlContainsPolicyrecord component.- Returns:
- the value of the
sqlContainsPolicyrecord component
-