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 
 | 
PlSqlToken | 
getEndToken()
Returns the PlSqlToken at the end of the fragment. 
 | 
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 | 
getSourceID()  | 
java.lang.Integer | 
getStartOffset()
Get method for the StartOffset property 
 | 
PlSqlToken | 
getStartToken()
Returns the PlSqlToken at the start of the fragment. 
 | 
void | 
setEndOffset(java.lang.Integer end)
Set method for the EndOffset property 
 | 
protected void | 
setSourceImpl(java.lang.String source)  | 
void | 
setStartOffset(java.lang.Integer start)
Set method for the StartOffset property 
 | 
setParentcheckInit, checkInit, getOwnedObjectsImpl, getProperties, getReferenceIDsImpl, needsInitializationaddObjectListener, addObjectListener, addObjectListener, changeParent, compareToImpl, copyObject, copyTo, copyTo, copyTo, copyTo, equals, equalsImpl, findOwnedObject, findOwnedObject, findOwnedObject, findOwnedObject, findParent, fireObjectUpdated, firePropertyChanged, getChildSupport, getID, getOwnedObjects, getOwnedObjects, getParent, getProperty, getProperty, getReferenceIDs, hashCode, includeOwnedObject, includesType, includesType, removeObjectListener, removeObjectListener, removeObjectListener, removeOwnedObject, removeThisAsParent, replaceReferenceIDs, setID, setName, setProperties, setProperty, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetParentaddObjectListener, copyTo, copyTo, copyTo, equals, findOwnedObject, findOwnedObject, findOwnedObject, getID, getOwnedObjects, getOwnedObjects, getProperties, getReferenceIDs, getType, hashCode, removeObjectListener, removeOwnedObject, replaceReferenceIDs, setID, setNamegetProperty, getProperty, 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)
getDeclarationAtOffset(int)
 and See getReferenceAtOffset(int).offset - Offset in the source of the parent PlSqlSourceObjectpublic DBObjectPlSqlFragment getDeclarationAtOffset(int offset)
PlSqlReference.offset - Offset in the source of the parent PlSqlSourceObjectpublic DBObjectPlSqlFragment getReferenceAtOffset(int offset)
PlSqlReference.offset - Offset in the source of the parent PlSqlSourceObjectpublic 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 final PlSqlToken getStartToken()
public final PlSqlToken getEndToken()