public enum ChoiceKind extends Enum<ChoiceKind>
Choice
,
OCLHelper.getSyntaxHelp(ConstraintKind, String)
Enum Constant and Description |
---|
ASSOCIATION_CLASS
Indicates an association-class navigation choice.
|
ENUMERATION_LITERAL
Indicates an enumeration literal completion choice.
|
OPERATION
Indicates an operation completion choice.
|
PACKAGE
Indicates a package choice (which helps to complete type choices).
|
PROPERTY
Indicates a property completion choice.
|
SIGNAL
Indicates a signal completion choice.
|
STATE
Indicates a state name completion choice.
|
TYPE
Indicates a type name completion choice.
|
VARIABLE
Indicates a variable name completion choice.
|
Modifier and Type | Method and Description |
---|---|
static ChoiceKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChoiceKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChoiceKind PROPERTY
public static final ChoiceKind OPERATION
public static final ChoiceKind SIGNAL
public static final ChoiceKind ENUMERATION_LITERAL
public static final ChoiceKind STATE
public static final ChoiceKind TYPE
public static final ChoiceKind ASSOCIATION_CLASS
public static final ChoiceKind PACKAGE
public static final ChoiceKind VARIABLE
public static ChoiceKind[] values()
for (ChoiceKind c : ChoiceKind.values()) System.out.println(c);
public static ChoiceKind 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 © 2005, 2018 IBM Corporation and others. All Rights Reserved.