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

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

/*
 * Copyright (c) 2005, 2007 IBM Corporation 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
 *
 * $Id: Continuation.java,v 1.6 2007/04/25 17:47:05 khussey Exp $
 */
package org.eclipse.uml2.uml;

import java.util.Map;

import org.eclipse.emf.common.util.DiagnosticChain;

/**
 * 
 * A representation of the model object 'Continuation'.
 * 
 *
 * 
 * A continuation is a syntactic way to define continuations of different branches of an alternative combined fragment. Continuations is intuitively similar to labels representing intermediate points in a flow of control.
 * 
 *
 * 

* The following features are supported: *

    *
  • {@link org.eclipse.uml2.uml.Continuation#isSetting Setting}
  • *
*

* * @see org.eclipse.uml2.uml.UMLPackage#getContinuation() * @model * @generated */ public interface Continuation extends InteractionFragment { /** * Returns the value of the 'Setting' attribute. * The default value is "true". * * * * True: when the Continuation is at the end of the enclosing InteractionFragment and False when it is in the beginning. * * @return the value of the 'Setting' attribute. * @see #setSetting(boolean) * @see org.eclipse.uml2.uml.UMLPackage#getContinuation_Setting() * @model default="true" dataType="org.eclipse.uml2.uml.Boolean" required="true" ordered="false" * @generated */ boolean isSetting(); /** * Sets the value of the '{@link org.eclipse.uml2.uml.Continuation#isSetting Setting}' attribute. * * * @param value the new value of the 'Setting' attribute. * @see #isSetting() * @generated */ void setSetting(boolean value); /** * * * * Continuations with the same name may only cover the same set of Lifelines (within one Classifier). * true * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * * @model * @generated */ boolean validateSameName(DiagnosticChain diagnostics, Map context); /** * * * * Continuations are always global in the enclosing InteractionFragment e.g. it always covers all Lifelines covered by the enclosing InteractionFragment. * true * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * * @model * @generated */ boolean validateGlobal(DiagnosticChain diagnostics, Map context); /** * * * * Continuations always occur as the very first InteractionFragment or the very last InteractionFragment of the enclosing InteractionFragment. * true * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * * @model * @generated */ boolean validateFirstOrLastInteractionFragment(DiagnosticChain diagnostics, Map context); } // Continuation




© 2015 - 2025 Weber Informatics LLC | Privacy Policy