blob: edb9c34a650c37cdc1971caa561e4130053834cb [file] [log] [blame]
/*
* Copyright (c) 2005, 2006 IBM Corporation 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
*
* $Id: ForkNode.java,v 1.2 2006/05/12 20:38:03 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>Fork Node</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
* A fork node is a control node that splits a flow into multiple concurrent flows.
* <!-- end-model-doc -->
*
*
* @see org.eclipse.uml2.uml.UMLPackage#getForkNode()
* @model
* @generated
*/
public interface ForkNode
extends ControlNode {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* A fork node has one incoming edge.
* true
* <!-- end-model-doc -->
* @model
* @generated
*/
boolean validateOneIncomingEdge(DiagnosticChain diagnostics, Map context);
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* The edges coming into and out of a fork node must be either all object flows or all control flows.
* true
* <!-- end-model-doc -->
* @model
* @generated
*/
boolean validateEdges(DiagnosticChain diagnostics, Map context);
} // ForkNode