Uses of Interface
is.codion.framework.domain.entity.EntityDefinition.Builder
Packages that use EntityDefinition.Builder
Package
Description
Package configuration values:
EntityValidator.STRICT_VALIDATION
Entities.VALIDATE_FOREIGN_KEYS
Entities.STRICT_DESERIALIZATION
AttributeDefinition.MAXIMUM_FRACTION_DIGITS
AttributeDefinition.TIME_FORMAT
AttributeDefinition.NUMBER_FORMAT_GROUPING
AttributeDefinition.GROUPING_SEPARATOR
AttributeDefinition.DECIMAL_SEPARATOR
AttributeDefinition.USE_LEXICAL_STRING_COMPARATOR
AttributeDefinition.DATE_TIME_FORMAT
AttributeDefinition.DATE_FORMAT
AttributeDefinition.DECIMAL_ROUNDING_MODE
ForeignKeyDefinition.FOREIGN_KEY_REFERENCE_DEPTH
-
Uses of EntityDefinition.Builder in is.codion.framework.domain.entity
Methods in is.codion.framework.domain.entity that return EntityDefinition.BuilderModifier and TypeMethodDescriptionEntityDefinition.Builder.cacheToString
(boolean cacheToString) Sets the caption for this entity typeEntityDefinition.Builder.captionResourceKey
(String captionResourceKey) Specifies the resource bundle key associated with the caption.EntityDefinition.Builder.comparator
(Comparator<Entity> comparator) Sets the comparator to use when comparing entities of this typeEntityDefinition.Builder.condition
(ConditionType conditionType, ConditionProvider conditionProvider) Adds aConditionProvider
which provides a dynamic query condition string.EntityType.define
(AttributeDefinition.Builder<?, ?>... definitionBuilders) Creates aEntityDefinition.Builder
instance based on the given attribute definition builders.EntityType.define
(List<AttributeDefinition.Builder<?, ?>> definitionBuilders) Creates aEntityDefinition.Builder
instance based on the given attribute definition builders.EntityDefinition.Builder.description
(String description) Specifies a description for this entity.Sets the predicate to use when checking if an entity of this type exists in the database.EntityDefinition.Builder.keyGenerator
(KeyGenerator keyGenerator) Sets the primary key generatorEntityDefinition.Builder.optimisticLocking
(boolean optimisticLocking) Use this to disable optimistic locking for this entity typeSets the order by clause for this entity type.EntityDefinition.Builder.readOnly
(boolean readOnly) Specifies whether this entity should be read-only, that it should not be possible to insert, update or delete entities of this typeEntityDefinition.Builder.selectQuery
(EntitySelectQuery selectQuery) Sets the select query to use when selecting entities of this type, use with care.EntityDefinition.Builder.selectTableName
(String selectTableName) Sets the name of the table to use when selecting entities of this type, when it differs from the one used to update/insert, such as a view.EntityDefinition.Builder.smallDataset
(boolean smallDataset) Specifies whether this entity should be regarded as being based on a small dataset, which primarily means that combo box models can be based on this entity.EntityDefinition.Builder.stringFactory
(Attribute<?> attribute) Sets the string factory, using the value of the given attribute.EntityDefinition.Builder.stringFactory
(Function<Entity, String> stringFactory) Sets the string factory, that is, the function responsible for creating toString() values for this entity type.EntityDefinition.Builder.validator
(EntityValidator validator)