|
EclipseLink 2.0.0, build 'v20091127-r5931' API Reference | |||||||||
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 | |
---|---|
protected java.util.Vector |
procedures
|
protected java.util.Vector |
statements
|
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(java.lang.String statement)
The statements are the SQL lines of code. |
java.io.Writer |
buildCreationWriter(org.eclipse.persistence.internal.sessions.AbstractSession session,
java.io.Writer writer)
INTERNAL: Return the create table statement. |
java.io.Writer |
buildDeletionWriter(org.eclipse.persistence.internal.sessions.AbstractSession session,
java.io.Writer writer)
INTERNAL: Return the drop table statement. |
java.util.Vector |
getProcedures()
Packages can contain sets of procedures. |
java.util.Vector |
getStatements()
The statements are the SQL lines of code. |
void |
setProcedures(java.util.Vector procedures)
Packages can contain sets of procedures. |
void |
setStatements(java.util.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, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.util.Vector statements
protected java.util.Vector procedures
Constructor Detail |
---|
public PackageDefinition()
Method Detail |
---|
public void addProcedures(StoredProcedureDefinition procedure)
public void addStatement(java.lang.String statement)
public java.io.Writer buildCreationWriter(org.eclipse.persistence.internal.sessions.AbstractSession session, java.io.Writer writer) throws ValidationException
buildCreationWriter
in class DatabaseObjectDefinition
ValidationException
public java.io.Writer buildDeletionWriter(org.eclipse.persistence.internal.sessions.AbstractSession session, java.io.Writer writer) throws ValidationException
buildDeletionWriter
in class DatabaseObjectDefinition
ValidationException
public java.util.Vector getProcedures()
public java.util.Vector getStatements()
public void setProcedures(java.util.Vector procedures)
public void setStatements(java.util.Vector statements)
|
EclipseLink 2.0.0, build 'v20091127-r5931' API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |