primaryKeyPresent
- Specified by:
primaryKeyPresentin interfaceEntityEditor- Returns:
- an
ObservableStateindicating whether the value of the entity primary key is present
EntityEditorSwingEntityEditorEntityEditor implementation.static class EntityEditor.ComponentModels implementation providing foreign key based EntitySearchModel.EntityEditor.ComponentModels, EntityEditor.EditorEntity, EntityEditor.EditorValue<T>, EntityEditor.Exists, EntityEditor.Modified, EntityEditor.SearchModelsPERSIST_FOREIGN_KEYSDefaultEntityEditor(EntityType entityType,
EntityConnectionProvider connectionProvider) DefaultEntityEditorDefaultEntityEditor(EntityType entityType,
EntityConnectionProvider connectionProvider,
EntityEditor.ComponentModels componentModels) DefaultEntityEditorfinal voidclear()EntityEditor.EditorValue.persist() directive.final EntityConnectionProviderfinal voiddefaults()final Entitiesentities()entity()final EntityDefinitionfinal EntityEditor.Existsexists()final EntityEditor.Modifiedmodified()ObservableState indicating whether any values have been modified.final booleanfinal ObservableStatefinal voidrevert()final StringtoString()final ObservableStatevalid()final voidvalidate()final voidfinal voidfinal voidvalidate(Collection<Entity> entities) final Value<EntityValidator> final <T> EntityEditor.EditorValue<T> EntityEditor.EditorValue
instance or when the entity is set via EntityEditor.clear(), EntityEditor.EditorEntity.set(Entity) or EntityEditor.defaults().DefaultEntityEditorentityType - the entity typeconnectionProvider - the connection providerDefaultEntityEditorentityType - the entity typeconnectionProvider - the connection providercomponentModels - the editor modelsentities in interface EntityEditorentityDefinition in interface EntityEditorconnectionProvider in interface EntityEditorentity in interface EntityEditorEntityEditor.EditorEntity instanceEntityEditorEntityEditor.EditorValue.persist() directive.clear in interface EntityEditorEntityEditorNotifies that the entity is about to change via EntityEditor.EditorEntity.changing()
defaults in interface EntityEditorEntityEditorrevert in interface EntityEditorexists in interface EntityEditorObservableState 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 EntityEditorObservableState indicating the modified state of this entityEntityEditorEntityEditor.EditorValue
instance or when the entity is set via EntityEditor.clear(), EntityEditor.EditorEntity.set(Entity) or EntityEditor.defaults().valueChanged in interface EntityEditornullable in interface EntityEditorattribute - the attributeprimaryKeyPresent in interface EntityEditorObservableState indicating whether the value of the entity primary key is presentEntityEditorvalidator in interface EntityEditorValue controlling the validatorvalid in interface EntityEditorObservableState indicating the valid status of the underlying Entity.EntityEditorvalidate in interface EntityEditorEntityEditorvalidate in interface EntityEditorattribute - the attribute the value is associated withEntityEditorvalidate in interface EntityEditorentities - the entities to validateEntityEditorvalidate in interface EntityEditorentity - the entity to validateEntityEditorvalue in interface EntityEditorT - the value typeattribute - the attributeEntityEditor.EditorValue representing the given attributesearchModels in interface EntityEditorEntityEditor.SearchModels instance