|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.javatools.db.AbstractDBObject
oracle.javatools.db.AbstractBuildableObject
oracle.javatools.db.AbstractSystemObject
oracle.javatools.db.AbstractSchemaObject
oracle.javatools.db.Sequence
public class Sequence
Model of a database sequence.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class oracle.javatools.db.AbstractDBObject |
---|
AbstractDBObject.ChildSupport |
Field Summary | |
---|---|
static java.lang.String |
TYPE |
Fields inherited from class oracle.javatools.db.AbstractSystemObject |
---|
m_listeners |
Fields inherited from interface oracle.javatools.db.DBObject |
---|
COMMENT |
Constructor Summary | |
---|---|
Sequence() Constructs a new sequence. |
|
Sequence(java.lang.String name, Schema schema) Constructs a new sequence in the specified schema with the specified name. |
Method Summary | |
---|---|
java.lang.Boolean |
getCacheFlag() Returns TRUE if the sequence is cached, FALSE if it isn't, and null representing the database default. |
java.math.BigInteger |
getCacheSize() Retrieves the cache size for this sequence. |
java.lang.Boolean |
getCycleFlag() Retrieves whether this sequence should cycle back to the beginning when the last permissible value is reached. |
java.math.BigInteger |
getIncrementBy() Retrieves the increment value for this sequence. |
java.math.BigInteger |
getLastNumber() Retrieves the last sequence number written to disk in the database. |
java.math.BigInteger |
getMaxValue() Retrieves the maximum value for this sequence. |
java.math.BigInteger |
getMinValue() Retrieves the minimum value for this sequence. |
java.lang.Boolean |
getOrderFlag() Retrieves whether this sequence must generate values in order. |
java.math.BigInteger |
getStartWith() Retrieves the start with value for this sequence. |
java.lang.String |
getType() Returns the type of this object. |
void |
setCacheFlag(java.lang.Boolean cacheFlag) Sets whether this sequence caches sequence values. |
void |
setCacheSize(java.math.BigInteger cacheSize) Sets the cache size for this sequence. |
void |
setCycleFlag(java.lang.Boolean cycleFlag) Sets whether this sequence should cycle back to the beginning when the last permissible value is reached. |
void |
setIncrementBy(java.math.BigInteger incrementBy) Sets the increment value for this sequence. |
void |
setLastNumber(java.math.BigInteger lastNumber) Sets the last sequence number written to disk in the database. |
void |
setMaxValue(java.math.BigInteger maxValue) Sets the maximum value for this sequence. |
void |
setMinValue(java.math.BigInteger minValue) Sets the minimum value for this sequence. |
void |
setOrderFlag(java.lang.Boolean orderFlag) Sets whether this sequence must generate values in order. |
void |
setStartWith(java.math.BigInteger startWith) Sets the start with value for this sequence. |
Methods inherited from class oracle.javatools.db.AbstractSchemaObject |
---|
addObjectListener, copyToImpl, equalsImpl, getProperty, getSchema, removeObjectListener, setProperty, setSchema |
Methods inherited from class oracle.javatools.db.AbstractSystemObject |
---|
addObjectListener, fireObjectUpdated, getParent, removeObjectListener |
Methods inherited from class oracle.javatools.db.AbstractBuildableObject |
---|
checkInit, checkInit, getOwnedObjectsImpl, getProperties, getReferenceIDsImpl, needsInitialization |
Methods inherited from class oracle.javatools.db.AbstractDBObject |
---|
changeParent, compareToImpl, copyObject, copyTo, copyTo, copyTo, copyTo, equals, findOwnedObject, findOwnedObject, findOwnedObject, getChildSupport, getID, getName, getOwnedObjects, getOwnedObjects, getProperty, getReferenceIDs, hashCode, includeOwnedObject, includesType, includesType, removeThisAsParent, replaceReferenceIDs, setID, setName, setProperties, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface oracle.javatools.db.SystemObject |
---|
addObjectListener, fireObjectUpdated, removeObjectListener |
Methods inherited from interface oracle.javatools.db.DBObject |
---|
copyTo, copyTo, copyTo, findOwnedObject, findOwnedObject, getID, getName, getOwnedObjects, getOwnedObjects, getParent, getReferenceIDs, replaceReferenceIDs, setID, setName |
Methods inherited from interface oracle.javatools.util.DynamicPropertySet |
---|
getProperties, getProperty, setProperties |
Field Detail |
---|
public static final java.lang.String TYPE
Constructor Detail |
---|
public Sequence()
public Sequence(java.lang.String name, Schema schema)
name
- a string containing the name of the sequenceschema
- the schema that owns the sequenceMethod Detail |
---|
public java.lang.String getType()
DBObject
public void setStartWith(java.math.BigInteger startWith)
startWith
- an BigInteger value representing the start value of this sequence, or null
to omit the specification of a start valuepublic java.math.BigInteger getStartWith()
null
if the start with value is not specifiedpublic void setMinValue(java.math.BigInteger minValue)
minValue
- an BigInteger value representing the minimum value of this sequence, or null
to omit the specification of a minimum valuepublic java.math.BigInteger getMinValue()
null
if the minimum value is not specifiedpublic void setMaxValue(java.math.BigInteger maxValue)
maxValue
- an BigInteger value representing the maximum value of this sequence, or null
to omit the specification of a maximum valuepublic java.math.BigInteger getMaxValue()
null
if the maximum value is not specifiedpublic void setIncrementBy(java.math.BigInteger incrementBy)
incrementBy
- an BigInteger value representing the increment value of this sequence, or null
to omit the specification of a increment valuepublic java.math.BigInteger getIncrementBy()
null
if the increment value is not specifiedpublic void setCycleFlag(java.lang.Boolean cycleFlag)
cycleFlag
- a boolean value representing the cycle flag of this sequence, or null
to omit the specification of a cycle flagpublic java.lang.Boolean getCycleFlag()
null
if the cycle flag is not specifiedpublic void setOrderFlag(java.lang.Boolean orderFlag)
orderFlag
- a boolean value representing the order flag of this sequence, or null
to omit the specification of a order flagpublic java.lang.Boolean getOrderFlag()
null
if the order flag is not specifiedpublic void setCacheFlag(java.lang.Boolean cacheFlag)
cached
- : TRUE, FALSE or null
setCacheSize(java.math.BigInteger)
public java.lang.Boolean getCacheFlag()
public void setCacheSize(java.math.BigInteger cacheSize)
cacheSize
- an BigInteger value representing the size of the cache used by this sequence, or null
to omit the specification of cache size.getCacheFlag()
public java.math.BigInteger getCacheSize()
null
if the cache size is not specified.getCacheFlag()
public java.math.BigInteger getLastNumber()
This will only be populated if the sequence is retrieved from a live Database.
public void setLastNumber(java.math.BigInteger lastNumber)
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |