Module is.codion.framework.domain
Interface Column<T>
- Type Parameters:
T- the column value type
- All Superinterfaces:
Attribute<T>,ColumnCondition.Factory<T>
An
Attribute representing a table column.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceProvidesColumnDefinition.Builderinstances.static interfaceConverts to and from SQL values, such as integers being used to represent booleans in a database.static interfaceFetches a single value from a result set.Nested classes/interfaces inherited from interface is.codion.framework.domain.entity.attribute.Attribute
Attribute.AttributeDefiner<T>, Attribute.Type<T> -
Method Summary
Methods inherited from interface is.codion.framework.domain.entity.attribute.Attribute
entityType, name, typeMethods inherited from interface is.codion.framework.domain.entity.condition.ColumnCondition.Factory
between, betweenExclusive, equalTo, equalToIgnoreCase, equalToIgnoreCase, greaterThan, greaterThanOrEqualTo, in, in, inIgnoreCase, inIgnoreCase, isNotNull, isNull, lessThan, lessThanOrEqualTo, like, likeIgnoreCase, notBetween, notBetweenExclusive, notEqualTo, notEqualToIgnoreCase, notEqualToIgnoreCase, notIn, notIn, notInIgnoreCase, notInIgnoreCase, notLike, notLikeIgnoreCase
-
Method Details
-
define
Column.ColumnDefiner<T> define()- Specified by:
definein interfaceAttribute<T>- Returns:
- a
Column.ColumnDefinerfor this column
-
column
Creates a newColumn, associated with the given entityType.- Type Parameters:
T- the column type- Parameters:
entityType- the entityType owning this columnname- the column namevalueClass- the class representing the column value type- Returns:
- a new
Column
-