Document: UML Profile and Interchange Models for EAI
Section: 22.214.171.124 (EAICompoundOperator)
Section 126.96.36.199 includes a constraint that requires the FCMOperation invoked by an EAIPrimitiveOperator to be an EAIMessageOperation. An EAICompoundOperator is a kind of FCMCommand, which is a kind of FCMFunction, and, therefore, it also has an invoked FCMOperation. But there is not constraint on this operation in Section 188.8.131.52. Further, this operation is important, because it would seem to be the operation whose parameters provide the basis for the terminals of the EAICompoundOperator and, therefore, for the terminals of EAISources and EAISinks in the implementingComposition of the operator.
Add the following constraints to EAICompoundOperator.
An EAICompoundOperator invokes an EAIMessageOperation.
All EAISources in the implementingComposition of an EAICompoundOperator must implement the EAIMessageOperation invoked by the EAICompoundOperator.
select(oclIsKindOf(EAISource))->forAll(implements = self.invokes)