Constructor and Description |
---|
Col() |
Modifier and Type | Method and Description |
---|---|
Boolean |
getAlternativeKey()
Is this column indexed or a key?
|
DbColumnConverter |
getConverter()
The converter instance that converts to and fro the object type that
the JDBC needs and what the model instance needs.
|
String |
getConverterClassName()
The canonical class name for the converter (the converter converts
between the database value type and the java value type for the column)
|
String |
getDbType()
The database column type for the column
|
Object |
getDefaultValue()
A default value that should be used during insert/updates if null
|
Boolean |
getInsertable()
Should the column be included in insert queries?
|
Class |
getjType()
The Java type of the data
|
int |
getLength() |
String |
getName()
The name of the column in the database table.
|
Boolean |
getNullable() |
String |
getPropertyName()
The Java model property name for this column.
|
Boolean |
getUniqueKey()
Is this column a unique key?
|
Boolean |
getUpdateable()
Should the column be included in update queries?
|
Col |
setAlternativeKey(Boolean alternativeKey) |
Col |
setConverter(DbColumnConverter converter) |
Col |
setConverterClassName(String converterClassName) |
Col |
setDbType(String dbType) |
Col |
setDefaultValue(Object defaultValue) |
Col |
setInsertable(Boolean insertable) |
Col |
setjType(Class jType) |
Col |
setLength(int length) |
Col |
setName(String name) |
Col |
setNullable(Boolean nullable) |
Col |
setPropertyName(String propertyName) |
Col |
setUniqueKey(Boolean uniqueKey) |
Col |
setUpdateable(Boolean updateable) |
public Col()
public Boolean getUpdateable()
public Col setUpdateable(Boolean updateable)
public Boolean getInsertable()
public Col setInsertable(Boolean insertable)
public String getPropertyName()
public Col setPropertyName(String propertyName)
public String getConverterClassName()
public Col setConverterClassName(String converterClassName)
public Boolean getAlternativeKey()
public Col setAlternativeKey(Boolean alternativeKey)
public Boolean getUniqueKey()
public Col setUniqueKey(Boolean uniqueKey)
public Object getDefaultValue()
public Col setDefaultValue(Object defaultValue)
public DbColumnConverter getConverter()
public Col setConverter(DbColumnConverter converter)
public Boolean getNullable()
public Col setNullable(Boolean nullable)
public int getLength()
Copyright © 2016. All rights reserved.