org.eclipse.uml2
Interface AddVariableValueAction
- All Superinterfaces:
- Action, ActivityNode, Element, EModelElement, EObject, ExecutableNode, NamedElement, Notifier, RedefinableElement, TemplateableElement, VariableAction, WriteVariableAction
- public interface AddVariableValueAction
- extends WriteVariableAction
A representation of the model object 'Add Variable Value Action'.
Variables 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 variable before the new value is added.
The following features are supported:
- See Also:
UML2Package.getAddVariableValueAction()
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.ActivityNode |
getActivity, getIncoming, getIncomings, getInGroups, getInInterruptibleRegions, getInPartition, getInPartitions, getInStructuredNode, getOutgoing, getOutgoings, getOwner, getRedefinedElement, getRedefinedElements, setActivity, setInStructuredNode |
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.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.EObject |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
copyright
public static final String copyright
-
- See Also:
- Constant Field Values
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 variable should be removed before adding the new value.
- Returns:
- the value of the 'Is Replace All' attribute.
- See Also:
setIsReplaceAll(boolean)
,
UML2Package.getAddVariableValueAction_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 variables. The types is UnlimitedINatural, but the value cannot be zero. This pin is omitted for unordered variables.
- Returns:
- the value of the 'Insert At' containment reference.
- See Also:
setInsertAt(InputPin)
,
UML2Package.getAddVariableValueAction_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 WriteVariableAction