public enum EvaluationMode extends java.lang.Enum<EvaluationMode>
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 and Description |
---|
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).
|
Modifier and Type | Method and Description |
---|---|
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.
|
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.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 namejava.lang.NullPointerException
- if the argument is null