| 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.1.0) E13403-02  | 
|||||||||
| 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.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 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(SpecPlSql copy,
           DBObject copyParent,
           IDPolicy idPolicy)
 | 
protected  boolean | 
equalsImpl(SpecPlSql target)
 | 
 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 | 
|---|
copyToImpl, equalsImpl, getSource, getSourceInterrogator, isPlSql, setSource | 
| Methods inherited from class oracle.javatools.db.AbstractSchemaObject | 
|---|
addObjectListener, checkInit, checkInit, checkInitEx, copyToImpl, equalsImpl, fireObjectUpdated, getOwnedObjectsImpl, getParent, getProperties, getProperty, getProperty, getReferenceIDsImpl, getSchema, needsInitialization, removeObjectListener, setProperties, setProperty, setSchema | 
| Methods inherited from class oracle.javatools.db.AbstractDBObject | 
|---|
changeParent, compareToImpl, copyObject, copyTo, copyTo, copyTo, copyTo, copyToImpl, equalsImpl, findOwnedObject, findOwnedObject, getChildSupport, getID, getName, getOwnedObjects, getOwnedObjects, getReferenceIDs, hashCode, includeOwnedObject, includesType, includesType, removeThisAsParent, replaceReferenceIDs, setID, setName, toString | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait | 
| Methods inherited from interface oracle.javatools.db.SchemaObject | 
|---|
addObjectListener, fireObjectUpdated, getSchema, removeObjectListener, setSchema | 
| 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(SpecPlSql copy,
                          DBObject copyParent,
                          IDPolicy idPolicy)
protected boolean equalsImpl(SpecPlSql target)
public 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.1.0) E13403-02  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||