org.eclipse.uml2
Interface AddStructuralFeatureValueAction

All Superinterfaces:
Action, ActivityNode, Element, EModelElement, EObject, ExecutableNode, NamedElement, Notifier, RedefinableElement, StructuralFeatureAction, TemplateableElement, WriteStructuralFeatureAction

public interface AddStructuralFeatureValueAction
extends WriteStructuralFeatureAction

A representation of the model object 'Add Structural Feature Value Action'. Structural Features are potentially multi-valued and ordered, so the action supports specification of insertion points for new values. It also supports the removal of existing values of the structural feature before the new value is added. The object to access is specified dynamically, by referring to an input pin on which the object will be placed at runtime. The type of the value of this pin is the classifier that owns the specified structural feature, and the value�s multiplicity is 1..1.

The following features are supported:

See Also:
UML2Package.getAddStructuralFeatureValueAction()

Field Summary
static String copyright
           
 
Fields inherited from interface org.eclipse.uml2.NamedElement
SEPARATOR
 
Method Summary
 InputPin createInsertAt(EClass eClass)
          Creates a InputPin and sets the 'Insert At' containment reference
 EList getInputs()
           
 InputPin getInsertAt()
          Returns the value of the 'Insert At' containment reference
 boolean isReplaceAll()
          Returns the value of the 'Is Replace All' attribute.
 void setInsertAt(InputPin value)
          Sets the value of the 'Insert At' containment reference
 void setIsReplaceAll(boolean value)
          Sets the value of the 'Is Replace All' attribute
 
Methods inherited from interface org.eclipse.uml2.WriteStructuralFeatureAction
createValue, getValue, setValue
 
Methods inherited from interface org.eclipse.uml2.StructuralFeatureAction
createObject, getObject, getStructuralFeature, setObject, setStructuralFeature
 
Methods inherited from interface org.eclipse.uml2.Action
createLocalPostcondition, createLocalPrecondition, getContext, getEffect, getInput, getLocalPostcondition, getLocalPostconditions, getLocalPrecondition, getLocalPreconditions, getOutput, getOutputs, getOwnedElements, setEffect
 
Methods inherited from interface org.eclipse.uml2.ExecutableNode
createHandler, getHandlers
 
Methods inherited from interface org.eclipse.uml2.ActivityNode
getActivity, getIncoming, getIncomings, getInGroups, getInInterruptibleRegions, getInPartition, getInPartitions, getInStructuredNode, getOutgoing, getOutgoings, getOwner, getRedefinedElement, getRedefinedElements, setActivity, setInStructuredNode
 
Methods inherited from interface org.eclipse.uml2.RedefinableElement
getRedefinitionContext, getRedefinitionContexts, isConsistentWith, isLeaf, isRedefinitionContextValid, setIsLeaf, validateRedefinitionConsistent, validateRedefinitionContextValid
 
Methods inherited from interface org.eclipse.uml2.NamedElement
allNamespaces, createNameExpression, getClientDependencies, getClientDependency, getName, getNameExpression, getNamespace, getQualifiedName, getVisibility, isDistinguishableFrom, qualifiedName, separator, setName, setNameExpression, setVisibility, validateNoName, validateQualifiedName, validateVisibilityNeedsOwnership
 
Methods inherited from interface org.eclipse.uml2.TemplateableElement
createOwnedTemplateSignature, createTemplateBinding, getOwnedTemplateSignature, getTemplateBindings, parameterableElements, setOwnedTemplateSignature
 
Methods inherited from interface org.eclipse.uml2.Element
addKeyword, allOwnedElements, apply, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedVersion, getKeywords, getModel, getNearestPackage, getOwnedComments, getValue, hasKeyword, isApplied, isRequired, mustBeOwned, removeKeyword, setValue, unapply, validateHasOwner, validateNotOwnSelf
 
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Field Detail

copyright

public static final String copyright

See Also:
Constant Field Values
Method Detail

isReplaceAll

public boolean isReplaceAll()
Returns the value of the 'Is Replace All' attribute. The default value is "false".

If the meaning of the 'Is Replace All' attribute isn't clear, there really should be more of a description here...

Specifies whether existing values of the structural feature of the object should be removed before adding the new value.

Returns:
the value of the 'Is Replace All' attribute.
See Also:
setIsReplaceAll(boolean), UML2Package.getAddStructuralFeatureValueAction_IsReplaceAll()

setIsReplaceAll

public void setIsReplaceAll(boolean value)
Sets the value of the 'Is Replace All' attribute.

Parameters:
value - the new value of the 'Is Replace All' attribute.
See Also:
isReplaceAll()

getInsertAt

public InputPin getInsertAt()
Returns the value of the 'Insert At' containment reference.

If the meaning of the 'Insert At' containment reference isn't clear, there really should be more of a description here...

(Specialized from Action:input) Gives the position at which to insert a new value or move an existing value in ordered structural features. The type of the pin is UnlimitedNatural, but the value cannot be zero. This pin is omitted for unordered structural features.

Returns:
the value of the 'Insert At' containment reference.
See Also:
setInsertAt(InputPin), UML2Package.getAddStructuralFeatureValueAction_InsertAt()

setInsertAt

public void setInsertAt(InputPin value)
Sets the value of the 'Insert At' containment reference.

Parameters:
value - the new value of the 'Insert At' containment reference.
See Also:
getInsertAt()

createInsertAt

public InputPin createInsertAt(EClass eClass)
Creates a InputPin and sets the 'Insert At' containment reference.

Parameters:
eClass - The Ecore class of the InputPin to create.
Returns:
The new InputPin.
See Also:
getInsertAt()

getInputs

public EList getInputs()

Specified by:
getInputs in interface WriteStructuralFeatureAction

Copyright 2003, 2004 IBM Corporation and others.
All Rights Reserved.