public class Table extends Relation
| Modifier and Type | Class and Description | 
|---|---|
| static class  | Table.TableTypeDifferent types of Table supported in the API. | 
AbstractDBObject.ChildSupport, AbstractDBObject.ListenerSupport| Modifier and Type | Field and Description | 
|---|---|
| static java.lang.String | TABLE_TYPE_KEYProperty controlling the type of Table represented by this model. | 
| static java.lang.String | TYPE | 
| Constructor and Description | 
|---|
| Table()Constructs a new Table. | 
| Table(java.lang.String name,
     Schema schema)Constructs a new Table in the specified schema with the specified name. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addIndex(Index index) | 
| Index | getIndex(java.lang.String idxName) | 
| Index[] | getIndexes() | 
| java.lang.String | getType()Returns the type of this object. | 
| void | removeIndex(Index index) | 
| void | setIndexes(Index[] indexes) | 
| void | setProperty(java.lang.String key,
           java.lang.Object value)Sets the value for a property. | 
| void | setSchema(Schema schema)Sets the Schema of this object. | 
addColumn, addColumn, addConstraint, getColumn, getColumns, getConstraint, getConstraints, getOwnedObjectsImpl, removeColumn, removeConstraint, setColumns, setConstraintsgetSchemacheckInit, checkInit, copyToImpl, getProperties, getReferenceIDsImpl, needsInitialization, processPropertyChange, setIDaddObjectListener, addObjectListener, addObjectListener, changeParent, compareToImpl, copyObject, copyTo, copyTo, copyTo, copyTo, equals, equalsImpl, findOwnedObject, findOwnedObject, findOwnedObject, findOwnedObject, findParent, fireObjectUpdated, firePropertyChanged, getChildSupport, getChildSupport, getID, getName, getOwnedObjects, getOwnedObjects, getParent, getProperty, getProperty, getReferenceIDs, hashCode, includeOwnedObject, includesType, includesType, removeObjectListener, removeObjectListener, removeObjectListener, removeOwnedObject, removeThisAsParent, replaceReferenceIDs, setName, setProperties, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddObjectListener, removeObjectListeneraddObjectListener, fireObjectUpdated, removeObjectListeneraddObjectListener, copyTo, copyTo, copyTo, equals, findOwnedObject, findOwnedObject, findOwnedObject, getID, getName, getOwnedObjects, getOwnedObjects, getParent, getProperties, getProperty, getProperty, getReferenceIDs, hashCode, removeObjectListener, removeOwnedObject, replaceReferenceIDs, setID, setName, setPropertiespublic static final java.lang.String TYPE
public static final java.lang.String TABLE_TYPE_KEY
Table.TableType, 
Constant Field Valuespublic Table()
public Table(java.lang.String name,
             Schema schema)
name - a string containing the name of the tableschema - the schema containing the tablepublic java.lang.String getType()
DBObjectpublic Index[] getIndexes()
public void setIndexes(Index[] indexes)
public void addIndex(Index index)
public void removeIndex(Index index)
public Index getIndex(java.lang.String idxName)
public void setSchema(Schema schema)
SchemaObjectsetSchema in interface SchemaObjectsetSchema in class AbstractSchemaObjectschema - the Schema containing this objectpublic void setProperty(java.lang.String key,
                        java.lang.Object value)
DBObjectnull removes
 that property.setProperty in interface DBObjectsetProperty in class AbstractDBObjectkey - the property key to setvalue - the value to set