org.opends.server.admin.std.meta
Enum VirtualAttributeCfgDefn.ConflictBehavior

java.lang.Object
  extended by java.lang.Enum<VirtualAttributeCfgDefn.ConflictBehavior>
      extended by org.opends.server.admin.std.meta.VirtualAttributeCfgDefn.ConflictBehavior
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<VirtualAttributeCfgDefn.ConflictBehavior>
Enclosing class:
VirtualAttributeCfgDefn

public static enum VirtualAttributeCfgDefn.ConflictBehavior
extends java.lang.Enum<VirtualAttributeCfgDefn.ConflictBehavior>

Defines the set of permissable values for the "conflict-behavior" property.

Specifies the behavior that the server is to exhibit for entries that already contain one or more real values for the associated attribute.


Enum Constant Summary
MERGE_REAL_AND_VIRTUAL
          Indicates that the virtual attribute provider is to preserve any real values contained in the entry and merge them with the set of generated virtual values so that both the real and virtual values are used.
REAL_OVERRIDES_VIRTUAL
          Indicates that any real values contained in the entry are preserved and used, and virtual values are not generated.
VIRTUAL_OVERRIDES_REAL
          Indicates that the virtual attribute provider suppresses any real values contained in the entry and generates virtual values and uses them.
 
Method Summary
 java.lang.String toString()
          
static VirtualAttributeCfgDefn.ConflictBehavior valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static VirtualAttributeCfgDefn.ConflictBehavior[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

MERGE_REAL_AND_VIRTUAL

public static final VirtualAttributeCfgDefn.ConflictBehavior MERGE_REAL_AND_VIRTUAL
Indicates that the virtual attribute provider is to preserve any real values contained in the entry and merge them with the set of generated virtual values so that both the real and virtual values are used.


REAL_OVERRIDES_VIRTUAL

public static final VirtualAttributeCfgDefn.ConflictBehavior REAL_OVERRIDES_VIRTUAL
Indicates that any real values contained in the entry are preserved and used, and virtual values are not generated.


VIRTUAL_OVERRIDES_REAL

public static final VirtualAttributeCfgDefn.ConflictBehavior VIRTUAL_OVERRIDES_REAL
Indicates that the virtual attribute provider suppresses any real values contained in the entry and generates virtual values and uses them.

Method Detail

values

public static VirtualAttributeCfgDefn.ConflictBehavior[] 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 (VirtualAttributeCfgDefn.ConflictBehavior c : VirtualAttributeCfgDefn.ConflictBehavior.values())
    System.out.println(c);

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

valueOf

public static VirtualAttributeCfgDefn.ConflictBehavior valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Enum<VirtualAttributeCfgDefn.ConflictBehavior>