blob: c2a80359426b77c191c492e15f83e09acc36fcc8 [file] [log] [blame]
/*
* Copyright (c) 2003, 2006 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: WriteStructuralFeatureAction.java,v 1.11 2006/05/26 18:16:51 khussey Exp $
*/
package org.eclipse.uml2;
import org.eclipse.emf.ecore.EClass;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Write Structural Feature Action</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
* A write structural feature action operates on a structural feature of an object to modify its values. It has an input pin on which the value that will be added or removed is put. Other aspects of write structural feature actions are inherited from StructuralFeatureAction.
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.uml2.WriteStructuralFeatureAction#getValue <em>Value</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.uml2.UML2Package#getWriteStructuralFeatureAction()
* @model abstract="true"
* @generated
*/
public interface WriteStructuralFeatureAction extends StructuralFeatureAction {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
String copyright = "Copyright (c) IBM Corporation and others."; //$NON-NLS-1$
/**
* Returns the value of the '<em><b>Value</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Value</em>' containment reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* (Specialized from Action:input) Value to be added or removed from the structural feature.
* <!-- end-model-doc -->
* @return the value of the '<em>Value</em>' containment reference.
* @see #setValue(InputPin)
* @see org.eclipse.uml2.UML2Package#getWriteStructuralFeatureAction_Value()
* @model containment="true" required="true"
* @generated
*/
InputPin getValue();
/**
* Sets the value of the '{@link org.eclipse.uml2.WriteStructuralFeatureAction#getValue <em>Value</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Value</em>' containment reference.
* @see #getValue()
* @generated
*/
void setValue(InputPin value);
/**
* Creates a {@link org.eclipse.uml2.InputPin} and sets the '<em><b>Value</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param eClass The Ecore class of the {@link org.eclipse.uml2.InputPin} to create.
* @return The new {@link org.eclipse.uml2.InputPin}.
* @see #getValue()
* @generated NOT
*/
InputPin createValue(EClass eClass);
/**
* Creates a {@link org.eclipse.uml2.InputPin} and sets the '<em><b>Value</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return The new {@link org.eclipse.uml2.InputPin}.
* @see #getValue()
* @generated NOT
*/
InputPin createValue();
} // WriteStructuralFeatureAction