org.eclipse.net4j.db.ddl
Interface IDBTable
- All Superinterfaces:
- IDBSchemaElement
public interface IDBTable
- extends IDBSchemaElement
Method Summary |
IDBField |
addField(java.lang.String name,
DBType type)
|
IDBField |
addField(java.lang.String name,
DBType type,
boolean notNull)
|
IDBField |
addField(java.lang.String name,
DBType type,
int precision)
|
IDBField |
addField(java.lang.String name,
DBType type,
int precision,
boolean notNull)
|
IDBField |
addField(java.lang.String name,
DBType type,
int precision,
int scale)
|
IDBField |
addField(java.lang.String name,
DBType type,
int precision,
int scale,
boolean notNull)
|
IDBIndex |
addIndex(IDBIndex.Type type,
IDBField... fields)
|
IDBField |
getField(int index)
|
IDBField |
getField(java.lang.String name)
|
int |
getFieldCount()
|
IDBField[] |
getFields()
|
int |
getIndexCount()
|
IDBIndex[] |
getIndices()
|
IDBIndex |
getPrimaryKeyIndex()
|
java.lang.String |
sqlInsert()
|
addField
IDBField addField(java.lang.String name,
DBType type)
addField
IDBField addField(java.lang.String name,
DBType type,
boolean notNull)
addField
IDBField addField(java.lang.String name,
DBType type,
int precision)
addField
IDBField addField(java.lang.String name,
DBType type,
int precision,
boolean notNull)
addField
IDBField addField(java.lang.String name,
DBType type,
int precision,
int scale)
addField
IDBField addField(java.lang.String name,
DBType type,
int precision,
int scale,
boolean notNull)
getField
IDBField getField(java.lang.String name)
getField
IDBField getField(int index)
getFieldCount
int getFieldCount()
getFields
IDBField[] getFields()
addIndex
IDBIndex addIndex(IDBIndex.Type type,
IDBField... fields)
getIndexCount
int getIndexCount()
getIndices
IDBIndex[] getIndices()
getPrimaryKeyIndex
IDBIndex getPrimaryKeyIndex()
sqlInsert
java.lang.String sqlInsert()