Enum GlobalCfgDefn.SingleStructuralObjectclassBehavior
- java.lang.Object
-
- java.lang.Enum<GlobalCfgDefn.SingleStructuralObjectclassBehavior>
-
- org.forgerock.opendj.server.config.meta.GlobalCfgDefn.SingleStructuralObjectclassBehavior
-
- All Implemented Interfaces:
Serializable
,Comparable<GlobalCfgDefn.SingleStructuralObjectclassBehavior>
- Enclosing class:
- GlobalCfgDefn
public static enum GlobalCfgDefn.SingleStructuralObjectclassBehavior extends 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
Enum Constants Enum Constant Description 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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
static GlobalCfgDefn.SingleStructuralObjectclassBehavior
valueOf​(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.
-
-
-
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​(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 nameNullPointerException
- if the argument is null
-
toString
public String toString()
- Overrides:
toString
in classEnum<GlobalCfgDefn.SingleStructuralObjectclassBehavior>
-
-