blob: 06309f72774f2c4daa013b0797487d1d63793190 [file] [log] [blame]
/*
* Copyright (c) 2005, 2018 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 v2.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v20.html
*
* Contributors:
* IBM - initial API and implementation
* Kenn Hussey (CEA) - 327039, 418466, 451350
* Christian W. Damus (CEA) - 251963
* Kenn Hussey - 535301
*
*/
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 ExecutionSpecification is a specification of the execution of a unit of Behavior or Action within the Lifeline. The duration of an ExecutionSpecification is represented by two OccurrenceSpecifications, the start OccurrenceSpecification and the finish OccurrenceSpecification.
* <p>From package UML::Interactions.</p>
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* </p>
* <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>
*
* @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.
* <p>From package UML::Interactions.</p>
* <!-- 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.
* <p>From package UML::Interactions.</p>
* <!-- 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.covered = finish.covered
* @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