Interface EntityEditModel.EditableEntity.Exists

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.Exists extends is.codion.common.state.StateObserver
Indicates whether the active entity exists in the database.
See Also:
  • Method Summary

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

    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 'exists' predicate for this EntityEditModel.EditableEntity.Exists instance, which is responsible for providing the exists state of the underlying entity.
      Returns:
      the Value controlling the predicate used to check if the entity exists
      See Also:
      • EntityDefinition.exists()
      • Entity.exists()