primaryKeyPresent
ObservableState primaryKeyPresent()
- Returns:
- an
ObservableStateindicating whether the value of the entity primary key is present
DefaultEntityEditor, SwingEntityEditorstatic interface static interface static interface EntityPersistence used by this editorstatic interface Attribute value in the underlying entity being edited.static interface static interface static interface static interface static interface static interface static interface EntitySearchModels used by a EntityEditModelstatic interface static final PropertyValue<Boolean> static final PropertyValue<Boolean> PersistenceEvents
Value type: Boolean
Default value: true
delete()delete(Collection<Entity> entities) entities()entity()events()exists()insert()insert(Collection<Entity> entities) modified()ObservableState indicating whether any values have been modified.settings()tasks()tasks(EntityConnection connection) update()update(Collection<Entity> entities) valid()voidvalidate()voidvoidvoidvalidate(Collection<Entity> entities) <T> EntityEditor.EditorValue<T> values()PersistenceEvents
EntityEditor.PersistEventsEntityEditor.EditorEntity instanceObservableState indicating whether the entity exists in the databaseReturns an ObservableState indicating whether any values have been modified.
Note that only existing entities are modified, new, or non-existing entities are never modified.
ObservableState indicating the modified state of this editor entityObservableState indicating whether the value of the entity primary key is presentObservableState indicating the valid status of the underlying Entity.Value controlling the validatorEntityValidationException - in case the entity is invalidattribute - the attribute the value is associated withAttributeValidationException - if the given value is not valid for the given attributeentities - the entities to validateEntityValidationException - on finding the first invalid entityentity - the entity to validateEntityValidationException - in case the entity is invalidNullPointerException - in case the entity is nullT - the value typeattribute - the attributeEntityEditor.EditorValue representing the given attributeEntityEditor.SearchModels instanceEntityEditor.EditorPersistence used by this editorEntityEditor.EditorValuesEntityEditor.PersistTasks instanceconnection - the connection to use when persistingEntityEditor.PersistTasks instanceDatabaseException - in case of a database exceptionEntityValidationException - in case validation failsIllegalStateException - in case inserting is not enabledentities - the entities to insertDatabaseException - in case of a database exceptionEntityValidationException - in case validation failsIllegalStateException - in case inserting is not enabledDatabaseException - in case of a database exceptionEntityModifiedException - in case the entity has been modified since it was loadedEntityValidationException - in case validation failsIllegalStateException - in case updating is not enabledUpdateEntityException - in case the active entity is not modifiedentities - the entities to updateDatabaseException - in case of a database exceptionEntityModifiedException - in case an entity has been modified since it was loadedEntityValidationException - in case validation failsIllegalStateException - in case updating is not enabledUpdateEntityException - in case any of the given entities are not modifiedDatabaseException - in case of a database exceptionIllegalStateException - in case deleting is not enabledentities - the entities to deleteDatabaseException - in case of a database exceptionIllegalStateException - in case deleting is not enabled