java.lang.Object
java.lang.Enum<MetisDataState>
io.github.tonywasher.joceanus.metis.data.MetisDataState
All Implemented Interfaces:
Serializable, Comparable<MetisDataState>, Constable

public enum MetisDataState extends Enum<MetisDataState>
Enumeration of states of DataItem and DataList objects.
  • Enum Constant Details

    • NOSTATE

      public static final MetisDataState NOSTATE
      No known state.
    • NEW

      public static final MetisDataState NEW
      New object.
    • CLEAN

      public static final MetisDataState CLEAN
      Clean object with no changes.
    • CHANGED

      public static final MetisDataState CHANGED
      Changed object with history.
    • DELETED

      public static final MetisDataState DELETED
      Deleted Clean object.
    • DELNEW

      public static final MetisDataState DELNEW
      Deleted New object.
    • RECOVERED

      public static final MetisDataState RECOVERED
      Recovered deleted object.
  • Method Details

    • values

      public static MetisDataState[] 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 MetisDataState 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