org.jooq.util
Class DefaultAttributeDefinition

java.lang.Object
  extended by org.jooq.util.AbstractDefinition
      extended by org.jooq.util.DefaultAttributeDefinition
All Implemented Interfaces:
AttributeDefinition, Definition, TypedElementDefinition<UDTDefinition>

public class DefaultAttributeDefinition
extends AbstractDefinition
implements AttributeDefinition

A base implementation for column definitions.

Author:
Lukas Eder

Constructor Summary
DefaultAttributeDefinition(UDTDefinition udt, String name, int position, DataTypeDefinition type)
           
 
Method Summary
 T getContainer()
          The container that contains this typed element
 List<Definition> getDefinitionPath()
           
 DataTypeDefinition getType()
          The column / parameter type
 
Methods inherited from class org.jooq.util.AbstractDefinition
create, equals, getComment, getConnection, getDatabase, getDialect, getInputName, getName, getOutputName, getOverload, getQualifiedInputName, getQualifiedName, getQualifiedOutputName, getSchema, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jooq.util.TypedElementDefinition
getContainer, getType
 
Methods inherited from interface org.jooq.util.Definition
getComment, getDatabase, getDefinitionPath, getInputName, getName, getOutputName, getOverload, getQualifiedInputName, getQualifiedName, getQualifiedOutputName, getSchema
 

Constructor Detail

DefaultAttributeDefinition

public DefaultAttributeDefinition(UDTDefinition udt,
                                  String name,
                                  int position,
                                  DataTypeDefinition type)
Method Detail

getContainer

public final T getContainer()
Description copied from interface: TypedElementDefinition
The container that contains this typed element

Specified by:
getContainer in interface TypedElementDefinition<T extends Definition>

getDefinitionPath

public List<Definition> getDefinitionPath()
Specified by:
getDefinitionPath in interface Definition
Returns:
A path of definitions for this definition, e.g. [schema].[package].[routine].[parameter]

getType

public DataTypeDefinition getType()
Description copied from interface: TypedElementDefinition
The column / parameter type

Specified by:
getType in interface TypedElementDefinition<T extends Definition>


Copyright © 2012. All Rights Reserved.