public class Column extends AbstractDbObject
comparisonUtils| Constructor and Description |
|---|
Column(java.lang.String name) |
Column(Table table,
java.lang.String name,
java.lang.String type,
boolean nullable)
Construct a Column.
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(DbObjectVisitor visitor)
Allows a visitor to be invoked against this DbObject.
|
protected void |
doDiff(DbObject right,
DiffContext ctx)
Override this method to provide subclass specific diffing logic.
|
boolean |
equals(java.lang.Object obj) |
int |
getOrder() |
java.lang.String |
getType() |
int |
hashCode() |
boolean |
isAutoIncrement() |
boolean |
isNullable() |
void |
setAutoIncrement(boolean autoIncrement) |
void |
setNullable(boolean nullable) |
void |
setOrder(int order) |
void |
setType(java.lang.String type) |
diff, getName, getParent, getTypeName, getValidators, hasObjectLevelValidator, hasValidators, sameAs, setComparisonUtils, setName, setParent, setValidators, toStringpublic Column(java.lang.String name)
public Column(Table table, java.lang.String name, java.lang.String type, boolean nullable)
name - type - nullable - public java.lang.String getType()
public void setType(java.lang.String type)
type - the type to setpublic boolean isNullable()
public void setNullable(boolean nullable)
nullable - the nullable to setpublic int getOrder()
public void setOrder(int order)
order - the order to setpublic boolean isAutoIncrement()
public void setAutoIncrement(boolean autoIncrement)
autoIncrement - whether this column has the auto-increment flag set.public int hashCode()
hashCode in class AbstractDbObjectpublic boolean equals(java.lang.Object obj)
equals in class AbstractDbObjectprotected void doDiff(DbObject right, DiffContext ctx)
AbstractDbObjectdoDiff in class AbstractDbObjectpublic void accept(DbObjectVisitor visitor)
DbObjectCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.