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

org.eclipse.uml2.uml.Reception Maven / Gradle / Ivy

/*
 * Copyright (c) 2005, 2014 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, 418466
 *   Christian W. Damus (CEA) - 251963
 *
 */
package org.eclipse.uml2.uml;

import java.util.Map;

import org.eclipse.emf.common.util.DiagnosticChain;

/**
 * 
 * A representation of the model object 'Reception'.
 * 
 *
 * 
 * A Reception is a declaration stating that a Classifier is prepared to react to the receipt of a Signal.
 * 

From package UML::SimpleClassifiers.

* * *

* The following features are supported: *

    *
  • {@link org.eclipse.uml2.uml.Reception#getSignal Signal}
  • *
*

* * @see org.eclipse.uml2.uml.UMLPackage#getReception() * @model * @generated */ public interface Reception extends BehavioralFeature { /** * Returns the value of the 'Signal' reference. * * * * The Signal that this Reception handles. *

From package UML::SimpleClassifiers.

* * @return the value of the 'Signal' 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 Signal}' reference. * * * @param value the new value of the 'Signal' reference. * @see #getSignal() * @generated */ void setSignal(Signal value); /** * * * * A Reception has the same name as its signal * name = signal.name * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * * @model * @generated */ boolean validateSameNameAsSignal(DiagnosticChain diagnostics, Map context); /** * * * * A Reception's parameters match the ownedAttributes of its signal by name, type, and multiplicity * signal.ownedAttribute->size() = ownedParameter->size() and * Sequence{1..signal.ownedAttribute->size()}->forAll( i | * ownedParameter->at(i).direction = ParameterDirectionKind::_'in' and * ownedParameter->at(i).name = signal.ownedAttribute->at(i).name and * ownedParameter->at(i).type = signal.ownedAttribute->at(i).type and * ownedParameter->at(i).lowerBound() = signal.ownedAttribute->at(i).lowerBound() and * ownedParameter->at(i).upperBound() = signal.ownedAttribute->at(i).upperBound() * ) * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * * @model * @generated */ boolean validateSameStructureAsSignal(DiagnosticChain diagnostics, Map context); } // Reception




© 2015 - 2025 Weber Informatics LLC | Privacy Policy