Enum Class DataChangeDetail.ChangeFlag

java.lang.Object
java.lang.Enum<DataChangeDetail.ChangeFlag>
de.espirit.firstspirit.storage.DataChangeDetail.ChangeFlag
All Implemented Interfaces:
Serializable, Comparable<DataChangeDetail.ChangeFlag>, java.lang.constant.Constable
Enclosing interface:
DataChangeDetail

public static enum DataChangeDetail.ChangeFlag extends Enum<DataChangeDetail.ChangeFlag>
Flag identifiying the change type.
Since:
4.0.90
  • Enum Constant Details

    • ADDED

      public static final DataChangeDetail.ChangeFlag ADDED
      Indicates that a change was detected because an element (editor, language) was added during the modification.
      Since:
      4.0.90
    • REMOVED

      public static final DataChangeDetail.ChangeFlag REMOVED
      Indicates that a change was detected because an element (editor, language) was removed during the modification.
      Since:
      4.0.90
    • CHANGED

      public static final DataChangeDetail.ChangeFlag CHANGED
      Indicates that a change was detected because an element (editor, language) was changed during the modification.
      Since:
      4.0.90
  • Method Details

    • values

      public static DataChangeDetail.ChangeFlag[] 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 DataChangeDetail.ChangeFlag 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
    • getTypeChar

      public char getTypeChar()
      Provides an identifying character for a change flag.
      Returns:
      A character.
      Since:
      4.0.90
    • forTypeChar

      public static DataChangeDetail.ChangeFlag forTypeChar(char c)
      Determines the change flag corresponding to the given identifying character.
      Parameters:
      c - The character.
      Returns:
      The corresponding flag.
      Throws:
      IllegalArgumentException - if the character does not correspond to a flag.
      Since:
      4.0.90