Skip navigation links 
 
oracle.javatools.db
Class Tablespace
java.lang.Object
  
oracle.javatools.db.AbstractDBObject
      
oracle.javatools.db.AbstractBuildableObject
          
oracle.javatools.db.AbstractSystemObject
              
oracle.javatools.db.Tablespace
- All Implemented Interfaces:
 
- DBObject, SystemObject, Copyable, DynamicPropertySet
 
- 
public class Tablespace
 
- extends AbstractSystemObject
 
Model of a tablespace in a database.
- Since:
 
- 11.1.1.2.0
 
 
 
  
 
| Field Summary | 
static java.lang.String | 
TABLESPACE_TYPE_KEY 
          Property controlling the type of Tablespace represented by this model. | 
static java.lang.String | 
TYPE 
            | 
 
 
  
 
  
 
 
 
 
| 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 | 
 
 
 
TYPE
public static final java.lang.String TYPE
- 
- See Also:
 
- Constant Field Values
 
 
TABLESPACE_TYPE_KEY
public static final java.lang.String TABLESPACE_TYPE_KEY
- Property controlling the type of Tablespace represented by this model.
- See Also:
 
Tablespace.TablespaceType, Constant Field Values 
 
Tablespace
public Tablespace()
Tablespace
public Tablespace(java.lang.String name)
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.
 
 
setFileType
public void setFileType(Tablespace.FileType fileType)
getFileType
public Tablespace.FileType getFileType()
setFileSpecifications
public void setFileSpecifications(FileSpecification[] newFiles)
- Sets the entire list of data/temp files, replacing any that have previously been added.
 
- 
- Parameters:
 
newFiles - an array containing the new list of columns 
 
getFileSpecifications
public FileSpecification[] getFileSpecifications()
- Retrieves the list of data/temp files contained in this tablespace.
 
- 
- Returns:
 
- an array containing the list of data/temp files
 
 
addFileSpecification
public void addFileSpecification(FileSpecification fileSpec)
- Adds one data/temp file to this tablespace.
 
- 
- Parameters:
 
fileSpec - the new data/temp file to add 
 
addFileSpecification
public void addFileSpecification(int index,
                                 FileSpecification col)
- Adds one data/temp file to this tablespace at the given index. Shift the FileSpecification at that position (and any subsesquent FileSpecifications) down one place.
 
- 
- Parameters:
 
index - the index to add the new data/temp file at 
col - the new data/temp file to add 
 
getFileSpecification
public FileSpecification getFileSpecification(java.lang.String name)
- Retrieves one data/temp file by name.
 
- 
- Parameters:
 
name - a string containing the desired data/temp file 
- Returns:
 
- The data/temp file requested or 
null 
 
removeFileSpecification
public void removeFileSpecification(FileSpecification fileSpec)
- Removes a data/temp file from this tablespace.
 
- 
- Parameters:
 
fileSpec - the column to remove 
 
Skip navigation links 
 
Copyright © 1997, 2016, Oracle. All rights reserved.