org.apache.beehive.controls.api.bean
Enum AnnotationConstraints.MembershipRuleValues
Object
Enum<AnnotationConstraints.MembershipRuleValues>
AnnotationConstraints.MembershipRuleValues
- All Implemented Interfaces:
- Serializable, Comparable<AnnotationConstraints.MembershipRuleValues>
- Enclosing interface:
- AnnotationConstraints
public static enum AnnotationConstraints.MembershipRuleValues
- extends Enum<AnnotationConstraints.MembershipRuleValues>
Defines a number of simple constraints on the way annotation members
can be used together.
- See Also:
#MembershipRule
Methods inherited from class Enum |
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
AT_LEAST_ONE
public static final AnnotationConstraints.MembershipRuleValues AT_LEAST_ONE
AT_MOST_ONE
public static final AnnotationConstraints.MembershipRuleValues AT_MOST_ONE
EXACTLY_ONE
public static final AnnotationConstraints.MembershipRuleValues EXACTLY_ONE
ALL_IF_ANY
public static final AnnotationConstraints.MembershipRuleValues ALL_IF_ANY
values
public static final AnnotationConstraints.MembershipRuleValues[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(AnnotationConstraints.MembershipRuleValues c : AnnotationConstraints.MembershipRuleValues.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static AnnotationConstraints.MembershipRuleValues valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name