Skip navigation links

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

E17493-04


oracle.javatools.db.plsql
Class DBObjectPlSqlFragment

java.lang.Object
  extended by oracle.javatools.db.AbstractDBObject
      extended by oracle.javatools.db.AbstractBuildableObject
          extended by oracle.javatools.db.plsql.DBObjectPlSqlFragment

All Implemented Interfaces:
ChildDBObject, DBObject, Copyable, DynamicPropertySet
Direct Known Subclasses:
PlSqlBlock, PlSqlDatatype, PlSqlParameter, PlSqlReference, PlSqlVariable

public abstract class DBObjectPlSqlFragment
extends AbstractBuildableObject
implements ChildDBObject

Top-most PL/SQL specific superclass of all PL/SQL DBObject classes in this package. A DBObjectPlSqlFragment represents anything from a complete schema object such as a Procedure,Function or Package; a PlSqlBlock, PlSqlVariable or PlSqlParameter right down to a PlSqlReference (which is just a reference to some other object from within PL/SQL).


Nested Class Summary

 

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

 

Field Summary

 

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

 

Constructor Summary
DBObjectPlSqlFragment()
           
DBObjectPlSqlFragment(java.lang.String name, DBObject parent)
           

 

Method Summary
protected  void clearSourceID()
           
protected  void copyToImpl(AbstractDBObject copy, DBObject copyParent, IDPolicy idPolicy)
          Implementation method for making a copy of this object.
 DBObjectPlSqlFragment getChildAtOffset(int offset)
          Find a child DBObjectPlSqlFragment at the given offset in the source of the parent SourceObject.
 java.lang.Integer getEndOffset()
          Get method for the EndOffset property
 DBObject getParent()
          Returns the parent of this object, if one exists.
 java.lang.String getSourceID()
           
 java.lang.Integer getStartOffset()
          Get method for the StartOffset property
 void setEndOffset(java.lang.Integer end)
          Set method for the EndOffset property
 void setParent(DBObject parent)
          Sets the parent of this object.
 void setStartOffset(java.lang.Integer start)
          Set method for the StartOffset property

 

Methods inherited from class oracle.javatools.db.AbstractBuildableObject
checkInit, checkInit, 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, getType, replaceReferenceIDs, setID, setName

 

Methods inherited from interface oracle.javatools.util.DynamicPropertySet
getProperties, getProperty, getProperty, setProperties, setProperty

 

Constructor Detail

DBObjectPlSqlFragment

public DBObjectPlSqlFragment()

DBObjectPlSqlFragment

public DBObjectPlSqlFragment(java.lang.String name,
                             DBObject parent)

Method Detail

getParent

public final DBObject getParent()
Description copied from interface: ChildDBObject
Returns the parent of this object, if one exists. This does not return the Schema for a SchemaObject. Schema's are not considered part of the ownership parent tree.
Specified by:
getParent in interface ChildDBObject
Specified by:
getParent in interface DBObject

setParent

public final void setParent(DBObject parent)
Description copied from interface: ChildDBObject
Sets the parent of this object.
Specified by:
setParent in interface ChildDBObject

getStartOffset

public java.lang.Integer getStartOffset()
Get method for the StartOffset property
Returns:
the start offset of this DBObjectPlSqlFragment within the source of the parent SourceObject.
Since:
11.1.2.0.0

setStartOffset

public void setStartOffset(java.lang.Integer start)
Set method for the StartOffset property
Parameters:
start - the start offset of this DBObjectPlSqlFragment within the source of the parent SourceObject.
Since:
11.1.2.0.0

getEndOffset

public java.lang.Integer getEndOffset()
Get method for the EndOffset property
Returns:
the end offset of this DBObjectPlSqlFragment within the source of the parent SourceObject.
Since:
11.1.2.0.0

setEndOffset

public void setEndOffset(java.lang.Integer end)
Set method for the EndOffset property
Parameters:
end - the end offset of this DBObjectPlSqlFragment within the source of the parent SourceObject.
Since:
11.1.2.0.0

getChildAtOffset

public DBObjectPlSqlFragment getChildAtOffset(int offset)
Find a child DBObjectPlSqlFragment at the given offset in the source of the parent SourceObject.
Parameters:
offset - Offset in the source of the parent SourceObject
Returns:
Child DBObjectPlSqlFragment at the given offset, or null.
Since:
11.1.2.0.0

getSourceID

public java.lang.String getSourceID()

clearSourceID

protected void clearSourceID()

copyToImpl

protected void copyToImpl(AbstractDBObject copy,
                          DBObject copyParent,
                          IDPolicy idPolicy)
Description copied from class: AbstractDBObject
Implementation method for making a copy of this object. To add custom copyTo logic, a subclass must override this method (exactly), and must call back to the super implementation.
Overrides:
copyToImpl in class AbstractBuildableObject
Parameters:
copy - the copy being created of this object
copyParent - if this object is being copied underneath a parent, this parameter is the copy of the parent of this object, which will therefore need to be the parent of the copy of this object.
idPolicy - the policy for copying the object's ID.

Skip navigation links

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

E17493-04


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