public class ColumnInfo extends Object
Constructor and Description |
---|
ColumnInfo()
无参构造函数
|
ColumnInfo(Column column,
boolean id,
boolean nullable)
构造函数
|
Modifier and Type | Method and Description |
---|---|
Column |
getColumn()
Gets the value of column
|
boolean |
isId()
Gets the value of id
|
boolean |
isNullable()
Gets the value of nullable
|
void |
setColumn(Column column)
Sets the column
|
void |
setId(boolean id)
Sets the id
|
void |
setNullable(boolean nullable)
Sets the nullable
|
public ColumnInfo(Column column, boolean id, boolean nullable)
column
- 列id
- 是否为idnullable
- 是否可以为nullpublic ColumnInfo()
public Column getColumn()
public void setColumn(Column column)
You can use getColumn() to get the value of column
column
- columnpublic boolean isId()
public void setId(boolean id)
You can use getId() to get the value of id
id
- idpublic boolean isNullable()
public void setNullable(boolean nullable)
You can use getNullable() to get the value of nullable
nullable
- nullableCopyright © 2020 IBIT程序猿. All rights reserved.