java.lang.Object
org.jooq.meta.AbstractDefinition
org.jooq.meta.AbstractTypedElementDefinition<EmbeddableDefinition>
org.jooq.meta.DefaultEmbeddableColumnDefinition
- All Implemented Interfaces:
Definition,EmbeddableColumnDefinition,PositionedDefinition,TypedElementDefinition<EmbeddableDefinition>
public class DefaultEmbeddableColumnDefinition
extends AbstractTypedElementDefinition<EmbeddableDefinition>
implements EmbeddableColumnDefinition
- 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()toString()Methods inherited from class org.jooq.meta.AbstractTypedElementDefinition
customType, getContainer, getDataType, getDefinitionPath, getDomain, mapDefinedTypeMethods inherited from class org.jooq.meta.AbstractDefinition
create, create, getCatalog, getComment, getConnection, getDatabase, getDialect, getInputName, getName, getOutputName, getOverload, getPackage, 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.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.TypedElementDefinition
getContainer, 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
-
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 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
-