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

B15903-01


oracle.toplink.tools.schemaframework
Class OracleSequenceDefinition

java.lang.Object
  extended byoracle.toplink.tools.schemaframework.DatabaseObjectDefinition
      extended byoracle.toplink.tools.schemaframework.SequenceDefinition
          extended byoracle.toplink.tools.schemaframework.OracleSequenceDefinition

All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public class OracleSequenceDefinition
extends SequenceDefinition

Purpose: Support Oracle native sequence creation. Oracle has custom support for sequences.

See Also:
Serialized Form

Field Summary

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

Constructor Summary
OracleSequenceDefinition(java.lang.String name)

Method Summary
int getIncrement()
The increment can be used to support pre-allocation.
int getStart()
The start used as a starting value for sequence
void setIncrement(int increment)
The increment can be used to support pre-allocation.
void setStart(int start)
The start used as a starting value for sequence
void setStartAndIncrement(int value)
The start used as a starting value for sequence

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

OracleSequenceDefinition

public OracleSequenceDefinition(java.lang.String name)

Method Detail

getIncrement

public int getIncrement()
The increment can be used to support pre-allocation.

setIncrement

public void setIncrement(int increment)
The increment can be used to support pre-allocation.

getStart

public int getStart()
The start used as a starting value for sequence

setStart

public void setStart(int start)
The start used as a starting value for sequence

setStartAndIncrement

public void setStartAndIncrement(int value)
The start used as a starting value for sequence

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