Package org.eclipse.net4j.db.ddl
Interface IDBTable
- 
- All Superinterfaces:
- java.lang.Comparable<IDBSchemaElement>,- org.eclipse.net4j.util.container.IContainer<IDBSchemaElement>,- IDBElement,- IDBNamedElement,- IDBSchemaElement,- org.eclipse.net4j.util.event.INotifier
 - All Known Subinterfaces:
- InternalDBTable
 
 public interface IDBTable extends IDBSchemaElement A table specification in aDB schema.- Author:
- Eike Stepper
- No Implement
- This interface is not intended to be implemented by clients.
- No Extend
- This interface is not intended to be extended by clients.
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.container.IContainerorg.eclipse.net4j.util.container.IContainer.Modifiable<E extends java.lang.Object>, org.eclipse.net4j.util.container.IContainer.Persistable<E extends java.lang.Object>, org.eclipse.net4j.util.container.IContainer.Persistence<E extends java.lang.Object>
 - 
Nested classes/interfaces inherited from interface org.eclipse.net4j.db.ddl.IDBSchemaElementIDBSchemaElement.SchemaElementType
 
- 
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description IDBFieldaddField(java.lang.String name, DBType type)IDBFieldaddField(java.lang.String name, DBType type, boolean notNull)IDBFieldaddField(java.lang.String name, DBType type, int precision)IDBFieldaddField(java.lang.String name, DBType type, int precision, boolean notNull)IDBFieldaddField(java.lang.String name, DBType type, int precision, int scale)IDBFieldaddField(java.lang.String name, DBType type, int precision, int scale, boolean notNull)IDBIndexaddIndex(java.lang.String name, IDBIndex.Type type, java.lang.String... fieldNames)IDBIndexaddIndex(java.lang.String name, IDBIndex.Type type, IDBField... fields)IDBIndexaddIndex(IDBIndex.Type type, java.lang.String... fieldNames)IDBIndexaddIndex(IDBIndex.Type type, IDBField... fields)IDBIndexaddIndexEmpty(java.lang.String name, IDBIndex.Type type)IDBIndexaddIndexEmpty(IDBIndex.Type type)IDBFieldgetField(int position)IDBFieldgetField(java.lang.String name)intgetFieldCount()IDBField[]getFields()IDBField[]getFields(java.lang.String... fieldNames)IDBFieldgetFieldSafe(java.lang.String name)IDBIndexgetIndex(int position)IDBIndexgetIndex(java.lang.String name)intgetIndexCount()IDBIndexgetIndexSafe(java.lang.String name)IDBIndex[]getIndices()IDBSchemagetParent()IDBIndexgetPrimaryKeyIndex()booleanhasIndexFor(IDBField... fields)java.lang.StringsqlInsert()- 
Methods inherited from interface org.eclipse.net4j.db.ddl.IDBElementgetProperties
 - 
Methods inherited from interface org.eclipse.net4j.db.ddl.IDBNamedElementgetName
 - 
Methods inherited from interface org.eclipse.net4j.db.ddl.IDBSchemaElementaccept, getElement, getFullName, getSchema, getSchemaElementType, remove, setName
 
- 
 
- 
- 
- 
Method Detail- 
getParentIDBSchema getParent() - Specified by:
- getParentin interface- IDBSchemaElement
- Since:
- 4.2
 
 - 
addFieldIDBField addField(java.lang.String name, DBType type, int precision, int scale, boolean notNull) 
 - 
getFieldSafeIDBField getFieldSafe(java.lang.String name) throws SchemaElementNotFoundException - Throws:
- SchemaElementNotFoundException
- Since:
- 4.2
 
 - 
getFieldIDBField getField(java.lang.String name) 
 - 
getFieldIDBField getField(int position) 
 - 
getFieldCountint getFieldCount() 
 - 
getFieldsIDBField[] getFields() 
 - 
getFieldsIDBField[] getFields(java.lang.String... fieldNames) throws SchemaElementNotFoundException - Throws:
- SchemaElementNotFoundException
- Since:
- 4.2
 
 - 
hasIndexForboolean hasIndexFor(IDBField... fields) - Since:
- 4.5
 
 - 
addIndexIDBIndex addIndex(java.lang.String name, IDBIndex.Type type, IDBField... fields) - Since:
- 4.2
 
 - 
addIndexIDBIndex addIndex(java.lang.String name, IDBIndex.Type type, java.lang.String... fieldNames) throws SchemaElementNotFoundException - Throws:
- SchemaElementNotFoundException
- Since:
- 4.2
 
 - 
addIndexEmptyIDBIndex addIndexEmpty(java.lang.String name, IDBIndex.Type type) - Since:
- 4.2
 
 - 
addIndexIDBIndex addIndex(IDBIndex.Type type, IDBField... fields) 
 - 
addIndexIDBIndex addIndex(IDBIndex.Type type, java.lang.String... fieldNames) throws SchemaElementNotFoundException - Throws:
- SchemaElementNotFoundException
- Since:
- 4.2
 
 - 
addIndexEmptyIDBIndex addIndexEmpty(IDBIndex.Type type) - Since:
- 4.2
 
 - 
getIndexSafeIDBIndex getIndexSafe(java.lang.String name) throws SchemaElementNotFoundException - Throws:
- SchemaElementNotFoundException
- Since:
- 4.2
 
 - 
getIndexIDBIndex getIndex(java.lang.String name) - Since:
- 4.2
 
 - 
getIndexIDBIndex getIndex(int position) - Since:
- 4.2
 
 - 
getIndexCountint getIndexCount() 
 - 
getIndicesIDBIndex[] getIndices() 
 - 
getPrimaryKeyIndexIDBIndex getPrimaryKeyIndex() 
 - 
sqlInsertjava.lang.String sqlInsert() 
 
- 
 
-