Uses of Interface
is.codion.framework.domain.entity.EntityType
Packages that use EntityType
Package
Description
Package configuration values:
EntityConnectionProvider.CLIENT_DOMAIN_TYPE
EntityConnectionProvider.CLIENT_CONNECTION_TYPE
EntityConnectionProvider.DESCRIPTION
Domain model related classes.
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
Attribute related classes.
Provides a type-safe condition API for building SQL WHERE clauses programmatically.
Package configuration values:
EntityApplicationModel.USER_PREFERENCES
EntityApplicationModel.RESTORE_DEFAULT_PREFERENCES
EntityApplicationModel.PREFERENCES_KEY
EntityEditModel.EDIT_EVENTS
EntityEditModel.EntityEditor.PERSIST_FOREIGN_KEYS
EntityQueryModel.LIMIT
EntityTableModel.ON_INSERT
EntityTableModel.ORDER_QUERY
ForeignKeyModelLink.SET_CONDITION_ON_INSERT
ForeignKeyModelLink.SET_VALUE_ON_INSERT
ForeignKeyModelLink.REFRESH_ON_SELECTION
ForeignKeyModelLink.CLEAR_CONDITION_ON_EMPTY_SELECTION
ForeignKeyModelLink.CLEAR_VALUE_ON_EMPTY_SELECTION
EntitySearchModel.DEFAULT_LIMIT
Swing model classes
Package configuration values:
EntityComboBoxModel.EDIT_EVENTS
Package configuration values:
EntityApplication.USER
EntityApplication.SAVE_DEFAULT_USERNAME
EntityApplication.STARTUP_DIALOG
EntityApplication.CONNECTION_INFO_UPPER_CASE
EntityApplicationPanel.HELP_URL
EntityApplicationPanel.CONFIRM_EXIT
EntityApplicationPanel.CACHE_ENTITY_PANELS
EntityApplicationPanel.CALL_SYSTEM_EXIT
EntityApplicationPanel.SQL_TRACING
EntityEditComponentPanel.VALID_INDICATOR
EntityEditComponentPanel.MODIFIED_INDICATOR
EntityEditComponentPanel.DEFAULT_TEXT_FIELD_COLUMNS
EntityEditPanel.Config.USE_SAVE_CAPTION
EntityEditPanel.Config.USE_FOCUS_ACTIVATION
EntityEditPanel.Config.INCLUDE_ENTITY_MENU
EntityEditPanel.Config.MODIFIED_WARNING
EntityPanel.Config.KEYBOARD_NAVIGATION
EntityPanel.Config.DISPOSE_EDIT_DIALOG_ON_ESCAPE
EntityPanel.Config.INCLUDE_TOGGLE_EDIT_PANEL_CONTROL
EntityPanel.Config.TOOLBAR_CONTROLS
EntityPanel.Config.CONTROL_PANEL_CONSTRAINTS
EntityPanel.Config.CONTROL_TOOLBAR_CONSTRAINTS
EntityPanel.Config.WINDOW_TYPE
EntityPanel.Config.EDIT_PANEL_CONSTRAINTS
EntityTablePanel.Config.EXCLUDE_HIDDEN_COLUMNS
EntityTablePanel.Config.CONDITION_VIEW
EntityTablePanel.Config.FILTER_VIEW
EntityTablePanel.Config.SUMMARY_PANEL_VISIBLE
EntityTablePanel.Config.INCLUDE_POPUP_MENU
EntityTablePanel.Config.INCLUDE_ENTITY_MENU
EntityTablePanel.Config.INCLUDE_QUERY_INSPECTOR
EntityTablePanel.Config.INCLUDE_CLEAR_CONTROL
EntityTablePanel.Config.INCLUDE_LIMIT_MENU
EntityTablePanel.Config.REFRESH_BUTTON_VISIBLE
EntityTablePanel.Config.COLUMN_SELECTION
EntityTablePanel.Config.INCLUDE_CONDITIONS
EntityTablePanel.Config.INCLUDE_FILTERS
EntityTablePanel.Config.INCLUDE_SUMMARY
EntityTablePanel.Config.REFRESH_PROGRESS_BAR
EntityTablePanel.Config.REFRESH_PROGRESS_BAR_DELAY
ReferentialIntegrityErrorHandling.REFERENTIAL_INTEGRITY_ERROR_HANDLING
TabbedApplicationLayout.TAB_PLACEMENT
TabbedDetailLayout.INCLUDE_CONTROLS
-
Uses of EntityType in is.codion.framework.db
Methods in is.codion.framework.db that return types with arguments of type EntityTypeModifier and TypeMethodDescriptionEntityConnection.dependencies(Collection<Entity> entities) Selects the entities that depend on the given entities via (non-soft) foreign keys, mapped to corresponding entityTypesMethods in is.codion.framework.db with parameters of type EntityTypeModifier and TypeMethodDescriptionstatic EntityConnection.CountEntityConnection.Count.all(EntityType entityType) EntityConnection.Select.all(EntityType entityType) EntityConnection.Update.all(EntityType entityType) EntityConnection.BatchCopy.Builder.entityTypes(EntityType... entityTypes) -
Uses of EntityType in is.codion.framework.db.rmi
Methods in is.codion.framework.db.rmi that return types with arguments of type EntityTypeModifier and TypeMethodDescriptionRemoteEntityConnection.dependencies(Collection<Entity> entities) Selects the entities that depend on the given entities via (non-soft) foreign keys, mapped to corresponding entityTypes -
Uses of EntityType in is.codion.framework.domain
Methods in is.codion.framework.domain that return EntityTypeModifier and TypeMethodDescriptionDomainType.entityType(String name) Instantiates aEntityTypeassociated with this domain type.DomainType.entityType(String name, Class<?> resourceBundleClass) Instantiates aEntityTypeassociated with this domain type.DomainType.entityType(String name, String resourceBundleName) Instantiates aEntityTypeassociated with this domain type.Methods in is.codion.framework.domain with parameters of type EntityTypeModifier and TypeMethodDescriptionprotected final voidDomainModel.addEntities(Domain domain, EntityType... entityTypes) Adds the specified entities and their required dependencies from the given domain to this domain.booleanDomainType.contains(EntityType entityType) Method parameters in is.codion.framework.domain with type arguments of type EntityTypeModifier and TypeMethodDescriptionprotected final voidDomainModel.addEntities(Domain domain, Collection<EntityType> entityTypes) Adds the specified entities and their required dependencies from the given domain to this domain. -
Uses of EntityType in is.codion.framework.domain.db
Methods in is.codion.framework.domain.db with parameters of type EntityType -
Uses of EntityType in is.codion.framework.domain.entity
Methods in is.codion.framework.domain.entity that return EntityTypeModifier and TypeMethodDescriptionstatic EntityTypeEntityType.entityType(String name, DomainType domainType) Creates a new EntityType instance.static EntityTypeEntityType.entityType(String name, DomainType domainType, String resourceBundleName) Creates a new EntityType instance.Entity.Key.type()Entity.type()EntityDefinition.type()Methods in is.codion.framework.domain.entity that return types with arguments of type EntityTypeModifier and TypeMethodDescriptionstatic LinkedHashMap<EntityType, List<Entity>> Entity.groupByType(Collection<Entity> entities) Returns aLinkedHashMapcontaining the given entities mapped to their entityTypes, respecting the iteration order of the given collectionstatic LinkedHashMap<EntityType, List<Entity.Key>> Entity.Key.groupByType(Collection<Entity.Key> keys) Returns a LinkedHashMap containing the given entity keys mapped to their entityTypes, respecting the iteration order of the given collectionMethods in is.codion.framework.domain.entity with parameters of type EntityTypeModifier and TypeMethodDescriptionbooleanEntities.contains(EntityType entityType) Entities.definition(EntityType entityType) Returns theEntityDefinitionfor the given entityTypeEntities.entity(EntityType entityType) Creates a newEntity.Builderinstance for the given entityTypeEntities entities = domain.entities(); // Build an entity with initial values Entity customer = entities.entity(Customer.TYPE) .with(Customer.NAME, "John Doe") .with(Customer.EMAIL, "john@example.com") .with(Customer.ACTIVE, true) .build(); // Build with a foreign key reference Entity order = entities.entity(Order.TYPE) .with(Order.CUSTOMER_FK, customer) .with(Order.DATE, LocalDate.now()) .with(Order.TOTAL, 100.50) .build();EntityDefinition.ForeignKeys.get(EntityType referencedEntityType) Returns the foreign keys referencing entities of the given typeEntities.key(EntityType entityType) Entity.Key customerKey = entities.key(Customer.TYPE) .with(Customer.ID, 42) .build();<T> Entity.KeyEntities.primaryKey(EntityType entityType, @Nullable T value) Creates a newEntity.Keyinstance of the given entityType, initialised with the given valueEntities entities = domain.entities(); // Create a single-value primary key Entity.Key customerKey = entities.primaryKey(Customer.TYPE, 42); // Use the key to fetch an entity Entity customer = connection.selectSingle(customerKey); // Keys can be compared Entity.Key anotherKey = entities.primaryKey(Customer.TYPE, 42); customerKey.equals(anotherKey); // true // Null values are allowed Entity.Key nullKey = entities.primaryKey(Customer.TYPE, null);<T> List<Entity.Key> Entities.primaryKeys(EntityType entityType, Collection<T> values) Creates newEntity.Keyinstances of the given entityType, initialised with the given valuesEntities entities = domain.entities(); // Create multiple keys at once List<Entity.Key> customerKeys = entities.primaryKeys(Customer.TYPE, List.of(1, 2, 3, 4, 5));<T> List<Entity.Key> Entities.primaryKeys(EntityType entityType, T... values) Creates newEntity.Keyinstances of the given entityType, initialised with the given valuesEntities entities = domain.entities(); // Create multiple keys at once List<Entity.Key> customerKeys = entities.primaryKeys(Customer.TYPE, 1, 2, 3, 4, 5); // Fetch multiple entities List<Entity> customers = connection.select(customerKeys); // Varargs syntax allows flexible usage List<Entity.Key> keys = entities.primaryKeys(Order.TYPE, "ORD-001", "ORD-002", "ORD-003");Method parameters in is.codion.framework.domain.entity with type arguments of type EntityTypeModifier and TypeMethodDescriptionvoidEntities.Configurable.add(Entities entities, Collection<EntityType> entityTypes) Adds the given entity definitions, including dependencies, from the given instance. -
Uses of EntityType in is.codion.framework.domain.entity.attribute
Methods in is.codion.framework.domain.entity.attribute that return EntityTypeModifier and TypeMethodDescriptionAttribute.entityType()AttributeDefinition.entityType()ForeignKey.referencedType()Methods in is.codion.framework.domain.entity.attribute with parameters of type EntityTypeModifier and TypeMethodDescriptionstatic <T> Attribute<T> Attribute.attribute(EntityType entityType, String name, TypeReference<T> typeReference) Creates a newAttribute, associated with the given entityType.static <T> Attribute<T> Attribute.attribute(EntityType entityType, String name, Class<T> valueClass) Creates a newAttribute, associated with the given entityType.static <T> Column<T> Column.column(EntityType entityType, String name, TypeReference<T> typeReference) Creates a newColumn, associated with the given entityType.static <T> Column<T> Column.column(EntityType entityType, String name, Class<T> valueClass) Creates a newColumn, associated with the given entityType.static ForeignKeyForeignKey.foreignKey(EntityType entityType, String name, List<ForeignKey.Reference<?>> references) Creates a newForeignKeybased on the given entityType and references. -
Uses of EntityType in is.codion.framework.domain.entity.condition
Methods in is.codion.framework.domain.entity.condition that return EntityTypeMethods in is.codion.framework.domain.entity.condition with parameters of type EntityTypeModifier and TypeMethodDescriptionstatic ConditionCondition.all(EntityType entityType) static ConditionTypeConditionType.conditionType(EntityType entityType, String name) Instantiates a newConditionTypefor the given entity type -
Uses of EntityType in is.codion.framework.domain.test
Methods in is.codion.framework.domain.test with parameters of type EntityTypeModifier and TypeMethodDescriptionDefaultEntityFactory.entity(EntityType entityType) DomainTest.EntityFactory.entity(EntityType entityType) Initializes the Entity instance on which to run the tests, by default this method creates an instance filled with random values.final voidDomainTest.test(EntityType entityType) Runs the insert/update/select/delete tests for the given entityType -
Uses of EntityType in is.codion.framework.model
Methods in is.codion.framework.model that return EntityTypeModifier and TypeMethodDescriptionfinal EntityTypeAbstractEntityEditModel.entityType()final EntityTypeAbstractEntityModel.entityType()final EntityTypeAbstractEntityTableModel.entityType()EntityConditionModel.entityType()EntityEditModel.entityType()EntityModel.entityType()EntityQueryModel.entityType()EntityTableModel.entityType()Methods in is.codion.framework.model with parameters of type EntityTypeModifier and TypeMethodDescriptionbooleanEntityApplicationModel.EntityModels.contains(EntityType entityType) protected final EntityDefinitionEntityConditions.definition(EntityType entityType) EntityConditionModel.Builder.EntityTypeStep.entityType(EntityType entityType) EntitySearchModel.Builder.EntityTypeStep.entityType(EntityType entityType) static EntityEditModel.EditEventsEntityEditModel.events(EntityType entityType) EntityApplicationModel.EntityModels.get(EntityType entityType) EntityModel.DetailModels.get(EntityType entityType) Returns a detail model of the given typestatic EntityExport.SettingsEntityExport.settings(EntityType entityType, Entities entities) Constructors in is.codion.framework.model with parameters of type EntityTypeModifierConstructorDescriptionprotectedAbstractEntityEditModel(EntityType entityType, EntityConnectionProvider connectionProvider) Instantiates a newAbstractEntityEditModelbased on the given entity type.EntityConditions(EntityType entityType, EntityConnectionProvider connectionProvider) Instantiates a newEntityConditions. -
Uses of EntityType in is.codion.framework.model.test
Fields in is.codion.framework.model.test declared as EntityTypeModifier and TypeFieldDescriptionstatic final EntityTypeTestDomain.DateTimeTest.TYPEstatic final EntityTypeTestDomain.Department.TYPEstatic final EntityTypeTestDomain.Derived.TYPEstatic final EntityTypeTestDomain.Detail.TYPEstatic final EntityTypeTestDomain.Employee.TYPEstatic final EntityTypeTestDomain.EnumEntity.TYPEstatic final EntityTypeTestDomain.Job.TYPEstatic final EntityTypeTestDomain.Master.TYPEstatic final EntityTypeTestDomain.NonGeneratedPK.TYPEMethods in is.codion.framework.model.test with parameters of type EntityTypeModifier and TypeMethodDescriptionprotected abstract EditModelAbstractEntityTableModelTest.createEditModel(EntityType entityType, EntityConnectionProvider connectionProvider) protected abstract TableModelAbstractEntityTableModelTest.createTableModel(EntityType entityType, EntityConnectionProvider connectionProvider) -
Uses of EntityType in is.codion.swing.framework.model
Constructors in is.codion.swing.framework.model with parameters of type EntityTypeModifierConstructorDescriptionSwingEntityConditions(EntityType entityType, EntityConnectionProvider connectionProvider) Instantiates a newSwingEntityConditions.SwingEntityEditModel(EntityType entityType, EntityConnectionProvider connectionProvider) Instantiates a newSwingEntityEditModelbased on the given entity type.SwingEntityModel(EntityType entityType, EntityConnectionProvider connectionProvider) Instantiates a new SwingEntityModel with default SwingEntityEditModel and SwingEntityTableModel implementations.SwingEntityTableModel(EntityType entityType, EntityConnectionProvider connectionProvider) Instantiates a new SwingEntityTableModel.SwingEntityTableModel(EntityType entityType, Collection<Entity> entities, EntityConnectionProvider connectionProvider) Instantiates a new SwingEntityTableModel containing the given entites. -
Uses of EntityType in is.codion.swing.framework.model.component
Methods in is.codion.swing.framework.model.component with parameters of type EntityTypeModifier and TypeMethodDescriptionEntityComboBoxModel.Builder.EntityTypeStep.entityType(EntityType entityType) -
Uses of EntityType in is.codion.swing.framework.ui
Methods in is.codion.swing.framework.ui that return EntityTypeMethods in is.codion.swing.framework.ui with parameters of type EntityTypeModifier and TypeMethodDescriptionfinal EntityPanelEntityApplicationPanel.entityPanel(EntityType entityType) EntityPanel.Builder.EntityTypeStep.entityType(EntityType entityType) EntityPanel.DetailPanels.get(EntityType entityType) Returns the first detail panel found based on the givenentityType -
Uses of EntityType in is.codion.tools.generator.domain
Method parameters in is.codion.tools.generator.domain with type arguments of type EntityType