org.eclipse.ocl.examples.pivot.helper
Class HelperUtil

java.lang.Object
  extended by org.eclipse.ocl.examples.pivot.helper.HelperUtil

public class HelperUtil
extends java.lang.Object

Utility class in support of the implementation of the OCLHelper API, also responsible for the creation of OCLHelpers.

Author:
Yasser Lulu, Christian W. Damus (cdamus)

Method Summary
static java.lang.Object getConstraintContext(Environment env, java.lang.Object element, ExpressionInOCL expr)
           
static java.lang.Object getConstraintContext(Environment env, java.lang.Object element, OCLExpression expr)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getConstraintContext

public static java.lang.Object getConstraintContext(Environment env,
                                                    java.lang.Object element,
                                                    OCLExpression expr)

getConstraintContext

public static java.lang.Object getConstraintContext(Environment env,
                                                    java.lang.Object element,
                                                    ExpressionInOCL expr)