public class Column extends AbstractDatabaseObject
Modifier and Type | Class and Description |
---|---|
static class |
Column.AutoIncrementInformation |
LiquibaseSerializable.SerializationType
GENERIC_CHANGELOG_EXTENSION_NAMESPACE, GENERIC_SNAPSHOT_EXTENSION_NAMESPACE, STANDARD_CHANGELOG_NAMESPACE, STANDARD_SNAPSHOT_NAMESPACE
Constructor and Description |
---|
Column() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Object other) |
boolean |
equals(Object o) |
Column.AutoIncrementInformation |
getAutoIncrementInformation() |
DatabaseObject[] |
getContainingObjects() |
Object |
getDefaultValue() |
String |
getName() |
Relation |
getRelation() |
String |
getRemarks() |
Schema |
getSchema() |
DataType |
getType() |
int |
hashCode() |
boolean |
isAutoIncrement() |
boolean |
isCertainDataType() |
boolean |
isDataTypeDifferent(Column otherColumn) |
boolean |
isDifferent(Column otherColumn) |
boolean |
isNullabilityDifferent(Column otherColumn) |
Boolean |
isNullable() |
void |
setAutoIncrementInformation(Column.AutoIncrementInformation autoIncrementInformation) |
Column |
setCertainDataType(boolean certainDataType) |
Column |
setDefaultValue(Object defaultValue) |
Column |
setName(String name) |
Column |
setNullable(Boolean nullable) |
Column |
setRelation(Relation relation) |
Column |
setRemarks(String remarks) |
Column |
setType(DataType type) |
String |
toString() |
getAttribute, getAttributes, getObjectTypeName, getSerializableFields, getSerializableFieldType, getSerializableFieldValue, getSerializedObjectName, getSerializedObjectNamespace, getSnapshotId, setAttribute, setSnapshotId, snapshotByDefault
public Relation getRelation()
public DatabaseObject[] getContainingObjects()
public Schema getSchema()
public String getName()
public Boolean isNullable()
public DataType getType()
public Object getDefaultValue()
public boolean isAutoIncrement()
public Column.AutoIncrementInformation getAutoIncrementInformation()
public void setAutoIncrementInformation(Column.AutoIncrementInformation autoIncrementInformation)
public String toString()
toString
in class AbstractDatabaseObject
public int compareTo(Object other)
compareTo
in interface Comparable
compareTo
in class AbstractDatabaseObject
public boolean isDataTypeDifferent(Column otherColumn)
public boolean isNullabilityDifferent(Column otherColumn)
public boolean isDifferent(Column otherColumn)
public boolean isCertainDataType()
public Column setCertainDataType(boolean certainDataType)
public String getRemarks()
Copyright © 2017 Liquibase.org. All rights reserved.