|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Column
The column interface provides methods for accessing metadata that is only relevant for updating records.
This interface inherits from ColumnExpr which provides further metadata.
Method Summary | |
---|---|
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 |
Methods inherited from interface org.apache.empire.data.ColumnExpr |
---|
getAttribute, getBeanPropertyName, getControlType, getDataType, getName, getOptions, getSourceColumn, getTitle |
Method Detail |
---|
double getSize()
For the data type DECIMAL the size defines the scale and precision of the value.
boolean isRequired()
boolean isAutoGenerated()
boolean isReadOnly()
Object validate(Object value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |