|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<MatchingRuleEnum>
org.apache.directory.shared.ldap.schema.MatchingRuleEnum
public enum MatchingRuleEnum
Type safe enum for a matching rule's comparator and normalizer component usage string. This can be take one of the following three values:
Enum Constant Summary | |
---|---|
EQUALITY
value for equality usage |
|
ORDERING
value for ordering usage |
|
SUBSTRING
value for substring usage |
Method Summary | |
---|---|
static MatchingRuleEnum |
getUsage(java.lang.String matchingRule)
Gets the enumeration type for the usage string regardless of case. |
int |
getValue()
|
static MatchingRuleEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static MatchingRuleEnum[] |
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, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final MatchingRuleEnum ORDERING
public static final MatchingRuleEnum EQUALITY
public static final MatchingRuleEnum SUBSTRING
Method Detail |
---|
public static MatchingRuleEnum[] values()
for (MatchingRuleEnum c : MatchingRuleEnum.values()) System.out.println(c);
public static MatchingRuleEnum 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 int getValue()
public static MatchingRuleEnum getUsage(java.lang.String matchingRule)
matchingRule
- the usage string
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |