|
|||||||||
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.opends.server.types.AttributeUsage
@PublicAPI(stability=UNCOMMITTED, mayInstantiate=false, mayExtend=false, mayInvoke=true) public enum AttributeUsage
This enumeration defines the set of possible attribute usage values that may apply to an attribute type, as defined in RFC 2252.
Enum Constant Summary | |
---|---|
DIRECTORY_OPERATION
The attribute usage intended for standard operational attributes. |
|
DISTRIBUTED_OPERATION
The attribute usage intended for non-standard operational attributes shared among multiple DSAs. |
|
DSA_OPERATION
The attribute usage intended for non-standard operational attributes used by a single DSA. |
|
USER_APPLICATIONS
The attribute usage intended for user-defined attribute types. |
Method Summary | |
---|---|
boolean |
isOperational()
Determine whether or not attributes having this attribute usage are operational. |
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, 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(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 name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<AttributeUsage>
public boolean isOperational()
true
if attributes having this
attribute usage are operational, or false
otherwise.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |