public enum ModelingLevel extends java.lang.Enum<ModelingLevel>
| Modifier and Type | Method and Description |
|---|---|
<C,O,P> ConstraintKind |
setContext(OCLHelper<C,O,P,?> helper,
org.eclipse.emf.ecore.EObject element,
IOCLFactory<C> factory)
|
static ModelingLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ModelingLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModelingLevel M2
public static final ModelingLevel M1
public static ModelingLevel[] values()
for (ModelingLevel c : ModelingLevel.values()) System.out.println(c);
public static ModelingLevel 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 nullpublic <C,O,P> ConstraintKind setContext(OCLHelper<C,O,P,?> helper, org.eclipse.emf.ecore.EObject element, IOCLFactory<C> factory) throws ParserException
M1 case) or its metaclass (M2 case).helper - an OCL helperfactory - a factory to help in obtaining a metaclass, where neededelement - the selected context elementParserException - if the specified context is not valid for this
modeling level