public interface IDBTable extends IDBSchemaElement
DB schema
.IDBSchemaElement.SchemaElementType
IContainer.Modifiable<E>, IContainer.Persistable<E>, IContainer.Persistence<E>
Modifier and Type | Method and Description |
---|---|
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) |
IDBIndex |
addIndex(IDBIndex.Type type,
java.lang.String... fieldNames) |
IDBIndex |
addIndex(java.lang.String name,
IDBIndex.Type type,
IDBField... fields) |
IDBIndex |
addIndex(java.lang.String name,
IDBIndex.Type type,
java.lang.String... fieldNames) |
IDBIndex |
addIndexEmpty(IDBIndex.Type type) |
IDBIndex |
addIndexEmpty(java.lang.String name,
IDBIndex.Type type) |
IDBField |
getField(int position) |
IDBField |
getField(java.lang.String name) |
int |
getFieldCount() |
IDBField[] |
getFields() |
IDBField[] |
getFields(java.lang.String... fieldNames) |
IDBField |
getFieldSafe(java.lang.String name) |
IDBIndex |
getIndex(int position) |
IDBIndex |
getIndex(java.lang.String name) |
int |
getIndexCount() |
IDBIndex |
getIndexSafe(java.lang.String name) |
IDBIndex[] |
getIndices() |
IDBSchema |
getParent() |
IDBIndex |
getPrimaryKeyIndex() |
boolean |
hasIndexFor(IDBField... fields) |
java.lang.String |
sqlInsert() |
accept, getElement, getFullName, getSchema, getSchemaElementType, remove, setName
getName
getProperties
addListener, getListeners, hasListeners, removeListener
getElements, isEmpty
IDBSchema getParent()
getParent
in interface IDBSchemaElement
IDBField addField(java.lang.String name, DBType type, int precision, int scale, boolean notNull)
IDBField getFieldSafe(java.lang.String name) throws SchemaElementNotFoundException
SchemaElementNotFoundException
IDBField getField(java.lang.String name)
IDBField getField(int position)
int getFieldCount()
IDBField[] getFields()
IDBField[] getFields(java.lang.String... fieldNames) throws SchemaElementNotFoundException
SchemaElementNotFoundException
boolean hasIndexFor(IDBField... fields)
IDBIndex addIndex(java.lang.String name, IDBIndex.Type type, IDBField... fields)
IDBIndex addIndex(java.lang.String name, IDBIndex.Type type, java.lang.String... fieldNames) throws SchemaElementNotFoundException
SchemaElementNotFoundException
IDBIndex addIndexEmpty(java.lang.String name, IDBIndex.Type type)
IDBIndex addIndex(IDBIndex.Type type, IDBField... fields)
IDBIndex addIndex(IDBIndex.Type type, java.lang.String... fieldNames) throws SchemaElementNotFoundException
SchemaElementNotFoundException
IDBIndex addIndexEmpty(IDBIndex.Type type)
IDBIndex getIndexSafe(java.lang.String name) throws SchemaElementNotFoundException
SchemaElementNotFoundException
IDBIndex getIndex(java.lang.String name)
IDBIndex getIndex(int position)
int getIndexCount()
IDBIndex[] getIndices()
IDBIndex getPrimaryKeyIndex()
java.lang.String sqlInsert()
Copyright (c) 2004-2019 Eike Stepper (Loehne, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html