All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.eclipse.uml2.uml.ExecutionSpecification Maven / Gradle / Ivy

There is a newer version: 5.0.0-v20140602-0749
Show newest version
/*
 * 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;

/**
 * 
 * A representation of the model object 'Execution Specification'.
 * 
 *
 * 
 * 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.
 * 
 *
 * 

* The following features are supported: *

    *
  • {@link org.eclipse.uml2.uml.ExecutionSpecification#getFinish Finish}
  • *
  • {@link org.eclipse.uml2.uml.ExecutionSpecification#getStart Start}
  • *
*

* * @see org.eclipse.uml2.uml.UMLPackage#getExecutionSpecification() * @model abstract="true" * @generated */ public interface ExecutionSpecification extends InteractionFragment { /** * Returns the value of the 'Start' reference. * * * * References the OccurrenceSpecification that designates the start of the Action or Behavior * * @return the value of the 'Start' 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 Start}' reference. * * * @param value the new value of the 'Start' reference. * @see #getStart() * @generated */ void setStart(OccurrenceSpecification value); /** * Returns the value of the 'Finish' reference. * * * * References the OccurrenceSpecification that designates the finish of the Action or Behavior. * * @return the value of the 'Finish' 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 Finish}' reference. * * * @param value the new value of the 'Finish' reference. * @see #getFinish() * @generated */ void setFinish(OccurrenceSpecification value); /** * * * * 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. * * @model * @generated */ boolean validateSameLifeline(DiagnosticChain diagnostics, Map context); } // ExecutionSpecification




© 2015 - 2024 Weber Informatics LLC | Privacy Policy