Enum Class EmptyEntityAction

java.lang.Object
java.lang.Enum<EmptyEntityAction>
ru.cg.webbpm.modules.database.bean.entity_graph.EmptyEntityAction
All Implemented Interfaces:
Serializable, Comparable<EmptyEntityAction>, Constable

public enum EmptyEntityAction extends Enum<EmptyEntityAction>
Действие при сохранении сущности с пустыми полями.
Author:
a.petrov
  • Enum Constant Details

    • IGNORE_OR_DELETE_IF_ONLY_FK_VALUES_PRESENT

      public static final EmptyEntityAction IGNORE_OR_DELETE_IF_ONLY_FK_VALUES_PRESENT
      Если в данных для сохроанения сущности содержатся только id дочерних сущностей: при вставке - игнорировать, при обновлении - удалить
    • IGNORE_OR_DELETE

      public static final EmptyEntityAction IGNORE_OR_DELETE
      При вставке - игнорировать, при обновлении - удалить
    • SAVE

      public static final EmptyEntityAction SAVE
      Сохранить с пустыми значениями
  • Method Details

    • values

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