- Alle implementierten Schnittstellen:
ColumnDefinition,Definition,PositionedDefinition,TypedElementDefinition<TableDefinition>
public class DefaultColumnDefinition
extends AbstractTypedElementDefinition<TableDefinition>
implements ColumnDefinition
A base implementation for column definitions.
- Autor:
- Lukas Eder
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungDefaultColumnDefinition(TableDefinition table, String name, int position, DataTypeDefinition type, boolean identity, boolean readonly, String comment) DefaultColumnDefinition(TableDefinition table, String name, int position, DataTypeDefinition type, boolean identity, String comment) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungfinal List<ForeignKeyDefinition> All definitions of foreign keys that this column is part of.final List<UniqueKeyDefinition> getKeys()All definitions of unique and primary keys that this column is part of.final intThe object's 1-based position in the parent.final UniqueKeyDefinitionA definition for the primary key that this column is part of, ornullif this column is not part of a primary key.final List<UniqueKeyDefinition> All definitions of unique keys that this column is part of.final booleanWhether this column is the table'sIDENTITYcolumn.final booleanWhether this column is readonly.final booleanWhether the object has been created "synthetically", i.e.Von Klasse geerbte Methoden org.jooq.meta.AbstractTypedElementDefinition
customType, getContainer, getDataType, getDefinedType, getDefinitionPath, getDomain, getType, getType, mapDefinedTypeVon Klasse geerbte Methoden org.jooq.meta.AbstractDefinition
create, create, equals, getCatalog, getComment, getConnection, getDatabase, getDialect, getInputName, getName, getOutputName, getOverload, getPackage, getPartiallyQualifiedNames, getQualifiedInputName, getQualifiedInputNamePart, getQualifiedName, getQualifiedNamePart, getQualifiedOutputName, getQualifiedOutputNamePart, getSchema, getSource, hashCode, toStringVon 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, getSourceVon Schnittstelle geerbte Methoden org.jooq.meta.TypedElementDefinition
getContainer, getDefinedType, getDomain, getType, getType
-
Konstruktordetails
-
DefaultColumnDefinition
public DefaultColumnDefinition(TableDefinition table, String name, int position, DataTypeDefinition type, boolean identity, String comment) -
DefaultColumnDefinition
public DefaultColumnDefinition(TableDefinition table, String name, int position, DataTypeDefinition type, boolean identity, boolean readonly, String comment)
-
-
Methodendetails
-
isSynthetic
public final boolean isSynthetic()Beschreibung aus Schnittstelle kopiert:DefinitionWhether the object has been created "synthetically", i.e. fromSyntheticObjectsType, rather than from the underlying meta data source.- Angegeben von:
isSyntheticin SchnittstelleDefinition
-
getPosition
public final int getPosition()Beschreibung aus Schnittstelle kopiert:PositionedDefinitionThe object's 1-based position in the parent.[#17434] While in most RDBMS, this value is 1-based and a consecutive ordinal, there may be cases where a positional value is skipped, either by what's reported by the RDBMS's dictionary views, or because the definition is filtered by jOOQ-meta. Users shouldn't rely on the positions reflecting the actually generated column/attribute/etc. position.
- Angegeben von:
getPositionin SchnittstellePositionedDefinition
-
getPrimaryKey
Beschreibung aus Schnittstelle kopiert:ColumnDefinitionA definition for the primary key that this column is part of, ornullif this column is not part of a primary key.- Angegeben von:
getPrimaryKeyin SchnittstelleColumnDefinition
-
getUniqueKeys
Beschreibung aus Schnittstelle kopiert:ColumnDefinitionAll definitions of unique keys that this column is part of.- Angegeben von:
getUniqueKeysin SchnittstelleColumnDefinition
-
getKeys
Beschreibung aus Schnittstelle kopiert:ColumnDefinitionAll definitions of unique and primary keys that this column is part of.- Angegeben von:
getKeysin SchnittstelleColumnDefinition
-
getForeignKeys
Beschreibung aus Schnittstelle kopiert:ColumnDefinitionAll definitions of foreign keys that this column is part of.- Angegeben von:
getForeignKeysin SchnittstelleColumnDefinition
-
isIdentity
public final boolean isIdentity()Beschreibung aus Schnittstelle kopiert:ColumnDefinitionWhether this column is the table'sIDENTITYcolumn.- Angegeben von:
isIdentityin SchnittstelleColumnDefinition
-
isReadonly
public final boolean isReadonly()Beschreibung aus Schnittstelle kopiert:ColumnDefinitionWhether this column is readonly.- Angegeben von:
isReadonlyin SchnittstelleColumnDefinition
-