| 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.1) E13403-09  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
  
oracle.javatools.db.plsql.PlSqlDeclarator
public abstract class PlSqlDeclarator
Object that builds the declarative info for a PlSql object. Using the source from the object it uses the javatools pl/sql parser to build up information on the attributes, methods etc.
| Field Summary | |
|---|---|
static int | 
ATTRIBUTES | 
protected  DBObjectProvider | 
m_prv | 
protected  PlsqlRoot | 
m_root | 
static int | 
METHODS | 
static int | 
NAME | 
| Constructor Summary | |
|---|---|
PlSqlDeclarator() | 
|
PlSqlDeclarator(DBObjectProvider prv) | 
|
| Method Summary | |
|---|---|
protected  void | 
_loadAttributes()Only call if you know the SourceObject can have methods - i.e.  | 
protected  void | 
_loadMethods()Only call if you know the SourceObject can have methods - i.e.  | 
 void | 
checkRoot() | 
protected  void | 
checkState() | 
protected  int | 
getAttributesType() | 
 PlsqlNode | 
getKid(int type, java.lang.String name) | 
 PlsqlNode[] | 
getKids(int type) | 
protected  int | 
getMethodsType() | 
 java.lang.String | 
getName(PlsqlNode node)Returns the name of the given PlsqlNode, if it has one.  | 
 PlSqlParameter[] | 
getPlsqlParams(PlSqlFragment fragment, DBObjectProvider provider, DBObject parent) | 
static java.lang.String | 
getReturnType(PlsqlNode node)Returns the return type of the given PL/SQL node.  | 
protected  PlsqlRoot | 
getRoot() | 
protected  SourceObject | 
getSourceObject() | 
static java.lang.String | 
getType(PlsqlNode node)Returns the type of the given plsql node.  | 
 void | 
loadDeclarativeInfo(SourceObject obj) | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
protected PlsqlRoot m_root
protected DBObjectProvider m_prv
public static final int NAME
public static final int ATTRIBUTES
public static final int METHODS
| Constructor Detail | 
|---|
public PlSqlDeclarator()
public PlSqlDeclarator(DBObjectProvider prv)
| Method Detail | 
|---|
public void checkRoot()
public void loadDeclarativeInfo(SourceObject obj)
protected void checkState()
protected SourceObject getSourceObject()
protected PlsqlRoot getRoot()
public PlsqlNode getKid(int type,
                        java.lang.String name)
public PlsqlNode[] getKids(int type)
public java.lang.String getName(PlsqlNode node)
node -public static java.lang.String getType(PlsqlNode node)
node -public static java.lang.String getReturnType(PlsqlNode node)
node -protected void _loadAttributes()
protected void _loadMethods()
protected int getMethodsType()
protected int getAttributesType()
public PlSqlParameter[] getPlsqlParams(PlSqlFragment fragment,
                                       DBObjectProvider provider,
                                       DBObject parent)
  | 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.1) E13403-09  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||