public enum UsageEnum extends java.lang.Enum<UsageEnum>
| Enum Constant and Description |
|---|
DIRECTORY_OPERATION
value for attributes with directoryOperation usage
|
DISTRIBUTED_OPERATION
value for attributes with distributedOperation usage
|
DSA_OPERATION
value for attributes with dSAOperation usage
|
USER_APPLICATIONS
value for attributes with userApplications usage
|
| Modifier and Type | Field and Description |
|---|---|
private int |
value
Stores the integer value of each element of the enumeration
|
| Modifier and Type | Method and Description |
|---|---|
static UsageEnum |
getUsage(java.lang.String usage)
Gets the enumeration type for the attributeType usage string regardless
of case.
|
int |
getValue() |
java.lang.String |
render()
Get the string representation for UsageEnum, which will be
used by the AttributeType rendering
|
static java.lang.String |
render(UsageEnum usage)
Get the string representation for UsageEnum, which will be
used by the AttributeType rendering
|
static UsageEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UsageEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UsageEnum USER_APPLICATIONS
public static final UsageEnum DIRECTORY_OPERATION
public static final UsageEnum DISTRIBUTED_OPERATION
public static final UsageEnum DSA_OPERATION
public static UsageEnum[] values()
for (UsageEnum c : UsageEnum.values()) System.out.println(c);
public static UsageEnum 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 int getValue()
public static UsageEnum getUsage(java.lang.String usage)
usage - the usage stringpublic static java.lang.String render(UsageEnum usage)
usage - The UsageEnum of which we want the rendering stringpublic java.lang.String render()