public enum AttributeUsage extends 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 String |
name
Name of this attribute usage.
|
private boolean |
operational
Whether this attribute usage is operational.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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 String name
private final boolean operational
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 nameNullPointerException
- if the argument is nullpublic String getName()
public boolean isOperational()
public static AttributeUsage parse(String s)
s
- case insensitive name to find attribute usage forCopyright © 2003-2019 Virginia Tech. All Rights Reserved.