public enum AttributeUsage extends java.lang.Enum<AttributeUsage>
AttributeUsage =
"userApplications" /
"directoryOperation" /
"distributedOperation" / ; DSA-shared
"dSAOperation" ; DSA-specific, value depends on server
| Enum Constant and Description |
|---|
DIRECTORY_OPERATION
directory operation.
|
DISTRIBUTED_OPERATION
distributed operation.
|
DSA_OPERATION
dSA operation.
|
USER_APPLICATIONS
user applications.
|
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
name
Name of this attribute usage.
|
private boolean |
operational
Whether this attribute usage is operational.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
Returns the name.
|
boolean |
isOperational()
Whether this attribute usage is operational.
|
static AttributeUsage |
parse(java.lang.String s)
Returns the attribute usage for the supplied string name.
|
static AttributeUsage |
valueOf(java.lang.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.
|
public static final AttributeUsage USER_APPLICATIONS
public static final AttributeUsage DIRECTORY_OPERATION
public static final AttributeUsage DISTRIBUTED_OPERATION
public static final AttributeUsage DSA_OPERATION
private final java.lang.String name
private final boolean operational
public static AttributeUsage[] values()
for (AttributeUsage c : AttributeUsage.values()) System.out.println(c);
public static AttributeUsage 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 java.lang.String getName()
public boolean isOperational()
public static AttributeUsage parse(java.lang.String s)
s - case insensitive name to find attribute usage for