Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.7.2)

E13403-10


oracle.javatools.db.ora
Class RecycledObject

java.lang.Object
  extended by oracle.javatools.db.AbstractDBObject
      extended by oracle.javatools.db.AbstractBuildableObject
          extended by oracle.javatools.db.AbstractSystemObject
              extended by oracle.javatools.db.AbstractSchemaObject
                  extended by oracle.javatools.db.ora.RecycledObject

All Implemented Interfaces:
DBObject, SchemaObject, SystemObject, Copyable, DynamicPropertySet

public class RecycledObject
extends AbstractSchemaObject

Model of an object that has been dropped and is now in the Oracle recycle bin.


Nested Class Summary
static class RecycledObject.Operation
           

 

Nested classes/interfaces inherited from class oracle.javatools.db.AbstractDBObject
AbstractDBObject.ChildSupport

 

Field Summary
static java.lang.String TYPE
           

 

Fields inherited from class oracle.javatools.db.AbstractSystemObject
m_listeners

 

Fields inherited from interface oracle.javatools.db.DBObject
COMMENT

 

Constructor Summary
RecycledObject()
           
RecycledObject(java.lang.String name, Schema schema, DBObjectID id)
           

 

Method Summary
 boolean canPurge()
          Deprecated. use getCanPurge()
 boolean canUndrop()
          Deprecated. use getCanUndrop()
 DBObjectID getBaseObjectID()
          Gets the id of the base object.
 boolean getCanPurge()
          Gets whether the database can purge the recycled object.
 boolean getCanUndrop()
          Gets whether the database can undrop the recycled object.
 java.lang.String getCreateTime()
          Gets the time that the object was created.
 java.lang.Long getDropSCN()
          Gets the system change number (SCN) of the transaction which moved the object to the recycle bin
 java.lang.String getDropTime()
          Gets the time that the object was dropped.
 RecycledObject.Operation getOperation()
          Gets the operation that dropped the object.
 java.lang.String getOriginalName()
          Gets the name of the original object that has been dropped.
 java.lang.String getOriginalType()
          Gets the type of the original object that has been dropped.
 java.lang.String getPartitionName()
          Gets the name of the partition which was dropped
 DBObjectID getPurgeObjectID()
          Gets the id of the object which will get purged.
 DBObjectID getRelatedObjectID()
          Gets the id of the parent object.
 int getSpace()
          Gets how much space (in blocks) the object uses.
 java.lang.String getTablespaceName()
          Gets the name of the tablespace to which the object belongs.
 java.lang.String getType()
          Returns the type of this object.
 void setBaseObjectID(DBObjectID baseObjectID)
          Sets the id of the base object.
 void setCanPurge(boolean canPurge)
          Sets whether the database can purge the recycled object.
 void setCanUndrop(boolean canUndrop)
          Sets whether the database can undrop the recycled object.
 void setCreateTime(java.lang.String createTime)
          Sets the time that the object was created.
 void setDropSCN(java.lang.Long dropSCN)
          Sets the system change number (SCN) of the transaction which moved the object to the recycle bin
 void setDropTime(java.lang.String dropTime)
          Sets the time that the object was dropped.
 void setOperation(RecycledObject.Operation operation)
          Sets the operation that dropped the object.
 void setOriginalName(java.lang.String originalName)
          Sets the name of the original object that has been dropped.
 void setOriginalType(java.lang.String originalType)
          Sets the type of the original object that has been dropped.
 void setPartitionName(java.lang.String partitionName)
          Sets the name of the partition which was dropped
 void setPurgeObjectID(DBObjectID purgeObjectID)
          Sets the id of the object which will get purged.
 void setRelatedObjectID(DBObjectID relatedObjectID)
          Sets the id of the parent object.
 void setSpace(int space)
          Sets how much space (in blocks) the object uses.
 void setTablespaceName(java.lang.String tablespaceName)
          Sets the name of the tablespace to which the object belongs.

 

Methods inherited from class oracle.javatools.db.AbstractSchemaObject
addObjectListener, copyToImpl, equalsImpl, getProperty, getSchema, removeObjectListener, setProperty, setSchema

 

