[216172] cdamus - Nesting OCL Environments and adding variables
diff --git a/plugins/org.eclipse.ocl.uml/src/org/eclipse/ocl/uml/OCLHelperImpl.java b/plugins/org.eclipse.ocl.uml/src/org/eclipse/ocl/uml/OCLHelperImpl.java
index 825eede..d5ded7e 100644
--- a/plugins/org.eclipse.ocl.uml/src/org/eclipse/ocl/uml/OCLHelperImpl.java
+++ b/plugins/org.eclipse.ocl.uml/src/org/eclipse/ocl/uml/OCLHelperImpl.java
@@ -1,7 +1,7 @@
/**
* <copyright>
*
- * Copyright (c) 2007 IBM Corporation and others.
+ * Copyright (c) 2007, 2008 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -12,7 +12,7 @@
*
* </copyright>
*
- * $Id: OCLHelperImpl.java,v 1.3 2007/10/11 23:05:21 cdamus Exp $
+ * $Id: OCLHelperImpl.java,v 1.4 2008/04/17 19:38:13 cdamus Exp $
*/
package org.eclipse.ocl.uml;
@@ -20,6 +20,7 @@
import java.util.List;
import org.eclipse.emf.common.util.Diagnostic;
+import org.eclipse.ocl.Environment;
import org.eclipse.ocl.ParserException;
import org.eclipse.ocl.helper.Choice;
import org.eclipse.ocl.helper.ConstraintKind;
@@ -46,6 +47,10 @@
return (OCL) delegate.getOCL();
}
+ public Environment<?, Classifier, Operation, Property, ?, ?, ?, ?, ?, Constraint, ?, ?> getEnvironment() {
+ return delegate.getEnvironment();
+ }
+
public Constraint createConstraint(ConstraintKind kind, String expression)
throws ParserException {
return delegate.createConstraint(kind, expression);