public interface Column extends ColumnExpr
This interface inherits from ColumnExpr which provides further metadata.
Modifier and Type | Field and Description |
---|---|
static String |
COLATTR_CURRENCY_CODE |
static String |
COLATTR_DATETIMEPATTERN |
static String |
COLATTR_ENUMTYPE |
static String |
COLATTR_FRACTION_DIGITS |
static String |
COLATTR_INTEGER_DIGITS |
static String |
COLATTR_MAXVALUE |
static String |
COLATTR_MINLENGTH |
static String |
COLATTR_MINVALUE |
static String |
COLATTR_NUMBER_GROUPSEP |
static String |
COLATTR_NUMBER_TYPE |
static String |
COLATTR_REGEXP |
static String |
COLATTR_TITLE
Predefined column expression attributes (optional)
for method
Object getAttribute(String name)
|
static String |
COLATTR_TOOLTIP |
static String |
COLATTR_TYPE |
Modifier and Type | Method and Description |
---|---|
Class<Enum<?>> |
getEnumType()
Returns the enum type for this column
|
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. for sequence generated values).
|
boolean |
isRequired()
Returns whether or not the value for this column must be
supplied (i.e. it is mandatory) or not.
|
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
static final String COLATTR_TITLE
static final String COLATTR_TOOLTIP
static final String COLATTR_TYPE
static final String COLATTR_ENUMTYPE
static final String COLATTR_MINLENGTH
static final String COLATTR_MINVALUE
static final String COLATTR_MAXVALUE
static final String COLATTR_REGEXP
static final String COLATTR_NUMBER_TYPE
static final String COLATTR_NUMBER_GROUPSEP
static final String COLATTR_FRACTION_DIGITS
static final String COLATTR_INTEGER_DIGITS
static final String COLATTR_CURRENCY_CODE
static final String COLATTR_DATETIMEPATTERN
double getSize()
For the data type DECIMAL the size defines the scale and precision of the value.
boolean isRequired()
boolean isAutoGenerated()
boolean isReadOnly()
Class<Enum<?>> getEnumType()
Copyright © 2008–2022 Apache Software Foundation. All rights reserved.