blob: f3b7a2b13ef4eb76d481f2f5ad86f094b23d5bdf [file] [log] [blame]
/*
* Copyright (c) 2005, 2018 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 v2.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v20.html
*
* Contributors:
* IBM - initial API and implementation
* Christian W. Damus (CEA) - 251963
* Kenn Hussey (CEA) - 418466
* Kenn Hussey - 535301
*
*/
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>Input Pin</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
* An InputPin is a Pin that holds input values to be consumed by an Action.
* <p>From package UML::Actions.</p>
* <!-- end-model-doc -->
*
*
* @see org.eclipse.uml2.uml.UMLPackage#getInputPin()
* @model
* @generated
*/
public interface InputPin
extends Pin {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* An InputPin may have outgoing ActivityEdges only when it is owned by a StructuredActivityNode, and these edges must target a node contained (directly or indirectly) in the owning StructuredActivityNode.
* outgoing->notEmpty() implies
* action<>null and
* action.oclIsKindOf(StructuredActivityNode) and
* action.oclAsType(StructuredActivityNode).allOwnedNodes()->includesAll(outgoing.target)
* @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 validateOutgoingEdgesStructuredOnly(DiagnosticChain diagnostics,
Map<Object, Object> context);
} // InputPin