primaryKeyPresent
- Specified by:
primaryKeyPresentin interfaceEntityEditor- Returns:
- an
ObservableStateindicating whether the value of the entity primary key is present
Observable<Entity>, Observer<Entity>, EntityEditorSwingEntityEditorEntityEditor implementation.static class EntityEditor.ComponentModels implementation providing foreign key based EntitySearchModel.EntityEditor.ComponentModels, EntityEditor.EditorValue<T>, EntityEditor.Exists, EntityEditor.Modified, EntityEditor.SearchModelsObserver.Builder<T,B extends Observer.Builder<T,B>> PERSIST_FOREIGN_KEYSDefaultEntityEditor(EntityType entityType,
EntityConnectionProvider connectionProvider) DefaultEntityEditorDefaultEntityEditor(EntityType entityType,
EntityConnectionProvider connectionProvider,
EntityEditor.ComponentModels componentModels) DefaultEntityEditorchanging()CancelException from a listener will cancel the change.final voidclear()EntityEditor.EditorValue.persist() directive.final EntityConnectionProviderfinal voiddefaults()final Entitiesentities()final EntityDefinitionfinal EntityEditor.Existsexists()final Entityget()final EntityEditor.Modifiedmodified()ObservableState indicating whether any values have been modified.final booleanobserver()Observer to which listener operations are delegated.final ObservableStatefinal voidrefresh()final voidfinal voidrevert()final voidfinal 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.set(Entity) or EntityEditor.defaults().clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetOrThrow, getOrThrow, is, isNot, isNull, isNullable, optionaladdConsumer, addListener, addWeakConsumer, addWeakListener, removeConsumer, removeListener, removeWeakConsumer, removeWeakListener, when, whenDefaultEntityEditorentityType - the entity typeconnectionProvider - the connection providerDefaultEntityEditorentityType - the entity typeconnectionProvider - the connection providercomponentModels - the editor modelsentities in interface EntityEditorentityDefinition in interface EntityEditorconnectionProvider in interface EntityEditorEntityEditorPopulates this editor with the values from the given entity or sets the default value for all attributes in case it is null.
Use EntityEditor.clear() in order to clear the editor of all values.
Notifies that the entity is about to change via EntityEditor.changing()
set in interface EntityEditorentity - the entity to set, if null, then defaults are setget in interface EntityEditorget in interface Observable<Entity>EntityEditorreplace in interface EntityEditorEntityEditorEntityEditor.EditorValue.persist() directive.clear in interface EntityEditorObserverObserver to which listener operations are delegated.
For AbstractObserver subclasses this method returns this.
For wrapper types, this returns the delegate observer.
EntityEditorNotifies that the entity is about to change via EntityEditor.changing()
defaults in interface EntityEditorEntityEditorrevert in interface EntityEditorEntityEditorrefresh 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 entityEntityEditorThrowing a CancelException from a listener will cancel the change.
changing in interface EntityEditorEntityEditor.set(Entity) or EntityEditor.defaults().EntityEditorEntityEditor.EditorValue
instance or when the entity is set via EntityEditor.clear(), EntityEditor.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