blob: a1a5dbdb1aa0f2467ab01db0e3c0261221e3a0f4 [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: ExecutionOccurrence.java,v 1.2 2004/04/10 04:09:50 khussey Exp $
*/
package org.eclipse.uml2;
import org.eclipse.emf.common.util.EList;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Execution Occurrence</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.uml2.ExecutionOccurrence#getStart <em>Start</em>}</li>
* <li>{@link org.eclipse.uml2.ExecutionOccurrence#getFinish <em>Finish</em>}</li>
* <li>{@link org.eclipse.uml2.ExecutionOccurrence#getBehaviors <em>Behavior</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.uml2.UML2Package#getExecutionOccurrence()
* @model
* @generated
*/
public interface ExecutionOccurrence extends InteractionFragment{
/**
* <!-- 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>Start</b></em>' reference.
* It is bidirectional and its opposite is '{@link org.eclipse.uml2.EventOccurrence#getStartExecs <em>Start Exec</em>}'.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Start</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Start</em>' reference.
* @see #setStart(EventOccurrence)
* @see org.eclipse.uml2.UML2Package#getExecutionOccurrence_Start()
* @see org.eclipse.uml2.EventOccurrence#getStartExecs
* @model opposite="startExec" required="true"
* @generated
*/
EventOccurrence getStart();
/**
* Sets the value of the '{@link org.eclipse.uml2.ExecutionOccurrence#getStart <em>Start</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Start</em>' reference.
* @see #getStart()
* @generated
*/
void setStart(EventOccurrence value);
/**
* Returns the value of the '<em><b>Finish</b></em>' reference.
* It is bidirectional and its opposite is '{@link org.eclipse.uml2.EventOccurrence#getFinishExecs <em>Finish Exec</em>}'.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Finish</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Finish</em>' reference.
* @see #setFinish(EventOccurrence)
* @see org.eclipse.uml2.UML2Package#getExecutionOccurrence_Finish()
* @see org.eclipse.uml2.EventOccurrence#getFinishExecs
* @model opposite="finishExec" required="true"
* @generated
*/
EventOccurrence getFinish();
/**
* Sets the value of the '{@link org.eclipse.uml2.ExecutionOccurrence#getFinish <em>Finish</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Finish</em>' reference.
* @see #getFinish()
* @generated
*/
void setFinish(EventOccurrence value);
/**
* Returns the value of the '<em><b>Behavior</b></em>' reference list.
* The list contents are of type {@link org.eclipse.uml2.Behavior}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Behavior</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>Behavior</em>' reference list.
* @see org.eclipse.uml2.UML2Package#getExecutionOccurrence_Behavior()
* @model type="org.eclipse.uml2.Behavior"
* @generated
*/
EList getBehaviors();
/**
* Retrieves the {@link org.eclipse.uml2.Behavior} with the specified name from the '<em><b>Behavior</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param unqualifiedName The unqualified name of the {@link org.eclipse.uml2.Behavior} to retrieve.
* @return The {@link org.eclipse.uml2.Behavior} with the specified name, or <code>null</code>.
* @see #getBehaviors()
* @generated
*/
Behavior getBehavior(String unqualifiedName);
} // ExecutionOccurrence