| /******************************************************************************* |
| * Copyright (c) 2007, 2010 BMW Car IT, Technische Universitaet Muenchen, 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: |
| * BMW Car IT - Initial API and implementation |
| * Technische Universitaet Muenchen - Major refactoring and extension |
| *******************************************************************************/ |
| package org.eclipse.emf.edapt.declaration; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A representation of the model object '<em><b>Constraint</b></em>'. |
| * <!-- end-user-doc --> |
| * |
| * <!-- begin-model-doc --> |
| * A constraint which determines whether an operation can be executed with a setting of parameters |
| * <!-- end-model-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * <ul> |
| * <li>{@link org.eclipse.emf.edapt.declaration.Constraint#getOperation <em>Operation</em>}</li> |
| * <li>{@link org.eclipse.emf.edapt.declaration.Constraint#getRestricts <em>Restricts</em>}</li> |
| * </ul> |
| * </p> |
| * |
| * @see org.eclipse.emf.edapt.declaration.DeclarationPackage#getConstraint() |
| * @model |
| * @generated |
| */ |
| public interface Constraint extends IdentifiedElement { |
| /** |
| * Returns the value of the '<em><b>Operation</b></em>' container reference. |
| * It is bidirectional and its opposite is '{@link org.eclipse.emf.edapt.declaration.Operation#getConstraints |
| * <em>Constraints</em>}'. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Operation</em>' container reference isn't clear, there really should be more of a |
| * description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * <!-- begin-model-doc --> |
| * Operation to which the parameter belongs |
| * <!-- end-model-doc --> |
| * |
| * @return the value of the '<em>Operation</em>' container reference. |
| * @see #setOperation(Operation) |
| * @see org.eclipse.emf.edapt.declaration.DeclarationPackage#getConstraint_Operation() |
| * @see org.eclipse.emf.edapt.declaration.Operation#getConstraints |
| * @model opposite="constraints" required="true" transient="false" |
| * @generated |
| */ |
| Operation getOperation(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.emf.edapt.declaration.Constraint#getOperation <em>Operation</em>}' |
| * container reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @param value the new value of the '<em>Operation</em>' container reference. |
| * @see #getOperation() |
| * @generated |
| */ |
| void setOperation(Operation value); |
| |
| /** |
| * Returns the value of the '<em><b>Restricts</b></em>' reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Restricts</em>' reference isn't clear, there really should be more of a description |
| * here... |
| * </p> |
| * <!-- end-user-doc --> |
| * |
| * @return the value of the '<em>Restricts</em>' reference. |
| * @see #setRestricts(Parameter) |
| * @see org.eclipse.emf.edapt.declaration.DeclarationPackage#getConstraint_Restricts() |
| * @model |
| * @generated |
| */ |
| Parameter getRestricts(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.emf.edapt.declaration.Constraint#getRestricts <em>Restricts</em>}' |
| * reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @param value the new value of the '<em>Restricts</em>' reference. |
| * @see #getRestricts() |
| * @generated |
| */ |
| void setRestricts(Parameter value); |
| |
| } // Constraint |