|
Oracle TopLink Java API Reference 10g Release 3 (10.1.3.1) B28219-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.toplink.tools.schemaframework.StoredProcedureGenerator
Purpose: To generate StoredProcedures from TopLink Projects
Description: This Class was designed to read in a project and produce StoredProcedures. It then modifies the descriptors files of the project to use these StoredProcedures. NOTE: reads are not supported in Oracle.
Responsibilities:
Field Summary | |
SchemaManager |
schemaManager |
Constructor Summary | |
StoredProcedureGenerator(SchemaManager schemaMngr) SybaseStoredProcedureGenerator constructor comment. |
Method Summary | |
void |
generateAmendmentClass(java.io.Writer outputWriter, java.lang.String packageName, java.lang.String className) PUBLIC: Generate an amendment class that will set up the descriptors to use these stored procedures. |
void |
generateStoredProcedures() PUBLIC: generates all the stored procedures using the schema manager. |
void |
generateStoredProcedures(java.io.Writer writerOrNull) PUBLIC: generates all the stored procedures to the writer using the schema manager outputDDLToWriter(Writer). |
java.lang.String |
getPrefix() |
Session |
getSession() This method was created in VisualAge. |
java.io.Writer |
getWriter() This method was created in VisualAge. |
void |
setPrefix(java.lang.String prefix) |
void |
writeDefinition(StoredProcedureDefinition definition) |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public SchemaManager schemaManager
Constructor Detail |
public StoredProcedureGenerator(SchemaManager schemaMngr)
Method Detail |
public void generateAmendmentClass(java.io.Writer outputWriter, java.lang.String packageName, java.lang.String className) throws ValidationException
ValidationException
public void generateStoredProcedures()
public void generateStoredProcedures(java.io.Writer writerOrNull)
public java.lang.String getPrefix()
public Session getSession()
public java.io.Writer getWriter()
public void setPrefix(java.lang.String prefix)
public void writeDefinition(StoredProcedureDefinition definition)
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |