oracle.javatools.db
Class Table
java.lang.Object
   oracle.javatools.db.AbstractDBObject
oracle.javatools.db.AbstractDBObject
       oracle.javatools.db.AbstractBuildableObject
oracle.javatools.db.AbstractBuildableObject
           oracle.javatools.db.AbstractSystemObject
oracle.javatools.db.AbstractSystemObject
               oracle.javatools.db.AbstractSchemaObject
oracle.javatools.db.AbstractSchemaObject
                   oracle.javatools.db.Relation
oracle.javatools.db.Relation
                       oracle.javatools.db.Table
oracle.javatools.db.Table
- All Implemented Interfaces: 
- DBObject, SchemaObject, SystemObject, Copyable, DynamicPropertySet
- Direct Known Subclasses: 
- MaterializedView
- public class Table 
- extends Relation
Model of a database table.
 
| Nested Class Summary | 
| static class | Table.TableTypeDifferent types of Table supported in the API.
 | 
 
 
| Field Summary | 
| static java.lang.String | TABLE_TYPE_KEYProperty controlling the type of Table represented by this model.
 | 
| static java.lang.String | TYPE
 | 
 
 
 
| Constructor Summary | 
| Table()Constructs a new Table.
 | 
| Table(java.lang.String name,
      Schema schema)Constructs a new Table in the specified schema with the specified name.
 | 
 
 
| Methods inherited from class oracle.javatools.db.Relation | 
| addColumn, addColumn, addConstraint, getColumn, getColumns, getConstraint, getConstraints, getOwnedObjectsImpl, removeColumn, removeConstraint, setColumns, setConstraints | 
 
 
 
 
| Methods inherited from class oracle.javatools.db.AbstractDBObject | 
| changeParent, compareToImpl, copyObject, copyTo, copyTo, copyTo, copyTo, equals, findOwnedObject, findOwnedObject, findOwnedObject, getChildSupport, getID, getName, getOwnedObjects, getOwnedObjects, getProperty, getReferenceIDs, hashCode, includeOwnedObject, includesType, includesType, removeThisAsParent, replaceReferenceIDs, setID, setName, setProperties, toString | 
 
| Methods inherited from class java.lang.Object | 
| clone, finalize, getClass, notify, notifyAll, wait, wait, wait | 
 
 
| Methods inherited from interface oracle.javatools.db.DBObject | 
| copyTo, copyTo, copyTo, findOwnedObject, findOwnedObject, getID, getName, getOwnedObjects, getOwnedObjects, getParent, getReferenceIDs, replaceReferenceIDs, setID, setName | 
 
 
TYPE
public static final java.lang.String TYPE
- See Also:
- Constant Field Values
TABLE_TYPE_KEY
public static final java.lang.String TABLE_TYPE_KEY
- Property controlling the type of Table represented by this model.
 
- See Also:
- Table.TableType, 
Constant Field Values
 
Table
public Table()
- Constructs a new Table.
 
Table
public Table(java.lang.String name,
             Schema schema)
- Constructs a new Table in the specified schema with the specified name.
 
- Parameters:
- name- a string containing the name of the table
- schema- the schema containing the table
 
getType
public java.lang.String getType()
- Description copied from interface: DBObject
- Returns the type of this object. Valid types include things like
 tables, views, synonyms, and columns.
 
- 
- Returns:
- a string describing the type of object.
 
getIndexes
public Index[] getIndexes()
- 
 
setIndexes
public void setIndexes(Index[] indexes)
- 
 
addIndex
public void addIndex(Index index)
- 
 
removeIndex
public void removeIndex(Index index)
- 
 
getIndex
public Index getIndex(java.lang.String idxName)
- 
 
setSchema
public void setSchema(Schema schema)
- Description copied from interface: SchemaObject
- Sets the Schema of this object.
 
- 
- Specified by:
- setSchemain interface- SchemaObject
- Overrides:
- setSchemain class- AbstractSchemaObject
 
- 
- Parameters:
- schema- the Schema containing this object
 
Copyright © 1997, 2011, Oracle. All rights reserved.