public enum ClaimRuleOperation extends Enum<ClaimRuleOperation>
| Enum Constant and Description |
|---|
EQUALS
The rule will pass if the claim is present and its value
equals the claim rule's comparison value.
|
PRESENT
The rule will pass if the claim is present and has a value.
|
PROHIBITED
The rule will fail if the claim is present and has a value.
|
| Modifier and Type | Method and Description |
|---|---|
static ClaimRuleOperation |
getByValue(short value)
Get the enum object with the given numerical value, or
null if not
found. |
short |
getValue()
Get the numerical value for this operation.
|
String |
toString() |
static ClaimRuleOperation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClaimRuleOperation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClaimRuleOperation PROHIBITED
public static final ClaimRuleOperation PRESENT
public static final ClaimRuleOperation EQUALS
public static ClaimRuleOperation[] values()
for (ClaimRuleOperation c : ClaimRuleOperation.values()) System.out.println(c);
public static ClaimRuleOperation 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 short getValue()
public String toString()
toString in class Enum<ClaimRuleOperation>public static ClaimRuleOperation getByValue(short value)
null if not
found.value - The numerical value to search for.null if not found.Copyright © 2019. All rights reserved.