net.sf.jsqlparser.statement.create.table
Class ColumnDefinition
java.lang.Object
net.sf.jsqlparser.statement.create.table.ColumnDefinition
public class ColumnDefinition
- extends java.lang.Object
A column definition in a CREATE TABLE statement.
Example: mycol VARCHAR(30) NOT NULL
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
columnName
private java.lang.String columnName
colDataType
private ColDataType colDataType
columnSpecStrings
private java.util.List columnSpecStrings
ColumnDefinition
public ColumnDefinition()
getColumnSpecStrings
public java.util.List getColumnSpecStrings()
- A list of strings of every word after the datatype of the column.
Example ("NOT", "NULL")
setColumnSpecStrings
public void setColumnSpecStrings(java.util.List list)
getColDataType
public ColDataType getColDataType()
- The
ColDataType
of this column definition
setColDataType
public void setColDataType(ColDataType type)
getColumnName
public java.lang.String getColumnName()
setColumnName
public void setColumnName(java.lang.String string)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object