public class PlSqlBlock extends PlSqlCodeFragment
PlSqlSubProgram and all the SchemaObject types: Procedure, Function, Package, PackageBody, Type, TypeBody and Trigger.AbstractDBObject.ChildSupport, AbstractDBObject.ListenerSupport| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
TYPE  | 
| Constructor and Description | 
|---|
PlSqlBlock()  | 
PlSqlBlock(java.lang.String name, DBObject parent)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addBlock(PlSqlBlock block)
Adds the given PlSqlBlock to the Blocks property array 
 | 
void | 
addDatatype(PlSqlDatatype datatype)
Adds the given PlSqlDatatype to the Datatypes property array 
 | 
void | 
addReference(PlSqlReference reference)
Adds the given PlSqlReference to the References property array 
 | 
void | 
addSubProgram(PlSqlSubProgram subProgram)
Adds the given PlSqlSubProgram to the SubPrograms property array 
 | 
void | 
addVariable(PlSqlVariable variable)
Adds the given PlSqlVariable to the Variables property array 
 | 
PlSqlBlock[] | 
getBlocks()
Get method for the Blocks property 
 | 
PlSqlDatatype[] | 
getDatatypes()
Get method for the Datatypes property 
 | 
PlSqlReference[] | 
getReferences()
Get method for the References property 
 | 
PlSqlSubProgram | 
getSubProgram(java.lang.String name)
Gets a SubProgram of the given name 
 | 
PlSqlSubProgram[] | 
getSubPrograms()
Get method for the SubPrograms property 
 | 
java.lang.String | 
getType()
Returns the type of this object. 
 | 
PlSqlVariable | 
getVariable(java.lang.String name)
Gets a Variable of the given name 
 | 
PlSqlVariable[] | 
getVariables()
Get method for the Variables property 
 | 
void | 
setBlocks(PlSqlBlock[] blocks)
Set method for the Blocks property 
 | 
void | 
setDatatypes(PlSqlDatatype[] datatypes)
Set method for the Datatypes property 
 | 
void | 
setReferences(PlSqlReference[] refs)
Set method for the References property 
 | 
void | 
setSubPrograms(PlSqlSubProgram[] subPrograms)
Set method for the SubPrograms property 
 | 
void | 
setVariables(PlSqlVariable[] variables)
Set method for the Variables property 
 | 
addComment, getComments, setCommentsclearSourceID, copyToImpl, fireObjectUpdated, getChildAtOffset, getDeclarationAtOffset, getEndOffset, getReferenceAtOffset, getSourceID, getStartOffset, isBuilt, setEndOffset, setName, setSourceImpl, setStartOffsetsetParentcheckInit, 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, removeObjectListener, removeOwnedObject, replaceReferenceIDs, setIDgetProperty, getProperty, setProperties, setPropertypublic static final java.lang.String TYPE
public PlSqlBlock()
public PlSqlBlock(java.lang.String name,
          DBObject parent)
public java.lang.String getType()
DBObjectpublic void setBlocks(PlSqlBlock[] blocks)
blocks - any child PlSqlBlock'spublic PlSqlBlock[] getBlocks()
PlSqlBlock'spublic void addBlock(PlSqlBlock block)
block -public void setReferences(PlSqlReference[] refs)
refs - references to other objects from within this PlSqlBlockpublic PlSqlReference[] getReferences()
public void addReference(PlSqlReference reference)
reference - reference to an object from within this PlSqlBlockpublic void setVariables(PlSqlVariable[] variables)
variables - Variables defined within this PlSqlBlockpublic PlSqlVariable[] getVariables()
public PlSqlVariable getVariable(java.lang.String name)
public void addVariable(PlSqlVariable variable)
variable - Variables defined within this PlSqlBlockpublic void setSubPrograms(PlSqlSubProgram[] subPrograms)
subPrograms - SubPrograms (procedures and functions) defined within this PlSqlBlockpublic PlSqlSubProgram[] getSubPrograms()
public PlSqlSubProgram getSubProgram(java.lang.String name)
public void addSubProgram(PlSqlSubProgram subProgram)
subProgram - SubProgram (procedure or function) of the given name defined within this PlSqlBlockpublic void setDatatypes(PlSqlDatatype[] datatypes)
datatypes - DataTypes defined within this PlSqlBlockpublic PlSqlDatatype[] getDatatypes()
public void addDatatype(PlSqlDatatype datatype)
datatype - DataType defined within this PlSqlBlock