| 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.1.0) E17493-02  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.javatools.db.AbstractDBObject
oracle.javatools.db.AbstractBuildableObject
oracle.javatools.db.AbstractSystemObject
oracle.javatools.db.Tablespace
public class Tablespace
Model of a Tablespace in a database.
| 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, AbstractDBObject.ListenerSupport | 
| 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.  | 
 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()
 | 
 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)
Set the file type, either BIGFILE for a tablespace with a single data file or SMALLFILE for a tablespace that can have one or more file specifications associated  | 
| Methods inherited from class oracle.javatools.db.AbstractSystemObject | 
|---|
addObjectListener, addObjectListener, addObjectListener, fireObjectUpdated, getParent, removeObjectListener, removeObjectListener, removeObjectListener | 
| Methods inherited from class oracle.javatools.db.AbstractBuildableObject | 
|---|
checkInit, checkInit, copyToImpl, equalsImpl, getOwnedObjectsImpl, getProperties, getProperty, getReferenceIDsImpl, needsInitialization, setProperty | 
| 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, 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 TABLESPACE_TYPE_KEY
Tablespace.TablespaceType, 
Constant Field Values| Constructor Detail | 
|---|
public Tablespace()
public Tablespace(java.lang.String name)
| Method Detail | 
|---|
public java.lang.String getType()
DBObject
public void setFileType(Tablespace.FileType fileType)
fileType - file type of tablespacepublic 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 add
public 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
nullpublic void removeFileSpecification(FileSpecification fileSpec)
fileSpec - the column to remove
  | 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.1.0) E17493-02  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||