Package mc.core.domain.generic
Enum Class DataValueTO.AttributeAction
- All Implemented Interfaces:
Serializable,Comparable<DataValueTO.AttributeAction>,Constable
- Enclosing class:
- DataValueTO
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.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptiononly single text value, not enumerated: appends value given in DataValueTO(s) to existing DVText-value, separated by semicolondeletes all values for object and attribute, ignores DataValueTO(s)deletes all values for object and attribute, ignores DataValueTO(s), identical toDELETE, exists in order to show different label for multivalue enumeratedmulti value enumerated: only delete DataValueSets for which keys are given in list of DataValueTOsperform no actionRemove assigned object attributeset value (overwrite or add) -
Method Summary
Modifier and TypeMethodDescriptionstatic DataValueTO.AttributeActionReturns the enum constant of this class with the specified name.static DataValueTO.AttributeAction[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
NONE
perform no action -
UPDATE
set value (overwrite or add) -
ADD_VALUE
only single text value, not enumerated: appends value given in DataValueTO(s) to existing DVText-value, separated by semicolon -
DELETE
deletes all values for object and attribute, ignores DataValueTO(s) -
DELETE_SELECTED
multi value enumerated: only delete DataValueSets for which keys are given in list of DataValueTOs -
DELETE_ALL
deletes all values for object and attribute, ignores DataValueTO(s), identical toDELETE, exists in order to show different label for multivalue enumerated -
UNASSIGN
Remove assigned object attribute
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getNameKey
-