- All Implemented Interfaces:
ContainerElementDefinition<EmbeddableDefinition>,Definition,EmbeddableColumnDefinition,PositionedDefinition,TypedElementDefinition<EmbeddableDefinition>
- Author:
- Lukas Eder
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultEmbeddableColumnDefinition(EmbeddableDefinition container, String definingColumnName, ColumnDefinition referencingColumn, int position) -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe column / parameter type as declared in the database (prior to applying forced types).final intThe object's 1-based position in the parent.final ColumnDefinitionThe referencing column definition.final intThePositionedDefinition.getPosition()ofEmbeddableColumnDefinition.getReferencingColumn()within its defining table.getType()The column / parameter / attribute type after applying forced types.getType(JavaTypeResolver resolver) The column / parameter / attribute type after applying forced types and resolving theDataTypeDefinition.getJavaType().inthashCode()final voidmerge(EmbeddableColumnDefinition other) Merge type information of another referencingEmbeddableColumnDefinitioninto thisEmbeddableColumnDefinition.toString()Methods inherited from class org.jooq.meta.AbstractTypedElementDefinition
customType, getDataType, getDomain, mapDefinedTypeMethods inherited from class org.jooq.meta.AbstractContainerElementDefinition
getContainer, getDefinitionPathMethods inherited from class org.jooq.meta.AbstractDefinition
create, create, getCatalog, getComment, getConnection, getDatabase, getDialect, getInputName, getName, getOutputName, getOverload, getPackage, getPartiallyQualifiedNames, getQualifiedInputName, getQualifiedInputNamePart, getQualifiedName, getQualifiedNamePart, getQualifiedOutputName, getQualifiedOutputNamePart, getSchema, getSourceMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.jooq.meta.ContainerElementDefinition
getContainerMethods inherited from interface org.jooq.meta.Definition
getCatalog, getComment, getDatabase, getDefinitionPath, getInputName, getName, getOutputName, getOverload, getPackage, getPartiallyQualifiedNames, getQualifiedInputName, getQualifiedInputNamePart, getQualifiedName, getQualifiedNamePart, getQualifiedOutputName, getQualifiedOutputNamePart, getSchema, getSource, isSyntheticMethods inherited from interface org.jooq.meta.TypedElementDefinition
getDomain
-
Constructor Details
-
DefaultEmbeddableColumnDefinition
public DefaultEmbeddableColumnDefinition(EmbeddableDefinition container, String definingColumnName, ColumnDefinition referencingColumn, int position)
-
-
Method Details
-
getPosition
public final int getPosition()Description copied from interface: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.
- Specified by:
getPositionin interfacePositionedDefinition
-
getReferencingColumn
Description copied from interface:EmbeddableColumnDefinitionThe referencing column definition.- Specified by:
getReferencingColumnin interfaceEmbeddableColumnDefinition
-
merge
Description copied from interface:EmbeddableColumnDefinitionMerge type information of another referencingEmbeddableColumnDefinitioninto thisEmbeddableColumnDefinition.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.
- Specified by:
mergein interfaceEmbeddableColumnDefinition
-
getReferencingColumnPosition
public final int getReferencingColumnPosition()Description copied from interface:EmbeddableColumnDefinitionThePositionedDefinition.getPosition()ofEmbeddableColumnDefinition.getReferencingColumn()within its defining table.[#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.
- Specified by:
getReferencingColumnPositionin interfaceEmbeddableColumnDefinition
-
getType
Description copied from interface:TypedElementDefinitionThe column / parameter / attribute type after applying forced types.- Specified by:
getTypein interfaceEmbeddableColumnDefinition- Specified by:
getTypein interfaceTypedElementDefinition<EmbeddableDefinition>- Overrides:
getTypein classAbstractTypedElementDefinition<EmbeddableDefinition>
-
getType
Description copied from interface:TypedElementDefinitionThe column / parameter / attribute type after applying forced types and resolving theDataTypeDefinition.getJavaType().- Specified by:
getTypein interfaceTypedElementDefinition<EmbeddableDefinition>- Overrides:
getTypein classAbstractTypedElementDefinition<EmbeddableDefinition>
-
getDefinedType
Description copied from interface:TypedElementDefinitionThe column / parameter type as declared in the database (prior to applying forced types).- Specified by:
getDefinedTypein interfaceTypedElementDefinition<EmbeddableDefinition>- Overrides:
getDefinedTypein classAbstractTypedElementDefinition<EmbeddableDefinition>
-
toString
- Overrides:
toStringin classAbstractDefinition
-
equals
- Overrides:
equalsin classAbstractDefinition
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractDefinition
-