blob: 0520a525aedef08d35cfef8df9d0d39333cfd554 [file] [log] [blame]
/*
* Copyright (c) 2005, 2011 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
* Kenn Hussey (CEA) - 327039
*
* $Id: ExecutionSpecification.java,v 1.5 2007/04/25 17:47:06 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>Execution Specification</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
* An execution specification is a specification of the execution of a unit of behavior or action within the lifeline. The duration of an execution specification is represented by two cccurrence specifications, the start occurrence specification and the finish occurrence specification.
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.uml2.uml.ExecutionSpecification#getFinish <em>Finish</em>}</li>
* <li>{@link org.eclipse.uml2.uml.ExecutionSpecification#getStart <em>Start</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.uml2.uml.UMLPackage#getExecutionSpecification()
* @model abstract="true"
* @generated
*/
public interface ExecutionSpecification
extends InteractionFragment {
/**
* Returns the value of the '<em><b>Start</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* References the OccurrenceSpecification that designates the start of the Action or Behavior
* <!-- end-model-doc -->
* @return the value of the '<em>Start</em>' reference.
* @see #setStart(OccurrenceSpecification)
* @see org.eclipse.uml2.uml.UMLPackage#getExecutionSpecification_Start()
* @model required="true" ordered="false"
* @generated
*/
OccurrenceSpecification getStart();
/**
* Sets the value of the '{@link org.eclipse.uml2.uml.ExecutionSpecification#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(OccurrenceSpecification value);
/**
* Returns the value of the '<em><b>Finish</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* References the OccurrenceSpecification that designates the finish of the Action or Behavior.
* <!-- end-model-doc -->
* @return the value of the '<em>Finish</em>' reference.
* @see #setFinish(OccurrenceSpecification)
* @see org.eclipse.uml2.uml.UMLPackage#getExecutionSpecification_Finish()
* @model required="true" ordered="false"
* @generated
*/
OccurrenceSpecification getFinish();
/**
* Sets the value of the '{@link org.eclipse.uml2.uml.ExecutionSpecification#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(OccurrenceSpecification value);
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* The startEvent and the finishEvent must be on the same Lifeline
* start.lifeline = finish.lifeline
* @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 validateSameLifeline(DiagnosticChain diagnostics,
Map<Object, Object> context);
} // ExecutionSpecification