/******************************************************************************* * Copyright (c) 2009, 2011 SAP AG 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 * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * SAP AG - initial API and implementation ******************************************************************************/ package org.eclipse.ocl.examples.impactanalyzer.deltaPropagation; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EParameter; import org.eclipse.ocl.EvaluationEnvironment; import org.eclipse.ocl.expressions.VariableExp; public interface VariableValueNotFoundInfo { String getVariableName(); /** * If the request for the undefined variable was triggered by evaluating a {@link VariableExp}, this * expression is returned. In some cases the {@link EvaluationEnvironment#getValueOf(String)} method is called * without a particular variable expression at hand, e.g., in order to look up the context object which is the * value of the "self" variable for which not always a variable expression is available. In those cases, * <code>null</code> will be returned. */ VariableExp<EClassifier, EParameter> getVariableExp(); }