public abstract class DBObjectPlSqlFragment extends AbstractChildBuildableObject
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).AbstractDBObject.ChildSupport, AbstractDBObject.ListenerSupport| Constructor and Description | 
|---|
DBObjectPlSqlFragment()  | 
DBObjectPlSqlFragment(java.lang.String name,
                     DBObject parent)  | 
| Modifier and Type | Method and Description | 
|---|---|
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 PlSqlSourceObject. 
 | 
DBObjectPlSqlFragment | 
getDeclarationAtOffset(int offset)
Find a child DBObjectPlSqlFragment at the given offset in the source
 of the parent PlSqlSourceObject that is not a  
PlSqlReference. | 
java.lang.Integer | 
getEndOffset()
Get method for the EndOffset property 
 | 
java.lang.String | 
getName()
Retrieves the name of this object. 
 | 
DBObjectPlSqlFragment | 
getReferenceAtOffset(int offset)
Find a child DBObjectPlSqlFragment at the given offset in the source
 of the parent PlSqlSourceObject that is a  
PlSqlReference. | 
java.lang.String | 
getSource()
Get method for the internal source property. 
 | 
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 | 
setSource(java.lang.String source)
Calling this method will result in an UnsupportedOperationException
 as setting source on a child object is not supported. 
 | 
protected void | 
setSourceImpl(java.lang.String source)  | 
void | 
setStartOffset(java.lang.Integer start)
Set method for the StartOffset property 
 | 
setParentcheckInit, checkInit, getOwnedObjectsImpl, getProperties, getReferenceIDsImpl, needsInitialization, processPropertyChange, setIDaddObjectListener, addObjectListener, addObjectListener, changeParent, compareToImpl, copyObject, copyTo, copyTo, copyTo, copyTo, equals, equalsImpl, findOwnedObject, findOwnedObject, findOwnedObject, findOwnedObject, findParent, fireObjectUpdated, firePropertyChanged, getChildSupport, getChildSupport, getID, getOwnedObjects, getOwnedObjects, getParent, getProperty, getProperty, getReferenceIDs, hashCode, includeOwnedObject, includesType, includesType, removeObjectListener, removeObjectListener, removeObjectListener, removeOwnedObject, removeThisAsParent, replaceReferenceIDs, setName, setProperties, setProperty, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetParentaddObjectListener, copyTo, copyTo, copyTo, equals, findOwnedObject, findOwnedObject, findOwnedObject, getID, getOwnedObjects, getOwnedObjects, getProperties, getProperty, getProperty, getReferenceIDs, getType, hashCode, removeObjectListener, removeOwnedObject, replaceReferenceIDs, setID, setName, setProperties, setPropertypublic DBObjectPlSqlFragment()
public DBObjectPlSqlFragment(java.lang.String name,
                             DBObject parent)
public java.lang.Integer getStartOffset()
public void setStartOffset(java.lang.Integer start)
start - the start offset of this DBObjectPlSqlFragment within the source
 of the parent PlSqlSourceObject.public java.lang.Integer getEndOffset()
public void setEndOffset(java.lang.Integer end)
end - the end offset of this DBObjectPlSqlFragment within the source
 of the parent PlSqlSourceObject.public DBObjectPlSqlFragment getChildAtOffset(int offset) throws CancelledException
getDeclarationAtOffset(int)
 and See getReferenceAtOffset(int).offset - Offset in the source of the parent PlSqlSourceObjectCancelledExceptionpublic DBObjectPlSqlFragment getDeclarationAtOffset(int offset) throws CancelledException
PlSqlReference.offset - Offset in the source of the parent PlSqlSourceObjectCancelledExceptionpublic DBObjectPlSqlFragment getReferenceAtOffset(int offset) throws CancelledException
PlSqlReference.offset - Offset in the source of the parent PlSqlSourceObjectCancelledExceptionpublic java.lang.String getSourceID()
protected void copyToImpl(AbstractDBObject copy, DBObject copyParent, IDPolicy idPolicy)
AbstractDBObjectcopyToImpl in class AbstractBuildableObjectcopy - the copy being created of this objectcopyParent - 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.public java.lang.String getName()
DBObjectgetName in interface DBObjectgetName in class AbstractDBObjectprotected void setSourceImpl(java.lang.String source)
public java.lang.String getSource()
public void setSource(java.lang.String source)