Enum Class ImportAction

java.lang.Object
java.lang.Enum<ImportAction>
cdc.impex.templates.ImportAction
All Implemented Interfaces:
Serializable, Comparable<ImportAction>, Constable

public enum ImportAction extends Enum<ImportAction>
Enumeration of possible actions for each row.
Author:
Damien Carbonne
  • Enum Constant Details

    • CREATE

      public static final ImportAction CREATE
      The row describes the creation of something.

      It must contain all identification and read-only-attributes.

    • UPDATE

      public static final ImportAction UPDATE
      The row describes the update of something.

      It must contain all identification attributes and those that must be changed.

    • DELETE

      public static final ImportAction DELETE
      The row describes the removal of something.

      It must contain identification attributes.

    • IGNORE

      public static final ImportAction IGNORE
      The row must be ignored.

      Note: an empty action is also ignored.

  • Method Details

    • values

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