primaryKeyPresent
ObservableState primaryKeyPresent()
- Returns:
- an
ObservableStateindicating whether the value of the entity primary key is present
M - the EntityModel typeE - the EntityEditModel typeT - the EntityTableModel typeR - the EntityEditor typeDefaultEntityEditor, SwingEntityEditorstatic interface EntityEditor.ComponentModels<M extends EntityModel<M,E,T,R>,E extends EntityEditModel<M,E,T,R>,T extends EntityTableModel<M,E,T,R>,R extends EntityEditor<M,E,T,R>> static 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 EntitySearchModels used by a EntityEditModelstatic interface static final PropertyValue<Boolean> voidclear()EntityEditor.EditorValue.persist() directive.voiddefaults()entities()entity()exists()modified()ObservableState indicating whether any values have been modified.booleanvoidrevert()tasks()valid()voidvalidate()voidvoidvoidvalidate(Collection<Entity> entities) <T> EntityEditor.EditorValue<T> EntityEditor.EditorValue
instance or when the entity is set via clear(), EntityEditor.EditorEntity.set(Entity) or defaults().EntityEditor.EditorEntity instanceEntityEditor.EditorValue.persist() directive.Notifies that the entity is about to change via EntityEditor.EditorEntity.changing()
ObservableState 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 entityEntityEditor.EditorValue
instance or when the entity is set via clear(), EntityEditor.EditorEntity.set(Entity) or defaults().ObservableState 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 nullattribute - the attributeT - the value typeattribute - the attributeEntityEditor.EditorValue representing the given attributeEntityEditor.SearchModels instanceEntityEditor.EditorPersistence used by this editorEntityEditor.PersistTasks instance