Enum ChangeType

java.lang.Object
java.lang.Enum<ChangeType>
org.assertj.db.type.ChangeType
All Implemented Interfaces:
Serializable, Comparable<ChangeType>

public enum ChangeType extends Enum<ChangeType>
Enumeration of the different types of change that are possible in the database (creation, modification or deletion of a row).
Author:
Régis Pouiller
  • Enum Constant Details

    • CREATION

      public static final ChangeType CREATION
      The change is a creation of a row.

      At the start point the row do not exist and at the end point it is created.

    • MODIFICATION

      public static final ChangeType MODIFICATION
      The change is a modification of a row.

      The row is modified between the start point and at the end point.

    • DELETION

      public static final ChangeType DELETION
      The change is a deletion of a row.

      At the start point the row exists but anymore at the end point.

  • Method Details

    • values

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

      public static ChangeType valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null