com.ca.commons.datamodel
Enum MetaDataDefs.ForceModModeValue

java.lang.Object
  extended by java.lang.Enum<MetaDataDefs.ForceModModeValue>
      extended by com.ca.commons.datamodel.MetaDataDefs.ForceModModeValue
All Implemented Interfaces:
Serializable, Comparable<MetaDataDefs.ForceModModeValue>
Enclosing class:
MetaDataDefs

public static enum MetaDataDefs.ForceModModeValue
extends Enum<MetaDataDefs.ForceModModeValue>

Possible values for MetaDataDefs.MD_FORCE_MOD_MODE.


Enum Constant Summary
DELTA
          Specifies a REPLACE_ATTRIBUTE modification item is replaced by one or both equivalent ADD_ATTRIBUTE and REMOVE_ATTRIBUTE deltas, and a REPLACE_ATTRIBUTE with no values (ie completely remove the attr) is replaced by a REMOVE_ATTRIBUTE with all current values mentioned explicitly.
DELTA_WITH_REMOVES_FIRST
          Same meaning as DELTA except that order is reversed so that REMOVE_ATTRIBUTE delta modification items appear before ADD_ATTRIBUTE deltas (required for some endpoints like PPS).
PRESERVE
          Disable all modification item rewriting for this attribute
REPLACE
          Specifies an ADD_ATTRIBUTE or REMOVE_ATTRIBUTE modification item is replaced by equivalent item with op=REPLACE_ATTRIBUTE.
 
Method Summary
static MetaDataDefs.ForceModModeValue valueOf(String name)
          Returns the enum constant of this type with the specified name.
static MetaDataDefs.ForceModModeValue[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

REPLACE

public static final MetaDataDefs.ForceModModeValue REPLACE
Specifies an ADD_ATTRIBUTE or REMOVE_ATTRIBUTE modification item is replaced by equivalent item with op=REPLACE_ATTRIBUTE.


DELTA

public static final MetaDataDefs.ForceModModeValue DELTA
Specifies a REPLACE_ATTRIBUTE modification item is replaced by one or both equivalent ADD_ATTRIBUTE and REMOVE_ATTRIBUTE deltas, and a REPLACE_ATTRIBUTE with no values (ie completely remove the attr) is replaced by a REMOVE_ATTRIBUTE with all current values mentioned explicitly.


DELTA_WITH_REMOVES_FIRST

public static final MetaDataDefs.ForceModModeValue DELTA_WITH_REMOVES_FIRST
Same meaning as DELTA except that order is reversed so that REMOVE_ATTRIBUTE delta modification items appear before ADD_ATTRIBUTE deltas (required for some endpoints like PPS).


PRESERVE

public static final MetaDataDefs.ForceModModeValue PRESERVE
Disable all modification item rewriting for this attribute

Method Detail

values

public static MetaDataDefs.ForceModModeValue[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (MetaDataDefs.ForceModModeValue c : MetaDataDefs.ForceModModeValue.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static MetaDataDefs.ForceModModeValue 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


Created 2011-07-14 13:27 EST