/* * Copyright (c) 2005, 2007 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: Gate.java,v 1.4 2007/04/25 17:47:04 khussey Exp $ */ package org.eclipse.uml2.uml; import java.util.Map; import org.eclipse.emf.common.util.DiagnosticChain; /** * * A representation of the model object 'Gate'. * * * * A gate is a connection point for relating a message outside an interaction fragment with a message inside the interaction fragment. * * * * @see org.eclipse.uml2.uml.UMLPackage#getGate() * @model * @generated */ public interface Gate extends MessageEnd { /** * * * * The message leading to/from an actualGate of an InteractionUse must correspond to the message leading from/to the formalGate with the same name of the Interaction referenced by the InteractionUse. * true * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * * @model * @generated */ boolean validateMessagesActualGate(DiagnosticChain diagnostics, Map context); /** * * * * The message leading to/from an (expression) Gate within a CombinedFragment must correspond to the message leading from/to the CombinedFragment on its outside. * true * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * * @model * @generated */ boolean validateMessagesCombinedFragment(DiagnosticChain diagnostics, Map context); } // Gate