primaryKeyPresent
ObservableState primaryKeyPresent()
- Returns:
- an
ObservableStateindicating whether the value of the entity primary key is present
Observable<Entity>, Observer<Entity>DefaultEntityEditor, SwingEntityEditorstatic interface static interface Attribute value in the underlying entity being edited.static interface static interface static interface EntitySearchModels used by a EntityEditModelObserver.Builder<T,B extends Observer.Builder<T,B>> static final PropertyValue<Boolean> changing()CancelException from a listener will cancel the change.voidclear()EntityEditor.EditorValue.persist() directive.voiddefaults()entities()exists()get()modified()ObservableState indicating whether any values have been modified.booleanvoidrefresh()voidvoidrevert()voidvalid()voidvalidate()voidvoidvoidvalidate(Collection<Entity> entities) <T> EntityEditor.EditorValue<T> EntityEditor.EditorValue
instance or when the entity is set via clear(), set(Entity) or defaults().getOrThrow, getOrThrow, is, isNot, isNull, isNullable, optionaladdConsumer, addListener, addWeakConsumer, addWeakListener, observer, removeConsumer, removeListener, removeWeakConsumer, removeWeakListener, when, whenget in interface Observable<Entity>Populates this editor with the values from the given entity or sets the default value for all attributes in case it is null.
Use clear() in order to clear the editor of all values.
Notifies that the entity is about to change via changing()
entity - the entity to set, if null, then defaults are setEntityEditor.EditorValue.persist() directive.Notifies that the entity is about to change via 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 entityThrowing a CancelException from a listener will cancel the change.
set(Entity) or defaults().EntityEditor.EditorValue
instance or when the entity is set via clear(), 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 validatorValidationException - in case the entity is invalidattribute - the attribute the value is associated withValidationException - if the given value is not valid for the given attributeentities - the entities to validateValidationException - on finding the first invalid entityentity - the entity to validateValidationException - 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 instance