primaryKeyPresent
- Specified by:
primaryKeyPresentin interfaceEntityEditor<R extends EntityEditor<R>>- Returns:
- an
ObservableStateindicating whether the value of the entity primary key is present
R - the editor typeEntityEditor<R>SwingEntityEditorEntityEditor implementation.EntityEditor.ComponentModels, EntityEditor.DetailEditors<R extends EntityEditor<R>>, EntityEditor.EditorEntity, EntityEditor.EditorPersistence, EntityEditor.EditorTasks, EntityEditor.EditorValue<T>, EntityEditor.EditorValues, EntityEditor.Exists, EntityEditor.Modified, EntityEditor.PersistEvents, EntityEditor.PersistTask<T>, EntityEditor.Present, EntityEditor.RefreshTask, EntityEditor.SearchModels, EntityEditor.SettingsPERSIST_FOREIGN_KEYS, PUBLISH_PERSISTENCE_EVENTSDefaultEntityEditor(EntityType entityType,
EntityConnectionProvider connectionProvider,
EntityEditor.ComponentModels componentModels) DefaultEntityEditorprotected EntityEditor.ComponentModelsfinal EntityConnectionProviderfinal Entitydelete()final Collection<Entity> delete(Collection<Entity> entities) final EntityEditor.DetailEditors<R> detail()final Entitiesentities()entity()final EntityDefinitionevents()final EntityEditor.Existsexists()final Entityinsert()final Collection<Entity> insert(Collection<Entity> entities) final EntityEditor.Modifiedmodified()ObservableState indicating whether any values have been modified.final EntityEditor.Presentpresent()final ObservableStatefinal EntityEditor.Settingssettings()final EntityEditor.EditorTaskstasks()final EntityEditor.EditorTaskstasks(EntityConnection connection) final StringtoString()final Entityupdate()final Collection<Entity> update(Collection<Entity> entities) final ObservableStatevalid()final voidvalidate()final voidfinal voidfinal voidvalidate(Collection<Entity> entities) final Value<EntityValidator> final <T> EntityEditor.EditorValue<T> values()DefaultEntityEditorentityType - the entity typeconnectionProvider - the connection providercomponentModels - the editor component modelsentities in interface EntityEditor<R extends EntityEditor<R>>entityDefinition in interface EntityEditor<R extends EntityEditor<R>>connectionProvider in interface EntityEditor<R extends EntityEditor<R>>settings in interface EntityEditor<R extends EntityEditor<R>>events in interface EntityEditor<R extends EntityEditor<R>>EntityEditor.PersistEventsentity in interface EntityEditor<R extends EntityEditor<R>>EntityEditor.EditorEntity instancevalues in interface EntityEditor<R extends EntityEditor<R>>EntityEditor.EditorValuesexists in interface EntityEditor<R extends EntityEditor<R>>ObservableState indicating whether the entity exists in the databaseEntityEditorReturns an ObservableState indicating whether any values have been modified.
Note that only existing entities are modified, new, or non-existing entities are never modified.
modified in interface EntityEditor<R extends EntityEditor<R>>ObservableState indicating the modified state of this editor entitypresent in interface EntityEditor<R extends EntityEditor<R>>EntityEditor.Present instanceprimaryKeyPresent in interface EntityEditor<R extends EntityEditor<R>>ObservableState indicating whether the value of the entity primary key is presentEntityEditorvalidator in interface EntityEditor<R extends EntityEditor<R>>Value controlling the validatorvalid in interface EntityEditor<R extends EntityEditor<R>>ObservableState indicating the valid status of the underlying Entity.EntityEditorvalidate in interface EntityEditor<R extends EntityEditor<R>>EntityValidationException - in case the entity is invalidEntityEditorvalidate in interface EntityEditor<R extends EntityEditor<R>>attribute - the attribute the value is associated withAttributeValidationException - if the given value is not valid for the given attributeEntityEditorvalidate in interface EntityEditor<R extends EntityEditor<R>>entities - the entities to validateEntityValidationException - on finding the first invalid entityEntityEditorvalidate in interface EntityEditor<R extends EntityEditor<R>>entity - the entity to validateEntityValidationException - in case the entity is invalidEntityEditorvalue in interface EntityEditor<R extends EntityEditor<R>>T - the value typeattribute - the attributeEntityEditor.EditorValue representing the given attributesearchModels in interface EntityEditor<R extends EntityEditor<R>>EntityEditor.SearchModels instancedetail in interface EntityEditor<R extends EntityEditor<R>>EntityEditor.DetailEditors instancepersistence in interface EntityEditor<R extends EntityEditor<R>>EntityEditor.EditorPersistence used by this editortasks in interface EntityEditor<R extends EntityEditor<R>>EntityEditor.EditorTasks instancetasks in interface EntityEditor<R extends EntityEditor<R>>connection - the connection to use when persistingEntityEditor.EditorTasks instanceEntityEditorinsert in interface EntityEditor<R extends EntityEditor<R>>EntityValidationException - in case validation failsEntityEditorinsert in interface EntityEditor<R extends EntityEditor<R>>entities - the entities to insertEntityValidationException - in case validation failsEntityEditorupdate in interface EntityEditor<R extends EntityEditor<R>>EntityValidationException - in case validation failsEntityEditorupdate in interface EntityEditor<R extends EntityEditor<R>>entities - the entities to updateEntityValidationException - in case validation failsEntityEditordelete in interface EntityEditor<R extends EntityEditor<R>>EntityEditordelete in interface EntityEditor<R extends EntityEditor<R>>entities - the entities to deleteEntityEditor.ComponentModels instance