|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ReturnAttributes>
org.ldaptive.ReturnAttributes
public enum ReturnAttributes
Enum to define constants specific to ldap return attributes.
| Enum Constant Summary | |
|---|---|
ALL
all user and operational attributes. |
|
ALL_OPERATIONAL
all operational attributes. |
|
ALL_USER
all user attributes. |
|
DEFAULT
default, which is all user attributes. |
|
NONE
no attributes. |
|
| Method Summary | |
|---|---|
String[] |
add(String... attrs)
Combines the supplied attributes with the value of this return attributes. |
boolean |
equalsAttributes(String... attrs)
Returns whether the supplied attributes matches the value of this return attributes. |
static String[] |
parse(String... attrs)
Parses the supplied return attributes and applies the following convention: null == DEFAULT
|
String[] |
value()
Returns the value(s). |
static ReturnAttributes |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ReturnAttributes[] |
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, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ReturnAttributes ALL
public static final ReturnAttributes ALL_USER
public static final ReturnAttributes ALL_OPERATIONAL
public static final ReturnAttributes NONE
public static final ReturnAttributes DEFAULT
| Method Detail |
|---|
public static ReturnAttributes[] values()
for (ReturnAttributes c : ReturnAttributes.values()) System.out.println(c);
public static ReturnAttributes valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String[] value()
public boolean equalsAttributes(String... attrs)
attrs - to compare
public String[] add(String... attrs)
attrs - to combine
public static String[] parse(String... attrs)
DEFAULT
attrs - to parse
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||