java.lang.Object
org.jooq.meta.AbstractDefinition
org.jooq.meta.AbstractElementContainerDefinition<EmbeddableColumnDefinition>
org.jooq.meta.DefaultEmbeddableDefinition
- Alle implementierten Schnittstellen:
Definition,EmbeddableDefinition,TableElementDefinition
public class DefaultEmbeddableDefinition
extends AbstractElementContainerDefinition<EmbeddableColumnDefinition>
implements EmbeddableDefinition
- Autor:
- Lukas Eder
-
Feldübersicht
Von Klasse geerbte Felder org.jooq.meta.AbstractElementContainerDefinition
PRECISION_SCALE -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungDefaultEmbeddableDefinition(SchemaDefinition definingSchema, String definingName, String definingComment, TableDefinition definingTable, List<String> definingColumnNames, String referencingName, String referencingComment, TableDefinition referencingTable, List<ColumnDefinition> referencingColumns, boolean replacesFields) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbooleangetColumn(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.final List<EmbeddableColumnDefinition> All defining columns in the type, table or view.final TableDefinitionThe table defining the embeddable (same asTableElementDefinition.getTable()).protected final List<EmbeddableColumnDefinition> 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.final StringThe referencing comment of this embeddable, if it differs from the defining name (Definition.getComment()).final StringThe referencing input name of this embeddable, if it differs from the defining name (Definition.getInputName()).final StringThe referencing name of this embeddable, if it differs from the defining name (Definition.getName()).final StringThe referencing output name of this embeddable, if it differs from the defining name (Definition.getOutputName()).final TableDefinitionThe table referencing the embeddable.final TableDefinitiongetTable()The table that this object is part of.inthashCode()voidmerge(EmbeddableDefinition other) Merge type information of anotherEmbeddableDefinitioninto thisEmbeddableDefinition.final booleanWhether this embeddable replaces the fields it represents.toString()Von Klasse geerbte Methoden org.jooq.meta.AbstractElementContainerDefinition
getElement, getElement, getElement, getElements, parseNotNull, parsePrecision, parseScale, parseTypeNameVon Klasse geerbte Methoden org.jooq.meta.AbstractDefinition
create, create, getCatalog, getComment, getConnection, getDatabase, getDefinitionPath, getDialect, getInputName, getName, getOutputName, getOverload, getPackage, getPartiallyQualifiedNames, getQualifiedInputName, getQualifiedInputNamePart, getQualifiedName, getQualifiedNamePart, getQualifiedOutputName, getQualifiedOutputNamePart, getSchema, getSourceVon Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitVon Schnittstelle geerbte Methoden org.jooq.meta.Definition
getCatalog, getComment, getDatabase, getDefinitionPath, getInputName, getName, getOutputName, getOverload, getPackage, getPartiallyQualifiedNames, getQualifiedInputName, getQualifiedInputNamePart, getQualifiedName, getQualifiedNamePart, getQualifiedOutputName, getQualifiedOutputNamePart, getSchema, getSource, isSynthetic
-
Konstruktordetails
-
DefaultEmbeddableDefinition
public DefaultEmbeddableDefinition(SchemaDefinition definingSchema, String definingName, String definingComment, TableDefinition definingTable, List<String> definingColumnNames, String referencingName, String referencingComment, TableDefinition referencingTable, List<ColumnDefinition> referencingColumns, boolean replacesFields)
-
-
Methodendetails
-
getTable
Beschreibung aus Schnittstelle kopiert:TableElementDefinitionThe table that this object is part of.- Angegeben von:
getTablein SchnittstelleTableElementDefinition
-
getDefiningTable
Beschreibung aus Schnittstelle kopiert:EmbeddableDefinitionThe table defining the embeddable (same asTableElementDefinition.getTable()).- Angegeben von:
getDefiningTablein SchnittstelleEmbeddableDefinition
-
getReferencingComment
Beschreibung aus Schnittstelle kopiert:EmbeddableDefinitionThe referencing comment of this embeddable, if it differs from the defining name (Definition.getComment()).- Angegeben von:
getReferencingCommentin SchnittstelleEmbeddableDefinition
-
getReferencingName
Beschreibung aus Schnittstelle kopiert:EmbeddableDefinitionThe referencing name of this embeddable, if it differs from the defining name (Definition.getName()).- Angegeben von:
getReferencingNamein SchnittstelleEmbeddableDefinition
-
getReferencingInputName
Beschreibung aus Schnittstelle kopiert:EmbeddableDefinitionThe referencing input name of this embeddable, if it differs from the defining name (Definition.getInputName()).- Angegeben von:
getReferencingInputNamein SchnittstelleEmbeddableDefinition
-
getReferencingOutputName
Beschreibung aus Schnittstelle kopiert:EmbeddableDefinitionThe referencing output name of this embeddable, if it differs from the defining name (Definition.getOutputName()).- Angegeben von:
getReferencingOutputNamein SchnittstelleEmbeddableDefinition
-
getReferencingTable
Beschreibung aus Schnittstelle kopiert:EmbeddableDefinitionThe table referencing the embeddable.- Angegeben von:
getReferencingTablein SchnittstelleEmbeddableDefinition
-
getElements0
- Angegeben von:
getElements0in KlasseAbstractElementContainerDefinition<EmbeddableColumnDefinition>- Löst aus:
SQLException
-
getColumns
Beschreibung aus Schnittstelle kopiert:EmbeddableDefinitionAll defining columns in the type, table or view.- Angegeben von:
getColumnsin SchnittstelleEmbeddableDefinition
-
getColumn
Beschreibung aus Schnittstelle kopiert:EmbeddableDefinitionGet a defining column in this type by its name.- Angegeben von:
getColumnin SchnittstelleEmbeddableDefinition
-
getColumn
Beschreibung aus Schnittstelle kopiert:EmbeddableDefinitionGet a defining column in this type by its name.- Angegeben von:
getColumnin SchnittstelleEmbeddableDefinition
-
getColumn
Beschreibung aus Schnittstelle kopiert:EmbeddableDefinitionGet a defining column in this type by its index (starting at 0).- Angegeben von:
getColumnin SchnittstelleEmbeddableDefinition
-
getReferencingColumn
Beschreibung aus Schnittstelle kopiert:EmbeddableDefinitionGet a referencing column in this type by its referencing name.- Angegeben von:
getReferencingColumnin SchnittstelleEmbeddableDefinition
-
getReferencingColumn
Beschreibung aus Schnittstelle kopiert:EmbeddableDefinitionGet a referencing column in this type by its referencing name.- Angegeben von:
getReferencingColumnin SchnittstelleEmbeddableDefinition
-
replacesFields
public final boolean replacesFields()Beschreibung aus Schnittstelle kopiert:EmbeddableDefinitionWhether this embeddable replaces the fields it represents.- Angegeben von:
replacesFieldsin SchnittstelleEmbeddableDefinition
-
merge
Beschreibung aus Schnittstelle kopiert:EmbeddableDefinitionMerge 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.
- Angegeben von:
mergein SchnittstelleEmbeddableDefinition
-
toString
- Setzt außer Kraft:
toStringin KlasseAbstractDefinition
-
equals
- Setzt außer Kraft:
equalsin KlasseAbstractDefinition
-
hashCode
public int hashCode()- Setzt außer Kraft:
hashCodein KlasseAbstractDefinition
-