Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.1.0)

E17493-02

oracle.javatools.db.ora
Class OracleTablespaceProperties

java.lang.Object
  extended by oracle.javatools.db.AbstractDBObject
      extended by oracle.javatools.db.AbstractChildDBObject
          extended by oracle.javatools.db.ora.OracleTablespaceProperties
All Implemented Interfaces:
ChildDBObject, DBObject, Copyable, DynamicPropertySet

public class OracleTablespaceProperties
extends AbstractChildDBObject

Model of properties for an Oracle Tablespace

Since:
11.1.1.2.0

Nested Class Summary
static class OracleTablespaceProperties.DefaultTableCompression
           
static class OracleTablespaceProperties.ExtentManagementType
           
static class OracleTablespaceProperties.LoggingType
           
static class OracleTablespaceProperties.OnlineStatus
           
static class OracleTablespaceProperties.RetentionType
           
static class OracleTablespaceProperties.SegmentManagement
           
 
Nested classes/interfaces inherited from class oracle.javatools.db.AbstractDBObject
AbstractDBObject.ChildSupport, AbstractDBObject.ListenerSupport
 
Field Summary
static java.lang.String KEY
           
static java.lang.String TYPE
           
 
Fields inherited from interface oracle.javatools.db.DBObject
COMMENT
 
Constructor Summary
OracleTablespaceProperties()
           
 
Method Summary
 AutoExtendProperties getAutoExtendProperties()
          Return AUTO EXTEND properties
 java.lang.Integer getBlockSize()
          Return the value of BLOCK SIZE
 OracleTablespaceProperties.DefaultTableCompression getDefaultTableCompression()
          Return default table compression type
 OracleTablespaceProperties.ExtentManagementType getExtentManagementType()
          Return extent management type
 OracleTablespaceProperties.LoggingType getLogging()
          Return logging type
 java.lang.Integer getMinExtent()
          Return the value of MIN EXTENT
 OracleTablespaceProperties.OnlineStatus getOnlineStatus()
          Return online status
 OracleTablespaceProperties.RetentionType getRetention()
          Return RETENTION type
 OracleTablespaceProperties.SegmentManagement getSegmentManagement()
          Return segment management type
 java.lang.String getTablespaceGroup()
          Return name of TABLESPACE GROUP
 java.lang.String getType()
          Returns the type of this object.
 java.lang.Integer getUniformSize()
          Return UNIFORM size
 boolean isAutoAllocate()
          Return AUTOALLOCATE value
 boolean isForceLogging()
          Return value for FORCE LOGGING
 void setAutoAllocate(boolean autoAllocate)
          Set AUTOALLOCATE value
 void setAutoExtendProperties(AutoExtendProperties autoExtendProperties)
          Set AUTO EXTEND properties
 void setBlockSize(java.lang.Integer blockSize)
          Set BLOCK SIZE value
 void setDefaultTableCompression(OracleTablespaceProperties.DefaultTableCompression defaultTableCompression)
          Set default table compression, one of COMPRESS, COMPRESS_FOR_ALL_OPERATIONS COMPRESS_FOR_DIRECT_LOAD_OPERATIONS or NOCOMPRESS
 void setExtentManagementType(OracleTablespaceProperties.ExtentManagementType extentManagementType)
          Set extent management type, either DICTIONARY or LOCAL
 void setForceLogging(boolean forceLogging)
          Set FORCE LOGGING value
 void setLogging(OracleTablespaceProperties.LoggingType logging)
          Set logging type.
 void setMinExtent(java.lang.Integer minExtent)
          Set MIN EXTENT value
 void setOnlineStatus(OracleTablespaceProperties.OnlineStatus onlineStatus)
          Set online status, one of ONLINE, OFFLINE_NORMAL, OFFLINE_TEMPORARY, or OFFLINE_IMMEDIATE
 void setRetention(OracleTablespaceProperties.RetentionType retention)
          Set RETENTION type, either GUARANTEE or NOGUARANTEE (Only applicable for UNDO tablespaces)
 void setSegmentManagement(OracleTablespaceProperties.SegmentManagement segmentManagement)
          Set segment management type, either AUTO or MANUAL default is AUTO
 void setTablespaceGroup(java.lang.String tablespaceGroup)
          Set TABLESPACE GROUP name that tablesapce should be part of (for TEMPORARY tablespaces only)
 void setUniformSize(java.lang.Integer uniformSize)
          Set UNIFORM size
 
Methods inherited from class oracle.javatools.db.AbstractChildDBObject
copyToImpl, findParent, getParent, getProperty, setParent, setProperty
 
Methods inherited from class oracle.javatools.db.AbstractDBObject
changeParent, compareToImpl, copyObject, copyTo, copyTo, copyTo, copyTo, equals, equalsImpl, findOwnedObject, findOwnedObject, findOwnedObject, getChildSupport, getID, getName, getOwnedObjects, getOwnedObjects, getOwnedObjectsImpl, getProperties, getProperty, getReferenceIDs, getReferenceIDsImpl, 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, setProperties
 

