Oracle Application Server TopLink API Reference
10g Release 2 (10.1.2)

B15903-01


oracle.toplink.tools.schemaframework
Class SequenceDefinition

java.lang.Object
  extended byoracle.toplink.tools.schemaframework.DatabaseObjectDefinition
      extended byoracle.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.
Throws:
DatabaseException

Copyright © 1998, 2005 Oracle Corporation. All Rights Reserved.