| 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.6.0) E13403-07  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.javatools.db.AbstractDBObject
oracle.javatools.db.AbstractBuildableObject
oracle.javatools.db.AbstractSystemObject
oracle.javatools.db.AbstractSchemaObject
oracle.javatools.db.PlSql
oracle.javatools.db.SpecPlSql
public abstract class SpecPlSql
Extension of PlSql for objects that have a spec and body. The spec can be declaratively represented by methods and attributes.
| Nested Class Summary | 
|---|
| Nested classes/interfaces inherited from class oracle.javatools.db.AbstractDBObject | 
|---|
AbstractDBObject.ChildSupport | 
| Field Summary | 
|---|
| Fields inherited from class oracle.javatools.db.PlSql | 
|---|
BLOCK_TYPE | 
| Fields inherited from class oracle.javatools.db.AbstractSystemObject | 
|---|
m_listeners | 
| Fields inherited from interface oracle.javatools.db.DBObject | 
|---|
COMMENT | 
| Constructor Summary | |
|---|---|
protected  | 
SpecPlSql()
 | 
protected  | 
SpecPlSql(java.lang.String name,
          Schema schema)
 | 
| Method Summary | |
|---|---|
 void | 
addAttribute(int index,
             PlSqlAttribute att)
Adds one attribute to this object type at the given index.  | 
 void | 
addAttribute(PlSqlAttribute att)
Adds one attribute to this object type.  | 
 void | 
addMethod(int index,
          PlSqlMethod method)
Adds one method to this object type at the given index.  | 
 void | 
addMethod(PlSqlMethod method)
Adds one method to this object type.  | 
protected  void | 
copyToImpl(AbstractDBObject copy,
           DBObject copyParent,
           IDPolicy idPolicy)
Implementation method for making a copy of this object.  | 
protected  boolean | 
equalsImpl(AbstractDBObject target)
Equals implementation for testing equality with another AbstractDBObject.  | 
 PlSqlAttribute | 
getAttribute(java.lang.String name)
Retrieves one attribute by name.  | 
 PlSqlAttribute[] | 
getAttributes()
Retrieves the list of attributes contained in this object type.  | 
 java.lang.String | 
getBodySource()
 | 
 PlSqlInterrogator | 
getBodySourceInterrogator()
 | 
 PlSqlMethod | 
getMethod(java.lang.String name)
Retrieves one method by name.  | 
 PlSqlMethod[] | 
getMethods()
Retrieves the list of methods contained in this object type.  | 
 void | 
removeAttribute(PlSqlAttribute att)
Removes an attribute from this object type.  | 
 void | 
removeMethod(PlSqlMethod method)
Removes an method from this object type.  | 
 void | 
setAttributes(PlSqlAttribute[] newAttribs)
Sets the entire list of attributes, replacing any that have previously been added.  | 
 void | 
setBodySource(java.lang.String body)
 | 
 void | 
setMethods(PlSqlMethod[] newMethods)
Sets the entire list of methods, replacing any that have previously been added.  | 
| Methods inherited from class oracle.javatools.db.PlSql | 
|---|
getSource, getSourceInterrogator, isPlSql, setSource | 
| Methods inherited from class oracle.javatools.db.AbstractSchemaObject | 
|---|
addObjectListener, getProperty, getSchema, removeObjectListener, setProperty, setSchema | 
| Methods inherited from class oracle.javatools.db.AbstractSystemObject | 
|---|
addObjectListener, fireObjectUpdated, getParent, removeObjectListener | 
| Methods inherited from class oracle.javatools.db.AbstractBuildableObject | 
|---|
checkInit, checkInit, getOwnedObjectsImpl, getProperties, getReferenceIDsImpl, needsInitialization | 
| 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.SchemaObject | 
|---|
addObjectListener, getSchema, removeObjectListener, setSchema | 
| Methods inherited from interface oracle.javatools.db.SystemObject | 
|---|
addObjectListener, fireObjectUpdated, removeObjectListener | 
| Methods inherited from interface oracle.javatools.db.DBObject | 
|---|
copyTo, copyTo, copyTo, findOwnedObject, findOwnedObject, getID, getName, getOwnedObjects, getOwnedObjects, getParent, getReferenceIDs, getType, replaceReferenceIDs, setID, setName | 
| Methods inherited from interface oracle.javatools.util.DynamicPropertySet | 
|---|
getProperties, getProperty, getProperty, setProperties, setProperty | 
| Constructor Detail | 
|---|
protected SpecPlSql()
protected SpecPlSql(java.lang.String name,
                    Schema schema)
| Method Detail | 
|---|
protected void copyToImpl(AbstractDBObject copy,
                          DBObject copyParent,
                          IDPolicy idPolicy)
AbstractDBObject
copyToImpl in class PlSqlcopy - 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.protected boolean equalsImpl(AbstractDBObject target)
AbstractDBObject
equalsImpl in class PlSqlpublic void setAttributes(PlSqlAttribute[] newAttribs)
newAttribs - an array containing the new list of attributespublic PlSqlAttribute[] getAttributes()
public void addAttribute(PlSqlAttribute att)
att - the new attribute to add
public void addAttribute(int index,
                         PlSqlAttribute att)
index - the index to add the new attribute atatt - the new attribute to addpublic PlSqlAttribute getAttribute(java.lang.String name)
a - string containing the desired attribute name
nullpublic void removeAttribute(PlSqlAttribute att)
att - the attribute to removepublic void setMethods(PlSqlMethod[] newMethods)
newMethods - an array containing the new list of methodspublic PlSqlMethod[] getMethods()
public void addMethod(PlSqlMethod method)
att - the new method to add
public void addMethod(int index,
                      PlSqlMethod method)
index - the index to add the new method atmethod - the new method to addpublic PlSqlMethod getMethod(java.lang.String name)
a - string containing the desired method name
nullpublic void removeMethod(PlSqlMethod method)
method - the method to removepublic java.lang.String getBodySource()
public void setBodySource(java.lang.String body)
public PlSqlInterrogator getBodySourceInterrogator()
  | 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.6.0) E13403-07  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||