Field Detail

TYPE

public static final java.lang.String TYPE
See Also:
Constant Field Values

KEY

public static final java.lang.String KEY
See Also:
Constant Field Values
Constructor Detail

OracleTablespaceProperties

public OracleTablespaceProperties()
Method Detail

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.

setMinExtent

public void setMinExtent(java.lang.Integer minExtent)
Set MIN EXTENT value

Parameters:
minExtent - value of minimum extent

getMinExtent

public java.lang.Integer getMinExtent()
Return the value of MIN EXTENT

Returns:
null or value of minimum extent

setBlockSize

public void setBlockSize(java.lang.Integer blockSize)
Set BLOCK SIZE value

Parameters:
blockSize - value of block size

getBlockSize

public java.lang.Integer getBlockSize()
Return the value of BLOCK SIZE

Returns:
null or value of block size

setDefaultTableCompression

public void setDefaultTableCompression(OracleTablespaceProperties.DefaultTableCompression defaultTableCompression)
Set default table compression, one of COMPRESS, COMPRESS_FOR_ALL_OPERATIONS COMPRESS_FOR_DIRECT_LOAD_OPERATIONS or NOCOMPRESS

Parameters:
defaultTableCompression - default table compression type

getDefaultTableCompression

public OracleTablespaceProperties.DefaultTableCompression getDefaultTableCompression()
Return default table compression type

Returns:
default table compression type

setOnlineStatus

public void setOnlineStatus(OracleTablespaceProperties.OnlineStatus onlineStatus)
Set online status, one of ONLINE, OFFLINE_NORMAL, OFFLINE_TEMPORARY, or OFFLINE_IMMEDIATE

Parameters:
onlineStatus - online status type

getOnlineStatus

public OracleTablespaceProperties.OnlineStatus getOnlineStatus()
Return online status

Returns:
online status type

setSegmentManagement

public void setSegmentManagement(OracleTablespaceProperties.SegmentManagement segmentManagement)
Set segment management type, either AUTO or MANUAL default is AUTO

Parameters:
segmentManagement - segment management type

getSegmentManagement

public OracleTablespaceProperties.SegmentManagement getSegmentManagement()
Return segment management type

Returns:
value of segment management type

setLogging

public void setLogging(OracleTablespaceProperties.LoggingType logging)
Set logging type. either LOGGING, NOLOGGING or FILESYSTEM_LIKE_LOGGING

Parameters:
logging - type of logging

getLogging

public OracleTablespaceProperties.LoggingType getLogging()
Return logging type

Returns:
value of logging type

setForceLogging

public void setForceLogging(boolean forceLogging)
Set FORCE LOGGING value

Parameters:
forceLogging - force logging on if true else no force logging

isForceLogging

public boolean isForceLogging()
Return value for FORCE LOGGING

Returns:
true if force logging on else false

setRetention

public void setRetention(OracleTablespaceProperties.RetentionType retention)
Set RETENTION type, either GUARANTEE or NOGUARANTEE (Only applicable for UNDO tablespaces)

Parameters:
retention - value of retention type

getRetention

public OracleTablespaceProperties.RetentionType getRetention()
Return RETENTION type

Returns:
value of retention type

setTablespaceGroup

public void setTablespaceGroup(java.lang.String tablespaceGroup)
Set TABLESPACE GROUP name that tablesapce should be part of (for TEMPORARY tablespaces only)

Parameters:
tablespaceGroup - name of tablespace group

getTablespaceGroup

public java.lang.String getTablespaceGroup()
Return name of TABLESPACE GROUP

Returns:
null or name of tablespace group

setExtentManagementType

public void setExtentManagementType(OracleTablespaceProperties.ExtentManagementType extentManagementType)
Set extent management type, either DICTIONARY or LOCAL

Parameters:
extentManagementType - value of extent management

getExtentManagementType

public OracleTablespaceProperties.ExtentManagementType getExtentManagementType()
Return extent management type

Returns:
value of extent management type

setAutoAllocate

public void setAutoAllocate(boolean autoAllocate)
Set AUTOALLOCATE value

Parameters:
autoAllocate - auto allocate on if true else off

isAutoAllocate

public boolean isAutoAllocate()
Return AUTOALLOCATE value

Returns:
true if AUTOALLOCATE on or false if off

setUniformSize

public void setUniformSize(java.lang.Integer uniformSize)
Set UNIFORM size

Parameters:
value - of uniform size

getUniformSize

public java.lang.Integer getUniformSize()
Return UNIFORM size

Returns:
value of uniform size

setAutoExtendProperties

public void setAutoExtendProperties(AutoExtendProperties autoExtendProperties)
Set AUTO EXTEND properties

Parameters:
autoExtendProperties - auto extend properties

getAutoExtendProperties

public AutoExtendProperties getAutoExtendProperties()
Return AUTO EXTEND properties

Returns:
value of auto extend properties

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.1.0)

E17493-02

Copyright © 1997, 2011, Oracle. All rights reserved.