org.jooq.util
Interface DataTypeDefinition

All Known Implementing Classes:
DefaultDataTypeDefinition, MasterDataTypeDefinition

public interface DataTypeDefinition

A definition for a data type object

Author:
Lukas Eder

Method Summary
 Database getDatabase()
          The underlying database
 int getLength()
          The type's length
 int getPrecision()
          The type's precision
 int getScale()
          The type's scale
 SchemaDefinition getSchema()
          The underlying schema
 String getType()
          The dialect-specific column type
 String getUserType()
          The user type, if applicable
 boolean isGenericNumberType()
          Whether this data type is a NUMBER type without precision and scale
 boolean isUDT()
          Whether this data type represents a udt
 

Method Detail

getType

String getType()
The dialect-specific column type


getLength

int getLength()
The type's length


getPrecision

int getPrecision()
The type's precision


getScale

int getScale()
The type's scale


getUserType

String getUserType()
The user type, if applicable


isUDT

boolean isUDT()
Whether this data type represents a udt


isGenericNumberType

boolean isGenericNumberType()
Whether this data type is a NUMBER type without precision and scale


getDatabase

Database getDatabase()
The underlying database


getSchema

SchemaDefinition getSchema()
The underlying schema



Copyright © 2012. All Rights Reserved.