Module is.codion.framework.domain
Interface EntityDefinition.Columns
- Enclosing interface:
- EntityDefinition
public static interface EntityDefinition.Columns
Holds the column definitions for an entity type
-
Method Summary
Modifier and TypeMethodDescription<T> ColumnDefinition<T>
definition
(Column<T> column) Collection<Column<?>>
get()
Returns the columns to search by when searching for entities of this type by a string value
-
Method Details
-
get
Collection<Column<?>> get()- Returns:
- all columns for this entity type
-
definitions
Collection<ColumnDefinition<?>> definitions()- Returns:
- all the column definitions for this entity type
-
searchable
Collection<Column<String>> searchable()Returns the columns to search by when searching for entities of this type by a string value- Returns:
- the columns to use when searching by string
- See Also:
-
definition
- Type Parameters:
T
- the column type- Parameters:
column
- the column- Returns:
- the column definition associated with the column
- Throws:
NullPointerException
- in casecolumn
is null
-