com.alibaba.druid.sql.ast.statement
Class SQLColumnDefinition

java.lang.Object
  extended by com.alibaba.druid.sql.ast.SQLObjectImpl
      extended by com.alibaba.druid.sql.ast.statement.SQLColumnDefinition
All Implemented Interfaces:
SQLObject, SQLTableElement, Serializable
Direct Known Subclasses:
MySqlSQLColumnDefinition

public class SQLColumnDefinition
extends SQLObjectImpl
implements SQLTableElement

See Also:
Serialized Form

Constructor Summary
SQLColumnDefinition()
           
 
Method Summary
 String getComment()
           
 List<SQLColumnConstraint> getConstaints()
           
 SQLDataType getDataType()
           
 SQLExpr getDefaultExpr()
           
 Boolean getEnable()
           
 SQLName getName()
           
 void output(StringBuffer buf)
           
 void setComment(String comment)
           
 void setDataType(SQLDataType dataType)
           
 void setDefaultExpr(SQLExpr defaultExpr)
           
 void setEnable(Boolean enable)
           
 void setName(SQLName name)
           
 
Methods inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
accept, getAttribute, getAttributes, getAttributesDirect, getParent, putAttribute, setParent, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.alibaba.druid.sql.ast.SQLObject
accept, getAttribute, getAttributes, getAttributesDirect, getParent, putAttribute, setParent
 

Constructor Detail

SQLColumnDefinition

public SQLColumnDefinition()
Method Detail

getEnable

public Boolean getEnable()

setEnable

public void setEnable(Boolean enable)

getName

public SQLName getName()

setName

public void setName(SQLName name)

getDataType

public SQLDataType getDataType()

setDataType

public void setDataType(SQLDataType dataType)

getDefaultExpr

public SQLExpr getDefaultExpr()

setDefaultExpr

public void setDefaultExpr(SQLExpr defaultExpr)

getConstaints

public List<SQLColumnConstraint> getConstaints()

output

public void output(StringBuffer buf)
Specified by:
output in interface SQLObject
Overrides:
output in class SQLObjectImpl

getComment

public String getComment()

setComment

public void setComment(String comment)


Copyright © 2012 Alibaba Group. All Rights Reserved.