public class SQLColumnDefinition extends SQLObjectImpl implements SQLTableElement, SQLObjectWithDataType, SQLReplaceable
| Modifier and Type | Class and Description |
|---|---|
static class |
SQLColumnDefinition.Identity |
| Constructor and Description |
|---|
SQLColumnDefinition() |
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, computeDataType, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, putAttribute, setParentequals, getClass, hashCode, notify, notifyAll, wait, wait, waitaccept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, putAttribute, setParentpublic SQLColumnDefinition.Identity getIdentity()
public void setIdentity(SQLColumnDefinition.Identity x)
public SQLExpr getGeneratedAlawsAs()
public void setGeneratedAlawsAs(SQLExpr x)
public Boolean getEnable()
public void setEnable(Boolean enable)
public Boolean getValidate()
public void setValidate(Boolean validate)
public Boolean getRely()
public void setRely(Boolean rely)
public SQLName getName()
public long nameHashCode64()
public String getNameAsString()
public void setName(SQLName name)
public void setName(String name)
public SQLDataType getDataType()
getDataType in interface SQLObjectWithDataTypepublic void setDataType(SQLDataType dataType)
setDataType in interface SQLObjectWithDataTypepublic SQLExpr getDefaultExpr()
public void setDefaultExpr(SQLExpr defaultExpr)
public List<SQLColumnConstraint> getConstraints()
public void addConstraint(SQLColumnConstraint constraint)
public void output(StringBuffer buf)
output in interface SQLObjectoutput in class SQLObjectImplpublic SQLExpr getComment()
public void setComment(String comment)
public void setComment(SQLExpr comment)
public boolean isVirtual()
public void setVirtual(boolean virtual)
public boolean isSorted()
public void setSorted(boolean sorted)
public SQLExpr getCharsetExpr()
public void setCharsetExpr(SQLExpr charsetExpr)
public SQLExpr getAsExpr()
public void setAsExpr(SQLExpr asExpr)
public boolean isAutoIncrement()
public void setAutoIncrement(boolean autoIncrement)
public SQLExpr getOnUpdate()
public void setOnUpdate(SQLExpr onUpdate)
public SQLExpr getStorage()
public void setStorage(SQLExpr storage)
public boolean replace(SQLExpr expr, SQLExpr target)
replace in interface SQLReplaceablepublic String computeAlias()
public SQLColumnDefinition clone()
clone in interface SQLObjectclone in interface SQLTableElementclone in class SQLObjectImplpublic String getDbType()
public void setDbType(String dbType)
public void simplify()
public boolean containsNotNullConstaint()
public boolean isPrimaryKey()
public String toString()
toString in class SQLObjectImplCopyright © 2013–2018 Alibaba Group. All rights reserved.