org.jooq.util
Interface UDTDefinition

All Superinterfaces:
Definition, PackageDefinition
All Known Implementing Classes:
AbstractUDTDefinition, DB2UDTDefinition, OracleUDTDefinition, PostgresUDTDefinition

public interface UDTDefinition
extends PackageDefinition

A definition for a UDT

This extends PackageDefinition because Oracle internally models UDT's in similar ways as packages. This is especially true for the way, member procedures and functions are called.

Author:
Lukas Eder

Method Summary
 AttributeDefinition getAttribute(int attributeIndex)
          Get an attribute in this UDT by its index (starting at 0)
 AttributeDefinition getAttribute(String attributeName)
          Get an attribute in this UDT by its name
 List<AttributeDefinition> getAttributes()
          All attributes in the UDT
 List<RoutineDefinition> getRoutines()
          All routines in the UDT
 
Methods inherited from interface org.jooq.util.Definition
getComment, getDatabase, getDefinitionPath, getInputName, getName, getOutputName, getOverload, getQualifiedInputName, getQualifiedName, getQualifiedOutputName, getSchema
 

Method Detail

getAttributes

List<AttributeDefinition> getAttributes()
All attributes in the UDT


getAttribute

AttributeDefinition getAttribute(String attributeName)
Get an attribute in this UDT by its name


getAttribute

AttributeDefinition getAttribute(int attributeIndex)
Get an attribute in this UDT by its index (starting at 0)


getRoutines

List<RoutineDefinition> getRoutines()
All routines in the UDT

Specified by:
getRoutines in interface PackageDefinition


Copyright © 2012. All Rights Reserved.