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 final PropertyValue<Boolean> static final PropertyValue<Boolean> PersistenceEvents
Value type: Boolean
Default value: true
entities()entity()events()exists()modified()ObservableState indicating whether any values have been modified.tasks(EntityConnection connection) valid()voidvalidate()voidvoidvoidvalidate(Collection<Entity> entities) <T> EntityEditor.EditorValue<T> values()PersistenceEvents
EntityEditor.PersistEventsPersistenceEvents event bus.EntityEditor.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.EditorValuesconnection - the connection to use when persistingEntityEditor.PersistTasks instance