primaryKeyNull
ObservableState primaryKeyNull()
- Returns:
- an
ObservableStateindicating whether the primary key of the entity is null
Observable<Entity>, Observer<Entity>EntityEditModelstatic interface static interface static final PropertyValue<Boolean> changing()voidclear()EntityEditModel.EditorValue.persist() directive.voiddefaults()exists()get()modified()ObservableState indicating whether any values have been modified.booleanvoidrevert()voidvalid()voidvalidate()voidvoidvoidvalidate(Collection<Entity> entities) <T> EntityEditModel.EditorValue<T> EntityEditModel.EditorValue instance representing attribute in this EntityEditModel.EntityEditor.EntityEditModel.EditorValue
instance or when the entity is set via clear(), set(Entity) or defaults().addConsumer, addListener, addWeakConsumer, addWeakListener, getOrThrow, getOrThrow, is, isNot, isNull, isNullable, observer, optional, removeConsumer, removeListener, removeWeakConsumer, removeWeakListenerget 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.
entity - the entity to set, if null, then defaults are setEntityEditModel.EditorValue.persist() directive.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 entityset(Entity) or defaults()EntityEditModel.EditorValue
instance or when the entity is set via clear(), set(Entity) or defaults().ObservableState indicating whether the primary key of the entity is nullObservableState 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 attributeEntityEditModel.EditorValue instance representing attribute in this EntityEditModel.EntityEditor.T - the value typeattribute - the attributeEntityEditModel.EditorValue representing the given attribute