| /** |
| * Copyright (c) 2016 CEA LIST. |
| * |
| * 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: |
| * CEA LIST - Initial API and implementation |
| * |
| */ |
| package org.omg.smm; |
| |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A representation of the model object '<em><b>OCL Operation</b></em>'. |
| * <!-- end-user-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * </p> |
| * <ul> |
| * <li>{@link org.omg.smm.OCLOperation#getBody <em>Body</em>}</li> |
| * <li>{@link org.omg.smm.OCLOperation#getContext <em>Context</em>}</li> |
| * </ul> |
| * |
| * @see org.omg.smm.SmmPackage#getOCLOperation() |
| * @model |
| * @generated |
| */ |
| public interface OCLOperation extends AbstractMeasureElement { |
| /** |
| * Returns the value of the '<em><b>Body</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Body</em>' attribute isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Body</em>' attribute. |
| * @see #setBody(String) |
| * @see org.omg.smm.SmmPackage#getOCLOperation_Body() |
| * @model required="true" |
| * @generated |
| */ |
| String getBody(); |
| |
| /** |
| * Sets the value of the '{@link org.omg.smm.OCLOperation#getBody <em>Body</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Body</em>' attribute. |
| * @see #getBody() |
| * @generated |
| */ |
| void setBody(String value); |
| |
| /** |
| * Returns the value of the '<em><b>Context</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Context</em>' attribute isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Context</em>' attribute. |
| * @see #setContext(String) |
| * @see org.omg.smm.SmmPackage#getOCLOperation_Context() |
| * @model required="true" |
| * @generated |
| */ |
| String getContext(); |
| |
| /** |
| * Sets the value of the '{@link org.omg.smm.OCLOperation#getContext <em>Context</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Context</em>' attribute. |
| * @see #getContext() |
| * @generated |
| */ |
| void setContext(String value); |
| |
| } // OCLOperation |