org.eclipse.net4j.db.ddl
Interface IDBField

All Superinterfaces:
IDBSchemaElement

public interface IDBField
extends IDBSchemaElement

A field (column) specification in a DB table.

No Implement
This interface is not intended to be implemented by clients.
No Extend
This interface is not intended to be extended by clients.

Field Summary
static int DEFAULT
           
 
Method Summary
 String formatPrecision()
           
 String formatPrecisionAndScale()
           
 String getFullName()
           
 int getPosition()
           
 int getPrecision()
           
 int getScale()
           
 IDBTable getTable()
           
 DBType getType()
           
 boolean isNotNull()
           
 void setName(String name)
           
 void setNotNull(boolean on)
           
 void setPrecision(int precision)
           
 void setScale(int scale)
           
 void setType(DBType type)
           
 
Methods inherited from interface org.eclipse.net4j.db.ddl.IDBSchemaElement
getName, getProperties, getSchema
 

Field Detail

DEFAULT

static final int DEFAULT
See Also:
Constant Field Values
Method Detail

getTable

IDBTable getTable()

setName

void setName(String name)

getType

DBType getType()

setType

void setType(DBType type)

getPrecision

int getPrecision()

setPrecision

void setPrecision(int precision)

getScale

int getScale()

setScale

void setScale(int scale)

isNotNull

boolean isNotNull()

setNotNull

void setNotNull(boolean on)

getPosition

int getPosition()

getFullName

String getFullName()
Specified by:
getFullName in interface IDBSchemaElement

formatPrecision

String formatPrecision()

formatPrecisionAndScale

String formatPrecisionAndScale()


Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.