| /** |
| * <copyright> |
| * |
| * Copyright (c) 2013, 2020 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 |
| * |
| * </copyright> |
| */ |
| package org.eclipse.qvtd.pivot.qvtimperative; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A representation of the model object '<em><b>Guard Parameter Binding</b></em>'. |
| * <!-- end-user-doc --> |
| * |
| * <!-- begin-model-doc --> |
| * A GuardParameterBinding binds a guard parameter of an invoked Mapping to a value of a connection. |
| * Execution of the mapping may use the value. A distinct Mapping invocation occurs for each value |
| * in the connection. |
| * |
| * syntax: oclText[formalName consumes expression;] |
| * <!-- end-model-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * </p> |
| * <ul> |
| * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.GuardParameterBinding#getValue <em>Value</em>}</li> |
| * <li>{@link org.eclipse.qvtd.pivot.qvtimperative.GuardParameterBinding#isIsCheck <em>Is Check</em>}</li> |
| * </ul> |
| * |
| * @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getGuardParameterBinding() |
| * @generated |
| */ |
| public interface GuardParameterBinding extends MappingParameterBinding { |
| /** |
| * Returns the value of the '<em><b>Value</b></em>' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * <!-- begin-model-doc --> |
| * The connection providing the invocation values. |
| * <!-- end-model-doc --> |
| * @return the value of the '<em>Value</em>' reference. |
| * @see #setValue(ConnectionVariable) |
| * @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getGuardParameterBinding_Value() |
| * @generated |
| */ |
| ConnectionVariable getValue(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.qvtd.pivot.qvtimperative.GuardParameterBinding#getValue <em>Value</em>}' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Value</em>' reference. |
| * @see #getValue() |
| * @generated |
| */ |
| void setValue(ConnectionVariable value); |
| |
| /** |
| * Returns the value of the '<em><b>Is Check</b></em>' attribute. |
| * The default value is <code>"false"</code>. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * <!-- begin-model-doc --> |
| * True if each consumed value must be checked for conformance with the variable's type. |
| * A non-conforming value is a predicate failure causing the mapping invocation to fail without doing anything. |
| * This is a derivation of not ownedInit.type.conformsTo(self.type). |
| * <!-- end-model-doc --> |
| * @return the value of the '<em>Is Check</em>' attribute. |
| * @see #setIsCheck(boolean) |
| * @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getGuardParameterBinding_IsCheck() |
| * @generated |
| */ |
| boolean isIsCheck(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.qvtd.pivot.qvtimperative.GuardParameterBinding#isIsCheck <em>Is Check</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Is Check</em>' attribute. |
| * @see #isIsCheck() |
| * @generated |
| */ |
| void setIsCheck(boolean value); |
| |
| } // GuardParameterBinding |