blob: 2ecb4be556c4e7d8eb56d477b4245baceccb51ef [file] [log] [blame]
/*
* 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
* Christian W. Damus (CEA) - 251963
* Kenn Hussey (CEA) - 418466
*
*/
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>Control Flow</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
* A ControlFlow is an ActivityEdge traversed by control tokens or object tokens of control type, which are use to control the execution of ExecutableNodes.
* <p>From package UML::Activities.</p>
* <!-- end-model-doc -->
*
*
* @see org.eclipse.uml2.uml.UMLPackage#getControlFlow()
* @model
* @generated
*/
public interface ControlFlow
extends ActivityEdge {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* ControlFlows may not have ObjectNodes at either end, except for ObjectNodes with control type.
* (source.oclIsKindOf(ObjectNode) implies source.oclAsType(ObjectNode).isControlType) and
* (target.oclIsKindOf(ObjectNode) implies target.oclAsType(ObjectNode).isControlType)
* @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 validateObjectNodes(DiagnosticChain diagnostics,
Map<Object, Object> context);
} // ControlFlow