org.opends.server.admin.std.meta
Enum GlobalCfgDefn.InvalidAttributeSyntaxBehavior

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

public static enum GlobalCfgDefn.InvalidAttributeSyntaxBehavior
extends java.lang.Enum<GlobalCfgDefn.InvalidAttributeSyntaxBehavior>

Defines the set of permissable values for the "invalid-attribute-syntax-behavior" property.

Specifies how the Directory Server should handle operations whenever an attribute value violates the associated attribute syntax.


Enum Constant Summary
ACCEPT
          The Directory Server silently accepts attribute values that are invalid according to their associated syntax.
REJECT
          The Directory Server rejects attribute values that are invalid according to their associated syntax.
WARN
          The Directory Server accepts attribute values that are invalid according to their associated syntax, but also logs a warning message to the error log.
 
Method Summary
 java.lang.String toString()
          
static GlobalCfgDefn.InvalidAttributeSyntaxBehavior valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static GlobalCfgDefn.InvalidAttributeSyntaxBehavior[] 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

ACCEPT

public static final GlobalCfgDefn.InvalidAttributeSyntaxBehavior ACCEPT
The Directory Server silently accepts attribute values that are invalid according to their associated syntax. Matching operations targeting those values may not behave as expected.


REJECT

public static final GlobalCfgDefn.InvalidAttributeSyntaxBehavior REJECT
The Directory Server rejects attribute values that are invalid according to their associated syntax.


WARN

public static final GlobalCfgDefn.InvalidAttributeSyntaxBehavior WARN
The Directory Server accepts attribute values that are invalid according to their associated syntax, but also logs a warning message to the error log. Matching operations targeting those values may not behave as expected.

Method Detail

values

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

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

valueOf

public static GlobalCfgDefn.InvalidAttributeSyntaxBehavior 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<GlobalCfgDefn.InvalidAttributeSyntaxBehavior>