- All Superinterfaces:
Definition,TableElementDefinition
- All Known Implementing Classes:
DefaultEmbeddableDefinition
The definition of an embeddable type.
- Author:
- Lukas Eder
-
Method Summary
Modifier and TypeMethodDescriptiongetColumn(int columnIndex) Get a defining column in this type by its index (starting at 0).Get a defining column in this type by its name.Get a defining column in this type by its name.All defining columns in the type, table or view.The table defining the embeddable (same asTableElementDefinition.getTable()).getReferencingColumn(String columnName) Get a referencing column in this type by its referencing name.getReferencingColumn(String columnName, boolean ignoreCase) Get a referencing column in this type by its referencing name.The referencing comment of this embeddable, if it differs from the defining name (Definition.getComment()).The referencing input name of this embeddable, if it differs from the defining name (Definition.getInputName()).The referencing name of this embeddable, if it differs from the defining name (Definition.getName()).The referencing output name of this embeddable, if it differs from the defining name (Definition.getOutputName()).The table referencing the embeddable.voidmerge(EmbeddableDefinition other) Merge type information of anotherEmbeddableDefinitioninto thisEmbeddableDefinition.booleanWhether this embeddable replaces the fields it represents.Methods inherited from interface org.jooq.meta.Definition
getCatalog, getComment, getDatabase, getDefinitionPath, getInputName, getName, getOutputName, getOverload, getPackage, getQualifiedInputName, getQualifiedInputNamePart, getQualifiedName, getQualifiedNamePart, getQualifiedOutputName, getQualifiedOutputNamePart, getSchema, getSource, isSyntheticMethods inherited from interface org.jooq.meta.TableElementDefinition
getTable
-
Method Details
-
getDefiningTable
TableDefinition getDefiningTable()The table defining the embeddable (same asTableElementDefinition.getTable()). -
getReferencingComment
String getReferencingComment()The referencing comment of this embeddable, if it differs from the defining name (Definition.getComment()). -
getReferencingName
String getReferencingName()The referencing name of this embeddable, if it differs from the defining name (Definition.getName()). -
getReferencingInputName
String getReferencingInputName()The referencing input name of this embeddable, if it differs from the defining name (Definition.getInputName()). -
getReferencingOutputName
String getReferencingOutputName()The referencing output name of this embeddable, if it differs from the defining name (Definition.getOutputName()). -
getReferencingTable
TableDefinition getReferencingTable()The table referencing the embeddable. -
getColumns
List<EmbeddableColumnDefinition> getColumns()All defining columns in the type, table or view. -
getColumn
Get a defining column in this type by its name. -
getColumn
Get a defining column in this type by its name. -
getColumn
Get a defining column in this type by its index (starting at 0). -
getReferencingColumn
Get a referencing column in this type by its referencing name. -
getReferencingColumn
Get a referencing column in this type by its referencing name. -
replacesFields
boolean replacesFields()Whether this embeddable replaces the fields it represents. -
merge
Merge type information of anotherEmbeddableDefinitioninto thisEmbeddableDefinition.Multiple referencing column definitions can be used to define an embeddable column definition. The types and constraints on these alternative references may differ. For example, one column may be nullable, others may not be nullable.
-