Package de.calamanari.adl.sql.config
Record Class ArgColumnAssignment
java.lang.Object
java.lang.Record
de.calamanari.adl.sql.config.ArgColumnAssignment
- Record Components:
arg- argument meta data, see alsoArgColumnAssignment)column- data column the argument is mapped to
- All Implemented Interfaces:
Serializable
public record ArgColumnAssignment(de.calamanari.adl.cnv.tps.ArgMetaInfo arg, DataColumn column)
extends Record
implements Serializable
ArgColumnAssignments assign arguments to columns.
Important: the properties ArgMetaInfo.isCollection() and ArgMetaInfo.isAlwaysKnown() will always be overridden by
DataColumn.isMultiRow() and DataColumn.isAlwaysKnown().
- Author:
- Karl Eilebrecht
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionArgColumnAssignment(de.calamanari.adl.cnv.tps.ArgMetaInfo arg, DataColumn column) Creates an instance of aArgColumnAssignmentrecord class. -
Method Summary
Modifier and TypeMethodDescriptionde.calamanari.adl.cnv.tps.ArgMetaInfoarg()Returns the value of theargrecord component.column()Returns the value of thecolumnrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
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). -
arg
public de.calamanari.adl.cnv.tps.ArgMetaInfo arg()Returns the value of theargrecord component.- Returns:
- the value of the
argrecord component
-
column
Returns the value of thecolumnrecord component.- Returns:
- the value of the
columnrecord component
-