blob: 23034e3cdd7789bd30886d5d217f7e548085029d [file] [log] [blame]
/*
* Copyright (c) 2003, 2004 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/cpl-v10.html
*
* Contributors:
* IBM - Initial API and implementation
*
* $Id: Trigger.java,v 1.5 2004/06/03 02:59:17 khussey Exp $
*/
package org.eclipse.uml2;
import org.eclipse.emf.common.util.EList;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Trigger</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
* A trigger specifies the an event that may cause the execution of an associated behavior. An event is often ultimately caused by the execution of an action, but need not be. Trigger is an abstract metaclass.
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.uml2.Trigger#getPorts <em>Port</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.uml2.UML2Package#getTrigger()
* @model abstract="true"
* @generated
*/
public interface Trigger extends NamedElement{
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
String copyright = "Copyright (c) 2003, 2004 IBM Corporation and others."; //$NON-NLS-1$
/**
* Returns the value of the '<em><b>Port</b></em>' reference list.
* The list contents are of type {@link org.eclipse.uml2.Port}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Port</em>' reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Port</em>' reference list.
* @see org.eclipse.uml2.UML2Package#getTrigger_Port()
* @model type="org.eclipse.uml2.Port" ordered="false"
* @generated
*/
EList getPorts();
/**
* Retrieves the {@link org.eclipse.uml2.Port} with the specified name from the '<em><b>Port</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param unqualifiedName The unqualified name of the {@link org.eclipse.uml2.Port} to retrieve.
* @return The {@link org.eclipse.uml2.Port} with the specified name, or <code>null</code>.
* @see #getPorts()
* @generated
*/
Port getPort(String unqualifiedName);
} // Trigger