Module is.codion.framework.domain
Package is.codion.framework.domain.entity.attribute
package is.codion.framework.domain.entity.attribute
-
ClassDescriptionAttribute<T>Typed
Attribute
.ProvidesAttributeDefinition.Builder
instances.Defines the data type of an AttributeDefines an Attribute.AttributeDefinition.Builder<T,B extends AttributeDefinition.Builder<T, B>> Builds a attribute definition instanceSupplies values, for example default ones.The possible audit actionsA column definition representing an audit columnColumn<T>AnAttribute
representing a table column.ProvidesColumnDefinition.Builder
instances.Column.Converter<T,C> Converts to and from SQL values, such as integers being used to represent booleans in a database.
By default aColumn.Converter
is not expected to handle null values, with null values automatically converted to/from null column values.
If aColumn.Converter
needs to handle null values as well as non-null valuesColumn.Converter.handlesNull()
must be overridden to return true.Fetches a single value from a result set.Specifies a attribute definition based on a table columnColumnDefinition.Builder<T,B extends ColumnDefinition.Builder<T, B>> Builds aColumnDefinition
Responsible for providing values derived from other valuesProvides the source values from which to derive the value.A definition for attributes which value is derived from the values of one or more attribute.AnAttribute
representing a foreign key relation.ProvidesForeignKeyDefinition.Builder
instances.Represents a foreign key reference between columns.Represents a reference to another entity, typically but not necessarily based on a foreign key.Builds aForeignKeyDefinition
.An attribute that does not map to an underlying database column.TransientAttributeDefinition.Builder<T,B extends TransientAttributeDefinition.Builder<T, B>> Builds a transient AttributeDefinition instanceA basic TypeReference implementation.