Record Class QualifiedColumnName
java.lang.Object
java.lang.Record
org.hibernate.mapping.QualifiedColumnName
public record QualifiedColumnName(Identifier catalogName, Identifier schemaName, Identifier tableName, Identifier columnName)
extends Record
Represents a fully qualified column name for uniqueness checks.
-
Constructor Summary
ConstructorsConstructorDescriptionQualifiedColumnName(Identifier catalogName, Identifier schemaName, Identifier tableName, Identifier columnName) Creates an instance of aQualifiedColumnNamerecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecatalogNamerecord component.Returns the value of thecolumnNamerecord 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 theschemaNamerecord component.Returns the value of thetableNamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
QualifiedColumnName
public QualifiedColumnName(Identifier catalogName, Identifier schemaName, Identifier tableName, Identifier columnName) Creates an instance of aQualifiedColumnNamerecord class.- Parameters:
catalogName- the value for thecatalogNamerecord componentschemaName- the value for theschemaNamerecord componenttableName- the value for thetableNamerecord componentcolumnName- the value for thecolumnNamerecord component
-
-
Method Details
-
toString
-
hashCode
-
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). -
catalogName
Returns the value of thecatalogNamerecord component.- Returns:
- the value of the
catalogNamerecord component
-
schemaName
Returns the value of theschemaNamerecord component.- Returns:
- the value of the
schemaNamerecord component
-
tableName
Returns the value of thetableNamerecord component.- Returns:
- the value of the
tableNamerecord component
-
columnName
Returns the value of thecolumnNamerecord component.- Returns:
- the value of the
columnNamerecord component
-