Enum VirtualAttributeCfgDefn.Scope
- java.lang.Object
-
- java.lang.Enum<VirtualAttributeCfgDefn.Scope>
-
- org.forgerock.opendj.server.config.meta.VirtualAttributeCfgDefn.Scope
-
- All Implemented Interfaces:
Serializable
,Comparable<VirtualAttributeCfgDefn.Scope>
- Enclosing class:
- VirtualAttributeCfgDefn
public static enum VirtualAttributeCfgDefn.Scope extends Enum<VirtualAttributeCfgDefn.Scope>
Defines the set of permissible values for the "scope" property.Specifies the LDAP scope associated with base DNs for entries that are eligible to use this virtual attribute.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BASE_OBJECT
Search the base object only.SINGLE_LEVEL
Search the immediate children of the base object but do not include any of their descendants or the base object itself.SUBORDINATE_SUBTREE
Search the entire subtree below the base object but do not include the base object itself.WHOLE_SUBTREE
Search the base object and the entire subtree below the base object.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
static VirtualAttributeCfgDefn.Scope
valueOf(String name)
Returns the enum constant of this type with the specified name.static VirtualAttributeCfgDefn.Scope[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BASE_OBJECT
public static final VirtualAttributeCfgDefn.Scope BASE_OBJECT
Search the base object only.
-
SINGLE_LEVEL
public static final VirtualAttributeCfgDefn.Scope SINGLE_LEVEL
Search the immediate children of the base object but do not include any of their descendants or the base object itself.
-
SUBORDINATE_SUBTREE
public static final VirtualAttributeCfgDefn.Scope SUBORDINATE_SUBTREE
Search the entire subtree below the base object but do not include the base object itself.
-
WHOLE_SUBTREE
public static final VirtualAttributeCfgDefn.Scope WHOLE_SUBTREE
Search the base object and the entire subtree below the base object.
-
-
Method Detail
-
values
public static VirtualAttributeCfgDefn.Scope[] 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.Scope c : VirtualAttributeCfgDefn.Scope.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.Scope 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<VirtualAttributeCfgDefn.Scope>
-
-