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.FRACTION_DIGITSAttributeDefinition.NUMBER_GROUPINGAttributeDefinition.GROUPING_SEPARATORAttributeDefinition.DECIMAL_SEPARATORAttributeDefinition.USE_LEXICAL_STRING_COMPARATORAttributeDefinition.ROUNDING_MODEForeignKeyDefinition.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) Default true.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, ConditionString conditionString) Adds aConditionStringwhich provides a dynamic query condition string.EntityType.define(AttributeDefinition.Builder<?, ?>... definitionBuilders) Creates aEntityDefinition.Builderinstance based on the given attribute definition builders.EntityType.define(List<? extends AttributeDefinition.Builder<?, ?>> definitionBuilders) Creates aEntityDefinition.Builderinstance based on the given attribute definition builders.EntityDefinition.Builder.description(String description) Specifies a description for this entity.EntityDefinition.Builder.descriptionResourceKey(String descriptionResourceKey) Specifies the resource bundle key associated with the description.Sets the predicate to use when checking if an entity of this type exists in the database.Sets the formatter, based the value of the given attribute.Sets the formatter, that is, the function responsible for creating toString() values for this entity type.EntityDefinition.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.selectTable(String selectTable) 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.validator(EntityValidator validator)