| /******************************************************************************* |
| * Copyright (c) 2010, 2018 Willink Transformations and others. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v2.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v20.html |
| * |
| * Contributors: |
| * E.D.Willink - Initial API and implementation |
| *******************************************************************************/ |
| package org.eclipse.ocl.pivot; |
| |
| import java.util.List; |
| |
| import org.eclipse.jdt.annotation.NonNull; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A representation of the model object '<em><b>Expression In Ocl</b></em>'. |
| * <!-- end-user-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * </p> |
| * <ul> |
| * <li>{@link org.eclipse.ocl.pivot.ExpressionInOCL#getOwnedBody <em>Owned Body</em>}</li> |
| * <li>{@link org.eclipse.ocl.pivot.ExpressionInOCL#getOwnedContext <em>Owned Context</em>}</li> |
| * <li>{@link org.eclipse.ocl.pivot.ExpressionInOCL#getOwnedParameters <em>Owned Parameters</em>}</li> |
| * <li>{@link org.eclipse.ocl.pivot.ExpressionInOCL#getOwnedResult <em>Owned Result</em>}</li> |
| * </ul> |
| * |
| * @see org.eclipse.ocl.pivot.PivotPackage#getExpressionInOCL() |
| * @generated |
| */ |
| public interface ExpressionInOCL extends LanguageExpression { |
| |
| /** |
| * Returns the value of the '<em><b>Owned Body</b></em>' containment reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Body Expression</em>' containment reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Owned Body</em>' containment reference. |
| * @see #setOwnedBody(OCLExpression) |
| * @see org.eclipse.ocl.pivot.PivotPackage#getExpressionInOCL_OwnedBody() |
| * @generated |
| */ |
| OCLExpression getOwnedBody(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.ocl.pivot.ExpressionInOCL#getOwnedBody <em>Owned Body</em>}' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Owned Body</em>' containment reference. |
| * @see #getOwnedBody() |
| * @generated |
| */ |
| void setOwnedBody(OCLExpression value); |
| |
| /** |
| * Returns the value of the '<em><b>Owned Context</b></em>' containment reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Context Variable</em>' containment reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Owned Context</em>' containment reference. |
| * @see #setOwnedContext(Variable) |
| * @see org.eclipse.ocl.pivot.PivotPackage#getExpressionInOCL_OwnedContext() |
| * @generated |
| */ |
| Variable getOwnedContext(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.ocl.pivot.ExpressionInOCL#getOwnedContext <em>Owned Context</em>}' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Owned Context</em>' containment reference. |
| * @see #getOwnedContext() |
| * @generated |
| */ |
| void setOwnedContext(Variable value); |
| |
| /** |
| * Returns the value of the '<em><b>Owned Result</b></em>' containment reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Result Variable</em>' containment reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Owned Result</em>' containment reference. |
| * @see #setOwnedResult(Variable) |
| * @see org.eclipse.ocl.pivot.PivotPackage#getExpressionInOCL_OwnedResult() |
| * @generated |
| */ |
| Variable getOwnedResult(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.ocl.pivot.ExpressionInOCL#getOwnedResult <em>Owned Result</em>}' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Owned Result</em>' containment reference. |
| * @see #getOwnedResult() |
| * @generated |
| */ |
| void setOwnedResult(Variable value); |
| |
| /** |
| * Returns the value of the '<em><b>Owned Parameters</b></em>' containment reference list. |
| * The list contents are of type {@link org.eclipse.ocl.pivot.Variable}. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Parameter Variable</em>' containment reference list isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Owned Parameters</em>' containment reference list. |
| * @see org.eclipse.ocl.pivot.PivotPackage#getExpressionInOCL_OwnedParameters() |
| * @generated |
| */ |
| @NonNull List<Variable> getOwnedParameters(); |
| |
| } // ExpressionInOCL |