| /******************************************************************************* |
| * Copyright (c) 2013, 2018 CEA LIST 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(CEA LIST) - Initial API and implementation |
| *******************************************************************************/ |
| package org.eclipse.ocl.examples.codegen.cgmodel; |
| |
| |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A representation of the model object '<em><b>CG Call Exp</b></em>'. |
| * <!-- end-user-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * </p> |
| * <ul> |
| * <li>{@link org.eclipse.ocl.examples.codegen.cgmodel.CGCallExp#isInvalidating <em>Invalidating</em>}</li> |
| * <li>{@link org.eclipse.ocl.examples.codegen.cgmodel.CGCallExp#isValidating <em>Validating</em>}</li> |
| * <li>{@link org.eclipse.ocl.examples.codegen.cgmodel.CGCallExp#getSource <em>Source</em>}</li> |
| * </ul> |
| * |
| * @see org.eclipse.ocl.examples.codegen.cgmodel.CGModelPackage#getCGCallExp() |
| * @generated |
| */ |
| public interface CGCallExp extends CGValuedElement { |
| |
| /** |
| * Returns the value of the '<em><b>Invalidating</b></em>' attribute. |
| * The default value is <code>"false"</code>. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Invalidating</em>' attribute isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * <!-- begin-model-doc --> |
| * Whether this call expression may return an invalid result for non-invalid (or invalid if also validating) inputs. |
| * <!-- end-model-doc --> |
| * @return the value of the '<em>Invalidating</em>' attribute. |
| * @see #setInvalidating(boolean) |
| * @see org.eclipse.ocl.examples.codegen.cgmodel.CGModelPackage#getCGCallExp_Invalidating() |
| * @generated |
| */ |
| boolean isInvalidating(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.ocl.examples.codegen.cgmodel.CGCallExp#isInvalidating <em>Invalidating</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Invalidating</em>' attribute. |
| * @see #isInvalidating() |
| * @generated |
| */ |
| void setInvalidating(boolean value); |
| |
| /** |
| * Returns the value of the '<em><b>Validating</b></em>' attribute. |
| * The default value is <code>"false"</code>. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Validating</em>' attribute isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * <!-- begin-model-doc --> |
| * Whether this call expression may return a non-invalid result for invalid inputs. |
| * <!-- end-model-doc --> |
| * @return the value of the '<em>Validating</em>' attribute. |
| * @see #setValidating(boolean) |
| * @see org.eclipse.ocl.examples.codegen.cgmodel.CGModelPackage#getCGCallExp_Validating() |
| * @generated |
| */ |
| boolean isValidating(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.ocl.examples.codegen.cgmodel.CGCallExp#isValidating <em>Validating</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Validating</em>' attribute. |
| * @see #isValidating() |
| * @generated |
| */ |
| void setValidating(boolean value); |
| |
| /** |
| * Returns the value of the '<em><b>Source</b></em>' containment reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Source</em>' containment reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * <!-- begin-model-doc --> |
| * The source expression for the call. |
| * <!-- end-model-doc --> |
| * @return the value of the '<em>Source</em>' containment reference. |
| * @see #setSource(CGValuedElement) |
| * @see org.eclipse.ocl.examples.codegen.cgmodel.CGModelPackage#getCGCallExp_Source() |
| * @generated |
| */ |
| CGValuedElement getSource(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.ocl.examples.codegen.cgmodel.CGCallExp#getSource <em>Source</em>}' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Source</em>' containment reference. |
| * @see #getSource() |
| * @generated |
| */ |
| void setSource(CGValuedElement value); |
| } // CGCallExp |