primaryKeyNull
StateObserver primaryKeyNull()
- Returns:
- a
StateObserver
indicating whether the primary key of the entity is null
static interface
static interface
changing()
void
clear()
EntityEditModel.EditableValue.persist()
directive.void
defaults()
edited()
exists()
modified()
StateObserver
indicating whether any values have been modified.boolean
void
refresh()
void
revert()
void
valid()
void
validate()
EntityEditModel.EditableValue
instance representing attribute
in this EntityEditModel.EditableEntity
.EntityEditModel.EditableValue
instance or when the entity is set via Mutable.set(Object)
or defaults()
.addConsumer, addListener, addWeakConsumer, addWeakListener, get, observer, optional, removeConsumer, removeListener, removeWeakConsumer, removeWeakListener
clear()
in order to clear the entity of all values.EntityEditModel.EditableValue.persist()
directive.StateObserver
indicating whether the entity exists in the databaseStateObserver
indicating whether any values have been modified.StateObserver
indicating the modified state of this entityStateObserver
indicating whether the entity has been edited, that is, exists and is modifiedMutable.set(Object)
or defaults()
EntityEditModel.EditableValue
instance or when the entity is set via Mutable.set(Object)
or defaults()
.attribute
- the attributeStateObserver
indicating whether the value of the given attribute is nullattribute
- the attributeStateObserver
indicating whether the value of the given attribute is not nullStateObserver
indicating whether the primary key of the entity is nullStateObserver
indicating the valid status of the underlying Entity.Value
controlling the validatorValidationException
- in case the entity is invalidattribute
- the attributeEntityEditModel.EditableValue
instance representing attribute
in this EntityEditModel.EditableEntity
.T
- the value typeattribute
- the attributeEntityEditModel.EditableValue
representing the given attribute