Package liquibase.structure.core
Class Sequence
java.lang.Object
liquibase.structure.AbstractDatabaseObject
liquibase.structure.core.Sequence
- All Implemented Interfaces:
Comparable
,LiquibaseSerializable
,DatabaseObject
-
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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getName()
int
hashCode()
setCacheSize
(BigInteger cacheSize) setDataType
(String dataType) setIncrementBy
(BigInteger incrementBy) setLastReturnedValue
(BigInteger lastReturnedValue) setMaxValue
(BigInteger maxValue) setMinValue
(BigInteger minValue) Sets the name for the database object.setOrdered
(Boolean isOrdered) setStartValue
(BigInteger startValue) setWillCycle
(Boolean willCycle) toString()
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
-
Constructor Details
-
Sequence
public Sequence() -
Sequence
-
-
Method Details
-
getContainingObjects
-
getName
-
setName
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
-
setStartValue
-
getIncrementBy
-
setIncrementBy
-
equals
-
hashCode
public int hashCode() -
toString
- Overrides:
toString
in classAbstractDatabaseObject
-
getSchema
- Returns:
- Returns the schema.
-
setSchema
- Parameters:
schema
- The schema to set.
-
setSchema
-
getMinValue
-
setMinValue
-
getMaxValue
-
setMaxValue
-
getWillCycle
-
setWillCycle
-
getOrdered
-
setOrdered
-
getLastReturnedValue
-
setLastReturnedValue
-
getCacheSize
-
setCacheSize
-
getDataType
-
setDataType
-