public static enum IGrammarConstraintProvider.RelationalDependencyType extends java.lang.Enum<IGrammarConstraintProvider.RelationalDependencyType>
Enum Constant and Description |
---|
EXCLUDE_IF_SET
(b >= 1) => (a == 0)
|
EXCLUDE_IF_UNSET
(b == 0) => (a == 0)
|
MANDATORY_IF_SET
(b >= 1) => (a >= 0)
|
SAME
a == b
|
SAME_OR_LESS
a <= b
|
SAME_OR_MORE
a >= b
|
Modifier and Type | Method and Description |
---|---|
static IGrammarConstraintProvider.RelationalDependencyType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IGrammarConstraintProvider.RelationalDependencyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IGrammarConstraintProvider.RelationalDependencyType EXCLUDE_IF_SET
public static final IGrammarConstraintProvider.RelationalDependencyType EXCLUDE_IF_UNSET
public static final IGrammarConstraintProvider.RelationalDependencyType MANDATORY_IF_SET
public static final IGrammarConstraintProvider.RelationalDependencyType SAME
public static final IGrammarConstraintProvider.RelationalDependencyType SAME_OR_MORE
public static final IGrammarConstraintProvider.RelationalDependencyType SAME_OR_LESS
public static IGrammarConstraintProvider.RelationalDependencyType[] values()
for (IGrammarConstraintProvider.RelationalDependencyType c : IGrammarConstraintProvider.RelationalDependencyType.values()) System.out.println(c);
public static IGrammarConstraintProvider.RelationalDependencyType 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 null