java.lang.Object
org.jooq.meta.AbstractDefinition
org.jooq.meta.AbstractTypedElementDefinition<UDTDefinition>
org.jooq.meta.DefaultAttributeDefinition
- All Implemented Interfaces:
AttributeDefinition,Definition,PositionedDefinition,TypedElementDefinition<UDTDefinition>
public class DefaultAttributeDefinition
extends AbstractTypedElementDefinition<UDTDefinition>
implements AttributeDefinition
A base implementation for column definitions.
- Author:
- Lukas Eder
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultAttributeDefinition(UDTDefinition udt, String name, int position, DataTypeDefinition type) -
Method Summary
Methods inherited from class org.jooq.meta.AbstractTypedElementDefinition
customType, getContainer, getDataType, getDefinedType, getDefinitionPath, getDomain, getType, getType, mapDefinedTypeMethods inherited from class org.jooq.meta.AbstractDefinition
create, create, equals, getCatalog, getComment, getConnection, getDatabase, getDialect, getInputName, getName, getOutputName, getOverload, getPackage, getQualifiedInputName, getQualifiedInputNamePart, getQualifiedName, getQualifiedNamePart, getQualifiedOutputName, getQualifiedOutputNamePart, getSchema, getSource, hashCode, toStringMethods 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, getDefinedType, getDomain, getType, getType
-
Constructor Details
-
DefaultAttributeDefinition
public DefaultAttributeDefinition(UDTDefinition udt, String name, int position, DataTypeDefinition type)
-
-
Method Details
-
getPosition
public 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
-