java.lang.Object
java.lang.Enum<EBXWriteMode>
com.orchestranetworks.addon.dint.dataconnector.spec.EBXWriteMode
All Implemented Interfaces:
Serializable, Comparable<EBXWriteMode>, Constable

public enum EBXWriteMode extends Enum<EBXWriteMode>
Strategy to write into EBX.
Since:
4.1.0
  • Enum Constant Details

    • UPDATE_OR_INSERT

      public static final EBXWriteMode UPDATE_OR_INSERT
      If a record already exists in the target table, it will be updated.

      Otherwise, a new record will be inserted.

    • UPDATE_ONLY

      public static final EBXWriteMode UPDATE_ONLY
      If a record already exists in the target table, it will be updated.

      Otherwise, it will be ignored.

    • INSERT_ONLY

      public static final EBXWriteMode INSERT_ONLY
      If a record does not exist in the target table yet, it will be inserted.

      Otherwise, it will be ignored.

    • DELETE_ONLY

      public static final EBXWriteMode DELETE_ONLY
      If a record already exists in the target table and is not presented in the import file, it will be deleted from the target table.

      Otherwise, it will be ignored.

    • REPLACE_ALL_CONTENT

      public static final EBXWriteMode REPLACE_ALL_CONTENT
      All existing data in the table will be deleted before importing the data.
  • Method Details

    • values

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