|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.shared.ldap.util.Enum
org.apache.directory.shared.ldap.util.ValuedEnum
org.apache.directory.shared.ldap.schema.MatchingRuleEnum
public class 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:
| Field Summary | |
|---|---|
static MatchingRuleEnum |
EQUALITY
enum for equality comparator usage |
static int |
EQUALITY_VAL
value for equality usage |
static MatchingRuleEnum |
ORDERING
enum for ordering comparator usage |
static int |
ORDERING_VAL
value for ordering usage |
static MatchingRuleEnum |
SUBSTRING
enum for substring comparator usage |
static int |
SUBSTRING_VAL
value for substring usage |
| Fields inherited from class org.apache.directory.shared.ldap.util.Enum |
|---|
iToString |
| Method Summary | |
|---|---|
static MatchingRuleEnum |
getUsage(java.lang.String usage)
Gets the enumeration type for the usage string regardless of case. |
static java.util.List |
list()
Gets a List of the enumerations for matching rule usage. |
static java.util.Map |
map()
Gets the Map of MatchingRuleEnum objects by name using the MatchingRuleEnum class. |
| Methods inherited from class org.apache.directory.shared.ldap.util.ValuedEnum |
|---|
compareTo, getEnum, getValue, toString |
| Methods inherited from class org.apache.directory.shared.ldap.util.Enum |
|---|
equals, getEnum, getEnumClass, getEnumList, getEnumMap, getName, hashCode, iterator, readResolve |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int ORDERING_VAL
public static final int EQUALITY_VAL
public static final int SUBSTRING_VAL
public static final MatchingRuleEnum ORDERING
public static final MatchingRuleEnum EQUALITY
public static final MatchingRuleEnum SUBSTRING
| Method Detail |
|---|
public static MatchingRuleEnum getUsage(java.lang.String usage)
usage - the usage string
public static java.util.List list()
public static java.util.Map map()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||