|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<EvaluationMode>
org.eclipse.ocl.uml.options.EvaluationMode
public enum EvaluationMode
Enumeration of evaluation modes, indicating how the UML evaluation
environment implementation is to interpret instances: as instance
specifications in a UML model (M1 level, INSTANCE_MODEL
) or
as objects in the modeled system (M0 level, RUNTIME_OBJECTS
).
The special ADAPTIVE
value attempts to determine this mode
automatically from the evaluation context object (self).
Enum Constant Summary | |
---|---|
ADAPTIVE
Automatically determine the effective modeling level from the context element. |
|
INSTANCE_MODEL
Instances are modeled at the M1 level (in the user model). |
|
RUNTIME_OBJECTS
Instances are run-time objects at the M0 (in the modeled system). |
Method Summary | |
---|---|
static EvaluationMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static EvaluationMode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final EvaluationMode INSTANCE_MODEL
public static final EvaluationMode RUNTIME_OBJECTS
public static final EvaluationMode ADAPTIVE
InstanceSpecification
of some kind in the user model, because it
will be assumed to mean M1 level (INSTANCE_MODEL
) rather
than M0 level (RUNTIME_OBJECTS
) despite the fact that the
latter is more appropriate for expressions on the UML metamodel.
Method Detail |
---|
public static EvaluationMode[] values()
for (EvaluationMode c : EvaluationMode.values()) System.out.println(c);
public static EvaluationMode 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 name
java.lang.NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |