public enum MatchingRuleEnum extends Enum<MatchingRuleEnum>
| Enum Constant and Description |
|---|
EQUALITY
value for equality usage
|
ORDERING
value for ordering usage
|
SUBSTRING
value for substring 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 MatchingRuleEnum |
getUsage(String matchingRule)
Gets the enumeration type for the usage string regardless of case.
|
int |
getValue() |
static MatchingRuleEnum |
valueOf(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.
|
public static final MatchingRuleEnum ORDERING
public static final MatchingRuleEnum EQUALITY
public static final MatchingRuleEnum SUBSTRING
public static MatchingRuleEnum[] values()
for (MatchingRuleEnum c : MatchingRuleEnum.values()) System.out.println(c);
public static MatchingRuleEnum 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 MatchingRuleEnum getUsage(String matchingRule)
matchingRule - the usage stringCopyright © 2003–2019 The Apache Software Foundation. All rights reserved.