|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.persistence.tools.schemaframework.DatabaseObjectDefinition
org.eclipse.persistence.tools.schemaframework.PackageDefinition
public class PackageDefinition
Purpose: Allow a semi-generic way of creating packages.
| Field Summary |
|---|
| Fields inherited from class org.eclipse.persistence.tools.schemaframework.DatabaseObjectDefinition |
|---|
name, qualifier |
| Constructor Summary | |
|---|---|
PackageDefinition()
|
|
| Method Summary | |
|---|---|
void |
addProcedures(StoredProcedureDefinition procedure)
Packages can contain sets of procedures. |
void |
addStatement(String statement)
The statements are the SQL lines of code. |
Writer |
buildCreationWriter(org.eclipse.persistence.internal.sessions.AbstractSession session,
Writer writer)
INTERNAL: Return the create table statement. |
Writer |
buildDeletionWriter(org.eclipse.persistence.internal.sessions.AbstractSession session,
Writer writer)
INTERNAL: Return the drop table statement. |
Vector |
getProcedures()
Packages can contain sets of procedures. |
Vector |
getStatements()
The statements are the SQL lines of code. |
void |
setProcedures(Vector procedures)
Packages can contain sets of procedures. |
void |
setStatements(Vector statements)
The statements are the SQL lines of code. |
| Methods inherited from class org.eclipse.persistence.tools.schemaframework.DatabaseObjectDefinition |
|---|
clone, createObject, createOnDatabase, dropFromDatabase, dropObject, getFullName, getName, getQualifier, postCreateObject, setName, setQualifier, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PackageDefinition()
| Method Detail |
|---|
public void addProcedures(StoredProcedureDefinition procedure)
public void addStatement(String statement)
public Writer buildCreationWriter(org.eclipse.persistence.internal.sessions.AbstractSession session,
Writer writer)
throws ValidationException
buildCreationWriter in class DatabaseObjectDefinitionValidationException
public Writer buildDeletionWriter(org.eclipse.persistence.internal.sessions.AbstractSession session,
Writer writer)
throws ValidationException
buildDeletionWriter in class DatabaseObjectDefinitionValidationExceptionpublic Vector getProcedures()
public Vector getStatements()
public void setProcedures(Vector procedures)
public void setStatements(Vector statements)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||