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 |
clearSourceID() |
protected void |
copyToImpl(AbstractDBObject copy, DBObject copyParent, IDPolicy idPolicy)
Implementation method for making a copy of this object.
|
protected void |
fireObjectUpdated(DBObjectChange change) |
DBObjectPlSqlFragment |
getChildAtOffset(int offset)
Find a child DBObjectPlSqlFragment at the given offset in the source of the parent SourceObject.
|
DBObjectPlSqlFragment |
getDeclarationAtOffset(int offset)
Find a child DBObjectPlSqlFragment at the given offset in the source of the parent SourceObject that is not a
PlSqlReference. |
java.lang.Integer |
getEndOffset()
Get method for the EndOffset property
|
DBObjectPlSqlFragment |
getReferenceAtOffset(int offset)
Find a child DBObjectPlSqlFragment at the given offset in the source of the parent SourceObject that is a
PlSqlReference. |
java.lang.String |
getSourceID() |
java.lang.Integer |
getStartOffset()
Get method for the StartOffset property
|
protected boolean |
isBuilt() |
void |
setEndOffset(java.lang.Integer end)
Set method for the EndOffset property
|
void |
setName(java.lang.String name)
Set name of the fragment.
|
protected void |
setSourceImpl(java.lang.String source, boolean clearDerived) |
void |
setStartOffset(java.lang.Integer start)
Set method for the StartOffset property
|
setParentcheckInit, checkInit, equalsImpl, getOwnedObjectsImpl, getProperties, getReferenceIDsImpl, needsInitializationaddObjectListener, addObjectListener, addObjectListener, changeParent, compareToImpl, copyObject, copyTo, copyTo, copyTo, copyTo, equals, findOwnedObject, findOwnedObject, findOwnedObject, findOwnedObject, findParent, firePropertyChanged, getChildSupport, getID, getName, getOwnedObjects, getOwnedObjects, getParent, getProperty, getProperty, getReferenceIDs, hashCode, includeOwnedObject, includesType, includesType, removeObjectListener, removeObjectListener, removeObjectListener, removeOwnedObject, removeThisAsParent, replaceReferenceIDs, setID, setProperties, setProperty, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetParentaddObjectListener, copyTo, copyTo, copyTo, findOwnedObject, findOwnedObject, findOwnedObject, getID, getName, getOwnedObjects, getOwnedObjects, getProperties, getReferenceIDs, getType, removeObjectListener, removeOwnedObject, replaceReferenceIDs, setIDgetProperty, 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 SourceObject.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 SourceObject.public DBObjectPlSqlFragment getChildAtOffset(int offset)
getDeclarationAtOffset(int) and See getReferenceAtOffset(int).offset - Offset in the source of the parent SourceObjectpublic DBObjectPlSqlFragment getDeclarationAtOffset(int offset)
PlSqlReference.offset - Offset in the source of the parent SourceObjectpublic DBObjectPlSqlFragment getReferenceAtOffset(int offset)
PlSqlReference.offset - Offset in the source of the parent SourceObjectpublic java.lang.String getSourceID()
protected void clearSourceID()
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 void setName(java.lang.String name)
setName in interface DBObjectsetName in class AbstractDBObjectname -protected void fireObjectUpdated(DBObjectChange change)
fireObjectUpdated in class AbstractBuildableObjectprotected boolean isBuilt()
protected void setSourceImpl(java.lang.String source,
boolean clearDerived)