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

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

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

Defines the set of permissable values for the "single-structural-objectclass-behavior" property.

Specifies how the Directory Server should handle operations an entry does not contain a structural object class or contains multiple structural classes.


Enum Constant Summary
ACCEPT
          The Directory Server silently accepts entries that do not contain exactly one structural object class.
REJECT
          The Directory Server rejects entries that do not contain exactly one structural object class.
WARN
          The Directory Server accepts entries that do not contain exactly one structural object class, but also logs a warning message to the error log.
 
Method Summary
 java.lang.String toString()
          
static GlobalCfgDefn.SingleStructuralObjectclassBehavior valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static GlobalCfgDefn.SingleStructuralObjectclassBehavior[] 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.SingleStructuralObjectclassBehavior ACCEPT
The Directory Server silently accepts entries that do not contain exactly one structural object class. Certain schema features that depend on the entry's structural class may not behave as expected.


REJECT

public static final GlobalCfgDefn.SingleStructuralObjectclassBehavior REJECT
The Directory Server rejects entries that do not contain exactly one structural object class.


WARN

public static final GlobalCfgDefn.SingleStructuralObjectclassBehavior WARN
The Directory Server accepts entries that do not contain exactly one structural object class, but also logs a warning message to the error log. Certain schema features that depend on the entry's structural class may not behave as expected.

Method Detail

values

public static GlobalCfgDefn.SingleStructuralObjectclassBehavior[] 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.SingleStructuralObjectclassBehavior c : GlobalCfgDefn.SingleStructuralObjectclassBehavior.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.SingleStructuralObjectclassBehavior 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.SingleStructuralObjectclassBehavior>