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, setParent
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, putAttribute, setParent
public SQLColumnDefinition.Identity getIdentity()
public void setIdentity(SQLColumnDefinition.Identity identity)
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 SQLObjectWithDataType
public void setDataType(SQLDataType dataType)
setDataType
in interface SQLObjectWithDataType
public SQLExpr getDefaultExpr()
public void setDefaultExpr(SQLExpr defaultExpr)
public List<SQLColumnConstraint> getConstraints()
public void addConstraint(SQLColumnConstraint constraint)
public void output(StringBuffer buf)
output
in interface SQLObject
output
in class SQLObjectImpl
public 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 SQLReplaceable
public String computeAlias()
public SQLColumnDefinition clone()
clone
in interface SQLObject
clone
in interface SQLTableElement
clone
in class SQLObjectImpl
public String getDbType()
public void setDbType(String dbType)
public void simplify()
public boolean containsNotNullConstaint()
public String toString()
toString
in class SQLObjectImpl
Copyright © 2013–2017 Alibaba Group. All rights reserved.