Enum Class DataValueTO.AttributeAction

java.lang.Object
java.lang.Enum<DataValueTO.AttributeAction>
mc.core.domain.generic.DataValueTO.AttributeAction
All Implemented Interfaces:
Serializable, Comparable<DataValueTO.AttributeAction>, Constable
Enclosing class:
DataValueTO

public static enum DataValueTO.AttributeAction extends Enum<DataValueTO.AttributeAction>
type of action to perform for attributes during multi indexing AspectAttributeWrite.multiIndexingSetValues(mc.core.model.base.ComplexEntity, Attribute, List, AttributeAction) . Some actions only exist for display reasons in GUI (NONE, DELETE_ALL.
  • Enum Constant Details

    • NONE

      public static final DataValueTO.AttributeAction NONE
      perform no action
    • UPDATE

      public static final DataValueTO.AttributeAction UPDATE
      set value (overwrite or add)
    • ADD_VALUE

      public static final DataValueTO.AttributeAction ADD_VALUE
      only single text value, not enumerated: appends value given in DataValueTO(s) to existing DVText-value, separated by semicolon
    • DELETE

      public static final DataValueTO.AttributeAction DELETE
      deletes all values for object and attribute, ignores DataValueTO(s)
    • DELETE_SELECTED

      public static final DataValueTO.AttributeAction DELETE_SELECTED
      multi value enumerated: only delete DataValueSets for which keys are given in list of DataValueTOs
    • DELETE_ALL

      public static final DataValueTO.AttributeAction DELETE_ALL
      deletes all values for object and attribute, ignores DataValueTO(s), identical to DELETE, exists in order to show different label for multivalue enumerated
    • UNASSIGN

      public static final DataValueTO.AttributeAction UNASSIGN
      Remove assigned object attribute
  • Method Details

    • values

      public static DataValueTO.AttributeAction[] 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 DataValueTO.AttributeAction 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
    • getNameKey

      public String getNameKey()