org.eclipse.ocl.utilities.ExpressionInOCL Maven / Gradle / Ivy
/**
*
*
* Copyright (c) 2006, 2007 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
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM - Initial API and implementation
*
*
*
* $Id: ExpressionInOCL.java,v 1.9 2010/05/03 09:32:32 ewillink Exp $
*/
package org.eclipse.ocl.utilities;
import org.eclipse.emf.common.util.EList;
import org.eclipse.ocl.expressions.OCLExpression;
import org.eclipse.ocl.expressions.Variable;
/**
*
* A representation of the model object 'Expression In OCL'.
*
*
*
* The following features are supported:
*
* - {@link org.eclipse.ocl.utilities.ExpressionInOCL#getBodyExpression Body Expression}
* - {@link org.eclipse.ocl.utilities.ExpressionInOCL#getContextVariable Context Variable}
* - {@link org.eclipse.ocl.utilities.ExpressionInOCL#getResultVariable Result Variable}
* - {@link org.eclipse.ocl.utilities.ExpressionInOCL#getParameterVariable Parameter Variable}
* - {@link org.eclipse.ocl.utilities.ExpressionInOCL#getGeneratedType Generated Type}
*
*
*
* @see org.eclipse.ocl.utilities.UtilitiesPackage#getExpressionInOCL()
* @model interface="true" abstract="true"
* extendedMetaData="name='ExpressionInOcl'"
* @generated
*/
public interface ExpressionInOCL
extends Visitable {
/**
* Returns the value of the 'Body Expression' containment reference.
*
*
* If the meaning of the 'Body Expression' containment reference isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Body Expression' containment reference.
* @see #setBodyExpression(OCLExpression)
* @see org.eclipse.ocl.utilities.UtilitiesPackage#getExpressionInOCL_BodyExpression()
* @model containment="true" required="true"
* @generated
*/
OCLExpression getBodyExpression();
/**
* Sets the value of the '{@link org.eclipse.ocl.utilities.ExpressionInOCL#getBodyExpression Body Expression}' containment reference.
*
*
* @param value the new value of the 'Body Expression' containment reference.
* @see #getBodyExpression()
* @generated
*/
void setBodyExpression(OCLExpression value);
/**
* Returns the value of the 'Context Variable' containment reference.
*
*
* If the meaning of the 'Context Variable' containment reference isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Context Variable' containment reference.
* @see #setContextVariable(Variable)
* @see org.eclipse.ocl.utilities.UtilitiesPackage#getExpressionInOCL_ContextVariable()
* @model containment="true" required="true"
* @generated
*/
Variable getContextVariable();
/**
* Sets the value of the '{@link org.eclipse.ocl.utilities.ExpressionInOCL#getContextVariable Context Variable}' containment reference.
*
*
* @param value the new value of the 'Context Variable' containment reference.
* @see #getContextVariable()
* @generated
*/
void setContextVariable(Variable value);
/**
* Returns the value of the 'Result Variable' containment reference.
*
*
* If the meaning of the 'Result Variable' containment reference isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Result Variable' containment reference.
* @see #setResultVariable(Variable)
* @see org.eclipse.ocl.utilities.UtilitiesPackage#getExpressionInOCL_ResultVariable()
* @model containment="true"
* @generated
*/
Variable getResultVariable();
/**
* Sets the value of the '{@link org.eclipse.ocl.utilities.ExpressionInOCL#getResultVariable Result Variable}' containment reference.
*
*
* @param value the new value of the 'Result Variable' containment reference.
* @see #getResultVariable()
* @generated
*/
void setResultVariable(Variable value);
/**
* Returns the value of the 'Parameter Variable' containment reference list.
* The list contents are of type {@link org.eclipse.ocl.expressions.Variable}<C, PM>.
*
*
* If the meaning of the 'Parameter Variable' containment reference list isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Parameter Variable' containment reference list.
* @see org.eclipse.ocl.utilities.UtilitiesPackage#getExpressionInOCL_ParameterVariable()
* @model containment="true"
* @generated
*/
EList> getParameterVariable();
/**
* Returns the value of the 'Generated Type' containment reference list.
* The list contents are of type {@link C}.
*
*
* If the meaning of the 'Generated Type' containment reference list isn't clear,
* there really should be more of a description here...
*
* @since 3.0
*
* @return the value of the 'Generated Type' containment reference list.
* @see org.eclipse.ocl.utilities.UtilitiesPackage#getExpressionInOCL_GeneratedType()
* @model kind="reference" containment="true" ordered="false"
* @generated
*/
EList getGeneratedType();
} // ExpressionInOCL