@ThreadSafety(level=COMPLETELY_THREADSAFE) public enum AttributeUsage extends java.lang.Enum<AttributeUsage>
| Enum Constant and Description |
|---|
DIRECTORY_OPERATION
The "directoryOperation" attribute usage.
|
DISTRIBUTED_OPERATION
The "distributedOperation" attribute usage.
|
DSA_OPERATION
The "dSAOperation" attribute usage.
|
USER_APPLICATIONS
The "userApplications" attribute usage.
|
| Modifier and Type | Method and Description |
|---|---|
static AttributeUsage |
forName(java.lang.String name)
Retrieves the attribute usage value with the specified name.
|
java.lang.String |
getName()
Retrieves the name of this attribute usage.
|
boolean |
isOperational()
Indicates whether this is an operational attribute usage.
|
java.lang.String |
toString()
Retrieves a string representation of this attribute usage.
|
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
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 null@NotNull public java.lang.String getName()
public boolean isOperational()
true if this is an operational attribute usage.@Nullable public static AttributeUsage forName(@NotNull java.lang.String name)
name - The name of the attribute usage to retrieve. It must not be
null.null if
there is no usage with the given name.@NotNull public java.lang.String toString()
toString in class java.lang.Enum<AttributeUsage>