public interface AddVariableValueAction extends WriteVariableAction
The following features are supported:
UMLPackage.getAddVariableValueAction()
SEPARATOR
Modifier and Type | Method and Description |
---|---|
InputPin |
createInsertAt(String name,
Type type)
Creates a new
InputPin ,with the specified 'Name', and 'Type', and sets
the 'Insert At' containment reference |
InputPin |
createInsertAt(String name,
Type type,
EClass eClass)
Creates a new
InputPin , with the specified 'Name', and 'Type', and sets
the 'Insert At' containment reference |
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 |
boolean |
validateSingleInputPin(DiagnosticChain diagnostics,
Map context)
Actions adding values to ordered variables must have a single input pin for the insertion point with type UnlimtedNatural and multiplicity of
1..1, otherwise the action has no input pin for the insertion point.
|
createValue, createValue, getValue, setValue, validateMultiplicity, validateSameType
getVariable, setVariable, validateScopeOfVariable
createLocalPostcondition, createLocalPostcondition, createLocalPrecondition, createLocalPrecondition, getContext, getInput, getInput, getInputs, getLocalPostcondition, getLocalPostcondition, getLocalPostconditions, getLocalPrecondition, getLocalPrecondition, getLocalPreconditions, getOutput, getOutput, getOutputs
createHandler, getHandlers
getActivity, getIncoming, getIncoming, getIncomings, getInGroups, getInInterruptibleRegions, getInPartition, getInPartition, getInPartitions, getInStructuredNode, getOutgoing, getOutgoing, getOutgoings, getRedefinedNode, getRedefinedNode, getRedefinedNodes, setActivity, setInStructuredNode, validateOwned, validateOwnedStructuredNode
getRedefinedElement, getRedefinedElement, getRedefinedElements, getRedefinitionContext, getRedefinitionContext, getRedefinitionContexts, isConsistentWith, isLeaf, isRedefinitionContextValid, setIsLeaf, validateRedefinitionConsistent, validateRedefinitionContextValid
allNamespaces, allOwningPackages, createDependency, createNameExpression, getClientDependencies, getClientDependency, getClientDependency, getLabel, getLabel, getName, getNameExpression, getNamespace, getQualifiedName, getVisibility, isDistinguishableFrom, isSetName, isSetVisibility, separator, setName, setNameExpression, setVisibility, unsetName, unsetVisibility, validateHasNoQualifiedName, validateHasQualifiedName, validateVisibilityNeedsOwnership
addKeyword, allOwnedElements, applyStereotype, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedSubstereotype, getAppliedSubstereotypes, getKeywords, getModel, getNearestPackage, getOwnedComments, getOwnedElements, getOwner, getRelationships, getRelationships, getRequiredStereotype, getRequiredStereotypes, getSourceDirectedRelationships, getSourceDirectedRelationships, getStereotypeApplication, getStereotypeApplications, getTargetDirectedRelationships, getTargetDirectedRelationships, getValue, hasKeyword, hasValue, isStereotypeApplicable, isStereotypeApplied, isStereotypeRequired, mustBeOwned, removeKeyword, setValue, unapplyStereotype, validateHasOwner, validateNotOwnSelf
compareTo, eExtendedClass, eIsInstanceOf, eIsInstanceOf, eIsProfiled, eIsRemoved, eMetamodel, eMetaTypeName, eModel, eRemove, eSetUniqueID, eUniqueID, superScript, superScript, toBoolean, toBoolean, toByte, toByte, toChar, toChar, toDouble, toDouble, toFloat, toFloat, toInt, toInt, toList, toList, toList, toList, toList, toLong, toLong, toObject, toObject, toSet, toSet, toShort, toShort, toString, toString
getEAnnotation, getEAnnotations
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
boolean isReplaceAll()
"false"
.
Specifies whether existing values of the variable should be removed before adding the new value.
setIsReplaceAll(boolean)
,
UMLPackage.getAddVariableValueAction_IsReplaceAll()
void setIsReplaceAll(boolean value)
Is Replace All
' attribute.
value
- the new value of the 'Is Replace All' attribute.isReplaceAll()
InputPin getInsertAt()
setInsertAt(InputPin)
,
UMLPackage.getAddVariableValueAction_InsertAt()
void setInsertAt(InputPin value)
Insert At
' containment reference.
value
- the new value of the 'Insert At' containment reference.getInsertAt()
InputPin createInsertAt(String name, Type type, EClass eClass)
InputPin
, with the specified 'Name', and 'Type', and sets
the 'Insert At' containment reference.
name
- The 'Name' for the new InputPin
, or null
.type
- The 'Type' for the new InputPin
, or null
.eClass
- The Ecore class of the InputPin
to create.InputPin
.getInsertAt()
InputPin createInsertAt(String name, Type type)
InputPin
,with the specified 'Name', and 'Type', and sets
the 'Insert At' containment reference.
name
- The 'Name' for the new InputPin
, or null
.type
- The 'Type' for the new InputPin
, or null
.InputPin
.getInsertAt()
boolean validateSingleInputPin(DiagnosticChain diagnostics, Map context)