blob: 4ad6cd79dfbaaec4467bfcbee31abf13db5602fc [file] [log] [blame]
/*
* Copyright (c) 2014, 2018 CEA 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:
* Kenn Hussey (CEA) - initial API and implementation
* Kenn Hussey (CEA) - 451350
* Kenn Hussey - 535301
*
*/
package org.eclipse.uml2.uml.profile.standard;
import java.util.Map;
import org.eclipse.emf.common.util.DiagnosticChain;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.uml2.uml.Usage;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Call</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
* A usage dependency whose source is an operation and whose target is an operation. The relationship may also be subsumed to the class containing an operation, with the meaning that there exists an operation in the class to which the dependency applies. A call dependency specifies that the source operation or an operation in the source class invokes the target operation or an operation in the target class. A call dependency may connect a source operation to any target operation that is within scope including, but not limited to, operations of the enclosing classifier and operations of other visible classifiers.
* <p>From package StandardProfile (URI {@literal http://www.omg.org/spec/UML/20131001/StandardProfile}).</p>
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.uml2.uml.profile.standard.Call#getBase_Usage <em>Base Usage</em>}</li>
* </ul>
*
* @see org.eclipse.uml2.uml.profile.standard.StandardPackage#getCall()
* @model
* @generated
*/
public interface Call
extends EObject {
/**
* Returns the value of the '<em><b>Base Usage</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* <p>From package StandardProfile (URI {@literal http://www.omg.org/spec/UML/20131001/StandardProfile}).</p>
* <!-- end-model-doc -->
* @return the value of the '<em>Base Usage</em>' reference.
* @see #setBase_Usage(Usage)
* @see org.eclipse.uml2.uml.profile.standard.StandardPackage#getCall_Base_Usage()
* @model required="true" ordered="false"
* @generated
*/
Usage getBase_Usage();
/**
* Sets the value of the '{@link org.eclipse.uml2.uml.profile.standard.Call#getBase_Usage <em>Base Usage</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Base Usage</em>' reference.
* @see #getBase_Usage()
* @generated
*/
void setBase_Usage(Usage value);
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* self.base_Usage.client->forAll(oclIsKindOf(Operation)) and self.base_Usage.supplier->forAll(oclIsKindOf(Operation))
* @param diagnostics The chain of diagnostics to which problems are to be appended.
* @param context The cache of context-specific information.
* <!-- end-model-doc -->
* @model
* @generated
*/
boolean validateClientAndSupplierAreOperations(DiagnosticChain diagnostics,
Map<Object, Object> context);
} // Call