blob: 258753590087e1a99397cfda94738ffb43be066d [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: Gate.java,v 1.3 2006/12/14 15:49:27 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>Gate</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
* A gate is a connection point for relating a message outside an interaction fragment with a message inside the interaction fragment.
* <!-- end-model-doc -->
*
*
* @see org.eclipse.uml2.uml.UMLPackage#getGate()
* @model
* @generated
*/
public interface Gate
extends MessageEnd {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* 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
* <!-- end-model-doc -->
* @model
* @generated
*/
boolean validateMessagesActualGate(DiagnosticChain diagnostics,
Map<Object, Object> context);
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* 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
* <!-- end-model-doc -->
* @model
* @generated
*/
boolean validateMessagesCombinedFragment(DiagnosticChain diagnostics,
Map<Object, Object> context);
} // Gate