public class Sequence extends AbstractIncrementer implements SchemaObject
AbstractDBObject.ChildSupport, AbstractDBObject.ListenerSupport| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
TYPE  | 
| Constructor and Description | 
|---|
Sequence()
Constructs a new sequence. 
 | 
Sequence(java.lang.String name, Schema schema)
Constructs a new sequence in the specified schema with the specified name. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
fireObjectUpdated(DBObjectChange change)
Notifies any registered listeners of the change to this object. 
 | 
Schema | 
getSchema()
Gets the Schema of this object. 
 | 
java.lang.String | 
getType()
Returns the type of this object. 
 | 
void | 
setSchema(Schema schema)
Sets the Schema of this object. 
 | 
getCacheFlag, getCacheSize, getCycleFlag, getIncrementBy, getLastNumber, getMaxValue, getMinValue, getOrderFlag, getStartWith, setCacheFlag, setCacheSize, setCycleFlag, setIncrementBy, setLastNumber, setMaxValue, setMinValue, setOrderFlag, setStartWithcheckInit, checkInit, copyToImpl, equalsImpl, getOwnedObjectsImpl, getProperties, getReferenceIDsImpl, needsInitializationaddObjectListener, addObjectListener, addObjectListener, changeParent, compareToImpl, copyObject, copyTo, copyTo, copyTo, copyTo, equals, findOwnedObject, findOwnedObject, findOwnedObject, findOwnedObject, findParent, firePropertyChanged, getChildSupport, getID, getName, getOwnedObjects, getOwnedObjects, getParent, getProperty, getProperty, getReferenceIDs, hashCode, includeOwnedObject, includesType, includesType, removeObjectListener, removeObjectListener, removeObjectListener, removeOwnedObject, removeThisAsParent, replaceReferenceIDs, setID, setName, setProperties, setProperty, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddObjectListener, removeObjectListeneraddObjectListener, removeObjectListeneraddObjectListener, copyTo, copyTo, copyTo, findOwnedObject, findOwnedObject, findOwnedObject, getID, getName, getOwnedObjects, getOwnedObjects, getParent, getProperties, getReferenceIDs, removeObjectListener, removeOwnedObject, replaceReferenceIDs, setID, setNamegetProperty, getProperty, setProperties, setPropertypublic static final java.lang.String TYPE
public Sequence()
public Sequence(java.lang.String name,
        Schema schema)
name - a string containing the name of the sequenceschema - the schema that owns the sequencepublic java.lang.String getType()
DBObjectpublic void setSchema(Schema schema)
SchemaObjectsetSchema in interface SchemaObjectschema - the Schema containing this objectpublic Schema getSchema()
SchemaObjectgetSchema in interface SchemaObjectpublic final void fireObjectUpdated(DBObjectChange change)
SystemObjectfireObjectUpdated in interface SystemObjectfireObjectUpdated in class AbstractBuildableObject