Class UML 2.4.1::AddStructuralFeatureValueAction
Description:
An add structural feature value action is a write structural feature action
for adding values to a structural feature.
Direct Superclasses: WriteStructuralFeatureActionDirect Subclasses: Class Precedence List: AddStructuralFeatureValueAction,
WriteStructuralFeatureAction,
StructuralFeatureAction,
Action,
ExecutableNode,
ActivityNode,
RedefinableElement,
NamedElement,
ElementProperties:
![](/se-interop/image/down-arrow.png?hunchentoot-session=98560%3ADFE1A5FBC49568801676A97E4A9591B7)
insertAt :
InputPin (0 1); -- source
AddStructuralFeatureValueAction![](/se-interop/image/down-arrow.png?hunchentoot-session=98560%3ADFE1A5FBC49568801676A97E4A9591B7)
isReplaceAll : Boolean (1 1); -- source
AddStructuralFeatureValueAction![](/se-interop/image/down-arrow.png?hunchentoot-session=98560%3ADFE1A5FBC49568801676A97E4A9591B7)
result :
OutputPin (0 1); -- source
WriteStructuralFeatureAction![](/se-interop/image/down-arrow.png?hunchentoot-session=98560%3ADFE1A5FBC49568801676A97E4A9591B7)
value :
InputPin (0 1); -- source
WriteStructuralFeatureAction![](/se-interop/image/down-arrow.png?hunchentoot-session=98560%3ADFE1A5FBC49568801676A97E4A9591B7)
object :
InputPin (1 1); -- source
StructuralFeatureAction![](/se-interop/image/down-arrow.png?hunchentoot-session=98560%3ADFE1A5FBC49568801676A97E4A9591B7)
structuralFeature :
StructuralFeature (1 1); -- source
StructuralFeatureAction![](/se-interop/image/down-arrow.png?hunchentoot-session=98560%3ADFE1A5FBC49568801676A97E4A9591B7)
context :
Classifier (0 1); -- source
Action![](/se-interop/image/down-arrow.png?hunchentoot-session=98560%3ADFE1A5FBC49568801676A97E4A9591B7)
input :
InputPin (0 *); -- source
Action![](/se-interop/image/down-arrow.png?hunchentoot-session=98560%3ADFE1A5FBC49568801676A97E4A9591B7)
isLocallyReentrant : Boolean (1 1); -- source
Action![](/se-interop/image/down-arrow.png?hunchentoot-session=98560%3ADFE1A5FBC49568801676A97E4A9591B7)
localPostcondition :
Constraint (0 *); -- source
Action![](/se-interop/image/down-arrow.png?hunchentoot-session=98560%3ADFE1A5FBC49568801676A97E4A9591B7)
localPrecondition :
Constraint (0 *); -- source
Action![](/se-interop/image/down-arrow.png?hunchentoot-session=98560%3ADFE1A5FBC49568801676A97E4A9591B7)
output :
OutputPin (0 *); -- source
Action![](/se-interop/image/down-arrow.png?hunchentoot-session=98560%3ADFE1A5FBC49568801676A97E4A9591B7)
handler :
ExceptionHandler (0 *); -- source
ExecutableNode![](/se-interop/image/down-arrow.png?hunchentoot-session=98560%3ADFE1A5FBC49568801676A97E4A9591B7)
activity :
Activity (0 1); -- source
ActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=98560%3ADFE1A5FBC49568801676A97E4A9591B7)
inGroup :
ActivityGroup (0 *); -- source
ActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=98560%3ADFE1A5FBC49568801676A97E4A9591B7)
inInterruptibleRegion :
InterruptibleActivityRegion (0 *); -- source
ActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=98560%3ADFE1A5FBC49568801676A97E4A9591B7)
inPartition :
ActivityPartition (0 *); -- source
ActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=98560%3ADFE1A5FBC49568801676A97E4A9591B7)
inStructuredNode :
StructuredActivityNode (0 1); -- source
ActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=98560%3ADFE1A5FBC49568801676A97E4A9591B7)
incoming :
ActivityEdge (0 *); -- source
ActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=98560%3ADFE1A5FBC49568801676A97E4A9591B7)
outgoing :
ActivityEdge (0 *); -- source
ActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=98560%3ADFE1A5FBC49568801676A97E4A9591B7)
redefinedNode :
ActivityNode (0 *); -- source
ActivityNode![](/se-interop/image/right-arrow.png?hunchentoot-session=98560%3ADFE1A5FBC49568801676A97E4A9591B7)
isLeaf : Boolean (1 1); -- source
RedefinableElementIndicates whether it is possible to further redefine a RedefinableElement.
If the value is true, then it is not possible to further redefine the RedefinableElement.
Note that this property is preserved through package merge operations;
that is, the capability to redefine a RedefinableElement (i.e., isLeaf=false)
must be preserved in the resulting RedefinableElement of a package merge
operation where a RedefinableElement with isLeaf=false is merged with a
matching RedefinableElement with isLeaf=true: the resulting RedefinableElement
will have isLeaf=false. Default value is false.
Default value: FALSE
![](/se-interop/image/down-arrow.png?hunchentoot-session=98560%3ADFE1A5FBC49568801676A97E4A9591B7)
redefinedElement :
RedefinableElement (0 *); -- source
RedefinableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=98560%3ADFE1A5FBC49568801676A97E4A9591B7)
redefinitionContext :
Classifier (0 *); -- source
RedefinableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=98560%3ADFE1A5FBC49568801676A97E4A9591B7)
clientDependency :
Dependency (0 *); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=98560%3ADFE1A5FBC49568801676A97E4A9591B7)
name : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=98560%3ADFE1A5FBC49568801676A97E4A9591B7)
nameExpression :
StringExpression (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=98560%3ADFE1A5FBC49568801676A97E4A9591B7)
namespace :
Namespace (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=98560%3ADFE1A5FBC49568801676A97E4A9591B7)
qualifiedName : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=98560%3ADFE1A5FBC49568801676A97E4A9591B7)
visibility :
VisibilityKind (0 1); -- source
NamedElement![](/se-interop/image/right-arrow.png?hunchentoot-session=98560%3ADFE1A5FBC49568801676A97E4A9591B7)
ownedComment :
Comment (0 *); -- source
ElementThe Comments owned by this element.
{
composite}
Subsets: Element.ownedElement
![](/se-interop/image/down-arrow.png?hunchentoot-session=98560%3ADFE1A5FBC49568801676A97E4A9591B7)
ownedElement :
Element (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=98560%3ADFE1A5FBC49568801676A97E4A9591B7)
owner :
Element (0 1); -- source
ElementConstraints:
Signature: unlimited_natural_and_multiplicity() : Boolean;
Description: Actions adding a value to ordered structural features must have a single
input pin for the insertion point with type UnlimitedNatural and multiplicity
of 1..1, otherwise the action has no input pin for the insertion point.
The OCL used here is not normative.Editor's notes: No multiplicity. Other issues. Need investigation.
Expression: structuralFeature.isOrdered implies
(insertAt->size() = 1 and
insertAt.is(1,1) and
insertAt.type.oclIsKindOf(UnlimitedNatural))
or insertAt->size() = 0
Original: let insertAtPins : Collection = self.insertAt in if self.structuralFeature.isOrdered = #false then insertAtPins->size() = 0 else let insertAtPin : InputPin= insertAt->asSequence()->first() in insertAtPins->size() = 1 and insertAtPin.type = UnlimitedNatural and insertAtPin.multiplicity.is(1,1)) endif
Signature: required_value() : Boolean;
Description: A value input pin is required.
Expression: self.value -> notEmpty()
Operations:
No additional operations.
Send questions or comments to
[email protected].