Enum Class ModelUpdateKind

java.lang.Object
java.lang.Enum<ModelUpdateKind>
io.fluxzero.common.api.modeling.ModelUpdateKind
All Implemented Interfaces:
Serializable, Comparable<ModelUpdateKind>, Constable

public enum ModelUpdateKind extends Enum<ModelUpdateKind>
Durable change represented by a ModelUpdate.
  • Enum Constant Details

    • COMMIT

      public static final ModelUpdateKind COMMIT
      One persisted model-commit step.
    • HARD_DELETE

      public static final ModelUpdateKind HARD_DELETE
      A prepared physical model erasure fence.

      Its target list is intentionally empty because hard deletion must not leave erased identifiers behind in another durable tracking table. Consumers should invalidate their complete model cache immediately; the materialized state boundary advances separately when physical erasure has completed.

  • Method Details

    • values

      public static ModelUpdateKind[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ModelUpdateKind valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null