A read extent action is an action that retrieves the current instances of a classifier. The type of the result output pin is the classifier. OCL true The multiplicity of the result output pin is 0..*. OCL self.result.multiplicity.is(0,#null) The runtime instances of the classifier. The classifier whose instances are to be retrieved. A reclassify object action is an action that changes which classifiers classify an object. None of the new classifiers may be abstract. OCL not self.newClassifier->exists(isAbstract = true) The multiplicity of the input pin is 1..1. OCL self.argument.multiplicity.is(1,1) The input pin has no type. OCL self.argument.type->size() = 0 Specifies whether existing classifiers should be removed before adding the new classifiers. A set of classifiers to be removed from the classifiers of the object. A set of classifiers to be added to the classifiers of the object. Holds the object to be reclassified. A read is classified object action is an action that determines whether a runtime object is classified by a given classifier. The multiplicity of the input pin is 1..1. OCL self.object.multiplicity.is(1,1) The input pin has no type. OCL self.object.type->isEmpty() The multiplicity of the output pin is 1..1. OCL self.result.multiplicity.is(1,1) The type of the output pin is Boolean OCL self.result.type = Boolean Indicates whether the classifier must directly classify the input object. The classifier against which the classification of the input object is tested. After termination of the action, will hold the result of the test. Holds the object whose classification is to be tested. A start classifier behavior action is an action that starts the classifier behavior of the input. The multiplicity of the input pin is 1..1 OCL true If the input pin has a type, then the type must have a classifier behavior. OCL true Holds the object on which to start the owned behavior. A qualifier value is not an action. It is an element that identifies links. It gives a single qualifier within a link end data specification. The qualifier attribute must be a qualifier of the association end of the link-end data. OCL self.LinkEndData.end->collect(qualifier)->includes(self.qualifier) The type of the qualifier value input pin is the same as the type of the qualifier attribute. OCL self.value.type = self.qualifier.type The multiplicity of the qualifier value input pin is "1..1". OCL self.value.multiplicity.is(1,1) Attribute representing the qualifier for which the value is to be specified. Input pin from which the specified value for the qualifier is taken. The qualifiers include all and only the qualifiers of the association end. OCL self.qualifier->collect(qualifier) = self.end.qualifier The end object input pin is not also a qualifier value input pin. OCL self.value->excludesAll(self.qualifier.value) List of qualifier values A read link object end action is an action that retrieves an end object from a link object. The property must be an association end. OCL self.end.association.notEmpty() The association of the association end must be an association class. OCL self.end.Association.oclIsKindOf(AssociationClass) The ends of the association must not be static. OCL self.end.association.memberEnd->forall(e | not e.isStatic) The type of the object input pin is the association class that owns the association end. OCL self.object.type = self.end.association The multiplicity of the object input pin is 1..1. OCL self.object.multiplicity.is(1,1) The type of the result output pin is the same as the type of the association end. OCL self.result.type = self.end.type The multiplicity of the result output pin is 1..1. OCL self.result.multiplicity.is(1,1) Gives the input pin from which the link object is obtained. Link end to be read. Pin where the result value is placed. A read link object end qualifier action is an action that retrieves a qualifier end value from a link object. The qualifier attribute must be a qualifier attribute of an association end. OCL self.qualifier.associationEnd->size() = 1 The association of the association end of the qualifier attribute must be an association class. OCL self.qualifier.associationEnd.association.oclIsKindOf(AssociationClass) The ends of the association must not be static. OCL self.qualifier.associationEnd.association.memberEnd->forall(e | not e.isStatic) The type of the object input pin is the association class that owns the association end that has the given qualifier attribute. OCL self.object.type = self.qualifier.associationEnd.association The multiplicity of the qualifier attribute is 1..1. OCL self.qualifier.multiplicity.is(1,1) The multiplicity of the object input pin is 1..1. OCL self.object.multiplicity.is(1,1) The type of the result output pin is the same as the type of the qualifier attribute. OCL self.result.type = self.qualifier.type The multiplicity of the result output pin is 1..1. OCL self.result.multiplicity.is(1,1) Gives the input pin from which the link object is obtained. Pin where the result value is placed. The attribute representing the qualifier to be read. A create link object action creates a link object. The association must be an association class. OCL self.association().oclIsKindOf(Class) The type of the result pin must be the same as the association of the action. OCL self.result.type = self.association() The multiplicity of the output pin is 1..1. OCL self.result.multiplicity.is(1,1) Gives the output pin on which the result is put. A accept event action is an action that waits for the occurrence of an event meeting specified conditions. AcceptEventActions may have no input pins. OCL true There are no output pins if the trigger events are only ChangeEvents, or if they are only CallEvents when this action is an instance of AcceptEventAction and not an instance of a descendant of AcceptEventAction (such as AcceptCallAction). OCL true If the trigger events are all TimeEvents, there is exactly one output pin. OCL true If isUnmarshall is true, there must be exactly one trigger for events of type SignalEvent. The number of result output pins must be the same as the number of attributes of the signal. The type and ordering of each result output pin must be the same as the corresponding attribute of the signal. The multiplicity of each result output pin must be compatible with the multiplicity of the corresponding attribute. OCL true Indicates whether there is a single output pin for the event, or multiple output pins for attributes of the event. Pins holding the received event objects or their attributes. Event objects may be copied in transmission, so identity might not be preserved. The type of events accepted by the action, as specified by triggers. For triggers with signal events, a signal of the specified type or any subtype of the specified signal type is accepted. An accept call action is an accept event action representing the receipt of a synchronous call request. In addition to the normal operation parameters, the action produces an output that is needed later to supply the information to the reply action necessary to return control to the caller. This action is for synchronous calls. If it is used to handle an asynchronous call, execution of the subsequent reply action will complete immediately with no effects. The result pins must match the in and inout parameters of the operation specified by the trigger event in number, type, and order. OCL true The trigger event must be a CallEvent. OCL trigger.event.oclIsKindOf(CallEvent) isUnmrashall must be true for an AcceptCallAction. OCL isUnmarshall = true Pin where a value is placed containing sufficient information to perform a subsequent reply and return control to the caller. The contents of this value are opaque. It can be passed and copied but it cannot be manipulated by the model. A reply action is an action that accepts a set of return values and a value containing return information produced by a previous accept call action. The reply action returns the values to the caller of the previous call, completing execution of the call. The reply value pins must match the return, out, and inout parameters of the operation on the event on the trigger in number, type, and order. OCL true The event on replyToCall trigger must be a CallEvent replyToCallEvent.oclIsKindOf(CallEvent) OCL replyToCallEvent.oclIsKindOf(CallEvent) The trigger specifying the operation whose call is being replied to. A pin containing the return information value produced by an earlier AcceptCallAction. A list of pins containing the reply values of the operation. These values are returned to the caller. An unmarshall action is an action that breaks an object of a known type into outputs each of which is equal to a value from a structural feature of the object. The type of the object input pin must be the same as the unmarshall classifier. OCL true The multiplicity of the object input pin is 1..1 OCL true The number of result output pins must be the same as the number of structural features of the unmarshall classifier. OCL true The type and ordering of each result output pin must be the same as the corresponding structural feature of the unmarshall classifier. OCL true The multiplicity of each result output pin must be compatible with the multiplicity of the corresponding structural features of the unmarshall classifier. OCL true The unmarshall classifier must have at least one structural feature. OCL true unmarshallType must be a Classifier with ordered attributes OCL true The values of the structural features of the input object. The type of the object to be unmarshalled. The object to be unmarshalled. A reduce action is an action that reduces a collection to a single value by combining the elements of the collection. The type of the input must be a collection. OCL true The type of the output must be compatible with the type of the output of the reducer behavior. OCL true The reducer behavior must have two input parameters and one output parameter, of types compatible with the types of elements of the input collection. OCL true Behavior that is applied to two elements of the input collection to produce a value that is the same type as elements of the collection. Gives the output pin on which the result is put. The collection to be reduced. Tells whether the order of the input collection should determine the order in which the behavior is applied to its elements. StartObjectBehaviorAction is an action that starts the execution either of a directly instantiated behavior or of the classifier behavior of an object. Argument values may be supplied for the input parameters of the behavior. If the behavior is invoked synchronously, then output values may be obtained for output parameters. The type of the object input pin must be either a Behavior or a BehavioredClassifier with a classifier behavior. OCL true The multiplicity of the object input pin must be [1..1]. OCL true The number and order of the argument pins must be the same as the number and order of the in and in-out parameters of the invoked behavior. Pins are matched to parameters by order. OCL true The number and order of result pins must be the same as the number and order of the in-out, out and return parameters of the invoked behavior. Pins are matched to parameters by order. OCL true The type, ordering, and multiplicity of an argument or result pin must be the same as the corresponding parameter of the behavior. OCL true Holds the object which is either a behavior to be started or has a classifier behavior to be started. A create object action is an action that creates an object that conforms to a statically specified classifier and puts it on an output pin at runtime. The classifier cannot be abstract. OCL not (self.classifier.isAbstract = #true) The classifier cannot be an association class OCL not self.classifier.oclIsKindOf(AssociationClass) The type of the result pin must be the same as the classifier of the action. OCL self.result.type = self.classifier The multiplicity of the output pin is 1..1. OCL self.result.multiplicity.is(1,1) Classifier to be instantiated. Gives the output pin on which the result is put. A destroy object action is an action that destroys objects. The multiplicity of the input pin is 1..1. OCL self.target.multiplicity.is(1,1) The input pin has no type. OCL self.target.type->size() = 0 Specifies whether links in which the object participates are destroyed along with the object. Specifies whether objects owned by the object are destroyed along with the object. The input pin providing the object to be destroyed. A test identity action is an action that tests if two values are identical objects. The input pins have no type. OCL self.first.type->size() = 0 and self.second.type->size() = 0 The multiplicity of the input pins is 1..1. OCL self.first.multiplicity.is(1,1) and self.second.multiplicity.is(1,1) The type of the result is Boolean. OCL self.result.type.oclIsTypeOf(Boolean) Gives the pin on which an object is placed. Gives the pin on which an object is placed. Tells whether the two input objects are identical. A read self action is an action that retrieves the host object of an action. The action must be contained in an behavior that has a host classifier. OCL self.context->size() = 1 If the action is contained in an behavior that is acting as the body of a method, then the operation of the method must not be static. OCL true The type of the result output pin is the host classifier. OCL self.result.type = self.context The multiplicity of the result output pin is 1..1. OCL self.result.multiplicity.is(1,1) Gives the output pin on which the hosting object is placed. StructuralFeatureAction is an abstract class for all structural feature actions. The structural feature must not be static. OCL self.structuralFeature.isStatic = #false The type of the object input pin is the same as the classifier of the object passed on this pin. OCL true The multiplicity of the input pin must be 1..1. OCL self.object.multiplicity.is(1,1) Visibility of structural feature must allow access to the object performing the action. OCL let host : Classifier = self.context in self.structuralFeature.visibility = #public or host = self.structuralFeature.featuringClassifier.type or (self.structuralFeature.visibility = #protected and host.allSupertypes ->includes(self.structuralFeature.featuringClassifier.type))) A structural feature has exactly one featuringClassifier. OCL self.structuralFeature.featuringClassifier->size() = 1 Structural feature to be read. Gives the input pin from which the object whose structural feature is to be read or written is obtained. A read structural feature action is a structural feature action that retrieves the values of a structural feature. The type and ordering of the result output pin are the same as the type and ordering of the structural feature. OCL self.result.type = self.structuralFeature.type and self.result.ordering = self.structuralFeature.ordering The multiplicity of the structural feature must be compatible with the multiplicity of the output pin. OCL self.structuralFeature.multiplicity.compatibleWith(self.result.multiplicity) Gives the output pin on which the result is put. WriteStructuralFeatureAction is an abstract class for structural feature actions that change structural feature values. The type input pin is the same as the classifier of the structural feature. OCL self.value.type = self.structuralFeature.featuringClassifier The multiplicity of the input pin is 1..1. OCL self.value.multiplicity.is(1,1) The type of the result output pin is the same as the type of the inherited object input pin. OCL result->notEmpty() implies self.result.type = self.object.type The multiplicity of the result output pin must be 1..1. OCL result->notEmpty() implies self.result.multiplicity.is(1,1) Value to be added or removed from the structural feature. Gives the output pin on which the result is put. A clear structural feature action is a structural feature action that removes all values of a structural feature. The type of the result output pin is the same as the type of the inherited object input pin. OCL result->notEmpty() implies self.result.type = self.object.type The multiplicity of the result output pin must be 1..1. OCL result->notEmpty() implies self.result.multiplicity.is(1,1) Gives the output pin on which the result is put. A remove structural feature value action is a write structural feature action that removes values from structural features. Actions removing a value from ordered nonunique structural features must have a single removeAt input pin if isRemoveDuplicates is false. It must be of type Unlimited Natural with multiplicity 1..1. Otherwise, the action has no removeAt input pin. OCL true Specifies whether to remove duplicates of the value in nonunique structural features. Specifies the position of an existing value to remove in ordered nonunique structural features. The type of the pin is UnlimitedNatural, but the value cannot be zero or unlimited. An add structural feature value action is a write structural feature action for adding values to a structural feature. 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. OCL 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 Specifies whether existing values of the structural feature of the object should be removed before adding the new value. 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. LinkAction is an abstract class for all link actions that identify their links by the objects at the ends of the links and by the qualifiers at ends of the links. The association ends of the link end data must all be from the same association and include all and only the association ends of that association. OCL self.endData->collect(end) = self.association()->collect(connection)) The association ends of the link end data must not be static. OCL self.endData->forall(end.oclisKindOf(NavigableEnd) implies end.isStatic = #false The input pins of the action are the same as the pins of the link end data and insertion pins. OCL self.input->asSet() = let ledpins : Set = self.endData->collect(value) in if self.oclIsKindOf(LinkEndCreationData) then ledpins->union(self.endData.oclAsType(LinkEndCreationData).insertAt) else ledpins Data identifying one end of a link by the objects on its ends and qualifiers. Pins taking end objects and qualifier values as input. The association operates on LinkAction. It returns the association of the action. OCL result = self.endData->asSequence().first().end.association A link end data is not an action. It is an element that identifies links. It identifies one end of a link to be read or written by the children of a link action. A link cannot be passed as a runtime value to or from an action. Instead, a link is identified by its end objects and qualifier values, if any. This requires more than one piece of data, namely, the statically-specified end in the user model, the object on the end, and the qualifier values for that end, if any. These pieces are brought together around a link end data. Each association end is identified separately with an instance of the LinkEndData class. The property must be an association end. OCL self.end.association->size() = 1 The type of the end object input pin is the same as the type of the association end. OCL self.value.type = self.end.type The multiplicity of the end object input pin must be 1..1. OCL self.value.multiplicity.is(1,1) Input pin that provides the specified object for the given end. This pin is omitted if the link-end data specifies an 'open' end for reading. Association end for which this link-end data specifies values. A read link action is a link action that navigates across associations to retrieve objects on one end. Exactly one link-end data specification (the 'open' end) must not have an end object input pin. OCL self.endData->select(ed | ed.value->size() = 0)->size() = 1 The type and ordering of the result output pin are same as the type and ordering of the open association end. OCL let openend : AssociationEnd = self.endData->select(ed | ed.value->size() = 0)->asSequence()->first().end in self.result.type = openend.type and self.result.ordering = openend.ordering The multiplicity of the open association end must be compatible with the multiplicity of the result output pin. OCL let openend : AssociationEnd = self.endData->select(ed | ed.value->size() = 0)->asSequence()->first().end in openend.multiplicity.compatibleWith(self.result.multiplicity) The open end must be navigable. OCL let openend : AssociationEnd = self.endData->select(ed | ed.value->size() = 0)->asSequence()->first().end in openend.isNavigable() Visibility of the open end must allow access to the object performing the action. OCL let host : Classifier = self.context in let openend : AssociationEnd = self.endData->select(ed | ed.value->size() = 0)->asSequence()->first().end in openend.visibility = #public or self.endData->exists(oed | not oed.end = openend and (host = oed.end.participant or (openend.visibility = #protected and host.allSupertypes->includes(oed.end.participant)))) The pin on which are put the objects participating in the association at the end not specified by the inputs. A link end creation data is not an action. It is an element that identifies links. It identifies one end of a link to be created by a create link action. LinkEndCreationData can only be end data for CreateLinkAction or one of its specializations. OCL self.LinkAction.oclIsKindOf(CreateLinkAction) Link end creation data for ordered association ends 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. OCL let insertAtPins : Collection = self.insertAt in if self.end.ordering = #unordered then insertAtPins->size() = 0 else let insertAtPin : InputPin = insertAts->asSequence()->first() in insertAtPins->size() = 1 and insertAtPin.type = UnlimitedNatural and insertAtPin.multiplicity.is(1,1)) endif Specifies whether the existing links emanating from the object on this end should be destroyed before creating a new link. Specifies where the new link should be inserted for ordered association ends, or where an existing link should be moved to. The type of the input is UnlimitedNatural, but the input cannot be zero. This pin is omitted for association ends that are not ordered. A create link action is a write link action for creating links. The association cannot be an abstract classifier. OCL self.association().isAbstract = #false Specifies ends of association and inputs. A destroy link action is a write link action that destroys links and link objects. Specifies ends of association and inputs. WriteLinkAction is an abstract class for link actions that create and destroy links. The visibility of at least one end must allow access to the class using the action. OCL true A clear association action is an action that destroys all links of an association in which a particular object participates. The type of the input pin must be the same as the type of at least one of the association ends of the association. OCL self.association->exists(end.type = self.object.type) The multiplicity of the input pin is 1..1. OCL self.object.multiplicity.is(1,1) Gives the input pin from which is obtained the object whose participation in the association is to be cleared. Association to be cleared. A broadcast signal action is an action that transmits a signal instance to all the potential target objects in the system, which may cause the firing of a state machine transitions or the execution of associated activities of a target object. The argument values are available to the execution of associated behaviors. The requestor continues execution immediately after the signals are sent out. It does not wait for receipt. Any reply messages are ignored and are not transmitted to the requestor. The number and order of argument pins must be the same as the number and order of attributes in the signal. OCL true The type, ordering, and multiplicity of an argument pin must be the same as the corresponding attribute of the signal. OCL true The specification of signal object transmitted to the target objects. A send object action is an action that transmits an object to the target object, where it may invoke behavior such as the firing of state machine transitions or the execution of an activity. The value of the object is available to the execution of invoked behaviors. The requestor continues execution immediately. Any reply message is ignored and is not transmitted to the requestor. The target object to which the object is sent. The request object, which is transmitted to the target object. The object may be copied in transmission, so identity might not be preserved. A link end destruction data is not an action. It is an element that identifies links. It identifies one end of a link to be destroyed by destroy link action. LinkEndDestructionData can only be end data for DestroyLinkAction or one of its specializations. OCL true LinkEndDestructionData for ordered nonunique association ends must have a single destroyAt input pin if isDestroyDuplicates is false. It must be of type UnlimitedNatural and have a multiplicity of 1..1. Otherwise, the action has no input pin for the removal position. OCL true Specifies whether to destroy duplicates of the value in nonunique association ends. Specifies the position of an existing link to be destroyed in ordered nonunique association ends. The type of the pin is UnlimitedNatural, but the value cannot be zero or unlimited. A value specification action is an action that evaluates a value specification. The type of value specification must be compatible with the type of the result pin. OCL true The multiplicity of the result pin is 1..1 OCL true Value specification to be evaluated. Gives the output pin on which the result is put. An action with implementation-specific semantics. Specifies the action in one or more languages. Languages the body strings use, in the same order as the body strings Provides input to the action. Takes output from the action. A pin is a typed element and multiplicity element that provides values to actions and accept result values from them. A value pin is an input pin that provides a value by evaluating a value specification. The type of value specification must be compatible with the type of the value pin. OCL true Value that the pin will provide. An output pin is a pin that holds output values produced by an action. An input pin is a pin that holds input values to be consumed by an action. InvocationAction is an abstract class for the various actions that invoke behavior. Specification of the ordered set of argument values that appears during execution. CallAction is an abstract class for actions that invoke behavior and receive return values. Only synchronous call actions can have result pins. OCL true The number and order of argument pins must be the same as the number and order of parameters of the invoked behavior or behavioral feature. Pins are matched to parameters by order. OCL true The type, ordering, and multiplicity of an argument pin must be the same as the corresponding parameter of the behavior or behavioral feature. OCL true If true, the call is synchronous and the caller waits for completion of the invoked behavior. If false, the call is asynchronous and the caller proceeds immediately and does not expect a return values. A list of output pins where the results of performing the invocation are placed. A send signal action is an action that creates a signal instance from its inputs, and transmits it to the target object, where it may cause the firing of a state machine transition or the execution of an activity. The argument values are available to the execution of associated behaviors. The requestor continues execution immediately. Any reply message is ignored and is not transmitted to the requestor. If the input is already a signal instance, use a send object action. The number and order of argument pins must be the same as the number and order of attributes in the signal. OCL true The type, ordering, and multiplicity of an argument pin must be the same as the corresponding attribute of the signal. OCL true The target object to which the signal is sent. The type of signal transmitted to the target object. A call operation action is an action that transmits an operation call request to the target object, where it may cause the invocation of associated behavior. The argument values of the action are available to the execution of the invoked behavior. If the action is marked synchronous, the execution of the call operation action waits until the execution of the invoked behavior completes and a reply transmission is returned to the caller; otherwise execution of the action is complete when the invocation of the operation is established and the execution of the invoked operation proceeds concurrently with the execution of the calling behavior. Any values returned as part of the reply transmission are put on the result output pins of the call operation action. Upon receipt of the reply transmission, execution of the call operation action is complete. The number of argument pins and the number of owned parameters of the operation of type in and in-out must be equal. OCL true The number of result pins and the number of owned parameters of the operation of type return, out, and in-out must be equal. OCL true The type, ordering, and multiplicity of an argument or result pin is derived from the corresponding owned parameter of the operation. OCL true The type of the target pin must be the same as the type that owns the operation. OCL true The operation to be invoked by the action execution. The target object to which the request is sent. The classifier of the target object is used to dynamically determine a behavior to invoke. This object constitutes the context of the execution of the operation. A call behavior action is a call action that invokes a behavior directly rather than invoking a behavioral feature that, in turn, results in the invocation of that behavior. The argument values of the action are available to the execution of the invoked behavior. For synchronous calls the execution of the call behavior action waits until the execution of the invoked behavior completes and a result is returned on its output pin. The action completes immediately without a result, if the call is asynchronous. In particular, the invoked behavior may be an activity. The number of argument pins and the number of parameters of the behavior of type in and in-out must be equal. OCL true The number of result pins and the number of parameters of the behavior of type return, out, and in-out must be equal. OCL true The type, ordering, and multiplicity of an argument or result pin is derived from the corresponding parameter of the behavior. OCL true The invoked behavior. It must be capable of accepting and returning control. An action is a named element that is the fundamental unit of executable functionality. The execution of an action represents some transformation or processing in the modeled system, be it a computer system or otherwise. The ordered set of output pins connected to the Action. The action places its results onto pins in this set. The ordered set of input pins connected to the Action. These are among the total set of inputs. The classifier that owns the behavior of which this action is a part. The operation compatibleWith takes another multiplicity as input. It checks if one multiplicity is compatible with another. OCL result = Integer.allInstances()->forAll(i : Integer | self.includesCardinality(i) implies other.includesCardinality(i)) The operation is determines if the upper and lower bound of the ranges are the ones given. OCL result = (lowerbound = self.lowerbound and upperbound = self.upperbound) VariableAction is an abstract class for actions that operate on a statically specified variable. The action must be in the scope of the variable. OCL self.variable.isAccessibleBy(self) Variable to be read. A read variable action is a variable action that retrieves the values of a variable. The type and ordering of the result output pin of a read-variable action are the same as the type and ordering of the variable. OCL self.result.type =self.variable.type and self.result.ordering = self.variable.ordering The multiplicity of the variable must be compatible with the multiplicity of the output pin. OCL self.variable.multiplicity.compatibleWith(self.result.multiplicity) Gives the output pin on which the result is put. WriteVariableAction is an abstract class for variable actions that change variable values. The type input pin is the same as the type of the variable. OCL self.value.type = self.variable.type The multiplicity of the input pin is 1..1. OCL self.value.multiplicity.is(1,1) Value to be added or removed from the variable. A clear variable action is a variable action that removes all values of a variable. An add variable value action is a write variable action for adding values to a variable. 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. OCL let insertAtPins : Collection = self.insertAt in if self.variable.ordering = #unordered 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 Specifies whether existing values of the variable should be removed before adding the new value. 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. A remove variable value action is a write variable action that removes values from variables. Actions removing a value from ordered nonunique variables must have a single removeAt input pin if isRemoveDuplicates is false. It must be of type UnlimitedNatural with multiplicity of 1..1, otherwise the action has no removeAt input pin. OCL true Specifies whether to remove duplicates of the value in nonunique variables. Specifies the position of an existing value to remove in ordered nonunique variables. The type of the pin is UnlimitedNatural, but the value cannot be zero or unlimited. A raise exception action is an action that causes an exception to occur. The input value becomes the exception object. An input pin whose value becomes an exception object. An action input pin is a kind of pin that executes an action to determine the values to input to another. The fromAction of an action input pin must have exactly one output pin. OCL true The fromAction of an action input pin must only have action input pins as input pins. OCL true The fromAction of an action input pin cannot have control or data flows coming into or out of it or its pins. OCL true The action used to provide values. An object node is an abstract activity node that is part of defining object flow in an activity. All edges coming into or going out of object nodes must be object flow edges. OCL true Object nodes are not unique typed elements OCL isUnique = false A control node is an abstract activity node that coordinates flows in an activity. An activity edge is an abstract class for directed connections between two activity nodes. The source and target of an edge must be in the same activity as the edge. OCL true Activity edges may be owned only by activities or groups. OCL true Activity containing the edge. Node from which tokens are taken when they traverse the edge. Node to which tokens are put when they traverse the edge. Groups containing the edge. Inherited edges replaced by this edge in a specialization of the activity. A control flow is an edge that starts an activity node after the previous one is finished. Control flows may not have object nodes at either end, except for object nodes with control type. OCL true An object flow is an activity edge that can have objects or data passing along it. Object flows may not have actions at either end. OCL true Object nodes connected by an object flow, with optionally intervening control nodes, must have compatible types. In particular, the downstream object node type must be the same or a supertype of the upstream object node type. OCL true Object nodes connected by an object flow, with optionally intervening control nodes, must have the same upper bounds. OCL true An initial node is a control node at which flow starts when the activity is invoked. An initial node has no incoming edges. OCL true Only control edges can have initial nodes as source. OCL true An activity final node is a final node that stops all flows in an activity. All nodes and edges of the group must be in the same activity as the group. OCL true No node or edge in a group may be contained by its subgroups or its containing groups, transitively. OCL true Groups may only be owned by activities or groups. OCL true Edges immediately contained in the group. An activity parameter node is an object node for inputs and outputs to activities. Activity parameter nodes must have parameters from the containing activity. OCL true The type of an activity parameter node is the same as the type of its parameter. OCL true An activity parameter node may have all incoming edges or all outgoing edges, but it must not have both incoming and outgoing edges. OCL true Activity parameter object nodes with no incoming edges and one or more outgoing edges must have a parameter with in or inout direction. OCL true Activity parameter object nodes with no outgoing edges and one or more incoming edges must have a parameter with out, inout, or return direction. OCL true A parameter with direction other than inout must have at most one activity parameter node in an activity. OCL true A parameter with direction inout must have at most two activity parameter nodes in an activity, one with incoming flows and one with outgoing flows. OCL true The parameter the object node will be accepting or providing values for. Activity nodes can only be owned by activities or groups. OCL true Edges that have the node as source. Edges that have the node as target. Inherited nodes replaced by this node in a specialization of the activity. A pin is an object node for inputs and outputs to actions. The nodes of the activity must include one ActivityParameterNode for each parameter. OCL true An activity cannot be autonomous and have a classifier or behavioral feature context at the same time. OCL true If true, this activity must not make any changes to variables outside the activity or to objects. (This is an assertion, not an executable property. It may be used by an execution engine to optimize model execution. If the assertion is violated by the action, then the model is ill-formed.) The default is false (an activity may make nonlocal changes). Edges expressing flow between nodes of the activity. Value pins have no incoming edges. OCL true A fork node is a control node that splits a flow into multiple concurrent flows. A fork node has one incoming edge. OCL true The edges coming into and out of a fork node must be either all object flows or all control flows. OCL true A flow final node is a final node that terminates a flow. A central buffer node is an object node for managing flows from multiple sources and destinations. An activity partition is a kind of activity group for identifying actions that have some characteristic in common. A partition with isDimension = true may not be contained by another partition. OCL true If a partition represents a part, then all the non-external partitions in the same dimension and at the same level of nesting in that dimension must represent parts directly contained in the internal structure of the same classifier. OCL true If a non-external partition represents a classifier and is contained in another partition, then the containing partition must represent a classifier, and the classifier of the subpartition must be nested in the classifier represented by the containing partition, or be at the contained end of a strong composition association with the classifier represented by the containing partition. OCL true If a partition represents a part and is contained by another partition, then the part must be of a classifier represented by the containing partition, or of a classifier that is the type of a part representing the containing partition. OCL true Tells whether the partition groups other partitions along a dimension. Tells whether the partition represents an entity to which the partitioning structure does not apply. Edges immediately contained in the group. Nodes immediately contained in the group. Partitions immediately contained in the partition. Partition immediately containing the partition. An element constraining behaviors invoked by nodes in the partition. Partitions containing the edge. Specification evaluated at runtime to determine if the edge can be traversed. Groups containing the edge. Partitions containing the node. Groups containing the node. A merge node is a control node that brings together multiple alternate flows. It is not used to synchronize concurrent flows but to accept one among several alternate flows. A merge node has one outgoing edge. OCL true The edges coming into and out of a merge node must be either all object flows or all control flows. OCL true A decision node is a control node that chooses between outgoing flows. A decision node has one or two incoming edges and at least one outgoing edge. OCL true The edges coming into and out of a decision node, other than the decision input flow (if any), must be either all object flows or all control flows. OCL true The decisionInputFlow of a decision node must be an incoming edge of the decision node. OCL true A decision input behavior has no output parameters, no in-out parameters and one return parameter. OCL true If the decision node has no decision input flow and an incoming control flow, then a decision input behavior has zero input parameters. OCL true If the decision node has no decision input flow and an incoming object flow, then a decision input behavior has one input parameter whose type is the same as or a supertype of the type of object tokens offered on the incoming edge. OCL true If the decision node has a decision input flow and an incoming control flow, then a decision input behavior has one input parameter whose type is the same as or a supertype of the type of object tokens offered on the decision input flow. OCL true If the decision node has a decision input flow and an second incoming object flow, then a decision input behavior has two input parameters, the first of which has a type that is the same as or a supertype of the type of the type of object tokens offered on the nondecision input flow and the second of which has a type that is the same as or a supertype of the type of object tokens offered on the decision input flow. OCL true Provides input to guard specifications on edges outgoing from the decision node. An additional edge incoming to the decision node that provides a decision input value. A final node is an abstract control node at which a flow in an activity stops. A final node has no outgoing edges. OCL true A join node is a control node that synchronizes multiple flows. Nodes immediately contained in the group. Edges immediately contained in the group. Activity containing the group. Top-level partitions in the activity. Top-level groups in the activity. Join nodes have a Boolean value specification using the names of the incoming edges to specify the conditions under which the join will emit a token. A join node has one outgoing edge. OCL self.outgoing->size() = 1 If a join node has an incoming object flow, it must have an outgoing object flow, otherwise, it must have an outgoing control flow. OCL (self.incoming.select(e | e.isTypeOf(ObjectFlow)->notEmpty() implies self.outgoing.isTypeOf(ObjectFlow)) and (self.incoming.select(e | e.isTypeOf(ObjectFlow)->empty() implies self.outgoing.isTypeOf(ControlFlow)) Tells whether tokens having objects with the same identity are combined into one by the join. A specification giving the conditions under which the join with emit a token. Default is "and". A data store node is a central buffer node for non-transient information. Object flows have support for multicast/receive, token selection from object nodes, and transformation of tokens. An edge with constant weight may not target an object node, or lead to an object node downstream with no intervening actions, that has an upper bound less than the weight. OCL true A transformation behavior has one input parameter and one output parameter. The input parameter must be the same as or a supertype of the type of object token coming from the source end. The output parameter must be the same or a subtype of the type of object token expected downstream. The behavior cannot have side effects. OCL true An object flow may have a selection behavior only if has an object node as a source. OCL true A selection behavior has one input parameter and one output parameter. The input parameter must be a bag of elements of the same as or a supertype of the type of source object node. The output parameter must be the same or a subtype of the type of source object node. The behavior cannot have side effects. OCL true isMulticast and isMultireceive cannot both be true. OCL true Tells whether the objects in the flow are passed by multicasting. Tells whether the objects in the flow are gathered from respondents to multicasting. Changes or replaces data tokens flowing along edge. Selects tokens from a source object node. Activity edges can be contained in interruptible regions. The minimum number of tokens that must traverse the edge at the same time. Region that the edge can interrupt. Object nodes have support for token selection, limitation on the number of tokens, specifying the state required for tokens, and carrying control values. If an object node has a selection behavior, then the ordering of the object node is ordered, and vice versa. OCL true A selection behavior has one input parameter and one output parameter. The input parameter must be a bag of elements of the same type as the object node or a supertype of the type of object node. The output parameter must be the same or a subtype of the type of object node. The behavior cannot have side effects. OCL true Tells whether and how the tokens in the object node are ordered for selection to traverse edges outgoing from the object node. Tells whether the type of the object node is to be treated as control. The maximum number of tokens allowed in the node. Objects cannot flow into the node if the upper bound is reached. The required states of the object available at this point in the activity. Selects tokens for outgoing edges. A parameter set is an element that provides alternative sets of inputs or outputs that a behavior may use. The parameters in a parameter set must all be inputs or all be outputs of the same parameterized entity, and the parameter set is owned by that entity. OCL true If a behavior has input parameters that are in a parameter set, then any inputs that are not in a parameter set must be streaming. Same for output parameters. OCL true Two parameter sets cannot have exactly the same set of parameters. OCL true Parameters in the parameter set. Constraint that should be satisfied for the owner of the parameters in an input parameter set to start execution using the values provided for those parameters, or the owner of the parameters in an output parameter set to end execution providing the values for those parameters, if all preconditions and conditions on input parameter sets were satisfied. If true, all invocations of the activity are handled by the same execution. Parameters have support for streaming, exceptions, and parameter sets. A parameter cannot be a stream and exception at the same time. OCL true An input parameter cannot be an exception. OCL true Reentrant behaviors cannot have stream parameters. OCL true Only in and inout parameters may have a delete effect. Only out, inout, and return parameters may have a create effect. OCL true Tells whether an output parameter may emit a value to the exclusion of the other outputs. Tells whether an input parameter may accept values while its behavior is executing, or whether an output parameter post values while the behavior is executing. Specifies the effect that the owner of the parameter has on values passed in or out of the parameter. The parameter sets containing the parameter. See ParameterSet. An action has pre- and post-conditions. Constraint that must be satisfied when execution is started. Constraint that must be satisfied when executed is completed. An interruptible activity region is an activity group that supports termination of tokens flowing in the portions of an activity. Interrupting edges of a region must have their source node in the region and their target node outside the region in the same activity containing the region. OCL true The edges leaving the region that will abort other tokens flowing in the region. Nodes immediately contained in the group. Interruptible regions containing the node. Groups containing the node. A behavioral feature owns zero or more parameter sets. The ParameterSets owned by this BehavioralFeature. A behavior owns zero or more parameter sets. The ParameterSets owned by this Behavior. Control pins have a control type OCL isControl implies isControlType Tells whether the pins provide data to the actions, or just controls when it executes it. Nodes immediately contained in the group. ObjectNodeOrderingKind is an enumeration indicating queuing order within a node. Indicates that object node tokens are unordered. Indicates that object node tokens are ordered. Indicates that object node tokens are queued in a last in, first out manner. Indicates that object node tokens are queued in a first in, first out manner. The datatype ParameterEffectKind is an enumeration that indicates the effect of a behavior on values passed in or out of its parameters. Indicates that the behavior creates values. Indicates that the behavior reads values. Indicates that the behavior updates values. Indicates that the behavior deletes values. Variables are elements for passing data between actions indirectly. A local variable stores values shared by the actions within a structured activity group but not accessible outside it. The output of an action may be written to a variable and read for the input to a subsequent action, which is effectively an indirect data flow path. Because there is no predefined relationship between actions that read and write variables, these actions must be sequenced by control flows to prevent race conditions that may occur between actions that read or write the same variable. A variable is owned by a StructuredNode or Activity, but not both. OCL true A structured activity node that owns the variable. An activity that owns the variable. The isAccessibleBy() operation is not defined in standard UML. Implementations should define it to specify which actions can access a variable. OCL result = true A structured activity node is an executable activity node that may have an expansion into subordinate nodes as an activity group. The subordinate nodes must belong to only one structured activity node, although they may be nested. A variable defined in the scope of the structured activity node. It has no value and may not be accessed Nodes immediately contained in the group. Activity immediately containing the node. A conditional node is a structured activity node that represents an exclusive choice among some number of alternatives. If true, the modeler asserts that at most one test will succeed. If true, the modeler asserts that at least one test will succeed. Set of clauses composing the conditional. A loop node is a structured activity node that represents a loop with setup, test, and body sections. If true, the test is performed before the first execution of the body. If false, the body is executed once before the test is performed. The set of nodes and edges that perform the repetitive computations of the loop. The body section is executed as long as the test section produces a true value. The set of nodes and edges that initialize values or perform other setup computations for the loop. An output pin within the test fragment the value of which is examined after execution of the test to determine whether to execute the loop body. The set of nodes, edges, and designated value that compute a Boolean value to determine if another execution of the body will be performed. A clause is an element that represents a single branch of a conditional construct, including a test and a body section. The body section is executed only if (but not necessarily if) the test section evaluates true. The decider output pin must be for the test body or a node contained by the test body as a structured node. OCL true A nested activity fragment with a designated output pin that specifies the result of the test. A nested activity fragment that is executed if the test evaluates to true and the clause is chosen over any concurrent clauses that also evaluate to true. A set of clauses whose tests must all evaluate false before the current clause can be tested. A set of clauses which may not be tested unless the current clause tests false. An output pin within the test fragment the value of which is examined after execution of the test to determine whether the body should be executed. Top-level structured nodes in the activity. Top-level variables in the activity. Top-level groups in the activity. Nodes coordinated by the activity. Activity nodes may be owned by at most one structured node. OCL true Structured activity node containing the node. Groups containing the node. Activity containing the node. An executable node is an abstract class for activity nodes that may be executed. It is used as an attachment point for exception handlers. A sequence node is a structured activity node that executes its actions in order. An ordered set of executable nodes. Nodes immediately contained in the group. Activity containing the group. Input pins may have outgoing edges only when they are on actions that are structured nodes, and these edges must target a node contained by the structured node. OCL true Output pins may have incoming edges only when they are on actions that are structured nodes, and these edges may not target a node contained by the structured node. OCL true An expansion node is an object node used to indicate a flow across the boundary of an expansion region. A flow into a region contains a collection that is broken into its individual elements inside the region, which is executed once per element. A flow out of a region combines individual elements into a collection for use outside the region. The expansion region for which the node is an output. The expansion region for which the node is an input. An expansion region is a structured activity region that executes multiple times corresponding to elements of an input collection. An ExpansionRegion must have one or more argument ExpansionNodes and zero or more result ExpansionNodes. OCL true The way in which the executions interact: parallel: all interactions are independent iterative: the interactions occur in order of the elements stream: a stream of values flows into a single execution An object node that accepts a separate element of the output collection during each of the multiple executions of the region. The values are formed into a collection that is available when the execution of the region is complete. An object node that holds a separate element of the input collection during each of the multiple executions of the region. An executable node is an abstract class for activity nodes that may be executed. It is used as an attachment point for exception handlers. A set of exception handlers that are examined if an uncaught exception propagates to the outer level of the executable node. An exception handler is an element that specifies a body to execute in case the specified exception occurs during the execution of the protected node. The exception handler and its input object node are not the source or target of any edge. OCL true The result pins of the exception handler body must correspond in number and types to the result pins of the protected node. OCL true The handler body has one input, and that input is the same as the exception input. OCL true An edge that has a source in an exception handler structured node must have its target in the handler also, and vice versa. OCL true The node protected by the handler. The handler is examined if an exception propagates to the outside of the node. A node that is executed if the handler satisfies an uncaught exception. An object node within the handler body. When the handler catches an exception, the exception token is placed in this node, causing the body to execute. The kind of instances that the handler catches. If an exception occurs whose type is any of the classifiers in the set, the handler catches the exception and executes its body. ExpansionKind is an enumeration type used to specify how multiple executions of an expansion region interact. The executions are independent. They may be executed concurrently. The executions are dependent and must be executed one at a time, in order of the collection elements. A stream of collection elements flows into a single execution, in order of the collection elements. The result output pins have no incoming edges. OCL true A list of output pins that constitute the data flow outputs of the conditional. Because of the concurrent nature of the execution of actions within and across activities, it can be difficult to guarantee the consistent access and modification of object memory. In order to avoid race conditions or other concurrency-related problems, it is sometimes necessary to isolate the effects of a group of actions from the effects of actions outside the group. This may be indicated by setting the mustIsolate attribute to true on a structured activity node. If a structured activity node is "isolated," then any object used by an action within the node cannot be accessed by any action outside the node until the structured activity node as a whole completes. Any concurrent actions that would result in accessing such objects are required to have their execution deferred until the completion of the node. The edges owned by a structured node must have source and target nodes in the structured node, and vice versa. OCL true If true, then the actions in the node execute in isolation from actions outside the node. Edges immediately contained in the structured node. Loop variable inputs must not have outgoing edges. OCL true The bodyOutput pins are output pins on actions in the body of the loop node. OCL true The result output pins have no incoming edges. OCL true A list of output pins that constitute the data flow output of the entire loop. A list of output pins that hold the values of the loop variables during an execution of the loop. When the test fails, the values are movied to the result pins of the loop. A list of output pins within the body fragment the values of which are moved to the loop variable pins after completion of execution of the body, before the next iteration of the loop begins or before the loop exits. A list of values that are moved into the loop variable pins before the first iteration of the loop. The bodyOutput pins are output pins on actions in the body of the clause. OCL true A list of output pins within the body fragment whose values are moved to the result pins of the containing conditional node after execution of the clause body. Activity edges may be owned by at most one structured node. OCL true Structured activity node containing the edge. Groups containing the edge. Edges immediately contained in the group. An activity is the specification of parameterized behavior as the coordinated sequencing of subordinate units whose individual elements are actions. The groups of an activity have no supergroups. OCL true Nodes coordinated by the activity. Top-level groups in the activity. ActivityGroup is an abstract class for defining sets of nodes and edges in an activity. Nodes immediately contained in the group. Activity containing the group. Groups immediately contained in the group. Group immediately containing the group. An action represents a single step within an activity, that is, one that is not further decomposed within the activity. ActivityNode is an abstract class for points in the flow of an activity connected by edges. Activity containing the node. Groups containing the node. The default multiplicity of an extension end is 0..1. An information item is an abstraction of all kinds of information that can be exchanged between objects. It is a kind of classifier intended for representing information in a very abstract way, one which cannot be instantiated. The sources and targets of an information item (its related information flows) must designate subsets of the sources and targets of the representation information item, if any.The Classifiers that can realize an information item can only be of the following kind: Class, Interface, InformationItem, Signal, Component. OCL (self.represented->select(p | p->oclIsKindOf(InformationItem))->forAll(p | p.informationFlow.source->forAll(q | self.informationFlow.source->include(q)) and p.informationFlow.target->forAll(q | self.informationFlow.target->include(q)))) and (self.represented->forAll(p | p->oclIsKindOf(Class) or oclIsKindOf(Interface) or oclIsKindOf(InformationItem) or oclIsKindOf(Signal) or oclIsKindOf(Component))) An informationItem has no feature, no generalization, and no associations. OCL self.generalization->isEmpty() and self.feature->isEmpty()