Oracle Fusion Middleware Java API Reference for Oracle TopLink
11g Release 1 (11.1.1)

B32476-03

oracle.toplink.tools.schemaframework
Class UnaryTableSequenceDefinition

java.lang.Object
  extended by oracle.toplink.tools.schemaframework.DatabaseObjectDefinition
      extended by oracle.toplink.tools.schemaframework.SequenceDefinition
          extended by oracle.toplink.tools.schemaframework.UnaryTableSequenceDefinition
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class UnaryTableSequenceDefinition
extends SequenceDefinition

Purpose: Creates / drops an unary sequence table: the name of the table is sequence name; its only field is named unarySequenceCounterFieldName

See Also:
Serialized Form

Field Summary
 
Fields inherited from class oracle.toplink.tools.schemaframework.DatabaseObjectDefinition
name, qualifier
 
Method Summary
 boolean checkIfExist(oracle.toplink.internal.sessions.AbstractSession session)
          INTERAL: Verify whether the sequence exists.
 java.lang.String getSequenceCounterFieldName()
          Return the name of the only field of this table
 
Methods inherited from class oracle.toplink.tools.schemaframework.DatabaseObjectDefinition
clone, getName, getQualifier, setName, setQualifier, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

checkIfExist

public boolean checkIfExist(oracle.toplink.internal.sessions.AbstractSession session)
                     throws DatabaseException
INTERAL: Verify whether the sequence exists. Assume that the unary sequence table exists.

Specified by:
checkIfExist in class SequenceDefinition
Throws:
DatabaseException

getSequenceCounterFieldName

public java.lang.String getSequenceCounterFieldName()
Return the name of the only field of this table


Copyright © 1998, 2010, Oracle. All Rights Reserved.