Module is.codion.framework.domain
Interface ColumnTemplate<T>
- Type Parameters:
T
- the column type
- All Superinterfaces:
Function<Column<T>,
ColumnDefinition.Builder<T, ?>>
Specifies a column template configuration.
ColumnTemplate<Integer> REQUIRED_POSITIVE = column ->
column.define()
.colum()
.nullable(false)
.minimum(0);
Customer.AGE.define()
.column(REQUIRED_POSITIVE)
.caption("Age")
-
Method Summary