|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.persistence.tools.schemaframework.StoredProcedureGenerator
public class 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)
|
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()
|
org.eclipse.persistence.internal.sessions.AbstractSession |
getSession()
|
java.io.Writer |
getWriter()
|
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 org.eclipse.persistence.internal.sessions.AbstractSession 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 |