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 |
|---|---|
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, getOwnedObjectsImpl, getProperties, getReferenceIDsImpl, needsInitialization, processPropertyChange, setIDaddObjectListener, addObjectListener, addObjectListener, changeParent, compareToImpl, copyObject, copyTo, copyTo, copyTo, copyTo, equals, equalsImpl, findOwnedObject, findOwnedObject, findOwnedObject, findOwnedObject, findParent, fireObjectUpdated, firePropertyChanged, getChildSupport, getChildSupport, getID, getName, getOwnedObjects, getOwnedObjects, getParent, getProperty, getProperty, getReferenceIDs, hashCode, includeOwnedObject, includesType, includesType, removeObjectListener, removeObjectListener, removeObjectListener, removeOwnedObject, removeThisAsParent, replaceReferenceIDs, setName, setProperties, setProperty, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddObjectListener, removeObjectListeneraddObjectListener, fireObjectUpdated, removeObjectListeneraddObjectListener, copyTo, copyTo, copyTo, equals, findOwnedObject, findOwnedObject, findOwnedObject, getID, getName, getOwnedObjects, getOwnedObjects, getParent, getProperties, getProperty, getProperty, getReferenceIDs, hashCode, removeObjectListener, removeOwnedObject, replaceReferenceIDs, setID, setName, 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 SchemaObject