|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<AttributeUsage>
org.ldaptive.schema.AttributeUsage
public enum AttributeUsage
Enum for an attribute usage schema element.
AttributeUsage =
"userApplications" /
"directoryOperation" /
"distributedOperation" / ; DSA-shared
"dSAOperation" ; DSA-specific, value depends on server
| Enum Constant Summary | |
|---|---|
DIRECTORY_OPERATION
directory operation. |
|
DISTRIBUTED_OPERATION
distributed operation. |
|
DSA_OPERATION
dSA operation. |
|
USER_APPLICATIONS
user applications. |
|
| Method Summary | |
|---|---|
String |
getName()
Returns the name. |
boolean |
isOperational()
Whether this attribute usage is operational. |
static AttributeUsage |
parse(String s)
Returns the attribute usage for the supplied string name. |
static AttributeUsage |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static AttributeUsage[] |
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 AttributeUsage USER_APPLICATIONS
public static final AttributeUsage DIRECTORY_OPERATION
public static final AttributeUsage DISTRIBUTED_OPERATION
public static final AttributeUsage DSA_OPERATION
| Method Detail |
|---|
public static AttributeUsage[] values()
for (AttributeUsage c : AttributeUsage.values()) System.out.println(c);
public static AttributeUsage 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 getName()
public boolean isOperational()
public static AttributeUsage parse(String s)
s - case insensitive name to find attribute usage for
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||