oracle.toplink.tools.schemaframework
Class OracleSequenceDefinition
java.lang.Object
   oracle.toplink.tools.schemaframework.DatabaseObjectDefinition
oracle.toplink.tools.schemaframework.DatabaseObjectDefinition
       oracle.toplink.tools.schemaframework.SequenceDefinition
oracle.toplink.tools.schemaframework.SequenceDefinition
           oracle.toplink.tools.schemaframework.OracleSequenceDefinition
oracle.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
 
 
 
 
| 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 java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
 
OracleSequenceDefinition
public OracleSequenceDefinition(java.lang.String name)
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