All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.eclipse.ocl.expressions.OperationCallExp Maven / Gradle / Ivy

/**
 * 
 * 
 * Copyright (c) 2006, 2008 IBM Corporation, Zeligsoft Inc., 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:
 *   IBM - Initial API and implementation
 *   Zeligsoft - Bug 207365
 * 
 * 
 *
 * $Id: OperationCallExp.java,v 1.8 2009/12/22 18:53:30 ewillink Exp $
 */
package org.eclipse.ocl.expressions;

import java.util.Map;
import org.eclipse.emf.common.util.DiagnosticChain;
import org.eclipse.emf.common.util.EList;

/**
 * 
 * A representation of the model object 'Operation Call Exp'.
 * 
 *
 * 

* The following features are supported: *

    *
  • {@link org.eclipse.ocl.expressions.OperationCallExp#getArgument Argument}
  • *
  • {@link org.eclipse.ocl.expressions.OperationCallExp#getReferredOperation Referred Operation}
  • *
  • {@link org.eclipse.ocl.expressions.OperationCallExp#getOperationCode Operation Code}
  • *
*

* * @see org.eclipse.ocl.expressions.ExpressionsPackage#getOperationCallExp() * @model * @generated */ public interface OperationCallExp extends FeatureCallExp { /** * Returns the value of the 'Argument' containment reference list. * The list contents are of type {@link org.eclipse.ocl.expressions.OCLExpression}<C>. * *

* If the meaning of the 'Argument' containment reference list isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Argument' containment reference list. * @see org.eclipse.ocl.expressions.ExpressionsPackage#getOperationCallExp_Argument() * @model containment="true" * @generated */ EList> getArgument(); /** * Returns the value of the 'Referred Operation' reference. * *

* If the meaning of the 'Referred Operation' reference isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Referred Operation' reference. * @see #setReferredOperation(Object) * @see org.eclipse.ocl.expressions.ExpressionsPackage#getOperationCallExp_ReferredOperation() * @model kind="reference" * @generated */ O getReferredOperation(); /** * Sets the value of the '{@link org.eclipse.ocl.expressions.OperationCallExp#getReferredOperation Referred Operation}' reference. * * * @param value the new value of the 'Referred Operation' reference. * @see #getReferredOperation() * @generated */ void setReferredOperation(O value); /** * Returns the value of the 'Operation Code' attribute. * *

* If the meaning of the 'Operation Code' attribute isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Operation Code' attribute. * @see #setOperationCode(int) * @see org.eclipse.ocl.expressions.ExpressionsPackage#getOperationCallExp_OperationCode() * @model transient="true" volatile="true" * @generated */ int getOperationCode(); /** * Sets the value of the '{@link org.eclipse.ocl.expressions.OperationCallExp#getOperationCode Operation Code}' attribute. * * * @param value the new value of the 'Operation Code' attribute. * @see #getOperationCode() * @generated */ void setOperationCode(int value); /** * * * * arguments->forall (a | a.type.conformsTo * (self.refParams->at (arguments->indexOf (a)).type)) * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * * @model * @generated */ boolean checkArgumentsConform(DiagnosticChain diagnostics, Map context); /** * * * * arguments->size() = refParams->size() * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * * @model * @generated */ boolean checkArgumentCount(DiagnosticChain diagnostics, Map context); } // OperationCallExp




© 2015 - 2024 Weber Informatics LLC | Privacy Policy