|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ocl.internal.helper.HelperUtil
public class HelperUtil
Utility class in support of the implementation of the OCLHelper
API, also responsible for the creation of OCLHelper
s.
Method Summary | ||
---|---|---|
static
|
createOCLHelper(OCL<PK,C,O,P,EL,PM,S,COA,SSA,CT,CLS,E> ocl)
Creates an OCLHelper for the specified EMF metamodel. |
|
static
|
getConstraintContext(Environment<PK,C,O,P,EL,PM,S,COA,SSA,CT,CLS,E> env,
Object element,
OCLExpression<C> expr)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static <PK,C,O,P,EL,PM,S,COA,SSA,CT,CLS,E> OCLHelper<C,O,P,CT> createOCLHelper(OCL<PK,C,O,P,EL,PM,S,COA,SSA,CT,CLS,E> ocl)
OCLHelper
for the specified EMF metamodel. The
factory creates OCL environments (with the packages, classifiers, states,
etc.) from the instances of the metaclasses that mimic OCL/UML
classifiers.
The new helper validates the OCL expressions that it parses.
ocl
- the metamodel-specific OCL environment
public static <PK,C,O,P,EL,PM,S,COA,SSA,CT,CLS,E> Object getConstraintContext(Environment<PK,C,O,P,EL,PM,S,COA,SSA,CT,CLS,E> env, Object element, OCLExpression<C> expr)
|
Copyright 2002, 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |