public enum DereferenceAliasesPolicy extends java.lang.Enum<DereferenceAliasesPolicy>
| Enum Constant and Description |
|---|
ALWAYS
Dereference aliases both in searching and in locating the base object of a
Search operation.
|
FINDING_BASE
Dereference aliases in locating the base object of a Search operation, but
not when searching subordinates of the base object.
|
IN_SEARCHING
While searching subordinates of the base object, dereference any alias
within the scope of the Search operation.
|
NEVER
Do not dereference aliases in searching or in locating the base object of a
Search operation.
|
| Modifier and Type | Method and Description |
|---|---|
int |
intValue()
Returns the integer value of this alias dereferencing policy as defined in
RFC 4511 section 4.5.1.
|
java.lang.String |
toString()
Returns the string representation of this alias dereferencing policy.
|
static DereferenceAliasesPolicy |
valueOf(int intValue)
Returns the alias dereferencing policy having the specified integer value
as defined in RFC 4511 section 4.5.1.
|
static DereferenceAliasesPolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DereferenceAliasesPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DereferenceAliasesPolicy NEVER
public static final DereferenceAliasesPolicy IN_SEARCHING
WHOLE_SUBTREE, the Search continues
in the subtree(s) of any dereferenced object. If the search scope is
SINGLE_LEVEL, the search is applied to any dereferenced objects and
is not applied to their subordinates.public static final DereferenceAliasesPolicy FINDING_BASE
public static final DereferenceAliasesPolicy ALWAYS
public static DereferenceAliasesPolicy[] values()
for (DereferenceAliasesPolicy c : DereferenceAliasesPolicy.values()) System.out.println(c);
public static DereferenceAliasesPolicy valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static DereferenceAliasesPolicy valueOf(int intValue)
intValue - The integer value of the alias dereferencing policy.null if there was no
alias dereferencing policy associated with intValue.public int intValue()
public java.lang.String toString()
toString in class java.lang.Enum<DereferenceAliasesPolicy>