Package org.assertj.db.type
Enum ChangeType
- All Implemented Interfaces:
Serializable,Comparable<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 Summary
Enum ConstantsEnum ConstantDescriptionThe change is a creation of a row.The change is a deletion of a row.The change is a modification of a row. -
Method Summary
Modifier and TypeMethodDescriptionstatic ChangeTypeReturns the enum constant of this type with the specified name.static ChangeType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
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
The change is a modification of a row.The row is modified between the start point and at the end point.
-
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
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
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 nameNullPointerException- if the argument is null
-