Package liquibase.structure.core
Class Sequence
- java.lang.Object
-
- liquibase.structure.AbstractDatabaseObject
-
- liquibase.structure.core.Sequence
-
- All Implemented Interfaces:
Comparable
,LiquibaseSerializable
,DatabaseObject
public class Sequence extends AbstractDatabaseObject
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface liquibase.serializer.LiquibaseSerializable
LiquibaseSerializable.SerializationType
-
-
Field Summary
-
Fields inherited from class liquibase.structure.AbstractDatabaseObject
CURLY_BRACKET_PATTERN
-
Fields inherited from interface liquibase.serializer.LiquibaseSerializable
GENERIC_CHANGELOG_EXTENSION_NAMESPACE, GENERIC_SNAPSHOT_EXTENSION_NAMESPACE, STANDARD_CHANGELOG_NAMESPACE, STANDARD_SNAPSHOT_NAMESPACE
-
-
Method Summary
-
Methods inherited from class liquibase.structure.AbstractDatabaseObject
compareTo, getAttribute, getAttribute, getAttributes, getObjectTypeName, getSerializableFieldNamespace, getSerializableFields, getSerializableFieldType, getSerializableFieldValue, getSerializedObjectName, getSerializedObjectNamespace, getSnapshotId, load, serialize, setAttribute, setSnapshotId, shouldIncludeCatalogInSpecification, snapshotByDefault
-
-
-
-
Method Detail
-
getContainingObjects
public DatabaseObject[] getContainingObjects()
-
getName
public String getName()
-
setName
public Sequence setName(String name)
Description copied from interface:DatabaseObject
Sets the name for the database object.- Parameters:
name
- the new name for the database object- Returns:
- a reference to the same object (implementing classes are expected to return a reference to the same object).
-
getStartValue
public BigInteger getStartValue()
-
setStartValue
public Sequence setStartValue(BigInteger startValue)
-
getIncrementBy
public BigInteger getIncrementBy()
-
setIncrementBy
public Sequence setIncrementBy(BigInteger incrementBy)
-
toString
public String toString()
- Overrides:
toString
in classAbstractDatabaseObject
-
getSchema
public Schema getSchema()
- Returns:
- Returns the schema.
-
getMinValue
public BigInteger getMinValue()
-
setMinValue
public Sequence setMinValue(BigInteger minValue)
-
getMaxValue
public BigInteger getMaxValue()
-
setMaxValue
public Sequence setMaxValue(BigInteger maxValue)
-
getWillCycle
public Boolean getWillCycle()
-
getOrdered
public Boolean getOrdered()
-
getLastReturnedValue
public BigInteger getLastReturnedValue()
-
setLastReturnedValue
public Sequence setLastReturnedValue(BigInteger lastReturnedValue)
-
getCacheSize
public BigInteger getCacheSize()
-
setCacheSize
public Sequence setCacheSize(BigInteger cacheSize)
-
getDataType
public String getDataType()
-
-