blob: a1d4951259c4d4b2e92cadcf9dcc435366d06f1e [file] [log] [blame]
/*
* Copyright (c) 2005, 2013 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
*
*/
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>Initial Node</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
* An initial node is a control node at which flow starts when the activity is invoked.
* <p>From package UML (URI {@literal http://www.omg.org/spec/UML/20110701}).</p>
* <!-- end-model-doc -->
*
*
* @see org.eclipse.uml2.uml.UMLPackage#getInitialNode()
* @model
* @generated
*/
public interface InitialNode
extends ControlNode {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* An initial node has no incoming edges.
* true
* @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 validateNoIncomingEdges(DiagnosticChain diagnostics,
Map<Object, Object> context);
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* Only control edges can have initial nodes as source.
* true
* @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 validateControlEdges(DiagnosticChain diagnostics,
Map<Object, Object> context);
} // InitialNode