Methods inherited from class oracle.javatools.db.AbstractSystemObject
addObjectListener, fireObjectUpdated, getParent, removeObjectListener

 

Methods inherited from class oracle.javatools.db.AbstractBuildableObject
checkInit, checkInit, getOwnedObjectsImpl, getProperties, getReferenceIDsImpl, needsInitialization

 

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.SystemObject
addObjectListener, fireObjectUpdated, removeObjectListener

 

Methods inherited from interface oracle.javatools.db.DBObject
copyTo, copyTo, copyTo, findOwnedObject, findOwnedObject, getID, getName, getOwnedObjects, getOwnedObjects, getParent, 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

Constructor Detail

RecycledObject

public RecycledObject()

RecycledObject

public RecycledObject(java.lang.String name,
                      Schema schema,
                      DBObjectID id)

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.

getOriginalName

public java.lang.String getOriginalName()
Gets the name of the original object that has been dropped.

setOriginalName

public void setOriginalName(java.lang.String originalName)
Sets the name of the original object that has been dropped.

getOriginalType

public java.lang.String getOriginalType()
Gets the type of the original object that has been dropped.

setOriginalType

public void setOriginalType(java.lang.String originalType)
Sets the type of the original object that has been dropped.

getOperation

public RecycledObject.Operation getOperation()
Gets the operation that dropped the object.

setOperation

public void setOperation(RecycledObject.Operation operation)
Sets the operation that dropped the object.

getTablespaceName

public java.lang.String getTablespaceName()
Gets the name of the tablespace to which the object belongs.

setTablespaceName

public void setTablespaceName(java.lang.String tablespaceName)
Sets the name of the tablespace to which the object belongs.

getCreateTime

public java.lang.String getCreateTime()
Gets the time that the object was created.

setCreateTime

public void setCreateTime(java.lang.String createTime)
Sets the time that the object was created.

getPartitionName

public java.lang.String getPartitionName()
Gets the name of the partition which was dropped

setPartitionName

public void setPartitionName(java.lang.String partitionName)
Sets the name of the partition which was dropped

getDropTime

public java.lang.String getDropTime()
Gets the time that the object was dropped.

setDropTime

public void setDropTime(java.lang.String dropTime)
Sets the time that the object was dropped.

canUndrop

@Deprecated
public boolean canUndrop()
Deprecated. use getCanUndrop()

getCanUndrop

public boolean getCanUndrop()
Gets whether the database can undrop the recycled object.

setCanUndrop

public void setCanUndrop(boolean canUndrop)
Sets whether the database can undrop the recycled object.

canPurge

@Deprecated
public boolean canPurge()
Deprecated. use getCanPurge()

getCanPurge

public boolean getCanPurge()
Gets whether the database can purge the recycled object.

setCanPurge

public void setCanPurge(boolean canPurge)
Sets whether the database can purge the recycled object.

getSpace

public int getSpace()
Gets how much space (in blocks) the object uses.

setSpace

public void setSpace(int space)
Sets how much space (in blocks) the object uses.

getDropSCN

public java.lang.Long getDropSCN()
Gets the system change number (SCN) of the transaction which moved the object to the recycle bin

setDropSCN

public void setDropSCN(java.lang.Long dropSCN)
Sets the system change number (SCN) of the transaction which moved the object to the recycle bin

getPurgeObjectID

public DBObjectID getPurgeObjectID()
Gets the id of the object which will get purged.

setPurgeObjectID

public void setPurgeObjectID(DBObjectID purgeObjectID)
Sets the id of the object which will get purged.

getBaseObjectID

public DBObjectID getBaseObjectID()
Gets the id of the base object.

setBaseObjectID

public void setBaseObjectID(DBObjectID baseObjectID)
Sets the id of the base object.

getRelatedObjectID

public DBObjectID getRelatedObjectID()
Gets the id of the parent object.

setRelatedObjectID

public void setRelatedObjectID(DBObjectID relatedObjectID)
Sets the id of the parent object.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.7.2)

E13403-10


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