/******************************************************************************* * Copyright (c) 2010, 2015 Willink Transformations 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: * E.D.Willink - Initial API and implementation *******************************************************************************/ package org.eclipse.ocl.pivot; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Variable Exp</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported: * </p> * <ul> * <li>{@link org.eclipse.ocl.pivot.VariableExp#isIsImplicit <em>Is Implicit</em>}</li> * <li>{@link org.eclipse.ocl.pivot.VariableExp#getReferredVariable <em>Referred Variable</em>}</li> * </ul> * * @see org.eclipse.ocl.pivot.PivotPackage#getVariableExp() * @generated */ public interface VariableExp extends OCLExpression, ReferringElement { /** * Returns the value of the '<em><b>Is Implicit</b></em>' attribute. * The default value is <code>"false"</code>. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Is Implicit</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Is Implicit</em>' attribute. * @see #setIsImplicit(boolean) * @see org.eclipse.ocl.pivot.PivotPackage#getVariableExp_IsImplicit() * @generated */ boolean isIsImplicit(); /** * Returns the value of the '<em><b>Referred Variable</b></em>' reference. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Referred Variable</em>' reference isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Referred Variable</em>' reference. * @see #setReferredVariable(VariableDeclaration) * @see org.eclipse.ocl.pivot.PivotPackage#getVariableExp_ReferredVariable() * @generated */ VariableDeclaration getReferredVariable(); /** * Sets the value of the '{@link org.eclipse.ocl.pivot.VariableExp#getReferredVariable <em>Referred Variable</em>}' reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Referred Variable</em>' reference. * @see #getReferredVariable() * @generated */ void setReferredVariable(VariableDeclaration value); /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ boolean validateTypeIsNotInvalid(DiagnosticChain diagnostics, Map<Object, Object> context); /** * Sets the value of the '{@link org.eclipse.ocl.pivot.VariableExp#isIsImplicit <em>Is Implicit</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Is Implicit</em>' attribute. * @see #isIsImplicit() * @generated */ void setIsImplicit(boolean value); } // VariableExp