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_NULLTEXT |
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 |
---|---|
Set<Attributes.Attribute> |
getAttributes()
Returns all metadata attributes.
|
EntityType |
getEntityType()
Returns the EntityType that this Column belongs to
|
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 |
validateValue(Object value)
Checks if the given value is a valid value for this column
If not, an exception is thrown
|
getAttribute, getBeanPropertyName, getControlType, getDataType, getEnumType, getName, getOptions, getSourceColumn, getTitle, getUpdateColumn
static final String COLATTR_TITLE
static final String COLATTR_TOOLTIP
static final String COLATTR_TYPE
static final String COLATTR_ENUMTYPE
static final String COLATTR_NULLTEXT
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
EntityType getEntityType()
double getSize()
For the data type DECIMAL the size defines the scale and precision of the value.
boolean isRequired()
boolean isAutoGenerated()
boolean isReadOnly()
Set<Attributes.Attribute> getAttributes()
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.