public class MySqlFieldDefinition extends Object
Constructor and Description |
---|
MySqlFieldDefinition() |
Modifier and Type | Method and Description |
---|---|
String |
getColumnName() |
String |
getColumnType() |
String |
getDefaultValue() |
String |
getExtra() |
boolean |
isKey() |
boolean |
isNullable() |
boolean |
isUnique() |
boolean |
isUnsigned() |
void |
setColumnName(String columnName) |
void |
setColumnType(String columnType) |
void |
setDefaultValue(String defaultValue) |
void |
setExtra(String extra) |
void |
setKey(boolean key) |
void |
setNullable(boolean nullable) |
void |
setUnique(boolean unique) |
String |
toDdl() |
public String getColumnName()
public void setColumnName(String columnName)
public String getColumnType()
public void setColumnType(String columnType)
public void setNullable(boolean nullable)
public String getDefaultValue()
public void setDefaultValue(String defaultValue)
public boolean isUnsigned()
public boolean isNullable()
public boolean isKey()
public void setKey(boolean key)
public String getExtra()
public void setExtra(String extra)
public boolean isUnique()
public void setUnique(boolean unique)
public String toDdl()
Copyright © 2024 The Apache Software Foundation. All rights reserved.