Interface EntityEditModel.EditableEntity.Modified

All Superinterfaces:
is.codion.common.observer.Observer<Boolean>, is.codion.common.state.StateObserver, is.codion.common.value.ValueObserver<Boolean>
Enclosing interface:
EntityEditModel.EditableEntity

public static interface EntityEditModel.EditableEntity.Modified extends is.codion.common.state.StateObserver
Indicates whether the active entity is modified.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    is.codion.common.value.Value<Predicate<is.codion.framework.domain.entity.Entity>>
    Controls the 'modified' predicate for this EntityEditModel.EditableEntity.Modified instance, which is responsible for providing the modified state of the underlying entity.
    void
    Updates the modified state

    Methods inherited from interface is.codion.common.observer.Observer

    addConsumer, addListener, addWeakConsumer, addWeakListener, removeConsumer, removeListener, removeWeakConsumer, removeWeakListener

    Methods inherited from interface is.codion.common.state.StateObserver

    isNotNull, isNull, not, nullable

    Methods inherited from interface is.codion.common.value.ValueObserver

    get, isEqualTo, isNotEqualTo, optional
  • Method Details

    • predicate

      is.codion.common.value.Value<Predicate<is.codion.framework.domain.entity.Entity>> predicate()
      Controls the 'modified' predicate for this EntityEditModel.EditableEntity.Modified instance, which is responsible for providing the modified state of the underlying entity.
      Returns:
      the Value controlling the predicate used to check if the entity is modified
      See Also:
      • Entity.modified()
    • update

      void update()
      Updates the modified state