blob: 5faf55ea3235075778f33c67eab67e9c36db781b [file] [log] [blame]
/*
* Copyright (c) 2005, 2011 IBM Corporation, CEA, 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
* Kenn Hussey (CEA) - 327039
*
* $Id: Reception.java,v 1.3 2007/04/25 17:47:05 khussey Exp $
*/
package org.eclipse.uml2.uml;
import java.util.Map;
import org.eclipse.emf.common.util.DiagnosticChain;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Reception</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
* A reception is a declaration stating that a classifier is prepared to react to the receipt of a signal. A reception designates a signal and specifies the expected behavioral response. The details of handling a signal are specified by the behavior associated with the reception or the classifier itself.
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.uml2.uml.Reception#getSignal <em>Signal</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.uml2.uml.UMLPackage#getReception()
* @model
* @generated
*/
public interface Reception
extends BehavioralFeature {
/**
* Returns the value of the '<em><b>Signal</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* The signal that this reception handles.
* <!-- end-model-doc -->
* @return the value of the '<em>Signal</em>' reference.
* @see #setSignal(Signal)
* @see org.eclipse.uml2.uml.UMLPackage#getReception_Signal()
* @model required="true" ordered="false"
* @generated
*/
Signal getSignal();
/**
* Sets the value of the '{@link org.eclipse.uml2.uml.Reception#getSignal <em>Signal</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Signal</em>' reference.
* @see #getSignal()
* @generated
*/
void setSignal(Signal value);
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* A Reception can not be a query.
* not self.isQuery
* @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 validateNotQuery(DiagnosticChain diagnostics,
Map<Object, Object> context);
} // Reception