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

Class UnaryTableSequenceDefinition

  extended by
      extended by
          extended by
All Implemented Interfaces:, 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
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
clone, getName, getQualifier, setName, setQualifier, toString
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

Method Detail


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


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

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