public enum MatchingRuleEnum extends java.lang.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(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.
|
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(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 MatchingRuleEnum getUsage(java.lang.String matchingRule)
matchingRule - the usage string