|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1) E13403-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.javatools.db.AbstractDBObject oracle.javatools.db.AbstractBuildableObject oracle.javatools.db.AbstractSchemaObject oracle.javatools.db.Relation oracle.javatools.db.Table
public class Table
Model of a database table.
Nested Class Summary | |
---|---|
static class |
Table.TableType
Different types of Table supported in the API. |
Nested classes/interfaces inherited from class oracle.javatools.db.AbstractDBObject |
---|
AbstractDBObject.ChildSupport |
Field Summary | |
---|---|
static java.lang.String |
TABLE_TYPE_KEY
Property controlling the type of Table represented by this model. |
static java.lang.String |
TYPE
|
Fields inherited from interface oracle.javatools.db.DBObject |
---|
COMMENT |
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. |
Method Summary | |
---|---|
void |
addIndex(Index index)
|
DBObject |
copyTo(DBObject target,
DBObject copyParent,
IDPolicy idPolicy)
Internal copy method used by the API to perform copy operations. |
boolean |
equals(java.lang.Object target)
|
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 |
setSchema(Schema schema)
Sets the Schema of this object. |
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.AbstractSchemaObject |
---|
addObjectListener, copyToImpl, equalsImpl, getParent, getSchema, removeObjectListener |
Methods inherited from class oracle.javatools.db.AbstractBuildableObject |
---|
addObjectListener, checkInit, checkInit, checkInitEx, copyToImpl, equalsImpl, fireObjectUpdated, getProperties, getProperty, getProperty, getReferenceIDsImpl, needsInitialization, removeObjectListener, setProperties, setProperty |
Methods inherited from class oracle.javatools.db.AbstractDBObject |
---|
changeParent, compareToImpl, copyObject, copyTo, copyTo, copyTo, copyToImpl, equalsImpl, findOwnedObject, findOwnedObject, findOwnedObject, getChildSupport, getID, getName, getOwnedObjects, getOwnedObjects, getReferenceIDs, hashCode, includeOwnedObject, includesType, includesType, removeThisAsParent, replaceReferenceIDs, setID, setName, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface oracle.javatools.db.SystemObject |
---|
addObjectListener, fireObjectUpdated, removeObjectListener |
Methods inherited from interface oracle.javatools.db.DBObject |
---|
copyTo, copyTo, copyTo, findOwnedObject, findOwnedObject, getID, getName, getOwnedObjects, getOwnedObjects, getReferenceIDs, replaceReferenceIDs, setID, setName |
Methods inherited from interface oracle.javatools.util.DynamicPropertySet |
---|
getProperties, getProperty, getProperty, setProperties, setProperty |
Field Detail |
---|
public static final java.lang.String TYPE
public static final java.lang.String TABLE_TYPE_KEY
Table.TableType
,
Constant Field ValuesConstructor Detail |
---|
public Table()
public Table(java.lang.String name, Schema schema)
name
- a string containing the name of the tableschema
- the schema containing the tableMethod Detail |
---|
public DBObject copyTo(DBObject target, DBObject copyParent, IDPolicy idPolicy)
AbstractDBObject
This method does not fix internal reference ids on copy. That is done by
the calling DBObject.copyTo(DBObject, IDPolicy)
method.
copyTo
in class AbstractDBObject
DBObject.copyTo(java.lang.Object)
,
DBObject.copyTo(DBObject, boolean)
,
AbstractDBObject.copyToImpl(oracle.javatools.db.AbstractDBObject, oracle.javatools.db.DBObject, oracle.javatools.db.IDPolicy)
public boolean equals(java.lang.Object target)
equals
in class java.lang.Object
public java.lang.String getType()
DBObject
public 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)
SchemaObject
setSchema
in interface SchemaObject
setSchema
in class AbstractSchemaObject
schema
- the Schema containing this object
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1) E13403-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |