Enum Class EntityMerge.Change

java.lang.Object
java.lang.Enum<EntityMerge.Change>
is.codion.framework.model.EntityMerge.Change
All Implemented Interfaces:
Serializable, Comparable<EntityMerge.Change>, Constable
Enclosing interface:
EntityMerge

public static enum EntityMerge.Change extends Enum<EntityMerge.Change>
Which version changed an attribute value, according to the base
  • Enum Constant Details

    • MINE

      public static final EntityMerge.Change MINE
      Mine changed the value, theirs has it as the base does, mine pre-selected
    • THEIRS

      public static final EntityMerge.Change THEIRS
      Theirs changed the value, mine has it as the base does, theirs pre-selected
    • BOTH

      public static final EntityMerge.Change BOTH
      Both changed the value, differently, nothing pre-selected
    • UNKNOWN

      public static final EntityMerge.Change UNKNOWN
      Not known, without a base or a base value, nothing pre-selected
  • Method Details

    • values

      public static EntityMerge.Change[] 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 EntityMerge.Change 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