|
Oracle Application Server TopLink API Reference 10g (9.0.4.3) B10491-02 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.toplink.tools.schemaframework.DatabaseObjectDefinition
oracle.toplink.tools.schemaframework.SequenceDefinition
Purpose: Allow a generic way of creating sequences on the different platforms, and allow optional parameters to be specified.
| Field Summary |
| Fields inherited from class oracle.toplink.tools.schemaframework.DatabaseObjectDefinition |
name, qualifier |
| Constructor Summary | |
SequenceDefinition(java.lang.String name) | |
| Method Summary | |
void |
alter(oracle.toplink.publicinterface.Session session, java.io.Writer writer)INTERNAL: Execute the SQL required to alter sequence. |
void |
alterOnDatabase(oracle.toplink.publicinterface.Session session)INTERNAL: Execute the SQL required to alter sequence. |
java.io.Writer |
buildCreationWriter(oracle.toplink.publicinterface.Session session, java.io.Writer writer)INTERNAL: Return the SQL required to insert the sequence row into the sequence table. |
java.io.Writer |
buildDeletionWriter(oracle.toplink.publicinterface.Session session, java.io.Writer writer)INTERNAL: Return the SQL to delete the row from the sequence table. |
boolean |
checkIfExist(oracle.toplink.publicinterface.Session session)INTERAL: Execute the SQL required to insert the sequence row into the sequence table. |
void |
createOnDatabase(oracle.toplink.publicinterface.Session session)INTERNAL: Execute the SQL required to insert the sequence row into the sequence table. |
boolean |
isAlterSupported()INTERNAL: Indicates whether alter is supported |
| Methods inherited from class oracle.toplink.tools.schemaframework.DatabaseObjectDefinition |
createObject, dropFromDatabase, dropObject, getFullName, getName, getQualifier, setName, setQualifier, toString |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public SequenceDefinition(java.lang.String name)
| Method Detail |
public java.io.Writer buildCreationWriter(oracle.toplink.publicinterface.Session session,
java.io.Writer writer)
throws ValidationException
buildCreationWriter in class DatabaseObjectDefinitionValidationException
public java.io.Writer buildDeletionWriter(oracle.toplink.publicinterface.Session session,
java.io.Writer writer)
throws ValidationException
buildDeletionWriter in class DatabaseObjectDefinitionValidationException
public boolean checkIfExist(oracle.toplink.publicinterface.Session session)
throws DatabaseException
DatabaseException
public void createOnDatabase(oracle.toplink.publicinterface.Session session)
throws TopLinkException
createOnDatabase in class DatabaseObjectDefinitionTopLinkExceptionpublic boolean isAlterSupported()
public void alterOnDatabase(oracle.toplink.publicinterface.Session session)
throws TopLinkException
TopLinkException
public void alter(oracle.toplink.publicinterface.Session session,
java.io.Writer writer)
throws ValidationException
ValidationException
|
| |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||