|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1) E13403-04 |
|||||||||
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.Tablespace
public class Tablespace
Model of a database schema.
Nested Class Summary | |
---|---|
static class |
Tablespace.FileType
|
static class |
Tablespace.TablespaceType
Different types of Tablespace supported in the API. |
Nested classes/interfaces inherited from class oracle.javatools.db.AbstractDBObject |
---|
AbstractDBObject.ChildSupport |
Field Summary | |
---|---|
static java.lang.String |
TABLESPACE_TYPE_KEY
Property controlling the type of Tablespace represented by this model. |
static java.lang.String |
TYPE
|
Fields inherited from interface oracle.javatools.db.DBObject |
---|
COMMENT |
Constructor Summary | |
---|---|
Tablespace()
|
|
Tablespace(java.lang.String name)
|
Method Summary | |
---|---|
void |
addFileSpecification(FileSpecification fileSpec)
Adds one data/temp file to this tablespace. |
void |
addFileSpecification(int index,
FileSpecification col)
Adds one data/temp file to this tablespace at the given index. |
DBObject |
copyTo(DBObject target,
DBObject copyParent,
IDPolicy idPolicy)
Internal copy method used by the API to perform copy operations. |
protected void |
copyToImpl(Tablespace copy,
DBObject copyParent,
IDPolicy idPolicy)
|
boolean |
equals(java.lang.Object obj)
|
protected boolean |
equalsImpl(Tablespace target)
|
FileSpecification |
getFileSpecification(java.lang.String name)
Retrieves one data/temp file by name. |
FileSpecification[] |
getFileSpecifications()
Retrieves the list of data/temp files contained in this tablespace. |
Tablespace.FileType |
getFileType()
|
DBObject |
getParent()
Returns the parent of this object, if one exists. |
java.lang.String |
getType()
Returns the type of this object. |
void |
removeFileSpecification(FileSpecification fileSpec)
Removes a data/temp file from this tablespace. |
void |
setFileSpecifications(FileSpecification[] newFiles)
Sets the entire list of data/temp files, replacing any that have previously been added. |
void |
setFileType(Tablespace.FileType fileType)
|
Methods inherited from class oracle.javatools.db.AbstractBuildableObject |
---|
addObjectListener, checkInit, checkInit, checkInitEx, copyToImpl, equalsImpl, fireObjectUpdated, getOwnedObjectsImpl, 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.DBObject |
---|
copyTo, copyTo, copyTo, findOwnedObject, findOwnedObject, getID, getName, getOwnedObjects, getOwnedObjects, getReferenceIDs, replaceReferenceIDs, setID, setName |
Field Detail |
---|
public static final java.lang.String TYPE
public static final java.lang.String TABLESPACE_TYPE_KEY
Tablespace.TablespaceType
,
Constant Field ValuesConstructor Detail |
---|
public Tablespace()
public Tablespace(java.lang.String name)
Method 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)
protected void copyToImpl(Tablespace copy, DBObject copyParent, IDPolicy idPolicy)
public java.lang.String getType()
DBObject
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
protected boolean equalsImpl(Tablespace target)
public DBObject getParent()
DBObject
public void setFileType(Tablespace.FileType fileType)
public Tablespace.FileType getFileType()
public void setFileSpecifications(FileSpecification[] newFiles)
newFiles
- an array containing the new list of columnspublic FileSpecification[] getFileSpecifications()
public void addFileSpecification(FileSpecification fileSpec)
fileSpec
- the new data/temp file to addpublic void addFileSpecification(int index, FileSpecification col)
index
- the index to add the new data/temp file atcol
- the new data/temp file to addpublic FileSpecification getFileSpecification(java.lang.String name)
name
- a string containing the desired data/temp file
null
public void removeFileSpecification(FileSpecification fileSpec)
fileSpec
- the column to remove
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1) E13403-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |