Skip navigation links
oracle.toplink.tools.schemaframework
Class UnaryTableSequenceDefinition
java.lang.Object
oracle.toplink.tools.schemaframework.DatabaseObjectDefinition
oracle.toplink.tools.schemaframework.SequenceDefinition
oracle.toplink.tools.schemaframework.UnaryTableSequenceDefinition
- All Implemented Interfaces:
- java.lang.Cloneable, java.io.Serializable
- 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
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
sequenceCounterFieldName
public java.lang.String sequenceCounterFieldName
UnaryTableSequenceDefinition
public UnaryTableSequenceDefinition(java.lang.String name,
java.lang.String sequenceCounterFieldName)
UnaryTableSequenceDefinition
public UnaryTableSequenceDefinition(UnaryTableSequence sequence)
UnaryTableSequenceDefinition
public UnaryTableSequenceDefinition(java.lang.String name,
UnaryTableSequence sequence)
checkIfExist
public boolean checkIfExist(Session 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()
- PUBLIC: Return the name of the only field of this table
setSequenceCounterFieldName
public void setSequenceCounterFieldName(java.lang.String sequenceCounterFieldName)
- PUBLIC: Set the name of the only field of this table
Skip navigation links