| /******************************************************************************* |
| * Copyright (c) 2013, 2014 Willink Transformations 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: |
| * E.D.Willink - Initial API and implementation |
| *******************************************************************************/ |
| package org.eclipse.qvtd.codegen.qvticgmodel; |
| |
| import org.eclipse.ocl.examples.codegen.cgmodel.CGValuedElement; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A representation of the model object '<em><b>CG Predicate</b></em>'. |
| * <!-- end-user-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * </p> |
| * <ul> |
| * <li>{@link org.eclipse.qvtd.codegen.qvticgmodel.CGPredicate#getConditionExpression <em>Condition Expression</em>}</li> |
| * <li>{@link org.eclipse.qvtd.codegen.qvticgmodel.CGPredicate#getMappingExp <em>Mapping Exp</em>}</li> |
| * <li>{@link org.eclipse.qvtd.codegen.qvticgmodel.CGPredicate#getThenExpression <em>Then Expression</em>}</li> |
| * </ul> |
| * |
| * @see org.eclipse.qvtd.codegen.qvticgmodel.QVTiCGModelPackage#getCGPredicate() |
| * @model |
| * @generated |
| */ |
| public interface CGPredicate extends CGValuedElement { |
| /** |
| * Returns the value of the '<em><b>Condition Expression</b></em>' containment reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Condition 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>Condition Expression</em>' containment reference. |
| * @see #setConditionExpression(CGValuedElement) |
| * @see org.eclipse.qvtd.codegen.qvticgmodel.QVTiCGModelPackage#getCGPredicate_ConditionExpression() |
| * @model containment="true" required="true" |
| * @generated |
| */ |
| CGValuedElement getConditionExpression(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.qvtd.codegen.qvticgmodel.CGPredicate#getConditionExpression <em>Condition Expression</em>}' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Condition Expression</em>' containment reference. |
| * @see #getConditionExpression() |
| * @generated |
| */ |
| void setConditionExpression(CGValuedElement value); |
| |
| /** |
| * Returns the value of the '<em><b>Mapping Exp</b></em>' container reference. |
| * It is bidirectional and its opposite is '{@link org.eclipse.qvtd.codegen.qvticgmodel.CGMappingExp#getPredicates <em>Predicates</em>}'. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Mapping Exp</em>' container reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Mapping Exp</em>' container reference. |
| * @see #setMappingExp(CGMappingExp) |
| * @see org.eclipse.qvtd.codegen.qvticgmodel.QVTiCGModelPackage#getCGPredicate_MappingExp() |
| * @see org.eclipse.qvtd.codegen.qvticgmodel.CGMappingExp#getPredicates |
| * @model opposite="predicates" resolveProxies="false" required="true" transient="false" |
| * @generated |
| */ |
| CGMappingExp getMappingExp(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.qvtd.codegen.qvticgmodel.CGPredicate#getMappingExp <em>Mapping Exp</em>}' container reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Mapping Exp</em>' container reference. |
| * @see #getMappingExp() |
| * @generated |
| */ |
| void setMappingExp(CGMappingExp value); |
| |
| /** |
| * Returns the value of the '<em><b>Then Expression</b></em>' containment reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Then 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>Then Expression</em>' containment reference. |
| * @see #setThenExpression(CGValuedElement) |
| * @see org.eclipse.qvtd.codegen.qvticgmodel.QVTiCGModelPackage#getCGPredicate_ThenExpression() |
| * @model containment="true" |
| * @generated |
| */ |
| CGValuedElement getThenExpression(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.qvtd.codegen.qvticgmodel.CGPredicate#getThenExpression <em>Then Expression</em>}' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Then Expression</em>' containment reference. |
| * @see #getThenExpression() |
| * @generated |
| */ |
| void setThenExpression(CGValuedElement value); |
| |
| } // CGPredicate |