| Modifier and Type | Field and Description |
|---|---|
String |
columnName
Stores the actual database name of the DBTableField.
|
Class<? extends Object> |
columnType
Stores the class of the Java field that will be created.
|
String |
comments
Stores column comments/remarks from the database.
|
String |
fieldName
Stores the Java name of the DBTableField.
|
boolean |
isAutoIncrement
TRUE if the DBTableField is an auto-incrementing column, otherwise FALSE.
|
boolean |
isForeignKey
TRUE if the column/field is a Foreign Key DBTableField, otherwise FALSE.
|
boolean |
isPrimaryKey
TRUE if the column/field is a Primary Key DBTableField, otherwise FALSE.
|
int |
javaSQLDatatype
Stores the datatype reported by Java in case an unknown datatype is
reported.
|
int |
precision
Stores the precision of the column.
|
String |
referencesClass
Stores the name of the class referenced by this DBTableField if it is a
Foreign Key, otherwise null.
|
String |
referencesField
Stores the name of the field in the referenced class referenced by this
column/field if this DBTableField is a foreign key, otherwise null.
|
int |
sqlDataTypeInt
Stores the data type of the DBTableField as reported from the database.
|
String |
sqlDataTypeName
Stores the data type name of the DBTableField as reported from the
database.
|
| Constructor and Description |
|---|
DBTableField() |
public String fieldName
public String columnName
public boolean isPrimaryKey
public boolean isForeignKey
public String referencesClass
public String referencesField
public Class<? extends Object> columnType
public int precision
public int javaSQLDatatype
public String comments
public boolean isAutoIncrement
public int sqlDataTypeInt
public String sqlDataTypeName
Copyright © 2018. All Rights Reserved.