public class Column extends Object implements ModelObject, Annotated
Modifier and Type | Field and Description |
---|---|
protected Class |
actualJavaType |
protected String |
actualPropertyName |
protected List<Annotation> |
annotations |
protected boolean |
autoincrement |
protected String |
columnName |
protected String |
columnType |
static String |
copyright |
protected String |
javaType |
protected int |
jdbcType |
protected Integer |
length |
static org.slf4j.Logger |
logger |
protected boolean |
nullable |
protected String |
propertyName |
protected Integer |
scale |
protected Table |
table |
public static final String copyright
protected Table table
protected String columnName
protected int jdbcType
protected String columnType
protected boolean nullable
protected boolean autoincrement
protected Integer length
protected Integer scale
protected String javaType
protected String propertyName
protected final List<Annotation> annotations
protected String actualPropertyName
protected Class actualJavaType
public static final org.slf4j.Logger logger
public Column()
public Column(Table table)
public String getQualifiedName()
public void afterUnmarshal(Unmarshaller u, Object parent)
afterUnmarshal
in interface ModelObject
public void reset()
reset
in interface ModelObject
public void init(Model model)
init
in interface ModelObject
public void link(Model model)
link
in interface ModelObject
public void visitChildren(ModelObjectVisitor visitor)
visitChildren
in interface ModelObject
public Table getTable()
public void setTable(Table table)
public String getDatabaseName()
public String getSchemaName()
public String getTableName()
public String getColumnName()
public void setColumnName(String columnName)
public int getJdbcType()
public void setJdbcType(int jdbcType)
public String getColumnType()
public void setColumnType(String columnType)
public boolean isNullable()
public void setNullable(boolean nullable)
public Integer getLength()
public void setLength(Integer length)
public Integer getScale()
public void setScale(Integer scale)
public boolean isAutoincrement()
public void setAutoincrement(boolean autoincrement)
public boolean isSearchable()
public Class getActualJavaType()
public String getJavaType()
public void setJavaType(String javaType)
public String getActualPropertyName()
public String getPropertyName()
public void setPropertyName(String propertyName)
public List<Annotation> getAnnotations()
getAnnotations
in interface Annotated
public static String composeQualifiedName(String databaseName, String schemaName, String tableName, String columnName)
public Annotation findModelAnnotationByType(String annotationType)