public interface Column extends ColumnExpr
This interface inherits from ColumnExpr which provides further metadata.
Modifier and Type | Method and Description |
---|---|
double |
getSize()
Returns the maximum size a value for this column is allowed to have.
|
boolean |
isAutoGenerated()
Returns whether or not the value for this column is auto-generated
|
boolean |
isReadOnly()
Returns true if the values for this column are generally
read only (like i.e.
|
boolean |
isRequired()
Returns whether or not the value for this column must be
supplied (i.e.
|
Object |
validate(Object value)
Checks if the given value is a valid value for this column
If not, an exception is thrown
|
getAttribute, getBeanPropertyName, getControlType, getDataType, getName, getOptions, getSourceColumn, getTitle
double getSize()
For the data type DECIMAL the size defines the scale and precision of the value.
boolean isRequired()
boolean isAutoGenerated()
boolean isReadOnly()
Copyright © 2008–2015 Apache Software Foundation. All rights reserved.