public class Column extends Object
| 构造器和说明 |
|---|
Column()
Instantiates a new Column.
|
Column(INameConvertor convertor)
Instantiates a new Column.
|
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getComment()
Gets the comment.
|
String |
getDatabaseType()
Gets the database type.
|
String |
getJavaName()
返回代码中的名字
|
String |
getJavaType()
Gets the java type.
|
String |
getJavaType2()
Gets the java type 2.
|
String |
getJavaType4()
Gets the java type 4.
|
int |
getLength()
Gets the length.
|
String |
getName()
Gets the name.
|
String |
getNetType()
Gets the net type.
|
String |
getSequence()
Gets the sequence.
|
boolean |
isAuto()
Checks if is auto.
|
boolean |
isPK()
Checks if is pk.
|
void |
setAuto(boolean isAuto)
Sets the auto.
|
void |
setComment(String comment)
Sets the comment.
|
void |
setDatabaseType(String databaseType)
Sets the database type.
|
void |
setLength(int length)
Sets the length.
|
void |
setName(String name)
Sets the name.
|
void |
setPK(boolean isPK)
Sets the pk.
|
public Column(INameConvertor convertor)
convertor - the convertorpublic Column()
public String getJavaName()
public int getLength()
public void setLength(int length)
length - the new lengthpublic String getComment()
public void setComment(String comment)
comment - the new commentpublic String getDatabaseType()
public String getSequence()
public void setDatabaseType(String databaseType)
databaseType - the new database typepublic String getJavaType()
public String getNetType()
public String getName()
public void setName(String name)
name - the new namepublic boolean isPK()
public void setPK(boolean isPK)
isPK - the new pkpublic String getJavaType2()
public boolean isAuto()
public void setAuto(boolean isAuto)
isAuto - the new autopublic String getJavaType4()
Copyright © 2018. All rights reserved.