public enum UsageEnum extends 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(String usage)
Gets the enumeration type for the attributeType usage string regardless
of case.
|
int |
getValue() |
String |
render()
Get the string representation for UsageEnum, which will be
used by the AttributeType rendering
|
static String |
render(UsageEnum usage)
Get the string representation for UsageEnum, which will be
used by the AttributeType rendering
|
static UsageEnum |
valueOf(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(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 int getValue()
public static UsageEnum getUsage(String usage)
usage - the usage stringpublic static String render(UsageEnum usage)
usage - The UsageEnum of which we want the rendering stringpublic String render()
Copyright © 2003–2022 The Apache Software Foundation. All rights reserved.