public static enum RequirementRule.Relation extends Enum<RequirementRule.Relation>
Modifier and Type | Method and Description |
---|---|
static RequirementRule.Relation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RequirementRule.Relation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RequirementRule.Relation REQUIRED
public static final RequirementRule.Relation OPTIONAL
public static final RequirementRule.Relation NONE
public static RequirementRule.Relation[] values()
for (RequirementRule.Relation c : RequirementRule.Relation.values()) System.out.println(c);
public static RequirementRule.Relation 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 nullCopyright © 1999–2017 Apache OODT. All rights reserved.