/******************************************************************************* * Copyright (c) 2013, 2014 CEA LIST 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(CEA LIST) - Initial API and implementation *******************************************************************************/ package org.eclipse.ocl.examples.codegen.cgmodel; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>CG Variable Exp</b></em>'. * <!-- end-user-doc --> * * <!-- begin-model-doc --> * A CGVariableExp references a variable that shared a common sub-expression. * <!-- end-model-doc --> * * <p> * The following features are supported: * </p> * <ul> * <li>{@link org.eclipse.ocl.examples.codegen.cgmodel.CGVariableExp#getReferredVariable <em>Referred Variable</em>}</li> * </ul> * * @see org.eclipse.ocl.examples.codegen.cgmodel.CGModelPackage#getCGVariableExp() * @generated */ public interface CGVariableExp extends CGValuedElement { /** * Returns the value of the '<em><b>Referred Variable</b></em>' reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * <!-- begin-model-doc --> * The shared variable providing the value. * <!-- end-model-doc --> * @return the value of the '<em>Referred Variable</em>' reference. * @see #setReferredVariable(CGVariable) * @see org.eclipse.ocl.examples.codegen.cgmodel.CGModelPackage#getCGVariableExp_ReferredVariable() * @generated */ CGVariable getReferredVariable(); /** * Sets the value of the '{@link org.eclipse.ocl.examples.codegen.cgmodel.CGVariableExp#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(CGVariable value); } // CGVariableExp