org.eclipse.uml2.uml.VariableAction Maven / Gradle / Ivy
The newest version!
/*
* Copyright (c) 2005, 2014 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
* Christian W. Damus (CEA) - 251963
* Kenn Hussey (CEA) - 418466
*
*/
package org.eclipse.uml2.uml;
import java.util.Map;
import org.eclipse.emf.common.util.DiagnosticChain;
/**
*
* A representation of the model object 'Variable Action'.
*
*
*
* VariableAction is an abstract class for Actions that operate on a specified Variable.
* From package UML::Actions.
*
*
*
* The following features are supported:
*
* - {@link org.eclipse.uml2.uml.VariableAction#getVariable Variable}
*
*
*
* @see org.eclipse.uml2.uml.UMLPackage#getVariableAction()
* @model abstract="true"
* @generated
*/
public interface VariableAction
extends Action {
/**
* Returns the value of the 'Variable' reference.
*
*
*
* The Variable to be read or written.
* From package UML::Actions.
*
* @return the value of the 'Variable' reference.
* @see #setVariable(Variable)
* @see org.eclipse.uml2.uml.UMLPackage#getVariableAction_Variable()
* @model required="true" ordered="false"
* @generated
*/
Variable getVariable();
/**
* Sets the value of the '{@link org.eclipse.uml2.uml.VariableAction#getVariable Variable}' reference.
*
*
* @param value the new value of the 'Variable' reference.
* @see #getVariable()
* @generated
*/
void setVariable(Variable value);
/**
*
*
*
* The VariableAction must be in the scope of the variable.
* variable.isAccessibleBy(self)
* @param diagnostics The chain of diagnostics to which problems are to be appended.
* @param context The cache of context-specific information.
*
* @model
* @generated
*/
boolean validateScopeOfVariable(DiagnosticChain diagnostics,
Map