Oracle Application Server TopLink API Reference
10g (9.0.4)

B10491-01

oracle.toplink.tools.schemaframework
Class SequenceDefinition

java.lang.Object
  |
  +--oracle.toplink.tools.schemaframework.DatabaseObjectDefinition
        |
        +--oracle.toplink.tools.schemaframework.SequenceDefinition
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable
Direct Known Subclasses:
OracleSequenceDefinition

public class SequenceDefinition
extends DatabaseObjectDefinition

Purpose: Allow a generic way of creating sequences on the different platforms, and allow optional parameters to be specified.

See Also:
Serialized Form

Field Summary

 

Fields inherited from class oracle.toplink.tools.schemaframework.DatabaseObjectDefinition
name, qualifier

 

Constructor Summary
SequenceDefinition(java.lang.String name)
           

 

Method Summary
 boolean checkIfExist(oracle.toplink.publicinterface.Session session)
          INTERAL: Execute the SQL required to insert the sequence row into the sequence table.

 

Methods inherited from class oracle.toplink.tools.schemaframework.DatabaseObjectDefinition
getName, getQualifier, setName, setQualifier, toString

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

SequenceDefinition

public SequenceDefinition(java.lang.String name)
Method Detail

checkIfExist

public boolean checkIfExist(oracle.toplink.publicinterface.Session session)
                     throws DatabaseException
INTERAL: Execute the SQL required to insert the sequence row into the sequence table. Assume that the sequence table exists.
DatabaseException

Copyright © 2003 Oracle Corporation. All Rights Reserved.