<?xml version="1.0" encoding="UTF-8"?>
<xmi:XMI xmi:version="2.1" xmlns:xmi="http://schema.omg.org/spec/XMI/2.1" xmlns:cmof="http://schema.omg.org/spec/MOF/2.0/cmof.xml">
  <cmof:Package xmi:id="_0" name="UML4SysML">
    <ownedMember xmi:type="cmof:PrimitiveType" xmi:id="Integer" name="Integer">
      <ownedComment xmi:type="cmof:Comment" xmi:id="Integer-_ownedComment.0" annotatedElement="Integer">
        <body>An integer is a primitive type representing integer values.</body>
      </ownedComment>
    </ownedMember>
    <ownedMember xmi:type="cmof:PrimitiveType" xmi:id="Boolean" name="Boolean">
      <ownedComment xmi:type="cmof:Comment" xmi:id="Boolean-_ownedComment.0" annotatedElement="Boolean">
        <body>A Boolean type is used for logical expression, consisting of the predefined values true and false.</body>
      </ownedComment>
    </ownedMember>
    <ownedMember xmi:type="cmof:PrimitiveType" xmi:id="String" name="String">
      <ownedComment xmi:type="cmof:Comment" xmi:id="String-_ownedComment.0" annotatedElement="String">
        <body>A string is a sequence of characters in some suitable character set used to display information about the model. Character sets may include non-Roman alphabets and characters.</body>
      </ownedComment>
    </ownedMember>
    <ownedMember xmi:type="cmof:PrimitiveType" xmi:id="UnlimitedNatural" name="UnlimitedNatural">
      <ownedComment xmi:type="cmof:Comment" xmi:id="UnlimitedNatural-_ownedComment.0" annotatedElement="UnlimitedNatural">
        <body>An unlimited natural is a primitive type representing unlimited natural values.</body>
      </ownedComment>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="Comment" name="Comment" superClass="Element">
      <ownedComment xmi:type="cmof:Comment" xmi:id="Comment-_ownedComment.0" annotatedElement="Comment">
        <body>A comment is a textual annotation that can be attached to a set of elements.</body>
      </ownedComment>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Comment-body" name="body" type="String" lower="0">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Comment-body-_ownedComment.0" annotatedElement="Comment-body">
          <body>Specifies a string that is the comment.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Comment-annotatedElement" name="annotatedElement" type="Element" upper="*" lower="0" association="A_annotatedElement_comment">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Comment-annotatedElement-_ownedComment.0" annotatedElement="Comment-annotatedElement">
          <body>References the Element(s) being commented.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="DirectedRelationship" name="DirectedRelationship" isAbstract="true" superClass="Relationship">
      <ownedComment xmi:type="cmof:Comment" xmi:id="DirectedRelationship-_ownedComment.0" annotatedElement="DirectedRelationship">
        <body>A directed relationship represents a relationship between a collection of source model elements and a collection of target model elements.</body>
      </ownedComment>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="DirectedRelationship-source" name="source" type="Element" upper="*" isReadOnly="true" isDerived="true" isDerivedUnion="true" subsettedProperty="Relationship-relatedElement" association="A_source_directedRelationship">
        <ownedComment xmi:type="cmof:Comment" xmi:id="DirectedRelationship-source-_ownedComment.0" annotatedElement="DirectedRelationship-source">
          <body>Specifies the sources of the DirectedRelationship.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="DirectedRelationship-target" name="target" type="Element" upper="*" isReadOnly="true" isDerived="true" isDerivedUnion="true" subsettedProperty="Relationship-relatedElement" association="A_target_directedRelationship">
        <ownedComment xmi:type="cmof:Comment" xmi:id="DirectedRelationship-target-_ownedComment.0" annotatedElement="DirectedRelationship-target">
          <body>Specifies the targets of the DirectedRelationship.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="LiteralSpecification" name="LiteralSpecification" isAbstract="true" superClass="ValueSpecification">
      <ownedComment xmi:type="cmof:Comment" xmi:id="LiteralSpecification-_ownedComment.0" annotatedElement="LiteralSpecification">
        <body>A literal specification identifies a literal constant being modeled.</body>
      </ownedComment>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="LiteralInteger" name="LiteralInteger" superClass="LiteralSpecification">
      <ownedComment xmi:type="cmof:Comment" xmi:id="LiteralInteger-_ownedComment.0" annotatedElement="LiteralInteger">
        <body>A literal integer is a specification of an integer value.</body>
      </ownedComment>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="LiteralInteger-value" name="value" type="Integer" default="0">
        <ownedComment xmi:type="cmof:Comment" xmi:id="LiteralInteger-value-_ownedComment.0" annotatedElement="LiteralInteger-value">
          <body>The specified Integer value.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="LiteralInteger-isComputable" name="isComputable" class="LiteralInteger" isQuery="true" redefinedOperation="ValueSpecification-isComputable" bodyCondition="LiteralInteger-isComputable-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="LiteralInteger-isComputable-_ownedComment.0" annotatedElement="LiteralInteger-isComputable">
          <body>The query isComputable() is redefined to be true.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="LiteralInteger-isComputable-spec" name="spec" constrainedElement="LiteralInteger-isComputable" namespace="LiteralInteger-isComputable">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="LiteralInteger-isComputable-spec-_specification">
            <language>OCL</language>
            <body>result = true</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="LiteralInteger-isComputable-_ownedParameter.0" type="Boolean" direction="return"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="LiteralInteger-integerValue" name="integerValue" class="LiteralInteger" isQuery="true" redefinedOperation="ValueSpecification-integerValue" bodyCondition="LiteralInteger-integerValue-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="LiteralInteger-integerValue-_ownedComment.0" annotatedElement="LiteralInteger-integerValue">
          <body>The query integerValue() gives the value.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="LiteralInteger-integerValue-spec" name="spec" constrainedElement="LiteralInteger-integerValue" namespace="LiteralInteger-integerValue">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="LiteralInteger-integerValue-spec-_specification">
            <language>OCL</language>
            <body>result = value</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="LiteralInteger-integerValue-_ownedParameter.0" type="Integer" direction="return"/>
      </ownedOperation>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="LiteralString" name="LiteralString" superClass="LiteralSpecification">
      <ownedComment xmi:type="cmof:Comment" xmi:id="LiteralString-_ownedComment.0" annotatedElement="LiteralString">
        <body>A literal string is a specification of a string value.</body>
      </ownedComment>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="LiteralString-value" name="value" type="String" lower="0">
        <ownedComment xmi:type="cmof:Comment" xmi:id="LiteralString-value-_ownedComment.0" annotatedElement="LiteralString-value">
          <body>The specified String value.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="LiteralString-isComputable" name="isComputable" class="LiteralString" isQuery="true" redefinedOperation="ValueSpecification-isComputable" bodyCondition="LiteralString-isComputable-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="LiteralString-isComputable-_ownedComment.0" annotatedElement="LiteralString-isComputable">
          <body>The query isComputable() is redefined to be true.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="LiteralString-isComputable-spec" name="spec" constrainedElement="LiteralString-isComputable" namespace="LiteralString-isComputable">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="LiteralString-isComputable-spec-_specification">
            <language>OCL</language>
            <body>result = true</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="LiteralString-isComputable-_ownedParameter.0" type="Boolean" direction="return"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="LiteralString-stringValue" name="stringValue" class="LiteralString" isQuery="true" redefinedOperation="ValueSpecification-stringValue" bodyCondition="LiteralString-stringValue-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="LiteralString-stringValue-_ownedComment.0" annotatedElement="LiteralString-stringValue">
          <body>The query stringValue() gives the value.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="LiteralString-stringValue-spec" name="spec" constrainedElement="LiteralString-stringValue" namespace="LiteralString-stringValue">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="LiteralString-stringValue-spec-_specification">
            <language>OCL</language>
            <body>result = value</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="LiteralString-stringValue-_ownedParameter.0" type="String" direction="return"/>
      </ownedOperation>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="LiteralBoolean" name="LiteralBoolean" superClass="LiteralSpecification">
      <ownedComment xmi:type="cmof:Comment" xmi:id="LiteralBoolean-_ownedComment.0" annotatedElement="LiteralBoolean">
        <body>A literal Boolean is a specification of a Boolean value.</body>
      </ownedComment>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="LiteralBoolean-value" name="value" type="Boolean" default="false">
        <ownedComment xmi:type="cmof:Comment" xmi:id="LiteralBoolean-value-_ownedComment.0" annotatedElement="LiteralBoolean-value">
          <body>The specified Boolean value.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="LiteralBoolean-isComputable" name="isComputable" class="LiteralBoolean" isQuery="true" redefinedOperation="ValueSpecification-isComputable" bodyCondition="LiteralBoolean-isComputable-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="LiteralBoolean-isComputable-_ownedComment.0" annotatedElement="LiteralBoolean-isComputable">
          <body>The query isComputable() is redefined to be true.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="LiteralBoolean-isComputable-spec" name="spec" constrainedElement="LiteralBoolean-isComputable" namespace="LiteralBoolean-isComputable">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="LiteralBoolean-isComputable-spec-_specification">
            <language>OCL</language>
            <body>result = true</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="LiteralBoolean-isComputable-_ownedParameter.0" type="Boolean" direction="return"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="LiteralBoolean-booleanValue" name="booleanValue" class="LiteralBoolean" isQuery="true" redefinedOperation="ValueSpecification-booleanValue" bodyCondition="LiteralBoolean-booleanValue-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="LiteralBoolean-booleanValue-_ownedComment.0" annotatedElement="LiteralBoolean-booleanValue">
          <body>The query booleanValue() gives the value.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="LiteralBoolean-booleanValue-spec" name="spec" constrainedElement="LiteralBoolean-booleanValue" namespace="LiteralBoolean-booleanValue">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="LiteralBoolean-booleanValue-spec-_specification">
            <language>OCL</language>
            <body>result = value</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="LiteralBoolean-booleanValue-_ownedParameter.0" type="Boolean" direction="return"/>
      </ownedOperation>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="LiteralNull" name="LiteralNull" superClass="LiteralSpecification">
      <ownedComment xmi:type="cmof:Comment" xmi:id="LiteralNull-_ownedComment.0" annotatedElement="LiteralNull">
        <body>A literal null specifies the lack of a value.</body>
      </ownedComment>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="LiteralNull-isComputable" name="isComputable" class="LiteralNull" isQuery="true" redefinedOperation="ValueSpecification-isComputable" bodyCondition="LiteralNull-isComputable-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="LiteralNull-isComputable-_ownedComment.0" annotatedElement="LiteralNull-isComputable">
          <body>The query isComputable() is redefined to be true.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="LiteralNull-isComputable-spec" name="spec" constrainedElement="LiteralNull-isComputable" namespace="LiteralNull-isComputable">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="LiteralNull-isComputable-spec-_specification">
            <language>OCL</language>
            <body>result = true</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="LiteralNull-isComputable-_ownedParameter.0" type="Boolean" direction="return"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="LiteralNull-isNull" name="isNull" class="LiteralNull" isQuery="true" redefinedOperation="ValueSpecification-isNull" bodyCondition="LiteralNull-isNull-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="LiteralNull-isNull-_ownedComment.0" annotatedElement="LiteralNull-isNull">
          <body>The query isNull() returns true.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="LiteralNull-isNull-spec" name="spec" constrainedElement="LiteralNull-isNull" namespace="LiteralNull-isNull">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="LiteralNull-isNull-spec-_specification">
            <language>OCL</language>
            <body>result = true</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="LiteralNull-isNull-_ownedParameter.0" type="Boolean" direction="return"/>
      </ownedOperation>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="Constraint" name="Constraint" superClass="PackageableElement">
      <ownedComment xmi:type="cmof:Comment" xmi:id="Constraint-_ownedComment.0" annotatedElement="Constraint">
        <body>A constraint is a condition or restriction expressed in natural language text or in a machine readable language for the purpose of declaring some of the semantics of an element.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Constraint-not_apply_to_self" name="not_apply_to_self" constrainedElement="Constraint" namespace="Constraint">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Constraint-not_apply_to_self-_ownedComment.0" annotatedElement="Constraint-not_apply_to_self">
          <body>A constraint cannot be applied to itself.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Constraint-not_apply_to_self-_specification">
          <language>OCL</language>
          <body>not constrainedElement->includes(self)</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Constraint-value_specification_boolean" name="value_specification_boolean" constrainedElement="Constraint" namespace="Constraint">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Constraint-value_specification_boolean-_ownedComment.0" annotatedElement="Constraint-value_specification_boolean">
          <body>The value specification for a constraint must evaluate to a Boolean value.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Constraint-value_specification_boolean-_specification">
          <language>OCL</language>
          <body>self.specification().booleanValue().isOclKindOf(Boolean)</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Constraint-boolean_value" name="boolean_value" constrainedElement="Constraint" namespace="Constraint">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Constraint-boolean_value-_ownedComment.0" annotatedElement="Constraint-boolean_value">
          <body>The value specification for a constraint must evaluate to a Boolean value.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Constraint-boolean_value-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Constraint-no_side_effects" name="no_side_effects" constrainedElement="Constraint" namespace="Constraint">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Constraint-no_side_effects-_ownedComment.0" annotatedElement="Constraint-no_side_effects">
          <body>Evaluating the value specification for a constraint must not have side effects.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Constraint-no_side_effects-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Constraint-not_applied_to_self" name="not_applied_to_self" constrainedElement="Constraint" namespace="Constraint">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Constraint-not_applied_to_self-_ownedComment.0" annotatedElement="Constraint-not_applied_to_self">
          <body>A constraint cannot be applied to itself.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Constraint-not_applied_to_self-_specification">
          <language>OCL</language>
          <body>not constrainedElement->includes(self)</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Constraint-constrainedElement" name="constrainedElement" type="Element" isOrdered="true" upper="*" lower="0" association="A_constrainedElement_constraint">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Constraint-constrainedElement-_ownedComment.0" annotatedElement="Constraint-constrainedElement">
          <body>The ordered set of Elements referenced by this Constraint.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Constraint-specification" name="specification" type="ValueSpecification" isComposite="true" subsettedProperty="Element-ownedElement" association="A_specification_owningConstraint">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Constraint-specification-_ownedComment.0" annotatedElement="Constraint-specification">
          <body>A condition that must be true when evaluated in order for the constraint to be satisfied.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Constraint-context" name="context" type="Namespace" lower="0" subsettedProperty="NamedElement-namespace" association="A_ownedRule_context">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Constraint-context-_ownedComment.0" annotatedElement="Constraint-context">
          <body>Specifies the namespace that owns the NamedElement.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="ElementImport" name="ElementImport" superClass="DirectedRelationship">
      <ownedComment xmi:type="cmof:Comment" xmi:id="ElementImport-_ownedComment.0" annotatedElement="ElementImport">
        <body>An element import identifies an element in another package, and allows the element to be referenced using its name without a qualifier.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ElementImport-visibility_public_or_private" name="visibility_public_or_private" constrainedElement="ElementImport" namespace="ElementImport">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ElementImport-visibility_public_or_private-_ownedComment.0" annotatedElement="ElementImport-visibility_public_or_private">
          <body>The visibility of an ElementImport is either public or private.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ElementImport-visibility_public_or_private-_specification">
          <language>OCL</language>
          <body>self.visibility = #public or self.visibility = #private</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ElementImport-imported_element_is_public" name="imported_element_is_public" constrainedElement="ElementImport" namespace="ElementImport">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ElementImport-imported_element_is_public-_ownedComment.0" annotatedElement="ElementImport-imported_element_is_public">
          <body>An importedElement has either public visibility or no visibility at all.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ElementImport-imported_element_is_public-_specification">
          <language>OCL</language>
          <body>self.importedElement.visibility.notEmpty() implies self.importedElement.visibility = #public</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ElementImport-visibility" name="visibility" type="VisibilityKind" default="public">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ElementImport-visibility-_ownedComment.0" annotatedElement="ElementImport-visibility">
          <body>Specifies the visibility of the imported PackageableElement within the importing Package. The default visibility is the same as that of the imported element. If the imported element does not have a visibility, it is possible to add visibility to the element import.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ElementImport-alias" name="alias" type="String" lower="0">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ElementImport-alias-_ownedComment.0" annotatedElement="ElementImport-alias">
          <body>Specifies the name that should be added to the namespace of the importing package in lieu of the name of the imported packagable element. The aliased name must not clash with any other member name in the importing package. By default, no alias is used.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ElementImport-importedElement" name="importedElement" type="PackageableElement" subsettedProperty="DirectedRelationship-target" association="A_importedElement_elementImport">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ElementImport-importedElement-_ownedComment.0" annotatedElement="ElementImport-importedElement">
          <body>Specifies the PackageableElement whose name is to be added to a Namespace.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ElementImport-importingNamespace" name="importingNamespace" type="Namespace" subsettedProperty="DirectedRelationship-source Element-owner" association="A_elementImport_importingNamespace">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ElementImport-importingNamespace-_ownedComment.0" annotatedElement="ElementImport-importingNamespace">
          <body>Specifies the Namespace that imports a PackageableElement from another Package.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="ElementImport-getName" name="getName" class="ElementImport" isQuery="true" bodyCondition="ElementImport-getName-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ElementImport-getName-_ownedComment.0" annotatedElement="ElementImport-getName">
          <body>The query getName() returns the name under which the imported PackageableElement will be known in the importing namespace.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="ElementImport-getName-spec" name="spec" constrainedElement="ElementImport-getName" namespace="ElementImport-getName">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="ElementImport-getName-spec-_specification">
            <language>OCL</language>
            <body>result = if self.alias->notEmpty() then&#xA;  self.alias&#xA;else&#xA;  self.importedElement.name&#xA;endif</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="ElementImport-getName-_ownedParameter.0" type="String" direction="return"/>
      </ownedOperation>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="TypedElement" name="TypedElement" isAbstract="true" superClass="NamedElement">
      <ownedComment xmi:type="cmof:Comment" xmi:id="TypedElement-_ownedComment.0" annotatedElement="TypedElement">
        <body>A typed element is a kind of named element that represents an element with a type.</body>
      </ownedComment>
      <ownedComment xmi:type="cmof:Comment" xmi:id="TypedElement-_ownedComment.1" annotatedElement="TypedElement">
        <body>A typed element has a type.</body>
      </ownedComment>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="TypedElement-type" name="type" type="Type" lower="0" association="A_type_typedElement">
        <ownedComment xmi:type="cmof:Comment" xmi:id="TypedElement-type-_ownedComment.0" annotatedElement="TypedElement-type">
          <body>This information is derived from the return result for this Operation.</body>
        </ownedComment>
        <ownedComment xmi:type="cmof:Comment" xmi:id="TypedElement-type-_ownedComment.1" annotatedElement="TypedElement-type">
          <body>The type of the TypedElement.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="Feature" name="Feature" isAbstract="true" superClass="RedefinableElement">
      <ownedComment xmi:type="cmof:Comment" xmi:id="Feature-_ownedComment.0" annotatedElement="Feature">
        <body>A feature declares a behavioral or structural characteristic of instances of classifiers.</body>
      </ownedComment>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Feature-isStatic" name="isStatic" type="Boolean" default="false">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Feature-isStatic-_ownedComment.0" annotatedElement="Feature-isStatic">
          <body>Specifies whether this feature characterizes individual instances classified by the classifier (false) or the classifier itself (true).</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Feature-featuringClassifier" name="featuringClassifier" type="Classifier" upper="*" lower="0" isReadOnly="true" isDerived="true" isDerivedUnion="true" association="A_feature_featuringClassifier">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Feature-featuringClassifier-_ownedComment.0" annotatedElement="Feature-featuringClassifier">
          <body>The Classifiers that have this Feature as a feature.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="RedefinableElement" name="RedefinableElement" isAbstract="true" superClass="NamedElement">
      <ownedComment xmi:type="cmof:Comment" xmi:id="RedefinableElement-_ownedComment.0" annotatedElement="RedefinableElement">
        <body>A redefinable element is an element that, when defined in the context of a classifier, can be redefined more specifically or differently in the context of another classifier that specializes (directly or indirectly) the context classifier.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="RedefinableElement-redefinition_context_valid" name="redefinition_context_valid" constrainedElement="RedefinableElement" namespace="RedefinableElement">
        <ownedComment xmi:type="cmof:Comment" xmi:id="RedefinableElement-redefinition_context_valid-_ownedComment.0" annotatedElement="RedefinableElement-redefinition_context_valid">
          <body>At least one of the redefinition contexts of the redefining element must be a specialization of at least one of the redefinition contexts for each redefined element.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="RedefinableElement-redefinition_context_valid-_specification">
          <language>OCL</language>
          <body>self.redefinedElement->forAll(e | self.isRedefinitionContextValid(e))</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="RedefinableElement-redefinition_consistent" name="redefinition_consistent" constrainedElement="RedefinableElement" namespace="RedefinableElement">
        <ownedComment xmi:type="cmof:Comment" xmi:id="RedefinableElement-redefinition_consistent-_ownedComment.0" annotatedElement="RedefinableElement-redefinition_consistent">
          <body>A redefining element must be consistent with each redefined element.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="RedefinableElement-redefinition_consistent-_specification">
          <language>OCL</language>
          <body>self.redefinedElement->forAll(re | re.isConsistentWith(self))</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="RedefinableElement-isLeaf" name="isLeaf" type="Boolean" default="false">
        <ownedComment xmi:type="cmof:Comment" xmi:id="RedefinableElement-isLeaf-_ownedComment.0" annotatedElement="RedefinableElement-isLeaf">
          <body>Indicates whether it is possible to further specialize a RedefinableElement. If the value is true, then it is not possible to further specialize the RedefinableElement.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="RedefinableElement-redefinedElement" name="redefinedElement" type="RedefinableElement" upper="*" lower="0" isReadOnly="true" isDerived="true" isDerivedUnion="true" association="A_redefinedElement_redefinableElement">
        <ownedComment xmi:type="cmof:Comment" xmi:id="RedefinableElement-redefinedElement-_ownedComment.0" annotatedElement="RedefinableElement-redefinedElement">
          <body>The redefinable element that is being redefined by this element.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="RedefinableElement-redefinitionContext" name="redefinitionContext" type="Classifier" upper="*" lower="0" isReadOnly="true" isDerived="true" isDerivedUnion="true" association="A_redefinitionContext_redefinableElement">
        <ownedComment xmi:type="cmof:Comment" xmi:id="RedefinableElement-redefinitionContext-_ownedComment.0" annotatedElement="RedefinableElement-redefinitionContext">
          <body>References the contexts that this element may be redefined from.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="RedefinableElement-isConsistentWith" name="isConsistentWith" class="RedefinableElement" isQuery="true" precondition="RedefinableElement-isConsistentWith-_ownedRule.0" bodyCondition="RedefinableElement-isConsistentWith-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="RedefinableElement-isConsistentWith-_ownedComment.0" annotatedElement="RedefinableElement-isConsistentWith">
          <body>The query isConsistentWith() specifies, for any two RedefinableElements in a context in which redefinition is possible, whether redefinition would be logically consistent. By default, this is false; this operation must be overridden for subclasses of RedefinableElement to define the consistency conditions.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="RedefinableElement-isConsistentWith-_ownedRule.0" constrainedElement="RedefinableElement-isConsistentWith" namespace="RedefinableElement-isConsistentWith">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="RedefinableElement-isConsistentWith-_ownedRule.0-_specification">
            <language>OCL</language>
            <body>redefinee.isRedefinitionContextValid(self)</body>
          </specification>
        </ownedRule>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="RedefinableElement-isConsistentWith-spec" name="spec" constrainedElement="RedefinableElement-isConsistentWith" namespace="RedefinableElement-isConsistentWith">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="RedefinableElement-isConsistentWith-spec-_specification">
            <language>OCL</language>
            <body>result = false</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="RedefinableElement-isConsistentWith-_ownedParameter.0" type="Boolean" direction="return"/>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="RedefinableElement-isConsistentWith-redefinee" name="redefinee" type="RedefinableElement"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="RedefinableElement-isRedefinitionContextValid" name="isRedefinitionContextValid" class="RedefinableElement" isQuery="true" bodyCondition="RedefinableElement-isRedefinitionContextValid-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="RedefinableElement-isRedefinitionContextValid-_ownedComment.0" annotatedElement="RedefinableElement-isRedefinitionContextValid">
          <body>The query isRedefinitionContextValid() specifies whether the redefinition contexts of this RedefinableElement are properly related to the redefinition contexts of the specified RedefinableElement to allow this element to redefine the other. By default at least one of the redefinition contexts of this element must be a specialization of at least one of the redefinition contexts of the specified element.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="RedefinableElement-isRedefinitionContextValid-spec" name="spec" constrainedElement="RedefinableElement-isRedefinitionContextValid" namespace="RedefinableElement-isRedefinitionContextValid">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="RedefinableElement-isRedefinitionContextValid-spec-_specification">
            <language>OCL</language>
            <body>result = redefinitionContext->exists(c | c.allParents()->includes(redefined.redefinitionContext)))</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="RedefinableElement-isRedefinitionContextValid-_ownedParameter.0" type="Boolean" direction="return"/>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="RedefinableElement-isRedefinitionContextValid-redefined" name="redefined" type="RedefinableElement"/>
      </ownedOperation>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="StructuralFeature" name="StructuralFeature" isAbstract="true" superClass="Feature TypedElement MultiplicityElement">
      <ownedComment xmi:type="cmof:Comment" xmi:id="StructuralFeature-_ownedComment.0" annotatedElement="StructuralFeature">
        <body>A structural feature is a typed feature of a classifier that specifies the structure of instances of the classifier.</body>
      </ownedComment>
      <ownedComment xmi:type="cmof:Comment" xmi:id="StructuralFeature-_ownedComment.1" annotatedElement="StructuralFeature">
        <body>By specializing multiplicity element, it supports a multiplicity that specifies valid cardinalities for the collection of values associated with an instantiation of the structural feature.</body>
      </ownedComment>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="StructuralFeature-isReadOnly" name="isReadOnly" type="Boolean" default="false">
        <ownedComment xmi:type="cmof:Comment" xmi:id="StructuralFeature-isReadOnly-_ownedComment.0" annotatedElement="StructuralFeature-isReadOnly">
          <body>States whether the feature's value may be modified by a client.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="InstanceSpecification" name="InstanceSpecification" superClass="PackageableElement">
      <ownedComment xmi:type="cmof:Comment" xmi:id="InstanceSpecification-_ownedComment.0" annotatedElement="InstanceSpecification">
        <body>An instance specification is a model element that represents an instance in a modeled system.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="InstanceSpecification-defining_feature" name="defining_feature" constrainedElement="InstanceSpecification" namespace="InstanceSpecification">
        <ownedComment xmi:type="cmof:Comment" xmi:id="InstanceSpecification-defining_feature-_ownedComment.0" annotatedElement="InstanceSpecification-defining_feature">
          <body>The defining feature of each slot is a structural feature (directly or inherited) of a classifier of the instance specification.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="InstanceSpecification-defining_feature-_specification">
          <language>OCL</language>
          <body>slot->forAll(s | classifier->exists (c | c.allFeatures()->includes (s.definingFeature)))</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="InstanceSpecification-structural_feature" name="structural_feature" constrainedElement="InstanceSpecification" namespace="InstanceSpecification">
        <ownedComment xmi:type="cmof:Comment" xmi:id="InstanceSpecification-structural_feature-_ownedComment.0" annotatedElement="InstanceSpecification-structural_feature">
          <body>One structural feature (including the same feature inherited from multiple classifiers) is the defining feature of at most one slot in an instance specification.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="InstanceSpecification-structural_feature-_specification">
          <language>OCL</language>
          <body>classifier->forAll(c | (c.allFeatures()->forAll(f | slot->select(s | s.definingFeature = f)->size() &lt;= 1)))</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="InstanceSpecification-classifier" name="classifier" type="Classifier" upper="*" lower="0" association="A_classifier_instanceSpecification">
        <ownedComment xmi:type="cmof:Comment" xmi:id="InstanceSpecification-classifier-_ownedComment.0" annotatedElement="InstanceSpecification-classifier">
          <body>The classifier or classifiers of the represented instance. If multiple classifiers are specified, the instance is classified by all of them.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="InstanceSpecification-slot" name="slot" type="Slot" upper="*" lower="0" isComposite="true" subsettedProperty="Element-ownedElement" association="A_slot_owningInstance">
        <ownedComment xmi:type="cmof:Comment" xmi:id="InstanceSpecification-slot-_ownedComment.0" annotatedElement="InstanceSpecification-slot">
          <body>A slot giving the value or values of a structural feature of the instance. An instance specification can have one slot per structural feature of its classifiers, including inherited features. It is not necessary to model a slot for each structural feature, in which case the instance specification is a partial description.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="InstanceSpecification-specification" name="specification" type="ValueSpecification" lower="0" isComposite="true" subsettedProperty="Element-ownedElement" association="A_specification_owningInstanceSpec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="InstanceSpecification-specification-_ownedComment.0" annotatedElement="InstanceSpecification-specification">
          <body>A specification of how to compute, derive, or construct the instance.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="Slot" name="Slot" superClass="Element">
      <ownedComment xmi:type="cmof:Comment" xmi:id="Slot-_ownedComment.0" annotatedElement="Slot">
        <body>A slot specifies that an entity modeled by an instance specification has a value or values for a specific structural feature.</body>
      </ownedComment>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Slot-owningInstance" name="owningInstance" type="InstanceSpecification" subsettedProperty="Element-owner" association="A_slot_owningInstance">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Slot-owningInstance-_ownedComment.0" annotatedElement="Slot-owningInstance">
          <body>The instance specification that owns this slot.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Slot-definingFeature" name="definingFeature" type="StructuralFeature" association="A_definingFeature_slot">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Slot-definingFeature-_ownedComment.0" annotatedElement="Slot-definingFeature">
          <body>The structural feature that specifies the values that may be held by the slot.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Slot-value" name="value" type="ValueSpecification" isOrdered="true" upper="*" lower="0" isComposite="true" subsettedProperty="Element-ownedElement" association="A_value_owningSlot">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Slot-value-_ownedComment.0" annotatedElement="Slot-value">
          <body>The value or values corresponding to the defining feature for the owning instance specification.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="PackageImport" name="PackageImport" superClass="DirectedRelationship">
      <ownedComment xmi:type="cmof:Comment" xmi:id="PackageImport-_ownedComment.0" annotatedElement="PackageImport">
        <body>A package import is a relationship that allows the use of unqualified names to refer to package members from other namespaces.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="PackageImport-public_or_private" name="public_or_private" constrainedElement="PackageImport" namespace="PackageImport">
        <ownedComment xmi:type="cmof:Comment" xmi:id="PackageImport-public_or_private-_ownedComment.0" annotatedElement="PackageImport-public_or_private">
          <body>The visibility of a PackageImport is either public or private.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="PackageImport-public_or_private-_specification">
          <language>OCL</language>
          <body>self.visibility = #public or self.visibility = #private</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="PackageImport-visibility" name="visibility" type="VisibilityKind" default="public">
        <ownedComment xmi:type="cmof:Comment" xmi:id="PackageImport-visibility-_ownedComment.0" annotatedElement="PackageImport-visibility">
          <body>Specifies the visibility of the imported PackageableElements within the importing Namespace, i.e., whether imported elements will in turn be visible to other packages that use that importingPackage as an importedPackage. If the PackageImport is public, the imported elements will be visible outside the package, while if it is private they will not.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="PackageImport-importingNamespace" name="importingNamespace" type="Namespace" subsettedProperty="DirectedRelationship-source Element-owner" association="A_packageImport_importingNamespace">
        <ownedComment xmi:type="cmof:Comment" xmi:id="PackageImport-importingNamespace-_ownedComment.0" annotatedElement="PackageImport-importingNamespace">
          <body>Specifies the Namespace that imports the members from a Package.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="PackageImport-importedPackage" name="importedPackage" type="Package" subsettedProperty="DirectedRelationship-target" association="A_importedPackage_packageImport">
        <ownedComment xmi:type="cmof:Comment" xmi:id="PackageImport-importedPackage-_ownedComment.0" annotatedElement="PackageImport-importedPackage">
          <body>Specifies the Package whose members are imported into a Namespace.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="DataType" name="DataType" superClass="Classifier">
      <ownedComment xmi:type="cmof:Comment" xmi:id="DataType-_ownedComment.0" annotatedElement="DataType">
        <body>A data type is a type whose instances are identified only by their value. A data type may contain attributes to support the modeling of structured data types.</body>
      </ownedComment>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="DataType-ownedAttribute" name="ownedAttribute" type="Property" isOrdered="true" upper="*" lower="0" isComposite="true" subsettedProperty="Classifier-attribute Namespace-ownedMember" association="A_ownedAttribute_datatype">
        <ownedComment xmi:type="cmof:Comment" xmi:id="DataType-ownedAttribute-_ownedComment.0" annotatedElement="DataType-ownedAttribute">
          <body>The Attributes owned by the DataType.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="DataType-ownedOperation" name="ownedOperation" type="Operation" isOrdered="true" upper="*" lower="0" isComposite="true" subsettedProperty="Classifier-feature Namespace-ownedMember" association="A_ownedOperation_datatype">
        <ownedComment xmi:type="cmof:Comment" xmi:id="DataType-ownedOperation-_ownedComment.0" annotatedElement="DataType-ownedOperation">
          <body>The Operations owned by the DataType.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="DataType-inherit" name="inherit" class="DataType" isQuery="true" redefinedOperation="Classifier-inherit" bodyCondition="DataType-inherit-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="DataType-inherit-_ownedComment.0" annotatedElement="DataType-inherit">
          <body>The inherit operation is overridden to exclude redefined properties.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="DataType-inherit-spec" name="spec" constrainedElement="DataType-inherit" namespace="DataType-inherit">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="DataType-inherit-spec-_specification">
            <language>OCL</language>
            <body>result = inhs->excluding(inh | ownedMember->select(oclIsKindOf(RedefinableElement))->select(redefinedElement->includes(inh)))</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="DataType-inherit-_ownedParameter.0" type="NamedElement" upper="*" lower="0" direction="return"/>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="DataType-inherit-inhs" name="inhs" type="NamedElement" upper="*" lower="0"/>
      </ownedOperation>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="Enumeration" name="Enumeration" superClass="DataType">
      <ownedComment xmi:type="cmof:Comment" xmi:id="Enumeration-_ownedComment.0" annotatedElement="Enumeration">
        <body>An enumeration is a data type whose values are enumerated in the model as enumeration literals.</body>
      </ownedComment>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Enumeration-ownedLiteral" name="ownedLiteral" type="EnumerationLiteral" isOrdered="true" upper="*" lower="0" isComposite="true" subsettedProperty="Namespace-ownedMember" association="A_ownedLiteral_enumeration">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Enumeration-ownedLiteral-_ownedComment.0" annotatedElement="Enumeration-ownedLiteral">
          <body>The ordered set of literals for this Enumeration.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="EnumerationLiteral" name="EnumerationLiteral" superClass="InstanceSpecification">
      <ownedComment xmi:type="cmof:Comment" xmi:id="EnumerationLiteral-_ownedComment.0" annotatedElement="EnumerationLiteral">
        <body>An enumeration literal is a user-defined data value for an enumeration.</body>
      </ownedComment>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="EnumerationLiteral-enumeration" name="enumeration" type="Enumeration" lower="0" subsettedProperty="NamedElement-namespace" association="A_ownedLiteral_enumeration">
        <ownedComment xmi:type="cmof:Comment" xmi:id="EnumerationLiteral-enumeration-_ownedComment.0" annotatedElement="EnumerationLiteral-enumeration">
          <body>The Enumeration that this EnumerationLiteral is a member of.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="PrimitiveType" name="PrimitiveType" superClass="DataType">
      <ownedComment xmi:type="cmof:Comment" xmi:id="PrimitiveType-_ownedComment.0" annotatedElement="PrimitiveType">
        <body>A primitive type defines a predefined data type, without any relevant substructure (i.e., it has no parts in the context of UML). A primitive datatype may have an algebra and operations defined outside of UML, for example, mathematically.</body>
      </ownedComment>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="Association" name="Association" superClass="Relationship Classifier">
      <ownedComment xmi:type="cmof:Comment" xmi:id="Association-_ownedComment.0" annotatedElement="Association">
        <body>An association describes a set of tuples whose values refer to typed instances. An instance of an association is called a link.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Association-specialized_end_number" name="specialized_end_number" constrainedElement="Association" namespace="Association">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Association-specialized_end_number-_ownedComment.0" annotatedElement="Association-specialized_end_number">
          <body>An association specializing another association has the same number of ends as the other association.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Association-specialized_end_number-_specification">
          <language>OCL</language>
          <body>self.parents()->forAll(p | p.memberEnd.size() = self.memberEnd.size())</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Association-specialized_end_types" name="specialized_end_types" constrainedElement="Association" namespace="Association">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Association-specialized_end_types-_ownedComment.0" annotatedElement="Association-specialized_end_types">
          <body>When an association specializes another association, every end of the specific association corresponds to an end of the general association, and the specific end reaches the same type or a subtype of the more general end.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Association-specialized_end_types-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Association-binary_associations" name="binary_associations" constrainedElement="Association" namespace="Association">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Association-binary_associations-_ownedComment.0" annotatedElement="Association-binary_associations">
          <body>Only binary associations can be aggregations.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Association-binary_associations-_specification">
          <language>OCL</language>
          <body>self.memberEnd->exists(aggregation &lt;> Aggregation::none) implies self.memberEnd->size() = 2</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Association-association_ends" name="association_ends" constrainedElement="Association" namespace="Association">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Association-association_ends-_ownedComment.0" annotatedElement="Association-association_ends">
          <body>Association ends of associations with more than two ends must be owned by the association.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Association-association_ends-_specification">
          <language>OCL</language>
          <body>if memberEnd->size() > 2 then ownedEnd->includesAll(memberEnd)</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Association-isDerived" name="isDerived" type="Boolean" default="false">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Association-isDerived-_ownedComment.0" annotatedElement="Association-isDerived">
          <body>Specifies whether the association is derived from other model elements such as other associations or constraints.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Association-ownedEnd" name="ownedEnd" type="Property" isOrdered="true" upper="*" lower="0" isComposite="true" subsettedProperty="Association-memberEnd Classifier-feature Namespace-ownedMember" association="A_ownedEnd_owningAssociation">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Association-ownedEnd-_ownedComment.0" annotatedElement="Association-ownedEnd">
          <body>The ends that are owned by the association itself.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Association-endType" name="endType" type="Type" isOrdered="true" upper="*" isReadOnly="true" isDerived="true" subsettedProperty="Relationship-relatedElement" association="A_endType_association">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Association-endType-_ownedComment.0" annotatedElement="Association-endType">
          <body>References the classifiers that are used as types of the ends of the association.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Association-memberEnd" name="memberEnd" type="Property" isOrdered="true" upper="*" lower="2" subsettedProperty="Namespace-member" association="A_memberEnd_association">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Association-memberEnd-_ownedComment.0" annotatedElement="Association-memberEnd">
          <body>Each end represents participation of instances of the classifier connected to the end in links of the association.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Association-navigableOwnedEnd" name="navigableOwnedEnd" type="Property" upper="*" lower="0" subsettedProperty="Association-ownedEnd" association="A_navigableOwnedEnd_association">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Association-navigableOwnedEnd-_ownedComment.0" annotatedElement="Association-navigableOwnedEnd">
          <body>The navigable ends that are owned by the association itself.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="Association-endType.1" name="endType" class="Association" isQuery="true" bodyCondition="Association-endType.1-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Association-endType.1-_ownedComment.0" annotatedElement="Association-endType.1">
          <body>endType is derived from the types of the member ends.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="Association-endType.1-spec" name="spec" constrainedElement="Association-endType.1 Association-endType" namespace="Association-endType.1">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="Association-endType.1-spec-_specification">
            <language>OCL</language>
            <body>result = self.memberEnd->collect(e | e.type)</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="Association-endType.1-_ownedParameter.0" type="Type" isOrdered="true" upper="*" lower="0" direction="return"/>
      </ownedOperation>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="ValueSpecification" name="ValueSpecification" isAbstract="true" superClass="TypedElement PackageableElement">
      <ownedComment xmi:type="cmof:Comment" xmi:id="ValueSpecification-_ownedComment.0" annotatedElement="ValueSpecification">
        <body>A value specification is the specification of a (possibly empty) set of instances, including both objects and data values.</body>
      </ownedComment>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="ValueSpecification-isComputable" name="isComputable" class="ValueSpecification" isQuery="true" bodyCondition="ValueSpecification-isComputable-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ValueSpecification-isComputable-_ownedComment.0" annotatedElement="ValueSpecification-isComputable">
          <body>The query isComputable() determines whether a value specification can be computed in a model. This operation cannot be fully defined in OCL. A conforming implementation is expected to deliver true for this operation for all value specifications that it can compute, and to compute all of those for which the operation is true. A conforming implementation is expected to be able to compute the value of all literals.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="ValueSpecification-isComputable-spec" name="spec" constrainedElement="ValueSpecification-isComputable" namespace="ValueSpecification-isComputable">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="ValueSpecification-isComputable-spec-_specification">
            <language>OCL</language>
            <body>result = false</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="ValueSpecification-isComputable-_ownedParameter.0" type="Boolean" direction="return"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="ValueSpecification-integerValue" name="integerValue" class="ValueSpecification" isQuery="true" bodyCondition="ValueSpecification-integerValue-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ValueSpecification-integerValue-_ownedComment.0" annotatedElement="ValueSpecification-integerValue">
          <body>The query integerValue() gives a single Integer value when one can be computed.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="ValueSpecification-integerValue-spec" name="spec" constrainedElement="ValueSpecification-integerValue" namespace="ValueSpecification-integerValue">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="ValueSpecification-integerValue-spec-_specification">
            <language>OCL</language>
            <body>result = Set{}</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="ValueSpecification-integerValue-_ownedParameter.0" type="Integer" direction="return"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="ValueSpecification-booleanValue" name="booleanValue" class="ValueSpecification" isQuery="true" bodyCondition="ValueSpecification-booleanValue-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ValueSpecification-booleanValue-_ownedComment.0" annotatedElement="ValueSpecification-booleanValue">
          <body>The query booleanValue() gives a single Boolean value when one can be computed.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="ValueSpecification-booleanValue-spec" name="spec" constrainedElement="ValueSpecification-booleanValue" namespace="ValueSpecification-booleanValue">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="ValueSpecification-booleanValue-spec-_specification">
            <language>OCL</language>
            <body>result = Set{}</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="ValueSpecification-booleanValue-_ownedParameter.0" type="Boolean" direction="return"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="ValueSpecification-stringValue" name="stringValue" class="ValueSpecification" isQuery="true" bodyCondition="ValueSpecification-stringValue-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ValueSpecification-stringValue-_ownedComment.0" annotatedElement="ValueSpecification-stringValue">
          <body>The query stringValue() gives a single String value when one can be computed.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="ValueSpecification-stringValue-spec" name="spec" constrainedElement="ValueSpecification-stringValue" namespace="ValueSpecification-stringValue">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="ValueSpecification-stringValue-spec-_specification">
            <language>OCL</language>
            <body>result = Set{}</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="ValueSpecification-stringValue-_ownedParameter.0" type="String" direction="return"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="ValueSpecification-unlimitedValue" name="unlimitedValue" class="ValueSpecification" isQuery="true" bodyCondition="ValueSpecification-unlimitedValue-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ValueSpecification-unlimitedValue-_ownedComment.0" annotatedElement="ValueSpecification-unlimitedValue">
          <body>The query unlimitedValue() gives a single UnlimitedNatural value when one can be computed.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="ValueSpecification-unlimitedValue-spec" name="spec" constrainedElement="ValueSpecification-unlimitedValue" namespace="ValueSpecification-unlimitedValue">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="ValueSpecification-unlimitedValue-spec-_specification">
            <language>OCL</language>
            <body>result = Set{}</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="ValueSpecification-unlimitedValue-_ownedParameter.0" type="UnlimitedNatural" direction="return"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="ValueSpecification-isNull" name="isNull" class="ValueSpecification" isQuery="true" bodyCondition="ValueSpecification-isNull-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ValueSpecification-isNull-_ownedComment.0" annotatedElement="ValueSpecification-isNull">
          <body>The query isNull() returns true when it can be computed that the value is null.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="ValueSpecification-isNull-spec" name="spec" constrainedElement="ValueSpecification-isNull" namespace="ValueSpecification-isNull">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="ValueSpecification-isNull-spec-_specification">
            <language>OCL</language>
            <body>result = false</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="ValueSpecification-isNull-_ownedParameter.0" type="Boolean" direction="return"/>
      </ownedOperation>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="Relationship" name="Relationship" isAbstract="true" superClass="Element">
      <ownedComment xmi:type="cmof:Comment" xmi:id="Relationship-_ownedComment.0" annotatedElement="Relationship">
        <body>Relationship is an abstract concept that specifies some kind of relationship between elements.</body>
      </ownedComment>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Relationship-relatedElement" name="relatedElement" type="Element" upper="*" isReadOnly="true" isDerived="true" isDerivedUnion="true" association="A_relatedElement_relationship">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Relationship-relatedElement-_ownedComment.0" annotatedElement="Relationship-relatedElement">
          <body>Specifies the elements related by the Relationship.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="PackageMerge" name="PackageMerge" superClass="DirectedRelationship">
      <ownedComment xmi:type="cmof:Comment" xmi:id="PackageMerge-_ownedComment.0" annotatedElement="PackageMerge">
        <body>A package merge defines how the contents of one package are extended by the contents of another package.</body>
      </ownedComment>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="PackageMerge-receivingPackage" name="receivingPackage" type="Package" subsettedProperty="DirectedRelationship-source Element-owner" association="A_receivingPackage_packageMerge">
        <ownedComment xmi:type="cmof:Comment" xmi:id="PackageMerge-receivingPackage-_ownedComment.0" annotatedElement="PackageMerge-receivingPackage">
          <body>References the Package that is being extended with the contents of the merged package of the PackageMerge.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="PackageMerge-mergedPackage" name="mergedPackage" type="Package" subsettedProperty="DirectedRelationship-target" association="A_mergedPackage_packageMerge">
        <ownedComment xmi:type="cmof:Comment" xmi:id="PackageMerge-mergedPackage-_ownedComment.0" annotatedElement="PackageMerge-mergedPackage">
          <body>References the Package that is to be merged with the receiving package of the PackageMerge.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="InstanceValue" name="InstanceValue" superClass="ValueSpecification">
      <ownedComment xmi:type="cmof:Comment" xmi:id="InstanceValue-_ownedComment.0" annotatedElement="InstanceValue">
        <body>An instance value is a value specification that identifies an instance.</body>
      </ownedComment>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="InstanceValue-instance" name="instance" type="InstanceSpecification" association="A_instance_instanceValue">
        <ownedComment xmi:type="cmof:Comment" xmi:id="InstanceValue-instance-_ownedComment.0" annotatedElement="InstanceValue-instance">
          <body>The instance that is the specified value.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="LiteralUnlimitedNatural" name="LiteralUnlimitedNatural" superClass="LiteralSpecification">
      <ownedComment xmi:type="cmof:Comment" xmi:id="LiteralUnlimitedNatural-_ownedComment.0" annotatedElement="LiteralUnlimitedNatural">
        <body>A literal unlimited natural is a specification of an unlimited natural number.</body>
      </ownedComment>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="LiteralUnlimitedNatural-value" name="value" type="UnlimitedNatural" default="0">
        <ownedComment xmi:type="cmof:Comment" xmi:id="LiteralUnlimitedNatural-value-_ownedComment.0" annotatedElement="LiteralUnlimitedNatural-value">
          <body>The specified UnlimitedNatural value.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="LiteralUnlimitedNatural-isComputable" name="isComputable" class="LiteralUnlimitedNatural" isQuery="true" redefinedOperation="ValueSpecification-isComputable" bodyCondition="LiteralUnlimitedNatural-isComputable-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="LiteralUnlimitedNatural-isComputable-_ownedComment.0" annotatedElement="LiteralUnlimitedNatural-isComputable">
          <body>The query isComputable() is redefined to be true.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="LiteralUnlimitedNatural-isComputable-spec" name="spec" constrainedElement="LiteralUnlimitedNatural-isComputable" namespace="LiteralUnlimitedNatural-isComputable">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="LiteralUnlimitedNatural-isComputable-spec-_specification">
            <language>OCL</language>
            <body>result = true</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="LiteralUnlimitedNatural-isComputable-_ownedParameter.0" type="Boolean" direction="return"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="LiteralUnlimitedNatural-unlimitedValue" name="unlimitedValue" class="LiteralUnlimitedNatural" isQuery="true" redefinedOperation="ValueSpecification-unlimitedValue" bodyCondition="LiteralUnlimitedNatural-unlimitedValue-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="LiteralUnlimitedNatural-unlimitedValue-_ownedComment.0" annotatedElement="LiteralUnlimitedNatural-unlimitedValue">
          <body>The query unlimitedValue() gives the value.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="LiteralUnlimitedNatural-unlimitedValue-spec" name="spec" constrainedElement="LiteralUnlimitedNatural-unlimitedValue" namespace="LiteralUnlimitedNatural-unlimitedValue">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="LiteralUnlimitedNatural-unlimitedValue-spec-_specification">
            <language>OCL</language>
            <body>result = value</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="LiteralUnlimitedNatural-unlimitedValue-_ownedParameter.0" type="UnlimitedNatural" direction="return"/>
      </ownedOperation>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="Type" name="Type" isAbstract="true" superClass="PackageableElement">
      <ownedComment xmi:type="cmof:Comment" xmi:id="Type-_ownedComment.0" annotatedElement="Type">
        <body>A type is a named element that is used as the type for a typed element. A type can be contained in a package.</body>
      </ownedComment>
      <ownedComment xmi:type="cmof:Comment" xmi:id="Type-_ownedComment.1" annotatedElement="Type">
        <body>A type constrains the values represented by a typed element.</body>
      </ownedComment>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Type-package" name="package" type="Package" lower="0" subsettedProperty="NamedElement-namespace" association="A_ownedType_package">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Type-package-_ownedComment.0" annotatedElement="Type-package">
          <body>Specifies the owning package of this classifier, if any.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="Type-conformsTo" name="conformsTo" class="Type" isQuery="true" bodyCondition="Type-conformsTo-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Type-conformsTo-_ownedComment.0" annotatedElement="Type-conformsTo">
          <body>The query conformsTo() gives true for a type that conforms to another. By default, two types do not conform to each other. This query is intended to be redefined for specific conformance situations.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="Type-conformsTo-spec" name="spec" constrainedElement="Type-conformsTo" namespace="Type-conformsTo">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="Type-conformsTo-spec-_specification">
            <language>OCL</language>
            <body>result = false</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="Type-conformsTo-_ownedParameter.0" type="Boolean" direction="return"/>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="Type-conformsTo-other" name="other" type="Type"/>
      </ownedOperation>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="Expression" name="Expression" superClass="ValueSpecification">
      <ownedComment xmi:type="cmof:Comment" xmi:id="Expression-_ownedComment.0" annotatedElement="Expression">
        <body>An expression is a structured tree of symbols that denotes a (possibly empty) set of values when evaluated in a context.</body>
      </ownedComment>
      <ownedComment xmi:type="cmof:Comment" xmi:id="Expression-_ownedComment.1" annotatedElement="Expression">
        <body>An expression represents a node in an expression tree, which may be non-terminal or terminal. It defines a symbol, and has a possibly empty sequence of operands which are value specifications.</body>
      </ownedComment>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Expression-symbol" name="symbol" type="String" lower="0">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Expression-symbol-_ownedComment.0" annotatedElement="Expression-symbol">
          <body>The symbol associated with the node in the expression tree.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Expression-operand" name="operand" type="ValueSpecification" isOrdered="true" upper="*" lower="0" isComposite="true" subsettedProperty="Element-ownedElement" association="A_operand_expression">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Expression-operand-_ownedComment.0" annotatedElement="Expression-operand">
          <body>Specifies a sequence of operands.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Enumeration" xmi:id="AggregationKind" name="AggregationKind" visibility="private">
      <ownedComment xmi:type="cmof:Comment" xmi:id="AggregationKind-_ownedComment.0" annotatedElement="AggregationKind">
        <body>AggregationKind is an enumeration type that specifies the literals for defining the kind of aggregation of a property.</body>
      </ownedComment>
      <ownedLiteral xmi:type="cmof:EnumerationLiteral" xmi:id="AggregationKind-none" name="none" enumeration="AggregationKind">
        <ownedComment xmi:type="cmof:Comment" xmi:id="AggregationKind-none-_ownedComment.0" annotatedElement="AggregationKind-none">
          <body>Indicates that the property has no aggregation.</body>
        </ownedComment>
      </ownedLiteral>
      <ownedLiteral xmi:type="cmof:EnumerationLiteral" xmi:id="AggregationKind-shared" name="shared" enumeration="AggregationKind">
        <ownedComment xmi:type="cmof:Comment" xmi:id="AggregationKind-shared-_ownedComment.0" annotatedElement="AggregationKind-shared">
          <body>Indicates that the property has a shared aggregation.</body>
        </ownedComment>
      </ownedLiteral>
      <ownedLiteral xmi:type="cmof:EnumerationLiteral" xmi:id="AggregationKind-composite" name="composite" enumeration="AggregationKind">
        <ownedComment xmi:type="cmof:Comment" xmi:id="AggregationKind-composite-_ownedComment.0" annotatedElement="AggregationKind-composite">
          <body>Indicates that the property is aggregated compositely, i.e., the composite object has responsibility for the existence and storage of the composed objects (parts).</body>
        </ownedComment>
      </ownedLiteral>
    </ownedMember>
    <ownedMember xmi:type="cmof:Enumeration" xmi:id="ParameterDirectionKind" name="ParameterDirectionKind" visibility="private">
      <ownedComment xmi:type="cmof:Comment" xmi:id="ParameterDirectionKind-_ownedComment.0" annotatedElement="ParameterDirectionKind">
        <body>Parameter direction kind is an enumeration type that defines literals used to specify direction of parameters.</body>
      </ownedComment>
      <ownedLiteral xmi:type="cmof:EnumerationLiteral" xmi:id="ParameterDirectionKind-in" name="in" enumeration="ParameterDirectionKind">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ParameterDirectionKind-in-_ownedComment.0" annotatedElement="ParameterDirectionKind-in">
          <body>Indicates that parameter values are passed into the behavioral element by the caller.</body>
        </ownedComment>
      </ownedLiteral>
      <ownedLiteral xmi:type="cmof:EnumerationLiteral" xmi:id="ParameterDirectionKind-inout" name="inout" enumeration="ParameterDirectionKind">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ParameterDirectionKind-inout-_ownedComment.0" annotatedElement="ParameterDirectionKind-inout">
          <body>Indicates that parameter values are passed into a behavioral element by the caller and then back out to the caller from the behavioral element.</body>
        </ownedComment>
      </ownedLiteral>
      <ownedLiteral xmi:type="cmof:EnumerationLiteral" xmi:id="ParameterDirectionKind-out" name="out" enumeration="ParameterDirectionKind">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ParameterDirectionKind-out-_ownedComment.0" annotatedElement="ParameterDirectionKind-out">
          <body>Indicates that parameter values are passed from a behavioral element out to the caller.</body>
        </ownedComment>
      </ownedLiteral>
      <ownedLiteral xmi:type="cmof:EnumerationLiteral" xmi:id="ParameterDirectionKind-return" name="return" enumeration="ParameterDirectionKind">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ParameterDirectionKind-return-_ownedComment.0" annotatedElement="ParameterDirectionKind-return">
          <body>Indicates that parameter values are passed as return values from a behavioral element back to the caller.</body>
        </ownedComment>
      </ownedLiteral>
    </ownedMember>
    <ownedMember xmi:type="cmof:Enumeration" xmi:id="VisibilityKind" name="VisibilityKind" visibility="private">
      <ownedComment xmi:type="cmof:Comment" xmi:id="VisibilityKind-_ownedComment.0" annotatedElement="VisibilityKind">
        <body>VisibilityKind is an enumeration type that defines literals to determine the visibility of elements in a model.</body>
      </ownedComment>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="VisibilityKind-bestVisibility" name="bestVisibility" isQuery="true" precondition="VisibilityKind-bestVisibility-_ownedRule.0" datatype="VisibilityKind" bodyCondition="VisibilityKind-bestVisibility-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="VisibilityKind-bestVisibility-_ownedComment.0" annotatedElement="VisibilityKind-bestVisibility">
          <body>The query bestVisibility() examines a set of VisibilityKinds, and returns public as the preferred visibility.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="VisibilityKind-bestVisibility-_ownedRule.0" constrainedElement="VisibilityKind-bestVisibility" namespace="VisibilityKind-bestVisibility">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="VisibilityKind-bestVisibility-_ownedRule.0-_specification">
            <language>OCL</language>
            <body>pre: not vis->includes(#protected) and not vis->includes(#package)</body>
          </specification>
        </ownedRule>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="VisibilityKind-bestVisibility-spec" name="spec" constrainedElement="VisibilityKind-bestVisibility" namespace="VisibilityKind-bestVisibility">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="VisibilityKind-bestVisibility-spec-_specification">
            <language>OCL</language>
            <body>result = if vis->includes(#public) then #public else #private endif</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="VisibilityKind-bestVisibility-_ownedParameter.0" type="VisibilityKind" direction="return"/>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="VisibilityKind-bestVisibility-vis" name="vis" type="VisibilityKind" upper="*" lower="0"/>
      </ownedOperation>
      <ownedLiteral xmi:type="cmof:EnumerationLiteral" xmi:id="VisibilityKind-public" name="public" enumeration="VisibilityKind">
        <ownedComment xmi:type="cmof:Comment" xmi:id="VisibilityKind-public-_ownedComment.0" annotatedElement="VisibilityKind-public">
          <body>A public element is visible to all elements that can access the contents of the namespace that owns it.</body>
        </ownedComment>
      </ownedLiteral>
      <ownedLiteral xmi:type="cmof:EnumerationLiteral" xmi:id="VisibilityKind-private" name="private" enumeration="VisibilityKind">
        <ownedComment xmi:type="cmof:Comment" xmi:id="VisibilityKind-private-_ownedComment.0" annotatedElement="VisibilityKind-private">
          <body>A private element is only visible inside the namespace that owns it.</body>
        </ownedComment>
      </ownedLiteral>
      <ownedLiteral xmi:type="cmof:EnumerationLiteral" xmi:id="VisibilityKind-protected" name="protected" enumeration="VisibilityKind">
        <ownedComment xmi:type="cmof:Comment" xmi:id="VisibilityKind-protected-_ownedComment.0" annotatedElement="VisibilityKind-protected">
          <body>A protected element is visible to elements that have a generalization relationship to the namespace that owns it.</body>
        </ownedComment>
      </ownedLiteral>
      <ownedLiteral xmi:type="cmof:EnumerationLiteral" xmi:id="VisibilityKind-package" name="package" enumeration="VisibilityKind">
        <ownedComment xmi:type="cmof:Comment" xmi:id="VisibilityKind-package-_ownedComment.0" annotatedElement="VisibilityKind-package">
          <body>A package element is owned by a namespace that is not a package, and is visible to elements that are in the same package as its owning namespace. Only named elements that are not owned by packages can be marked as having package visibility.  Any element marked as having package visibility is visible to all elements within the nearest enclosing package (given that other owning elements have proper visibility).  Outside the nearest enclosing package, an element marked as having package visibility is not visible.</body>
        </ownedComment>
      </ownedLiteral>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_ownedElement_owner" name="A_ownedElement_owner" visibility="private" memberEnd="Element-ownedElement Element-owner"/>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_source_directedRelationship" name="A_source_directedRelationship" visibility="private" memberEnd="DirectedRelationship-source A_source_directedRelationship-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_source_directedRelationship-_ownedEnd.0" type="DirectedRelationship" upper="*" lower="0" owningAssociation="A_source_directedRelationship" association="A_source_directedRelationship"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_target_directedRelationship" name="A_target_directedRelationship" visibility="private" memberEnd="DirectedRelationship-target A_target_directedRelationship-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_target_directedRelationship-_ownedEnd.0" type="DirectedRelationship" upper="*" lower="0" owningAssociation="A_target_directedRelationship" association="A_target_directedRelationship"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_constrainedElement_constraint" name="A_constrainedElement_constraint" visibility="private" memberEnd="Constraint-constrainedElement A_constrainedElement_constraint-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_constrainedElement_constraint-_ownedEnd.0" type="Constraint" upper="*" lower="0" owningAssociation="A_constrainedElement_constraint" association="A_constrainedElement_constraint"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_type_typedElement" name="A_type_typedElement" visibility="private" memberEnd="TypedElement-type A_type_typedElement-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_type_typedElement-_ownedEnd.0" type="TypedElement" upper="*" lower="0" owningAssociation="A_type_typedElement" association="A_type_typedElement"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_generalization_specific" name="A_generalization_specific" visibility="private" memberEnd="Classifier-generalization Generalization-specific"/>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_general_generalization" name="A_general_generalization" visibility="private" memberEnd="Generalization-general A_general_generalization-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_general_generalization-_ownedEnd.0" type="Generalization" upper="*" lower="0" owningAssociation="A_general_generalization" association="A_general_generalization"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_feature_featuringClassifier" name="A_feature_featuringClassifier" visibility="private" memberEnd="Classifier-feature Feature-featuringClassifier"/>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_ownedParameter_ownerFormalParam" name="A_ownedParameter_ownerFormalParam" visibility="private" memberEnd="BehavioralFeature-ownedParameter A_ownedParameter_ownerFormalParam-ownerFormalParam">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_ownedParameter_ownerFormalParam-ownerFormalParam" name="ownerFormalParam" type="BehavioralFeature" lower="0" owningAssociation="A_ownedParameter_ownerFormalParam" subsettedProperty="NamedElement-namespace" association="A_ownedParameter_ownerFormalParam"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_classifier_instanceSpecification" name="A_classifier_instanceSpecification" visibility="private" memberEnd="InstanceSpecification-classifier A_classifier_instanceSpecification-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_classifier_instanceSpecification-_ownedEnd.0" type="InstanceSpecification" upper="*" lower="0" owningAssociation="A_classifier_instanceSpecification" association="A_classifier_instanceSpecification"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_slot_owningInstance" name="A_slot_owningInstance" visibility="private" memberEnd="InstanceSpecification-slot Slot-owningInstance"/>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_definingFeature_slot" name="A_definingFeature_slot" visibility="private" memberEnd="Slot-definingFeature A_definingFeature_slot-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_definingFeature_slot-_ownedEnd.0" type="Slot" upper="*" lower="0" owningAssociation="A_definingFeature_slot" association="A_definingFeature_slot"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_annotatedElement_comment" name="A_annotatedElement_comment" visibility="private" memberEnd="Comment-annotatedElement A_annotatedElement_comment-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_annotatedElement_comment-_ownedEnd.0" type="Comment" upper="*" lower="0" owningAssociation="A_annotatedElement_comment" association="A_annotatedElement_comment"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_ownedComment_owningElement" name="A_ownedComment_owningElement" visibility="private" memberEnd="Element-ownedComment A_ownedComment_owningElement-owningElement">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_ownedComment_owningElement-owningElement" name="owningElement" type="Element" lower="0" owningAssociation="A_ownedComment_owningElement" subsettedProperty="Element-owner" association="A_ownedComment_owningElement"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_importedElement_elementImport" name="A_importedElement_elementImport" visibility="private" memberEnd="ElementImport-importedElement A_importedElement_elementImport-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_importedElement_elementImport-_ownedEnd.0" type="ElementImport" upper="*" lower="0" owningAssociation="A_importedElement_elementImport" association="A_importedElement_elementImport"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_inheritedMember_classifier" name="A_inheritedMember_classifier" visibility="private" memberEnd="Classifier-inheritedMember A_inheritedMember_classifier-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_inheritedMember_classifier-_ownedEnd.0" type="Classifier" upper="*" lower="0" owningAssociation="A_inheritedMember_classifier" association="A_inheritedMember_classifier"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_nestedClassifier_class" name="A_nestedClassifier_class" visibility="private" memberEnd="Class-nestedClassifier A_nestedClassifier_class-class">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_nestedClassifier_class-class" name="class" type="Class" lower="0" owningAssociation="A_nestedClassifier_class" subsettedProperty="NamedElement-namespace RedefinableElement-redefinitionContext" association="A_nestedClassifier_class"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_ownedAttribute_class" name="A_ownedAttribute_class" visibility="private" memberEnd="Class-ownedAttribute Property-class"/>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_ownedOperation_class" name="A_ownedOperation_class" visibility="private" memberEnd="Class-ownedOperation Operation-class"/>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_precondition_preContext" name="A_precondition_preContext" visibility="private" memberEnd="Operation-precondition A_precondition_preContext-preContext">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_precondition_preContext-preContext" name="preContext" type="Operation" lower="0" owningAssociation="A_precondition_preContext" subsettedProperty="Constraint-context" association="A_precondition_preContext"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_postcondition_postContext" name="A_postcondition_postContext" visibility="private" memberEnd="Operation-postcondition A_postcondition_postContext-postContext">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_postcondition_postContext-postContext" name="postContext" type="Operation" lower="0" owningAssociation="A_postcondition_postContext" subsettedProperty="Constraint-context" association="A_postcondition_postContext"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_redefinedOperation_operation" name="A_redefinedOperation_operation" visibility="private" memberEnd="Operation-redefinedOperation A_redefinedOperation_operation-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_redefinedOperation_operation-_ownedEnd.0" type="Operation" upper="*" lower="0" owningAssociation="A_redefinedOperation_operation" association="A_redefinedOperation_operation"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_redefinedProperty_property" name="A_redefinedProperty_property" visibility="private" memberEnd="Property-redefinedProperty A_redefinedProperty_property-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_redefinedProperty_property-_ownedEnd.0" type="Property" upper="*" lower="0" owningAssociation="A_redefinedProperty_property" association="A_redefinedProperty_property"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_ownedEnd_owningAssociation" name="A_ownedEnd_owningAssociation" visibility="private" memberEnd="Association-ownedEnd Property-owningAssociation"/>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_ownedAttribute_datatype" name="A_ownedAttribute_datatype" visibility="private" memberEnd="DataType-ownedAttribute Property-datatype"/>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_ownedOperation_datatype" name="A_ownedOperation_datatype" visibility="private" memberEnd="DataType-ownedOperation Operation-datatype"/>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_ownedLiteral_enumeration" name="A_ownedLiteral_enumeration" visibility="private" memberEnd="Enumeration-ownedLiteral EnumerationLiteral-enumeration"/>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_elementImport_importingNamespace" name="A_elementImport_importingNamespace" visibility="private" memberEnd="Namespace-elementImport ElementImport-importingNamespace"/>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_packageImport_importingNamespace" name="A_packageImport_importingNamespace" visibility="private" memberEnd="Namespace-packageImport PackageImport-importingNamespace"/>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_importedPackage_packageImport" name="A_importedPackage_packageImport" visibility="private" memberEnd="PackageImport-importedPackage A_importedPackage_packageImport-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_importedPackage_packageImport-_ownedEnd.0" type="PackageImport" upper="*" lower="0" owningAssociation="A_importedPackage_packageImport" association="A_importedPackage_packageImport"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_redefinedClassifier_classifier" name="A_redefinedClassifier_classifier" visibility="private" memberEnd="Classifier-redefinedClassifier A_redefinedClassifier_classifier-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_redefinedClassifier_classifier-_ownedEnd.0" type="Classifier" upper="*" lower="0" owningAssociation="A_redefinedClassifier_classifier" association="A_redefinedClassifier_classifier"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_specification_owningConstraint" name="A_specification_owningConstraint" visibility="private" memberEnd="Constraint-specification A_specification_owningConstraint-owningConstraint">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_specification_owningConstraint-owningConstraint" name="owningConstraint" type="Constraint" lower="0" owningAssociation="A_specification_owningConstraint" subsettedProperty="Element-owner" association="A_specification_owningConstraint"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_defaultValue_owningParameter" name="A_defaultValue_owningParameter" visibility="private" memberEnd="Parameter-defaultValue A_defaultValue_owningParameter-owningParameter">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_defaultValue_owningParameter-owningParameter" name="owningParameter" type="Parameter" lower="0" owningAssociation="A_defaultValue_owningParameter" subsettedProperty="Element-owner" association="A_defaultValue_owningParameter"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_defaultValue_owningProperty" name="A_defaultValue_owningProperty" visibility="private" memberEnd="Property-defaultValue A_defaultValue_owningProperty-owningProperty">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_defaultValue_owningProperty-owningProperty" name="owningProperty" type="Property" lower="0" owningAssociation="A_defaultValue_owningProperty" subsettedProperty="Element-owner" association="A_defaultValue_owningProperty"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_ownedRule_context" name="A_ownedRule_context" visibility="private" memberEnd="Namespace-ownedRule Constraint-context"/>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_member_namespace" name="A_member_namespace" visibility="private" memberEnd="Namespace-member A_member_namespace-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_member_namespace-_ownedEnd.0" type="Namespace" upper="*" lower="0" owningAssociation="A_member_namespace" association="A_member_namespace"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_relatedElement_relationship" name="A_relatedElement_relationship" visibility="private" memberEnd="Relationship-relatedElement A_relatedElement_relationship-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_relatedElement_relationship-_ownedEnd.0" type="Relationship" upper="*" lower="0" owningAssociation="A_relatedElement_relationship" association="A_relatedElement_relationship"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_endType_association" name="A_endType_association" visibility="private" memberEnd="Association-endType A_endType_association-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_endType_association-_ownedEnd.0" type="Association" upper="*" lower="0" owningAssociation="A_endType_association" association="A_endType_association"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_upperValue_owningUpper" name="A_upperValue_owningUpper" visibility="private" memberEnd="MultiplicityElement-upperValue A_upperValue_owningUpper-owningUpper">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_upperValue_owningUpper-owningUpper" name="owningUpper" type="MultiplicityElement" lower="0" owningAssociation="A_upperValue_owningUpper" subsettedProperty="Element-owner" association="A_upperValue_owningUpper"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_lowerValue_owningLower" name="A_lowerValue_owningLower" visibility="private" memberEnd="MultiplicityElement-lowerValue A_lowerValue_owningLower-owningLower">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_lowerValue_owningLower-owningLower" name="owningLower" type="MultiplicityElement" lower="0" owningAssociation="A_lowerValue_owningLower" subsettedProperty="Element-owner" association="A_lowerValue_owningLower"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_receivingPackage_packageMerge" name="A_receivingPackage_packageMerge" visibility="private" memberEnd="PackageMerge-receivingPackage Package-packageMerge"/>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_mergedPackage_packageMerge" name="A_mergedPackage_packageMerge" visibility="private" memberEnd="PackageMerge-mergedPackage A_mergedPackage_packageMerge-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_mergedPackage_packageMerge-_ownedEnd.0" type="PackageMerge" upper="*" lower="0" owningAssociation="A_mergedPackage_packageMerge" association="A_mergedPackage_packageMerge"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_instance_instanceValue" name="A_instance_instanceValue" visibility="private" memberEnd="InstanceValue-instance A_instance_instanceValue-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_instance_instanceValue-_ownedEnd.0" type="InstanceValue" upper="*" lower="0" owningAssociation="A_instance_instanceValue" association="A_instance_instanceValue"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_value_owningSlot" name="A_value_owningSlot" visibility="private" memberEnd="Slot-value A_value_owningSlot-owningSlot">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_value_owningSlot-owningSlot" name="owningSlot" type="Slot" lower="0" owningAssociation="A_value_owningSlot" subsettedProperty="Element-owner" association="A_value_owningSlot"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_specification_owningInstanceSpec" name="A_specification_owningInstanceSpec" visibility="private" memberEnd="InstanceSpecification-specification A_specification_owningInstanceSpec-owningInstanceSpec">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_specification_owningInstanceSpec-owningInstanceSpec" name="owningInstanceSpec" type="InstanceSpecification" lower="0" owningAssociation="A_specification_owningInstanceSpec" subsettedProperty="Element-owner" association="A_specification_owningInstanceSpec"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_packagedElement_owningPackage" name="A_packagedElement_owningPackage" visibility="private" memberEnd="Package-packagedElement A_packagedElement_owningPackage-owningPackage">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_packagedElement_owningPackage-owningPackage" name="owningPackage" type="Package" lower="0" owningAssociation="A_packagedElement_owningPackage" subsettedProperty="NamedElement-namespace" association="A_packagedElement_owningPackage"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_importedMember_namespace" name="A_importedMember_namespace" visibility="private" memberEnd="Namespace-importedMember A_importedMember_namespace-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_importedMember_namespace-_ownedEnd.0" type="Namespace" upper="*" lower="0" owningAssociation="A_importedMember_namespace" association="A_importedMember_namespace"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_opposite_property" name="A_opposite_property" visibility="private" memberEnd="Property-opposite A_opposite_property-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_opposite_property-_ownedEnd.0" type="Property" lower="0" owningAssociation="A_opposite_property" association="A_opposite_property"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_subsettedProperty_property" name="A_subsettedProperty_property" visibility="private" memberEnd="Property-subsettedProperty A_subsettedProperty_property-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_subsettedProperty_property-_ownedEnd.0" type="Property" upper="*" lower="0" owningAssociation="A_subsettedProperty_property" association="A_subsettedProperty_property"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_memberEnd_association" name="A_memberEnd_association" visibility="private" memberEnd="Association-memberEnd Property-association"/>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_ownedType_package" name="A_ownedType_package" visibility="private" memberEnd="Package-ownedType Type-package"/>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_nestedPackage_nestingPackage" name="A_nestedPackage_nestingPackage" visibility="private" memberEnd="Package-nestedPackage Package-nestingPackage"/>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_redefinedElement_redefinableElement" name="A_redefinedElement_redefinableElement" visibility="private" memberEnd="RedefinableElement-redefinedElement A_redefinedElement_redefinableElement-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_redefinedElement_redefinableElement-_ownedEnd.0" type="RedefinableElement" upper="*" lower="0" owningAssociation="A_redefinedElement_redefinableElement" association="A_redefinedElement_redefinableElement"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_redefinitionContext_redefinableElement" name="A_redefinitionContext_redefinableElement" visibility="private" memberEnd="RedefinableElement-redefinitionContext A_redefinitionContext_redefinableElement-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_redefinitionContext_redefinableElement-_ownedEnd.0" type="RedefinableElement" upper="*" lower="0" owningAssociation="A_redefinitionContext_redefinableElement" association="A_redefinitionContext_redefinableElement"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_general_classifier" name="A_general_classifier" visibility="private" memberEnd="Classifier-general A_general_classifier-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_general_classifier-_ownedEnd.0" type="Classifier" upper="*" lower="0" owningAssociation="A_general_classifier" association="A_general_classifier"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_superClass_class" name="A_superClass_class" visibility="private" memberEnd="Class-superClass A_superClass_class-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_superClass_class-_ownedEnd.0" type="Class" upper="*" lower="0" owningAssociation="A_superClass_class" association="A_superClass_class"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_bodyCondition_bodyContext" name="A_bodyCondition_bodyContext" visibility="private" memberEnd="Operation-bodyCondition A_bodyCondition_bodyContext-bodyContext">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_bodyCondition_bodyContext-bodyContext" name="bodyContext" type="Operation" lower="0" owningAssociation="A_bodyCondition_bodyContext" subsettedProperty="Constraint-context" association="A_bodyCondition_bodyContext"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_type_operation" name="A_type_operation" visibility="private" memberEnd="Operation-type A_type_operation-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_type_operation-_ownedEnd.0" type="Operation" upper="*" lower="0" owningAssociation="A_type_operation" association="A_type_operation"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_ownedParameter_operation" name="A_ownedParameter_operation" visibility="private" memberEnd="Operation-ownedParameter Parameter-operation"/>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_operand_expression" name="A_operand_expression" visibility="private" memberEnd="Expression-operand A_operand_expression-expression">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_operand_expression-expression" name="expression" type="Expression" lower="0" owningAssociation="A_operand_expression" subsettedProperty="Element-owner" association="A_operand_expression"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_raisedException_operation" name="A_raisedException_operation" visibility="private" memberEnd="Operation-raisedException A_raisedException_operation-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_raisedException_operation-_ownedEnd.0" type="Operation" upper="*" lower="0" owningAssociation="A_raisedException_operation" association="A_raisedException_operation"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_navigableOwnedEnd_association" name="A_navigableOwnedEnd_association" visibility="private" memberEnd="Association-navigableOwnedEnd A_navigableOwnedEnd_association-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_navigableOwnedEnd_association-_ownedEnd.0" type="Association" lower="0" owningAssociation="A_navigableOwnedEnd_association" association="A_navigableOwnedEnd_association"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="Usage" name="Usage" superClass="Dependency">
      <ownedComment xmi:type="cmof:Comment" xmi:id="Usage-_ownedComment.0" annotatedElement="Usage">
        <body>A usage is a relationship in which one element requires another element (or set of elements) for its full implementation or operation. A usage is a dependency in which the client requires the presence of the supplier.</body>
      </ownedComment>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="Abstraction" name="Abstraction" superClass="Dependency">
      <ownedComment xmi:type="cmof:Comment" xmi:id="Abstraction-_ownedComment.0" annotatedElement="Abstraction">
        <body>An abstraction is a relationship that relates two elements or sets of elements that represent the same concept at different levels of abstraction or from different viewpoints.</body>
      </ownedComment>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Abstraction-mapping" name="mapping" type="OpaqueExpression" lower="0" isComposite="true" subsettedProperty="Element-ownedElement" association="A_mapping_abstraction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Abstraction-mapping-_ownedComment.0" annotatedElement="Abstraction-mapping">
          <body>An composition of an Expression that states the abstraction relationship between the supplier and the client. In some cases, such as Derivation, it is usually formal and unidirectional; in other cases, such as Trace, it is usually informal and bidirectional. The mapping expression is optional and may be omitted if the precise relationship between the elements is not specified.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="Dependency" name="Dependency" superClass="DirectedRelationship PackageableElement">
      <ownedComment xmi:type="cmof:Comment" xmi:id="Dependency-_ownedComment.0" annotatedElement="Dependency">
        <body>A dependency is a relationship that signifies that a single or a set of model elements requires other model elements for their specification or implementation. This means that the complete semantics of the depending elements is either semantically or structurally dependent on the definition of the supplier element(s).</body>
      </ownedComment>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Dependency-supplier" name="supplier" type="NamedElement" upper="*" subsettedProperty="DirectedRelationship-target" association="A_supplierDependency_supplier">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Dependency-supplier-_ownedComment.0" annotatedElement="Dependency-supplier">
          <body>The element(s) independent of the client element(s), in the same respect and the same dependency relationship. In some directed dependency relationships (such as Refinement Abstractions), a common convention in the domain of class-based OO software is to put the more abstract element in this role. Despite this convention, users of UML may stipulate a sense of dependency suitable for their domain, which makes a more abstract element dependent on that which is more specific.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Dependency-client" name="client" type="NamedElement" upper="*" subsettedProperty="DirectedRelationship-source" association="A_clientDependency_client">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Dependency-client-_ownedComment.0" annotatedElement="Dependency-client">
          <body>The element(s) dependent on the supplier element(s). In some cases (such as a Trace Abstraction) the assignment of direction (that is, the designation of the client element) is at the discretion of the modeler, and is a stipulation.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="Realization" name="Realization" superClass="Abstraction">
      <ownedComment xmi:type="cmof:Comment" xmi:id="Realization-_ownedComment.0" annotatedElement="Realization">
        <body>Realization is a specialized abstraction relationship between two sets of model elements, one representing a specification (the supplier) and the other represents an implementation of the latter (the client). Realization can be used to model stepwise refinement, optimizations, transformations, templates, model synthesis, framework composition, etc.</body>
      </ownedComment>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="Substitution" name="Substitution" superClass="Realization">
      <ownedComment xmi:type="cmof:Comment" xmi:id="Substitution-_ownedComment.0" annotatedElement="Substitution">
        <body>A substitution is a relationship between two classifiers signifies that the substituting classifier complies with the contract specified by the contract classifier. This implies that instances of the substituting classifier are runtime substitutable where instances of the contract classifier are expected.</body>
      </ownedComment>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Substitution-contract" name="contract" type="Classifier" subsettedProperty="Dependency-supplier" association="A_contract_substitution">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Substitution-contract-_ownedComment.0" annotatedElement="Substitution-contract">
          <body>The contract with which the substituting classifier complies.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Substitution-substitutingClassifier" name="substitutingClassifier" type="Classifier" subsettedProperty="Dependency-client" association="A_substitution_substitutingClassifier">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Substitution-substitutingClassifier-_ownedComment.0" annotatedElement="Substitution-substitutingClassifier">
          <body>Instances of the substituting classifier are runtime substitutable where instances of the contract classifier are expected.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="PackageableElement" name="PackageableElement" isAbstract="true" superClass="NamedElement">
      <ownedComment xmi:type="cmof:Comment" xmi:id="PackageableElement-_ownedComment.0" annotatedElement="PackageableElement">
        <body>A packageable element indicates a named element that may be owned directly by a package.</body>
      </ownedComment>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="PackageableElement-visibility" name="visibility" type="VisibilityKind" default="public" redefinedProperty="NamedElement-visibility">
        <ownedComment xmi:type="cmof:Comment" xmi:id="PackageableElement-visibility-_ownedComment.0" annotatedElement="PackageableElement-visibility">
          <body>Indicates that packageable elements must always have a visibility, i.e., visibility is not optional.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="Namespace" name="Namespace" isAbstract="true" superClass="NamedElement">
      <ownedComment xmi:type="cmof:Comment" xmi:id="Namespace-_ownedComment.0" annotatedElement="Namespace">
        <body>A namespace is an element in a model that contains a set of named elements that can be identified by name.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Namespace-members_distinguishable" name="members_distinguishable" constrainedElement="Namespace" namespace="Namespace">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Namespace-members_distinguishable-_ownedComment.0" annotatedElement="Namespace-members_distinguishable">
          <body>All the members of a Namespace are distinguishable within it.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Namespace-members_distinguishable-_specification">
          <language>OCL</language>
          <body>membersAreDistinguishable()</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Namespace-elementImport" name="elementImport" type="ElementImport" upper="*" lower="0" isComposite="true" subsettedProperty="Element-ownedElement" association="A_elementImport_importingNamespace">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Namespace-elementImport-_ownedComment.0" annotatedElement="Namespace-elementImport">
          <body>References the ElementImports owned by the Namespace.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Namespace-packageImport" name="packageImport" type="PackageImport" upper="*" lower="0" isComposite="true" subsettedProperty="Element-ownedElement" association="A_packageImport_importingNamespace">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Namespace-packageImport-_ownedComment.0" annotatedElement="Namespace-packageImport">
          <body>References the PackageImports owned by the Namespace.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Namespace-ownedRule" name="ownedRule" type="Constraint" upper="*" lower="0" isComposite="true" subsettedProperty="Namespace-ownedMember" association="A_ownedRule_context">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Namespace-ownedRule-_ownedComment.0" annotatedElement="Namespace-ownedRule">
          <body>Specifies a set of Constraints owned by this Namespace.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Namespace-member" name="member" type="NamedElement" upper="*" lower="0" isReadOnly="true" isDerived="true" isDerivedUnion="true" association="A_member_namespace">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Namespace-member-_ownedComment.0" annotatedElement="Namespace-member">
          <body>A collection of NamedElements identifiable within the Namespace, either by being owned or by being introduced by importing or inheritance.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Namespace-importedMember" name="importedMember" type="PackageableElement" upper="*" lower="0" isReadOnly="true" isDerived="true" subsettedProperty="Namespace-member" association="A_importedMember_namespace">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Namespace-importedMember-_ownedComment.0" annotatedElement="Namespace-importedMember">
          <body>References the PackageableElements that are members of this Namespace as a result of either PackageImports or ElementImports.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Namespace-ownedMember" name="ownedMember" type="NamedElement" upper="*" lower="0" isReadOnly="true" isDerived="true" isDerivedUnion="true" isComposite="true" subsettedProperty="Namespace-member Element-ownedElement" association="A_ownedMember_namespace">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Namespace-ownedMember-_ownedComment.0" annotatedElement="Namespace-ownedMember">
          <body>A collection of NamedElements owned by the Namespace.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="Namespace-importedMember.1" name="importedMember" class="Namespace" isQuery="true" bodyCondition="Namespace-importedMember.1-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Namespace-importedMember.1-_ownedComment.0" annotatedElement="Namespace-importedMember.1">
          <body>The importedMember property is derived from the ElementImports and the PackageImports. References the PackageableElements that are members of this Namespace as a result of either PackageImports or ElementImports.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="Namespace-importedMember.1-spec" name="spec" constrainedElement="Namespace-importedMember.1 Namespace-importedMember" namespace="Namespace-importedMember.1">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="Namespace-importedMember.1-spec-_specification">
            <language>OCL</language>
            <body>result = self.importMembers(self.elementImport.importedElement.asSet()-&#xA;>union(self.packageImport.importedPackage->collect(p | p.visibleMembers())))</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="Namespace-importedMember.1-_ownedParameter.0" type="PackageableElement" upper="*" lower="0" direction="return"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="Namespace-getNamesOfMember" name="getNamesOfMember" class="Namespace" isQuery="true" bodyCondition="Namespace-getNamesOfMember-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Namespace-getNamesOfMember-_ownedComment.0" annotatedElement="Namespace-getNamesOfMember">
          <body>The query getNamesOfMember() takes importing into account. It gives back the set of names that an element would have in an importing namespace, either because it is owned, or if not owned then imported individually, or if not individually then from a package.</body>
        </ownedComment>
        <ownedComment xmi:type="cmof:Comment" xmi:id="Namespace-getNamesOfMember-_ownedComment.1" annotatedElement="Namespace-getNamesOfMember">
          <body>The query getNamesOfMember() gives a set of all of the names that a member would have in a Namespace. In general a member can have multiple names in a Namespace if it is imported more than once with different aliases. The query takes account of importing. It gives back the set of names that an element would have in an importing namespace, either because it is owned, or if not owned then imported individually, or if not individually then from a package.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="Namespace-getNamesOfMember-spec" name="spec" constrainedElement="Namespace-getNamesOfMember" namespace="Namespace-getNamesOfMember">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="Namespace-getNamesOfMember-spec-_specification">
            <language>OCL</language>
            <body>result = if self.ownedMember ->includes(element)&#xA;then Set{}->include(element.name)&#xA;else let elementImports: ElementImport = self.elementImport->select(ei | ei.importedElement = element) in&#xA;  if elementImports->notEmpty()&#xA;  then elementImports->collect(el | el.getName())&#xA;  else self.packageImport->select(pi | pi.importedPackage.visibleMembers()->includes(element))-> collect(pi | pi.importedPackage.getNamesOfMember(element))&#xA;  endif&#xA;endif</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="Namespace-getNamesOfMember-_ownedParameter.0" type="String" upper="*" lower="0" direction="return"/>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="Namespace-getNamesOfMember-element" name="element" type="NamedElement"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="Namespace-membersAreDistinguishable" name="membersAreDistinguishable" class="Namespace" isQuery="true" bodyCondition="Namespace-membersAreDistinguishable-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Namespace-membersAreDistinguishable-_ownedComment.0" annotatedElement="Namespace-membersAreDistinguishable">
          <body>The Boolean query membersAreDistinguishable() determines whether all of the namespace's members are distinguishable within it.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="Namespace-membersAreDistinguishable-spec" name="spec" constrainedElement="Namespace-membersAreDistinguishable" namespace="Namespace-membersAreDistinguishable">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="Namespace-membersAreDistinguishable-spec-_specification">
            <language>OCL</language>
            <body>result = self.member->forAll( memb |&#xA;self.member->excluding(memb)->forAll(other |&#xA;memb.isDistinguishableFrom(other, self)))</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="Namespace-membersAreDistinguishable-_ownedParameter.0" type="Boolean" direction="return"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="Namespace-importMembers" name="importMembers" class="Namespace" isQuery="true" bodyCondition="Namespace-importMembers-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Namespace-importMembers-_ownedComment.0" annotatedElement="Namespace-importMembers">
          <body>The query importMembers() defines which of a set of PackageableElements are actually imported into the namespace. This excludes hidden ones, i.e., those which have names that conflict with names of owned members, and also excludes elements which would have the same name when imported.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="Namespace-importMembers-spec" name="spec" constrainedElement="Namespace-importMembers" namespace="Namespace-importMembers">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="Namespace-importMembers-spec-_specification">
            <language>OCL</language>
            <body>result = self.excludeCollisions(imps)->select(imp | self.ownedMember->forAll(mem |&#xA;mem.imp.isDistinguishableFrom(mem, self)))</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="Namespace-importMembers-_ownedParameter.0" type="PackageableElement" upper="*" lower="0" direction="return"/>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="Namespace-importMembers-imps" name="imps" type="PackageableElement" upper="*" lower="0"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="Namespace-excludeCollisions" name="excludeCollisions" class="Namespace" isQuery="true" bodyCondition="Namespace-excludeCollisions-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Namespace-excludeCollisions-_ownedComment.0" annotatedElement="Namespace-excludeCollisions">
          <body>The query excludeCollisions() excludes from a set of PackageableElements any that would not be distinguishable from each other in this namespace.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="Namespace-excludeCollisions-spec" name="spec" constrainedElement="Namespace-excludeCollisions" namespace="Namespace-excludeCollisions">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="Namespace-excludeCollisions-spec-_specification">
            <language>OCL</language>
            <body>result = imps->reject(imp1 | imps.exists(imp2 | not imp1.isDistinguishableFrom(imp2, self)))</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="Namespace-excludeCollisions-_ownedParameter.0" type="PackageableElement" upper="*" lower="0" direction="return"/>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="Namespace-excludeCollisions-imps" name="imps" type="PackageableElement" upper="*" lower="0"/>
      </ownedOperation>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_mapping_abstraction" name="A_mapping_abstraction" visibility="private" memberEnd="Abstraction-mapping A_mapping_abstraction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_mapping_abstraction-_ownedEnd.0" type="Abstraction" lower="0" owningAssociation="A_mapping_abstraction" association="A_mapping_abstraction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_contract_substitution" name="A_contract_substitution" visibility="private" memberEnd="Substitution-contract A_contract_substitution-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_contract_substitution-_ownedEnd.0" type="Substitution" upper="*" lower="0" owningAssociation="A_contract_substitution" association="A_contract_substitution"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_substitution_substitutingClassifier" name="A_substitution_substitutingClassifier" visibility="private" memberEnd="Classifier-substitution Substitution-substitutingClassifier"/>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_supplierDependency_supplier" name="A_supplierDependency_supplier" visibility="private" memberEnd="A_supplierDependency_supplier-supplierDependency Dependency-supplier">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_supplierDependency_supplier-supplierDependency" name="supplierDependency" type="Dependency" upper="*" lower="0" owningAssociation="A_supplierDependency_supplier" association="A_supplierDependency_supplier">
        <ownedComment xmi:type="cmof:Comment" xmi:id="A_supplierDependency_supplier-supplierDependency-_ownedComment.0" annotatedElement="A_supplierDependency_supplier-supplierDependency">
          <body>Indicates the dependencies that reference the supplier.</body>
        </ownedComment>
      </ownedEnd>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_clientDependency_client" name="A_clientDependency_client" visibility="private" memberEnd="NamedElement-clientDependency Dependency-client"/>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_ownedMember_namespace" name="A_ownedMember_namespace" visibility="private" memberEnd="Namespace-ownedMember NamedElement-namespace"/>
    <ownedMember xmi:type="cmof:Class" xmi:id="OpaqueExpression" name="OpaqueExpression" superClass="ValueSpecification">
      <ownedComment xmi:type="cmof:Comment" xmi:id="OpaqueExpression-_ownedComment.0" annotatedElement="OpaqueExpression">
        <body>An opaque expression is an uninterpreted textual statement that denotes a (possibly empty) set of values when evaluated in a context.</body>
      </ownedComment>
      <ownedComment xmi:type="cmof:Comment" xmi:id="OpaqueExpression-_ownedComment.1" annotatedElement="OpaqueExpression">
        <body>Provides a mechanism for precisely defining the behavior of an opaque expression. An opaque expression is defined by a behavior restricted to return one result.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="OpaqueExpression-language_body_size" name="language_body_size" constrainedElement="OpaqueExpression" namespace="OpaqueExpression">
        <ownedComment xmi:type="cmof:Comment" xmi:id="OpaqueExpression-language_body_size-_ownedComment.0" annotatedElement="OpaqueExpression-language_body_size">
          <body>If the language attribute is not empty, then the size of the body and language arrays must be the same.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="OpaqueExpression-language_body_size-_specification">
          <language>OCL</language>
          <body>language->notEmpty() implies (body->size() = language->size())</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="OpaqueExpression-only_return_result_parameters" name="only_return_result_parameters" constrainedElement="OpaqueExpression" namespace="OpaqueExpression">
        <ownedComment xmi:type="cmof:Comment" xmi:id="OpaqueExpression-only_return_result_parameters-_ownedComment.0" annotatedElement="OpaqueExpression-only_return_result_parameters">
          <body>The behavior may only have return result parameters.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="OpaqueExpression-only_return_result_parameters-_specification">
          <language>OCL</language>
          <body>self.behavior.notEmpty() implies&#xD;&#xA;  self.behavior.ownedParameters->select(p | p.direction&lt;>#return)->isEmpty()</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="OpaqueExpression-one_return_result_parameter" name="one_return_result_parameter" constrainedElement="OpaqueExpression" namespace="OpaqueExpression">
        <ownedComment xmi:type="cmof:Comment" xmi:id="OpaqueExpression-one_return_result_parameter-_ownedComment.0" annotatedElement="OpaqueExpression-one_return_result_parameter">
          <body>The behavior must have exactly one return result parameter.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="OpaqueExpression-one_return_result_parameter-_specification">
          <language>OCL</language>
          <body>self.behavior.notEmpty() implies&#xD;&#xA;  self.behavior.ownedParameter->select(p | p.direction=#return)->size() = 1</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="OpaqueExpression-body" name="body" type="String" isOrdered="true" upper="*" lower="0" isComposite="true">
        <ownedComment xmi:type="cmof:Comment" xmi:id="OpaqueExpression-body-_ownedComment.0" annotatedElement="OpaqueExpression-body">
          <body>The text of the expression, possibly in multiple languages.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="OpaqueExpression-language" name="language" type="String" isOrdered="true" upper="*" lower="0" isComposite="true">
        <ownedComment xmi:type="cmof:Comment" xmi:id="OpaqueExpression-language-_ownedComment.0" annotatedElement="OpaqueExpression-language">
          <body>Specifies the languages in which the expression is stated. The interpretation of the expression body depends on the languages. If the languages are unspecified, they might be implicit from the expression body or the context. Languages are matched to body strings by order.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="OpaqueExpression-result" name="result" type="Parameter" lower="0" isReadOnly="true" isDerived="true" association="A_result_opaqueExpression">
        <ownedComment xmi:type="cmof:Comment" xmi:id="OpaqueExpression-result-_ownedComment.0" annotatedElement="OpaqueExpression-result">
          <body>Restricts an opaque expression to return exactly one return result. When the invocation of the opaque expression completes, a single set of values is returned to its owner. This association is derived from the single return result parameter of the associated behavior.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="OpaqueExpression-behavior" name="behavior" type="Behavior" lower="0" association="A_behavior_opaqueExpression">
        <ownedComment xmi:type="cmof:Comment" xmi:id="OpaqueExpression-behavior-_ownedComment.0" annotatedElement="OpaqueExpression-behavior">
          <body>Specifies the behavior of the opaque expression.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="OpaqueExpression-value" name="value" class="OpaqueExpression" isQuery="true" precondition="OpaqueExpression-value-_ownedRule.0" bodyCondition="OpaqueExpression-value-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="OpaqueExpression-value-_ownedComment.0" annotatedElement="OpaqueExpression-value">
          <body>The query value() gives an integer value for an expression intended to produce one.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="OpaqueExpression-value-_ownedRule.0" constrainedElement="OpaqueExpression-value" namespace="OpaqueExpression-value">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="OpaqueExpression-value-_ownedRule.0-_specification">
            <language>OCL</language>
            <body>self.isIntegral()</body>
          </specification>
        </ownedRule>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="OpaqueExpression-value-spec" name="spec" constrainedElement="OpaqueExpression-value" namespace="OpaqueExpression-value">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="OpaqueExpression-value-spec-_specification">
            <language>OCL</language>
            <body>true</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="OpaqueExpression-value-_ownedParameter.0" type="Integer" direction="return"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="OpaqueExpression-isIntegral" name="isIntegral" class="OpaqueExpression" isQuery="true" bodyCondition="OpaqueExpression-isIntegral-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="OpaqueExpression-isIntegral-_ownedComment.0" annotatedElement="OpaqueExpression-isIntegral">
          <body>The query isIntegral() tells whether an expression is intended to produce an integer.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="OpaqueExpression-isIntegral-spec" name="spec" constrainedElement="OpaqueExpression-isIntegral" namespace="OpaqueExpression-isIntegral">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="OpaqueExpression-isIntegral-spec-_specification">
            <language>OCL</language>
            <body>result = false</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="OpaqueExpression-isIntegral-_ownedParameter.0" type="Boolean" direction="return"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="OpaqueExpression-isPositive" name="isPositive" class="OpaqueExpression" isQuery="true" precondition="OpaqueExpression-isPositive-_ownedRule.0" bodyCondition="OpaqueExpression-isPositive-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="OpaqueExpression-isPositive-_ownedComment.0" annotatedElement="OpaqueExpression-isPositive">
          <body>The query isPositive() tells whether an integer expression has a positive value.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="OpaqueExpression-isPositive-_ownedRule.0" constrainedElement="OpaqueExpression-isPositive" namespace="OpaqueExpression-isPositive">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="OpaqueExpression-isPositive-_ownedRule.0-_specification">
            <language>OCL</language>
            <body>self.isIntegral()</body>
          </specification>
        </ownedRule>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="OpaqueExpression-isPositive-spec" name="spec" constrainedElement="OpaqueExpression-isPositive" namespace="OpaqueExpression-isPositive">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="OpaqueExpression-isPositive-spec-_specification">
            <language>OCL</language>
            <body>result = false</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="OpaqueExpression-isPositive-_ownedParameter.0" type="Boolean" direction="return"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="OpaqueExpression-isNonNegative" name="isNonNegative" class="OpaqueExpression" isQuery="true" precondition="OpaqueExpression-isNonNegative-_ownedRule.0" bodyCondition="OpaqueExpression-isNonNegative-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="OpaqueExpression-isNonNegative-_ownedComment.0" annotatedElement="OpaqueExpression-isNonNegative">
          <body>The query isNonNegative() tells whether an integer expression has a non-negative value.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="OpaqueExpression-isNonNegative-_ownedRule.0" constrainedElement="OpaqueExpression-isNonNegative" namespace="OpaqueExpression-isNonNegative">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="OpaqueExpression-isNonNegative-_ownedRule.0-_specification">
            <language>OCL</language>
            <body>self.isIntegral()</body>
          </specification>
        </ownedRule>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="OpaqueExpression-isNonNegative-spec" name="spec" constrainedElement="OpaqueExpression-isNonNegative" namespace="OpaqueExpression-isNonNegative">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="OpaqueExpression-isNonNegative-spec-_specification">
            <language>OCL</language>
            <body>result = false</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="OpaqueExpression-isNonNegative-_ownedParameter.0" type="Boolean" direction="return"/>
      </ownedOperation>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="OpaqueBehavior" name="OpaqueBehavior" superClass="Behavior">
      <ownedComment xmi:type="cmof:Comment" xmi:id="OpaqueBehavior-_ownedComment.0" annotatedElement="OpaqueBehavior">
        <body>An behavior with implementation-specific semantics.</body>
      </ownedComment>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="OpaqueBehavior-body" name="body" type="String" isOrdered="true" upper="*" lower="0" isComposite="true">
        <ownedComment xmi:type="cmof:Comment" xmi:id="OpaqueBehavior-body-_ownedComment.0" annotatedElement="OpaqueBehavior-body">
          <body>Specifies the behavior in one or more languages.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="OpaqueBehavior-language" name="language" type="String" isOrdered="true" upper="*" lower="0" isComposite="true">
        <ownedComment xmi:type="cmof:Comment" xmi:id="OpaqueBehavior-language-_ownedComment.0" annotatedElement="OpaqueBehavior-language">
          <body>Languages the body strings use in the same order as the body strings.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="FunctionBehavior" name="FunctionBehavior" superClass="OpaqueBehavior">
      <ownedComment xmi:type="cmof:Comment" xmi:id="FunctionBehavior-_ownedComment.0" annotatedElement="FunctionBehavior">
        <body>A function behavior is an opaque behavior that does not access or modify any objects or other external data.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="FunctionBehavior-one_output_parameter" name="one_output_parameter" constrainedElement="FunctionBehavior" namespace="FunctionBehavior">
        <ownedComment xmi:type="cmof:Comment" xmi:id="FunctionBehavior-one_output_parameter-_ownedComment.0" annotatedElement="FunctionBehavior-one_output_parameter">
          <body>A function behavior has at least one output parameter.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="FunctionBehavior-one_output_parameter-_specification">
          <language>OCL</language>
          <body>self.ownedParameters->&#xD;&#xA;  select(p | p.direction=#out or p.direction=#inout or p.direction=#return)->size() >= 1</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="FunctionBehavior-types_of_parameters" name="types_of_parameters" constrainedElement="FunctionBehavior" namespace="FunctionBehavior">
        <ownedComment xmi:type="cmof:Comment" xmi:id="FunctionBehavior-types_of_parameters-_ownedComment.0" annotatedElement="FunctionBehavior-types_of_parameters">
          <body>The types of parameters are all data types, which may not nest anything but other datatypes.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="FunctionBehavior-types_of_parameters-_specification">
          <language>OCL</language>
          <body>def: hasAllDataTypeAttributes(d : DataType) : Boolean =&#xD;&#xA;  d.ownedAttribute->forAll(a |&#xD;&#xA;    a.type.oclIsTypeOf(DataType) and&#xD;&#xA;      hasAllDataTypeAttributes(a.type))&#xD;&#xA;self.ownedParameters->forAll(p | p.type.notEmpty() and&#xD;&#xA;  p.oclIsTypeOf(DataType) and hasAllDataTypeAttributes(p))</body>
        </specification>
      </ownedRule>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_behavioredClassifier_ownedBehavior" name="A_behavioredClassifier_ownedBehavior" visibility="private" memberEnd="A_behavioredClassifier_ownedBehavior-_ownedEnd.0 BehavioredClassifier-ownedBehavior">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_behavioredClassifier_ownedBehavior-_ownedEnd.0" type="BehavioredClassifier" lower="0" owningAssociation="A_behavioredClassifier_ownedBehavior" association="A_behavioredClassifier_ownedBehavior"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_classifierBehavior_behavioredClassifier" name="A_classifierBehavior_behavioredClassifier" visibility="private" memberEnd="BehavioredClassifier-classifierBehavior A_classifierBehavior_behavioredClassifier-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_classifierBehavior_behavioredClassifier-_ownedEnd.0" type="BehavioredClassifier" lower="0" owningAssociation="A_classifierBehavior_behavioredClassifier" association="A_classifierBehavior_behavioredClassifier"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_redefinedBehavior_behavior" name="A_redefinedBehavior_behavior" visibility="private" memberEnd="Behavior-redefinedBehavior A_redefinedBehavior_behavior-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_redefinedBehavior_behavior-_ownedEnd.0" type="Behavior" upper="*" lower="0" owningAssociation="A_redefinedBehavior_behavior" association="A_redefinedBehavior_behavior"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_method_specification" name="A_method_specification" visibility="private" memberEnd="BehavioralFeature-method Behavior-specification"/>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_behavior_ownedParameter" name="A_behavior_ownedParameter" visibility="private" memberEnd="A_behavior_ownedParameter-_ownedEnd.0 Behavior-ownedParameter">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_behavior_ownedParameter-_ownedEnd.0" type="Behavior" lower="0" owningAssociation="A_behavior_ownedParameter" association="A_behavior_ownedParameter"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_result_opaqueExpression" name="A_result_opaqueExpression" visibility="private" memberEnd="OpaqueExpression-result A_result_opaqueExpression-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_result_opaqueExpression-_ownedEnd.0" type="OpaqueExpression" upper="*" lower="0" owningAssociation="A_result_opaqueExpression" association="A_result_opaqueExpression"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_behavior_opaqueExpression" name="A_behavior_opaqueExpression" visibility="private" memberEnd="OpaqueExpression-behavior A_behavior_opaqueExpression-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_behavior_opaqueExpression-_ownedEnd.0" type="OpaqueExpression" upper="*" lower="0" owningAssociation="A_behavior_opaqueExpression" association="A_behavior_opaqueExpression"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_context_behavior" name="A_context_behavior" visibility="private" memberEnd="Behavior-context A_context_behavior-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_context_behavior-_ownedEnd.0" type="Behavior" upper="*" lower="0" owningAssociation="A_context_behavior" association="A_context_behavior"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_precondition_behavior" name="A_precondition_behavior" visibility="private" memberEnd="Behavior-precondition A_precondition_behavior-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_precondition_behavior-_ownedEnd.0" type="Behavior" lower="0" owningAssociation="A_precondition_behavior" subsettedProperty="Constraint-context" association="A_precondition_behavior"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_postcondition_behavior" name="A_postcondition_behavior" visibility="private" memberEnd="Behavior-postcondition A_postcondition_behavior-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_postcondition_behavior-_ownedEnd.0" type="Behavior" lower="0" owningAssociation="A_postcondition_behavior" subsettedProperty="Constraint-context" association="A_postcondition_behavior"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="InterfaceRealization" name="InterfaceRealization" superClass="Realization">
      <ownedComment xmi:type="cmof:Comment" xmi:id="InterfaceRealization-_ownedComment.0" annotatedElement="InterfaceRealization">
        <body>An interface realization is a specialized realization relationship between a classifier and an interface. This relationship signifies that the realizing classifier conforms to the contract specified by the interface.</body>
      </ownedComment>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="InterfaceRealization-contract" name="contract" type="Interface" subsettedProperty="Dependency-supplier" association="A_contract_interfaceRealization">
        <ownedComment xmi:type="cmof:Comment" xmi:id="InterfaceRealization-contract-_ownedComment.0" annotatedElement="InterfaceRealization-contract">
          <body>References the Interface specifying the conformance contract.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="InterfaceRealization-implementingClassifier" name="implementingClassifier" type="BehavioredClassifier" subsettedProperty="Dependency-client" association="A_interfaceRealization_implementingClassifier">
        <ownedComment xmi:type="cmof:Comment" xmi:id="InterfaceRealization-implementingClassifier-_ownedComment.0" annotatedElement="InterfaceRealization-implementingClassifier">
          <body>References the BehavioredClassifier that owns this Interfacerealization (i.e., the classifier that realizes the Interface to which it points).</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_interface_ownedAttribute" name="A_interface_ownedAttribute" visibility="private" memberEnd="A_interface_ownedAttribute-_ownedEnd.0 Interface-ownedAttribute">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_interface_ownedAttribute-_ownedEnd.0" type="Interface" lower="0" owningAssociation="A_interface_ownedAttribute" subsettedProperty="A_attribute_classifier-classifier NamedElement-namespace Feature-featuringClassifier" association="A_interface_ownedAttribute"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_interface_ownedOperation" name="A_interface_ownedOperation" visibility="private" memberEnd="Operation-interface Interface-ownedOperation"/>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_contract_interfaceRealization" name="A_contract_interfaceRealization" visibility="private" memberEnd="InterfaceRealization-contract A_contract_interfaceRealization-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_contract_interfaceRealization-_ownedEnd.0" type="InterfaceRealization" upper="*" lower="0" owningAssociation="A_contract_interfaceRealization" association="A_contract_interfaceRealization"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_interfaceRealization_implementingClassifier" name="A_interfaceRealization_implementingClassifier" visibility="private" memberEnd="BehavioredClassifier-interfaceRealization InterfaceRealization-implementingClassifier"/>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_nestedClassifier_interface" name="A_nestedClassifier_interface" visibility="private" memberEnd="Interface-nestedClassifier A_nestedClassifier_interface-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_nestedClassifier_interface-_ownedEnd.0" type="Interface" lower="0" owningAssociation="A_nestedClassifier_interface" subsettedProperty="NamedElement-namespace RedefinableElement-redefinitionContext" association="A_nestedClassifier_interface"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_interface_redefinedInterface" name="A_interface_redefinedInterface" visibility="private" memberEnd="A_interface_redefinedInterface-_ownedEnd.0 Interface-redefinedInterface">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_interface_redefinedInterface-_ownedEnd.0" type="Interface" upper="*" lower="0" owningAssociation="A_interface_redefinedInterface" association="A_interface_redefinedInterface"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="Connector" name="Connector" superClass="Feature">
      <ownedComment xmi:type="cmof:Comment" xmi:id="Connector-_ownedComment.0" annotatedElement="Connector">
        <body>Specifies a link that enables communication between two or more instances. This link may be an instance of an association, or it may represent the possibility of the instances being able to communicate because their identities are known by virtue of being passed in as parameters, held in variables or slots, or because the communicating instances are the same instance. The link may be realized by something as simple as a pointer or by something as complex as a network connection. In contrast to associations, which specify links between any instance of the associated classifiers, connectors specify links between instances playing the connected parts only.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Connector-types" name="types" constrainedElement="Connector" namespace="Connector">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Connector-types-_ownedComment.0" annotatedElement="Connector-types">
          <body>The types of the connectable elements that the ends of a connector are attached to must conform to the types of the association ends of the association that types the connector, if any.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Connector-types-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Connector-compatible" name="compatible" constrainedElement="Connector" namespace="Connector">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Connector-compatible-_ownedComment.0" annotatedElement="Connector-compatible">
          <body>The connectable elements attached to the ends of a connector must be compatible.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Connector-compatible-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Connector-roles" name="roles" constrainedElement="Connector" namespace="Connector">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Connector-roles-_ownedComment.0" annotatedElement="Connector-roles">
          <body>The ConnectableElements attached as roles to each ConnectorEnd owned by a Connector must be roles of the Classifier that owned the Connector, or they must be ports of such roles.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Connector-roles-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Connector-type" name="type" type="Association" lower="0" association="A_type_connector">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Connector-type-_ownedComment.0" annotatedElement="Connector-type">
          <body>An optional association that specifies the link corresponding to this connector.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Connector-redefinedConnector" name="redefinedConnector" type="Connector" upper="*" lower="0" subsettedProperty="RedefinableElement-redefinedElement" association="A_redefinedConnector_connector">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Connector-redefinedConnector-_ownedComment.0" annotatedElement="Connector-redefinedConnector">
          <body>A connector may be redefined when its containing classifier is specialized. The redefining connector may have a type that specializes the type of the redefined connector. The types of the connector ends of the redefining connector may specialize the types of the connector ends of the redefined connector. The properties of the connector ends of the redefining connector may be replaced.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Connector-end" name="end" type="ConnectorEnd" isOrdered="true" upper="*" lower="2" isComposite="true" subsettedProperty="Element-ownedElement" association="A_end_connector">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Connector-end-_ownedComment.0" annotatedElement="Connector-end">
          <body>A connector consists of at least two connector ends, each representing the participation of instances of the classifiers typing the connectable elements attached to this end. The set of connector ends is ordered.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="StructuredClassifier" name="StructuredClassifier" isAbstract="true" superClass="Classifier">
      <ownedComment xmi:type="cmof:Comment" xmi:id="StructuredClassifier-_ownedComment.0" annotatedElement="StructuredClassifier">
        <body>A structured classifier is an abstract metaclass that represents any classifier whose behavior can be fully or partly described by the collaboration of owned or referenced instances.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="StructuredClassifier-multiplicities" name="multiplicities" constrainedElement="StructuredClassifier" namespace="StructuredClassifier">
        <ownedComment xmi:type="cmof:Comment" xmi:id="StructuredClassifier-multiplicities-_ownedComment.0" annotatedElement="StructuredClassifier-multiplicities">
          <body>The multiplicities on connected elements must be consistent.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="StructuredClassifier-multiplicities-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="StructuredClassifier-ownedAttribute" name="ownedAttribute" type="Property" isOrdered="true" upper="*" lower="0" isComposite="true" subsettedProperty="StructuredClassifier-role Namespace-ownedMember Classifier-attribute" association="A_ownedAttribute_structuredClassifier">
        <ownedComment xmi:type="cmof:Comment" xmi:id="StructuredClassifier-ownedAttribute-_ownedComment.0" annotatedElement="StructuredClassifier-ownedAttribute">
          <body>References the properties owned by the classifier.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="StructuredClassifier-part" name="part" type="Property" upper="*" lower="0" isReadOnly="true" isDerived="true" association="A_part_structuredClassifier">
        <ownedComment xmi:type="cmof:Comment" xmi:id="StructuredClassifier-part-_ownedComment.0" annotatedElement="StructuredClassifier-part">
          <body>References the properties specifying instances that the classifier owns by composition. This association is derived, selecting those owned properties where isComposite is true.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="StructuredClassifier-role" name="role" type="ConnectableElement" upper="*" lower="0" isReadOnly="true" isDerived="true" isDerivedUnion="true" subsettedProperty="Namespace-member" association="A_role_structuredClassifier">
        <ownedComment xmi:type="cmof:Comment" xmi:id="StructuredClassifier-role-_ownedComment.0" annotatedElement="StructuredClassifier-role">
          <body>References the roles that instances may play in this classifier.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="StructuredClassifier-ownedConnector" name="ownedConnector" type="Connector" upper="*" lower="0" isComposite="true" subsettedProperty="Classifier-feature Namespace-ownedMember" association="A_ownedConnector_structuredClassifier">
        <ownedComment xmi:type="cmof:Comment" xmi:id="StructuredClassifier-ownedConnector-_ownedComment.0" annotatedElement="StructuredClassifier-ownedConnector">
          <body>References the connectors owned by the classifier.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="ConnectableElement" name="ConnectableElement" isAbstract="true" superClass="TypedElement">
      <ownedComment xmi:type="cmof:Comment" xmi:id="ConnectableElement-_ownedComment.0" annotatedElement="ConnectableElement">
        <body>ConnectableElement is an abstract metaclass representing a set of instances that play roles of a classifier. Connectable elements may be joined by attached connectors and specify configurations of linked instances to be created within an instance of the containing classifier.</body>
      </ownedComment>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ConnectableElement-end" name="end" type="ConnectorEnd" isOrdered="true" upper="*" lower="0" association="A_end_role">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ConnectableElement-end-_ownedComment.0" annotatedElement="ConnectableElement-end">
          <body>Denotes a connector that attaches to this connectable element.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_type_connector" name="A_type_connector" visibility="private" memberEnd="Connector-type A_type_connector-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_type_connector-_ownedEnd.0" type="Connector" upper="*" lower="0" owningAssociation="A_type_connector" association="A_type_connector"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_ownedAttribute_structuredClassifier" name="A_ownedAttribute_structuredClassifier" visibility="private" memberEnd="StructuredClassifier-ownedAttribute A_ownedAttribute_structuredClassifier-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_ownedAttribute_structuredClassifier-_ownedEnd.0" type="StructuredClassifier" lower="0" owningAssociation="A_ownedAttribute_structuredClassifier" association="A_ownedAttribute_structuredClassifier"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_part_structuredClassifier" name="A_part_structuredClassifier" visibility="private" memberEnd="StructuredClassifier-part A_part_structuredClassifier-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_part_structuredClassifier-_ownedEnd.0" type="StructuredClassifier" lower="0" owningAssociation="A_part_structuredClassifier" association="A_part_structuredClassifier"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_role_structuredClassifier" name="A_role_structuredClassifier" visibility="private" memberEnd="StructuredClassifier-role A_role_structuredClassifier-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_role_structuredClassifier-_ownedEnd.0" type="StructuredClassifier" upper="*" lower="0" owningAssociation="A_role_structuredClassifier" association="A_role_structuredClassifier"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_ownedConnector_structuredClassifier" name="A_ownedConnector_structuredClassifier" visibility="private" memberEnd="StructuredClassifier-ownedConnector A_ownedConnector_structuredClassifier-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_ownedConnector_structuredClassifier-_ownedEnd.0" type="StructuredClassifier" lower="0" owningAssociation="A_ownedConnector_structuredClassifier" subsettedProperty="RedefinableElement-redefinitionContext" association="A_ownedConnector_structuredClassifier"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_redefinedConnector_connector" name="A_redefinedConnector_connector" visibility="private" memberEnd="Connector-redefinedConnector A_redefinedConnector_connector-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_redefinedConnector_connector-_ownedEnd.0" type="Connector" upper="*" lower="0" owningAssociation="A_redefinedConnector_connector" association="A_redefinedConnector_connector"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_end_connector" name="A_end_connector" visibility="private" memberEnd="Connector-end A_end_connector-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_end_connector-_ownedEnd.0" type="Connector" owningAssociation="A_end_connector" association="A_end_connector"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_definingEnd_connectorEnd" name="A_definingEnd_connectorEnd" visibility="private" memberEnd="ConnectorEnd-definingEnd A_definingEnd_connectorEnd-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_definingEnd_connectorEnd-_ownedEnd.0" type="ConnectorEnd" upper="*" lower="0" owningAssociation="A_definingEnd_connectorEnd" association="A_definingEnd_connectorEnd"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_end_role" name="A_end_role" visibility="private" memberEnd="ConnectableElement-end ConnectorEnd-role"/>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_attribute_classifier" name="A_attribute_classifier" visibility="private" memberEnd="Classifier-attribute A_attribute_classifier-classifier">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_attribute_classifier-classifier" name="classifier" type="Classifier" lower="0" owningAssociation="A_attribute_classifier" subsettedProperty="RedefinableElement-redefinitionContext" association="A_attribute_classifier"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="Message" name="Message" superClass="NamedElement">
      <ownedComment xmi:type="cmof:Comment" xmi:id="Message-_ownedComment.0" annotatedElement="Message">
        <body>A message defines a particular communication between lifelines of an interaction.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Message-sending_receiving_message_event" name="sending_receiving_message_event" constrainedElement="Message" namespace="Message">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Message-sending_receiving_message_event-_ownedComment.0" annotatedElement="Message-sending_receiving_message_event">
          <body>If the sending MessageEvent and the receiving MessageEvent of the same Message are on the same Lifeline, the sending MessageEvent must be ordered before the receiving MessageEvent.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Message-sending_receiving_message_event-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Message-signature_refer_to" name="signature_refer_to" constrainedElement="Message" namespace="Message">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Message-signature_refer_to-_ownedComment.0" annotatedElement="Message-signature_refer_to">
          <body>The signature must either refer an Operation (in which case messageSort is either synchCall or asynchCall) or a Signal (in which case messageSort is asynchSignal). The name of the NamedElement referenced by signature must be the same as that of the Message.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Message-signature_refer_to-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Message-signature_is_operation" name="signature_is_operation" constrainedElement="Message" namespace="Message">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Message-signature_is_operation-_ownedComment.0" annotatedElement="Message-signature_is_operation">
          <body>In the case when the Message signature is an Operation, the arguments of the Message must correspond to the parameters of the Operation. A Parameter corresponds to an Argument if the Argument is of the same Class or a specialization of that of the Parameter.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Message-signature_is_operation-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Message-signature_is_signal" name="signature_is_signal" constrainedElement="Message" namespace="Message">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Message-signature_is_signal-_ownedComment.0" annotatedElement="Message-signature_is_signal">
          <body>In the case when the Message signature is a Signal, the arguments of the Message must correspond to the attributes of the Signal. A Message Argument corresponds to a Signal Attribute if the Arguement is of the same Class or a specialization of that of the Attribute.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Message-signature_is_signal-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Message-arguments" name="arguments" constrainedElement="Message" namespace="Message">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Message-arguments-_ownedComment.0" annotatedElement="Message-arguments">
          <body>Arguments of a Message must only be:
i) attributes of the sending lifeline
ii) constants
iii) symbolic values (which are wildcard values representing any legal value)
iv) explicit parameters of the enclosing Interaction
v) attributes of the class owning the Interaction
</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Message-arguments-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Message-cannot_cross_boundaries" name="cannot_cross_boundaries" constrainedElement="Message" namespace="Message">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Message-cannot_cross_boundaries-_ownedComment.0" annotatedElement="Message-cannot_cross_boundaries">
          <body>Messages cannot cross bounderies of CombinedFragments or their operands.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Message-cannot_cross_boundaries-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Message-occurrence_specifications" name="occurrence_specifications" constrainedElement="Message" namespace="Message">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Message-occurrence_specifications-_ownedComment.0" annotatedElement="Message-occurrence_specifications">
          <body>If the MessageEnds are both OccurrenceSpecifications then the connector must go between the Parts represented by the Lifelines of the two MessageEnds.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Message-occurrence_specifications-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Message-messageKind" name="messageKind" type="MessageKind" isReadOnly="true" isDerived="true" default="unknown">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Message-messageKind-_ownedComment.0" annotatedElement="Message-messageKind">
          <body>The derived kind of the Message (complete, lost, found or unknown)</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Message-messageSort" name="messageSort" type="MessageSort" default="synchCall">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Message-messageSort-_ownedComment.0" annotatedElement="Message-messageSort">
          <body>The sort of communication reflected by the Message</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Message-receiveEvent" name="receiveEvent" type="MessageEnd" lower="0" association="A_receiveEvent_message">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Message-receiveEvent-_ownedComment.0" annotatedElement="Message-receiveEvent">
          <body>References the Receiving of the Message</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Message-sendEvent" name="sendEvent" type="MessageEnd" lower="0" association="A_sendEvent_message">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Message-sendEvent-_ownedComment.0" annotatedElement="Message-sendEvent">
          <body>References the Sending of the Message.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Message-connector" name="connector" type="Connector" lower="0" association="A_connector_message">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Message-connector-_ownedComment.0" annotatedElement="Message-connector">
          <body>The Connector on which this Message is sent.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Message-interaction" name="interaction" type="Interaction" subsettedProperty="NamedElement-namespace" association="A_message_interaction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Message-interaction-_ownedComment.0" annotatedElement="Message-interaction">
          <body>The enclosing Interaction owning the Message</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Message-argument" name="argument" type="ValueSpecification" isOrdered="true" upper="*" lower="0" isComposite="true" subsettedProperty="Element-ownedElement" association="A_argument_message">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Message-argument-_ownedComment.0" annotatedElement="Message-argument">
          <body>The arguments of the Message</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Message-signature" name="signature" type="NamedElement" lower="0" isReadOnly="true" isDerived="true" association="A_signature_message">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Message-signature-_ownedComment.0" annotatedElement="Message-signature">
          <body>The definition of the type or signature of the Message (depending on its kind). The associated named element is derived from the message end that constitutes the sending or receiving message event. If both a sending event and a receiving message event are present, the signature is obtained from the sending event.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="GeneralOrdering" name="GeneralOrdering" superClass="NamedElement">
      <ownedComment xmi:type="cmof:Comment" xmi:id="GeneralOrdering-_ownedComment.0" annotatedElement="GeneralOrdering">
        <body>A general ordering represents a binary relation between two occurrence specifications, to describe that one occurrence specification must occur before the other in a valid trace. This mechanism provides the ability to define partial orders of occurrence cpecifications that may otherwise not have a specified order.</body>
      </ownedComment>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="GeneralOrdering-before" name="before" type="OccurrenceSpecification" association="A_before_toAfter">
        <ownedComment xmi:type="cmof:Comment" xmi:id="GeneralOrdering-before-_ownedComment.0" annotatedElement="GeneralOrdering-before">
          <body>The OccurrenceSpecification referenced comes before the OccurrenceSpecification referenced by after.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="GeneralOrdering-after" name="after" type="OccurrenceSpecification" association="A_toBefore_after">
        <ownedComment xmi:type="cmof:Comment" xmi:id="GeneralOrdering-after-_ownedComment.0" annotatedElement="GeneralOrdering-after">
          <body>The OccurrenceSpecification referenced comes after the OccurrenceSpecification referenced by before.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="ExecutionSpecification" name="ExecutionSpecification" isAbstract="true" superClass="InteractionFragment">
      <ownedComment xmi:type="cmof:Comment" xmi:id="ExecutionSpecification-_ownedComment.0" annotatedElement="ExecutionSpecification">
        <body>An execution specification is a specification of the execution of a unit of behavior or action within the lifeline. The duration of an execution specification is represented by two cccurrence specifications, the start occurrence specification and the finish occurrence specification.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ExecutionSpecification-same_lifeline" name="same_lifeline" constrainedElement="ExecutionSpecification" namespace="ExecutionSpecification">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ExecutionSpecification-same_lifeline-_ownedComment.0" annotatedElement="ExecutionSpecification-same_lifeline">
          <body>The startEvent and the finishEvent must be on the same Lifeline</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ExecutionSpecification-same_lifeline-_specification">
          <language>OCL</language>
          <body>start.lifeline = finish.lifeline</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ExecutionSpecification-start" name="start" type="OccurrenceSpecification" association="A_executionSpecification_start">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ExecutionSpecification-start-_ownedComment.0" annotatedElement="ExecutionSpecification-start">
          <body>References the OccurrenceSpecification that designates the start of the Action or Behavior</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ExecutionSpecification-finish" name="finish" type="OccurrenceSpecification" association="A_executionSpecification_finish">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ExecutionSpecification-finish-_ownedComment.0" annotatedElement="ExecutionSpecification-finish">
          <body>References the OccurrenceSpecification that designates the finish of the Action or Behavior.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="OccurrenceSpecification" name="OccurrenceSpecification" superClass="InteractionFragment">
      <ownedComment xmi:type="cmof:Comment" xmi:id="OccurrenceSpecification-_ownedComment.0" annotatedElement="OccurrenceSpecification">
        <body>An occurrence specification is the basic semantic unit of interactions. The sequences of occurrences specified by them are the meanings of interactions.</body>
      </ownedComment>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="OccurrenceSpecification-covered" name="covered" type="Lifeline" redefinedProperty="InteractionFragment-covered" association="A_events_covered">
        <ownedComment xmi:type="cmof:Comment" xmi:id="OccurrenceSpecification-covered-_ownedComment.0" annotatedElement="OccurrenceSpecification-covered">
          <body>References the Lifeline on which the OccurrenceSpecification appears.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="OccurrenceSpecification-toAfter" name="toAfter" type="GeneralOrdering" upper="*" lower="0" association="A_before_toAfter">
        <ownedComment xmi:type="cmof:Comment" xmi:id="OccurrenceSpecification-toAfter-_ownedComment.0" annotatedElement="OccurrenceSpecification-toAfter">
          <body>References the GeneralOrderings that specify EventOcurrences that must occur after this OccurrenceSpecification&#xD;
</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="OccurrenceSpecification-toBefore" name="toBefore" type="GeneralOrdering" upper="*" lower="0" association="A_toBefore_after">
        <ownedComment xmi:type="cmof:Comment" xmi:id="OccurrenceSpecification-toBefore-_ownedComment.0" annotatedElement="OccurrenceSpecification-toBefore">
          <body>References the GeneralOrderings that specify EventOcurrences that must occur before this OccurrenceSpecification&#xD;
</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="OccurrenceSpecification-event" name="event" type="Event" association="A_event_occurrenceSpecification">
        <ownedComment xmi:type="cmof:Comment" xmi:id="OccurrenceSpecification-event-_ownedComment.0" annotatedElement="OccurrenceSpecification-event">
          <body>References a specification of the occurring event.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="MessageEnd" name="MessageEnd" isAbstract="true" superClass="NamedElement">
      <ownedComment xmi:type="cmof:Comment" xmi:id="MessageEnd-_ownedComment.0" annotatedElement="MessageEnd">
        <body>MessageEnd is an abstract specialization of NamedElement that represents what can occur at the end of a message.</body>
      </ownedComment>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="MessageEnd-message" name="message" type="Message" lower="0" association="A_message_messageEnd">
        <ownedComment xmi:type="cmof:Comment" xmi:id="MessageEnd-message-_ownedComment.0" annotatedElement="MessageEnd-message">
          <body>References a Message.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="StateInvariant" name="StateInvariant" superClass="InteractionFragment">
      <ownedComment xmi:type="cmof:Comment" xmi:id="StateInvariant-_ownedComment.0" annotatedElement="StateInvariant">
        <body>A state invariant is a runtime constraint on the participants of the interaction. It may be used to specify a variety of different kinds of constraints, such as values of attributes or variables, internal or external states, and so on. A state invariant is an interaction fragment and it is placed on a lifeline.</body>
      </ownedComment>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="StateInvariant-invariant" name="invariant" type="Constraint" isComposite="true" subsettedProperty="Element-ownedElement" association="A_invariant_stateInvariant">
        <ownedComment xmi:type="cmof:Comment" xmi:id="StateInvariant-invariant-_ownedComment.0" annotatedElement="StateInvariant-invariant">
          <body>A Constraint that should hold at runtime for this StateInvariant</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="StateInvariant-covered" name="covered" type="Lifeline" redefinedProperty="InteractionFragment-covered" association="A_stateInvariant_covered">
        <ownedComment xmi:type="cmof:Comment" xmi:id="StateInvariant-covered-_ownedComment.0" annotatedElement="StateInvariant-covered">
          <body>References the Lifeline on which the StateInvariant appears.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="ActionExecutionSpecification" name="ActionExecutionSpecification" superClass="ExecutionSpecification">
      <ownedComment xmi:type="cmof:Comment" xmi:id="ActionExecutionSpecification-_ownedComment.0" annotatedElement="ActionExecutionSpecification">
        <body>An action execution specification is a kind of execution specification representing the execution of an action.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ActionExecutionSpecification-action_referenced" name="action_referenced" constrainedElement="ActionExecutionSpecification" namespace="ActionExecutionSpecification">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ActionExecutionSpecification-action_referenced-_ownedComment.0" annotatedElement="ActionExecutionSpecification-action_referenced">
          <body>The Action referenced by the ActionExecutionSpecification, if any, must be owned by the Interaction owning the ActionExecutionOccurrence.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ActionExecutionSpecification-action_referenced-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ActionExecutionSpecification-action" name="action" type="Action" association="A_action_actionExecutionSpecification">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ActionExecutionSpecification-action-_ownedComment.0" annotatedElement="ActionExecutionSpecification-action">
          <body>Action whose execution is occurring.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="BehaviorExecutionSpecification" name="BehaviorExecutionSpecification" superClass="ExecutionSpecification">
      <ownedComment xmi:type="cmof:Comment" xmi:id="BehaviorExecutionSpecification-_ownedComment.0" annotatedElement="BehaviorExecutionSpecification">
        <body>A behavior execution specification is a kind of execution specification representing the execution of a behavior.</body>
      </ownedComment>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="BehaviorExecutionSpecification-behavior" name="behavior" type="Behavior" lower="0" association="A_behavior_behaviorExecutionSpecification">
        <ownedComment xmi:type="cmof:Comment" xmi:id="BehaviorExecutionSpecification-behavior-_ownedComment.0" annotatedElement="BehaviorExecutionSpecification-behavior">
          <body>Behavior whose execution is occurring.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="ExecutionEvent" name="ExecutionEvent" superClass="Event">
      <ownedComment xmi:type="cmof:Comment" xmi:id="ExecutionEvent-_ownedComment.0" annotatedElement="ExecutionEvent">
        <body>An execution event models the start or finish of an execution occurrence.</body>
      </ownedComment>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="CreationEvent" name="CreationEvent" superClass="Event">
      <ownedComment xmi:type="cmof:Comment" xmi:id="CreationEvent-_ownedComment.0" annotatedElement="CreationEvent">
        <body>A creation event models the creation of an object.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="CreationEvent-no_occurrence_above" name="no_occurrence_above" constrainedElement="CreationEvent" namespace="CreationEvent">
        <ownedComment xmi:type="cmof:Comment" xmi:id="CreationEvent-no_occurrence_above-_ownedComment.0" annotatedElement="CreationEvent-no_occurrence_above">
          <body>No othet OccurrenceSpecification may appear above an OccurrenceSpecification which references a CreationEvent on a given Lifeline in an InteractionOperand.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="CreationEvent-no_occurrence_above-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="DestructionEvent" name="DestructionEvent" superClass="Event">
      <ownedComment xmi:type="cmof:Comment" xmi:id="DestructionEvent-_ownedComment.0" annotatedElement="DestructionEvent">
        <body>A destruction event models the destruction of an object.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="DestructionEvent-no_occurrence_specifications_below" name="no_occurrence_specifications_below" constrainedElement="DestructionEvent" namespace="DestructionEvent">
        <ownedComment xmi:type="cmof:Comment" xmi:id="DestructionEvent-no_occurrence_specifications_below-_ownedComment.0" annotatedElement="DestructionEvent-no_occurrence_specifications_below">
          <body>No other OccurrenceSpecifications may appear below an OccurrenceSpecification which references a DestructionEvent on a given Lifeline in an InteractionOperand.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="DestructionEvent-no_occurrence_specifications_below-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="SendOperationEvent" name="SendOperationEvent" superClass="MessageEvent">
      <ownedComment xmi:type="cmof:Comment" xmi:id="SendOperationEvent-_ownedComment.0" annotatedElement="SendOperationEvent">
        <body>A send operation event models the invocation of an operation call.</body>
      </ownedComment>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="SendOperationEvent-operation" name="operation" type="Operation" association="A_operation_sendOperationEvent">
        <ownedComment xmi:type="cmof:Comment" xmi:id="SendOperationEvent-operation-_ownedComment.0" annotatedElement="SendOperationEvent-operation">
          <body>The operation associated with this event.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="SendSignalEvent" name="SendSignalEvent" superClass="MessageEvent">
      <ownedComment xmi:type="cmof:Comment" xmi:id="SendSignalEvent-_ownedComment.0" annotatedElement="SendSignalEvent">
        <body>A send signal event models the sending of a signal.</body>
      </ownedComment>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="SendSignalEvent-signal" name="signal" type="Signal" association="A_signal_sendSignalEvent">
        <ownedComment xmi:type="cmof:Comment" xmi:id="SendSignalEvent-signal-_ownedComment.0" annotatedElement="SendSignalEvent-signal">
          <body>The signal associated with this event.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="MessageOccurrenceSpecification" name="MessageOccurrenceSpecification" superClass="MessageEnd OccurrenceSpecification">
      <ownedComment xmi:type="cmof:Comment" xmi:id="MessageOccurrenceSpecification-_ownedComment.0" annotatedElement="MessageOccurrenceSpecification">
        <body>A message occurrence specification pecifies the occurrence of message events, such as sending and receiving of signals or invoking or receiving of operation calls. A message occurrence specification is a kind of message end. Messages are generated either by synchronous operation calls or asynchronous signal sends. They are received by the execution of corresponding accept event actions.</body>
      </ownedComment>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="ExecutionOccurrenceSpecification" name="ExecutionOccurrenceSpecification" superClass="OccurrenceSpecification">
      <ownedComment xmi:type="cmof:Comment" xmi:id="ExecutionOccurrenceSpecification-_ownedComment.0" annotatedElement="ExecutionOccurrenceSpecification">
        <body>An execution occurrence specification represents moments in time at which actions or behaviors start or finish.</body>
      </ownedComment>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ExecutionOccurrenceSpecification-execution" name="execution" type="ExecutionSpecification" association="A_execution_executionOccurrenceSpecification">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ExecutionOccurrenceSpecification-execution-_ownedComment.0" annotatedElement="ExecutionOccurrenceSpecification-execution">
          <body>References the execution specification describing the execution that is started or finished at this execution event.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ExecutionOccurrenceSpecification-event" name="event" type="ExecutionEvent" redefinedProperty="OccurrenceSpecification-event" association="A_event_executionOccurrenceSpecification">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ExecutionOccurrenceSpecification-event-_ownedComment.0" annotatedElement="ExecutionOccurrenceSpecification-event">
          <body>The event referenced is restricted to an execution event.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="ReceiveOperationEvent" name="ReceiveOperationEvent" superClass="MessageEvent">
      <ownedComment xmi:type="cmof:Comment" xmi:id="ReceiveOperationEvent-_ownedComment.0" annotatedElement="ReceiveOperationEvent">
        <body>A receive operation event specifies the event of receiving an operation invocation for a particular operation by the target entity.</body>
      </ownedComment>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ReceiveOperationEvent-operation" name="operation" type="Operation" association="A_operation_receiveOperationEvent">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReceiveOperationEvent-operation-_ownedComment.0" annotatedElement="ReceiveOperationEvent-operation">
          <body>The operation associated with this event.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="ReceiveSignalEvent" name="ReceiveSignalEvent" superClass="MessageEvent">
      <ownedComment xmi:type="cmof:Comment" xmi:id="ReceiveSignalEvent-_ownedComment.0" annotatedElement="ReceiveSignalEvent">
        <body>A receive signal event specifies the event of receiving a signal by the target entity.</body>
      </ownedComment>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ReceiveSignalEvent-signal" name="signal" type="Signal" association="A_signal_receiveSignalEvent">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReceiveSignalEvent-signal-_ownedComment.0" annotatedElement="ReceiveSignalEvent-signal">
          <body>The signal associated with this event.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Enumeration" xmi:id="MessageKind" name="MessageKind" visibility="private">
      <ownedComment xmi:type="cmof:Comment" xmi:id="MessageKind-_ownedComment.0" annotatedElement="MessageKind">
        <body>This is an enumerated type that identifies the type of message.</body>
      </ownedComment>
      <ownedLiteral xmi:type="cmof:EnumerationLiteral" xmi:id="MessageKind-complete" name="complete" enumeration="MessageKind">
        <ownedComment xmi:type="cmof:Comment" xmi:id="MessageKind-complete-_ownedComment.0" annotatedElement="MessageKind-complete">
          <body>sendEvent and receiveEvent are present</body>
        </ownedComment>
      </ownedLiteral>
      <ownedLiteral xmi:type="cmof:EnumerationLiteral" xmi:id="MessageKind-lost" name="lost" enumeration="MessageKind">
        <ownedComment xmi:type="cmof:Comment" xmi:id="MessageKind-lost-_ownedComment.0" annotatedElement="MessageKind-lost">
          <body>sendEvent present and receiveEvent absent</body>
        </ownedComment>
      </ownedLiteral>
      <ownedLiteral xmi:type="cmof:EnumerationLiteral" xmi:id="MessageKind-found" name="found" enumeration="MessageKind">
        <ownedComment xmi:type="cmof:Comment" xmi:id="MessageKind-found-_ownedComment.0" annotatedElement="MessageKind-found">
          <body>sendEvent absent and receiveEvent present</body>
        </ownedComment>
      </ownedLiteral>
      <ownedLiteral xmi:type="cmof:EnumerationLiteral" xmi:id="MessageKind-unknown" name="unknown" enumeration="MessageKind">
        <ownedComment xmi:type="cmof:Comment" xmi:id="MessageKind-unknown-_ownedComment.0" annotatedElement="MessageKind-unknown">
          <body>sendEvent and receiveEvent absent (should not appear)</body>
        </ownedComment>
      </ownedLiteral>
    </ownedMember>
    <ownedMember xmi:type="cmof:Enumeration" xmi:id="MessageSort" name="MessageSort" visibility="private">
      <ownedComment xmi:type="cmof:Comment" xmi:id="MessageSort-_ownedComment.0" annotatedElement="MessageSort">
        <body>This is an enumerated type that identifies the type of communication action that was used to generate the message.</body>
      </ownedComment>
      <ownedLiteral xmi:type="cmof:EnumerationLiteral" xmi:id="MessageSort-synchCall" name="synchCall" enumeration="MessageSort">
        <ownedComment xmi:type="cmof:Comment" xmi:id="MessageSort-synchCall-_ownedComment.0" annotatedElement="MessageSort-synchCall">
          <body>The message was generated by a synchronous call to an operation.</body>
        </ownedComment>
      </ownedLiteral>
      <ownedLiteral xmi:type="cmof:EnumerationLiteral" xmi:id="MessageSort-asynchCall" name="asynchCall" enumeration="MessageSort">
        <ownedComment xmi:type="cmof:Comment" xmi:id="MessageSort-asynchCall-_ownedComment.0" annotatedElement="MessageSort-asynchCall">
          <body>The message was generated by an asynchronous call to an operation; i.e., a CallAction with isSynchronous&#xD;
= false.&#xD;
</body>
        </ownedComment>
      </ownedLiteral>
      <ownedLiteral xmi:type="cmof:EnumerationLiteral" xmi:id="MessageSort-asynchSignal" name="asynchSignal" enumeration="MessageSort">
        <ownedComment xmi:type="cmof:Comment" xmi:id="MessageSort-asynchSignal-_ownedComment.0" annotatedElement="MessageSort-asynchSignal">
          <body>The message was generated by an asynchronous send action.</body>
        </ownedComment>
      </ownedLiteral>
      <ownedLiteral xmi:type="cmof:EnumerationLiteral" xmi:id="MessageSort-createMessage" name="createMessage" enumeration="MessageSort">
        <ownedComment xmi:type="cmof:Comment" xmi:id="MessageSort-createMessage-_ownedComment.0" annotatedElement="MessageSort-createMessage">
          <body>The message designating the creation of another lifeline object.</body>
        </ownedComment>
      </ownedLiteral>
      <ownedLiteral xmi:type="cmof:EnumerationLiteral" xmi:id="MessageSort-deleteMessage" name="deleteMessage" enumeration="MessageSort">
        <ownedComment xmi:type="cmof:Comment" xmi:id="MessageSort-deleteMessage-_ownedComment.0" annotatedElement="MessageSort-deleteMessage">
          <body>The message designating the termination of another lifeline.</body>
        </ownedComment>
      </ownedLiteral>
      <ownedLiteral xmi:type="cmof:EnumerationLiteral" xmi:id="MessageSort-reply" name="reply" enumeration="MessageSort">
        <ownedComment xmi:type="cmof:Comment" xmi:id="MessageSort-reply-_ownedComment.0" annotatedElement="MessageSort-reply">
          <body>The message is a reply message to an operation call.</body>
        </ownedComment>
      </ownedLiteral>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_covered_coveredBy" name="A_covered_coveredBy" visibility="private" memberEnd="InteractionFragment-covered Lifeline-coveredBy">
      <ownedComment xmi:type="cmof:Comment" xmi:id="A_covered_coveredBy-_ownedComment.0" annotatedElement="A_covered_coveredBy">
        <body>This association shows the lifelines that make up an interaction. A lifeline may be part of more than one interaction use.</body>
      </ownedComment>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_executionSpecification_start" name="A_executionSpecification_start" visibility="private" memberEnd="A_executionSpecification_start-_ownedEnd.0 ExecutionSpecification-start">
      <ownedComment xmi:type="cmof:Comment" xmi:id="A_executionSpecification_start-_ownedComment.0" annotatedElement="A_executionSpecification_start">
        <body>The event shows the time point at which the action begins execution.</body>
      </ownedComment>
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_executionSpecification_start-_ownedEnd.0" type="ExecutionSpecification" upper="*" lower="0" owningAssociation="A_executionSpecification_start" association="A_executionSpecification_start"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_executionSpecification_finish" name="A_executionSpecification_finish" visibility="private" memberEnd="A_executionSpecification_finish-_ownedEnd.0 ExecutionSpecification-finish">
      <ownedComment xmi:type="cmof:Comment" xmi:id="A_executionSpecification_finish-_ownedComment.0" annotatedElement="A_executionSpecification_finish">
        <body>The event shows the time point at which the action completes execution.</body>
      </ownedComment>
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_executionSpecification_finish-_ownedEnd.0" type="ExecutionSpecification" upper="*" lower="0" owningAssociation="A_executionSpecification_finish" association="A_executionSpecification_finish"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_lifeline_represents" name="A_lifeline_represents" visibility="private" memberEnd="A_lifeline_represents-_ownedEnd.0 Lifeline-represents">
      <ownedComment xmi:type="cmof:Comment" xmi:id="A_lifeline_represents-_ownedComment.0" annotatedElement="A_lifeline_represents">
        <body>If a Part has multiplicity, multiple lifelines might be used to show it.</body>
      </ownedComment>
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_lifeline_represents-_ownedEnd.0" type="Lifeline" upper="*" lower="0" owningAssociation="A_lifeline_represents" association="A_lifeline_represents"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_lifeline_interaction" name="A_lifeline_interaction" visibility="private" memberEnd="Interaction-lifeline Lifeline-interaction"/>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_receiveEvent_message" name="A_receiveEvent_message" visibility="private" memberEnd="Message-receiveEvent A_receiveEvent_message-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_receiveEvent_message-_ownedEnd.0" type="Message" lower="0" owningAssociation="A_receiveEvent_message" association="A_receiveEvent_message"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_sendEvent_message" name="A_sendEvent_message" visibility="private" memberEnd="Message-sendEvent A_sendEvent_message-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_sendEvent_message-_ownedEnd.0" type="Message" lower="0" owningAssociation="A_sendEvent_message" association="A_sendEvent_message"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_events_covered" name="A_events_covered" visibility="private" memberEnd="A_events_covered-events OccurrenceSpecification-covered">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_events_covered-events" name="events" type="OccurrenceSpecification" isOrdered="true" upper="*" lower="0" owningAssociation="A_events_covered" association="A_events_covered"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_selector_lifeline" name="A_selector_lifeline" visibility="private" memberEnd="Lifeline-selector A_selector_lifeline-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_selector_lifeline-_ownedEnd.0" type="Lifeline" lower="0" owningAssociation="A_selector_lifeline" association="A_selector_lifeline"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_connector_message" name="A_connector_message" visibility="private" memberEnd="Message-connector A_connector_message-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_connector_message-_ownedEnd.0" type="Message" upper="*" lower="0" owningAssociation="A_connector_message" association="A_connector_message"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_message_interaction" name="A_message_interaction" visibility="private" memberEnd="Interaction-message Message-interaction"/>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_before_toAfter" name="A_before_toAfter" visibility="private" memberEnd="GeneralOrdering-before OccurrenceSpecification-toAfter"/>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_toBefore_after" name="A_toBefore_after" visibility="private" memberEnd="OccurrenceSpecification-toBefore GeneralOrdering-after"/>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_argument_message" name="A_argument_message" visibility="private" memberEnd="Message-argument A_argument_message-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_argument_message-_ownedEnd.0" type="Message" lower="0" owningAssociation="A_argument_message" association="A_argument_message"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_invariant_stateInvariant" name="A_invariant_stateInvariant" visibility="private" memberEnd="StateInvariant-invariant A_invariant_stateInvariant-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_invariant_stateInvariant-_ownedEnd.0" type="StateInvariant" lower="0" owningAssociation="A_invariant_stateInvariant" association="A_invariant_stateInvariant"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_stateInvariant_covered" name="A_stateInvariant_covered" visibility="private" memberEnd="A_stateInvariant_covered-stateInvariant StateInvariant-covered">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_stateInvariant_covered-stateInvariant" name="stateInvariant" type="StateInvariant" upper="*" lower="0" owningAssociation="A_stateInvariant_covered" association="A_stateInvariant_covered"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_generalOrdering_interactionFragment" name="A_generalOrdering_interactionFragment" visibility="private" memberEnd="InteractionFragment-generalOrdering A_generalOrdering_interactionFragment-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_generalOrdering_interactionFragment-_ownedEnd.0" type="InteractionFragment" lower="0" owningAssociation="A_generalOrdering_interactionFragment" association="A_generalOrdering_interactionFragment"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_enclosingInteraction_fragment" name="A_enclosingInteraction_fragment" visibility="private" memberEnd="InteractionFragment-enclosingInteraction Interaction-fragment"/>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_behavior_behaviorExecutionSpecification" name="A_behavior_behaviorExecutionSpecification" visibility="private" memberEnd="BehaviorExecutionSpecification-behavior A_behavior_behaviorExecutionSpecification-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_behavior_behaviorExecutionSpecification-_ownedEnd.0" type="BehaviorExecutionSpecification" upper="*" lower="0" owningAssociation="A_behavior_behaviorExecutionSpecification" association="A_behavior_behaviorExecutionSpecification"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_action_actionExecutionSpecification" name="A_action_actionExecutionSpecification" visibility="private" memberEnd="ActionExecutionSpecification-action A_action_actionExecutionSpecification-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_action_actionExecutionSpecification-_ownedEnd.0" type="ActionExecutionSpecification" upper="*" lower="0" owningAssociation="A_action_actionExecutionSpecification" association="A_action_actionExecutionSpecification"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_signature_message" name="A_signature_message" visibility="private" memberEnd="Message-signature A_signature_message-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_signature_message-_ownedEnd.0" type="Message" upper="*" lower="0" owningAssociation="A_signature_message" association="A_signature_message"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_operation_sendOperationEvent" name="A_operation_sendOperationEvent" visibility="private" memberEnd="SendOperationEvent-operation A_operation_sendOperationEvent-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_operation_sendOperationEvent-_ownedEnd.0" type="SendOperationEvent" upper="*" lower="0" owningAssociation="A_operation_sendOperationEvent" association="A_operation_sendOperationEvent"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_signal_sendSignalEvent" name="A_signal_sendSignalEvent" visibility="private" memberEnd="SendSignalEvent-signal A_signal_sendSignalEvent-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_signal_sendSignalEvent-_ownedEnd.0" type="SendSignalEvent" upper="*" lower="0" owningAssociation="A_signal_sendSignalEvent" association="A_signal_sendSignalEvent"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_message_messageEnd" name="A_message_messageEnd" visibility="private" memberEnd="MessageEnd-message A_message_messageEnd-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_message_messageEnd-_ownedEnd.0" type="MessageEnd" lower="0" owningAssociation="A_message_messageEnd" association="A_message_messageEnd"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_event_occurrenceSpecification" name="A_event_occurrenceSpecification" visibility="private" memberEnd="OccurrenceSpecification-event A_event_occurrenceSpecification-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_event_occurrenceSpecification-_ownedEnd.0" type="OccurrenceSpecification" upper="*" lower="0" owningAssociation="A_event_occurrenceSpecification" association="A_event_occurrenceSpecification"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_action_interaction" name="A_action_interaction" visibility="private" memberEnd="Interaction-action A_action_interaction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_action_interaction-_ownedEnd.0" type="Interaction" lower="0" owningAssociation="A_action_interaction" subsettedProperty="Element-owner" association="A_action_interaction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_execution_executionOccurrenceSpecification" name="A_execution_executionOccurrenceSpecification" visibility="private" memberEnd="ExecutionOccurrenceSpecification-execution A_execution_executionOccurrenceSpecification-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_execution_executionOccurrenceSpecification-_ownedEnd.0" type="ExecutionOccurrenceSpecification" owningAssociation="A_execution_executionOccurrenceSpecification" association="A_execution_executionOccurrenceSpecification"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_event_executionOccurrenceSpecification" name="A_event_executionOccurrenceSpecification" visibility="private" memberEnd="ExecutionOccurrenceSpecification-event A_event_executionOccurrenceSpecification-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_event_executionOccurrenceSpecification-_ownedEnd.0" type="ExecutionOccurrenceSpecification" upper="*" lower="0" owningAssociation="A_event_executionOccurrenceSpecification" association="A_event_executionOccurrenceSpecification"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_operation_receiveOperationEvent" name="A_operation_receiveOperationEvent" visibility="private" memberEnd="ReceiveOperationEvent-operation A_operation_receiveOperationEvent-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_operation_receiveOperationEvent-_ownedEnd.0" type="ReceiveOperationEvent" upper="*" lower="0" owningAssociation="A_operation_receiveOperationEvent" association="A_operation_receiveOperationEvent"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_signal_receiveSignalEvent" name="A_signal_receiveSignalEvent" visibility="private" memberEnd="ReceiveSignalEvent-signal A_signal_receiveSignalEvent-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_signal_receiveSignalEvent-_ownedEnd.0" type="ReceiveSignalEvent" upper="*" lower="0" owningAssociation="A_signal_receiveSignalEvent" association="A_signal_receiveSignalEvent"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="InteractionUse" name="InteractionUse" superClass="InteractionFragment">
      <ownedComment xmi:type="cmof:Comment" xmi:id="InteractionUse-_ownedComment.0" annotatedElement="InteractionUse">
        <body>An interaction use refers to an interaction. The interaction use is a shorthand for copying the contents of the referenced interaction where the interaction use is. To be accurate the copying must take into account substituting parameters with arguments and connect the formal gates with the actual ones.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="InteractionUse-gates_match" name="gates_match" constrainedElement="InteractionUse" namespace="InteractionUse">
        <ownedComment xmi:type="cmof:Comment" xmi:id="InteractionUse-gates_match-_ownedComment.0" annotatedElement="InteractionUse-gates_match">
          <body>Actual Gates of the InteractionUse must match Formal Gates of the referred Interaction. Gates match when their names are equal.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="InteractionUse-gates_match-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="InteractionUse-all_lifelines" name="all_lifelines" constrainedElement="InteractionUse" namespace="InteractionUse">
        <ownedComment xmi:type="cmof:Comment" xmi:id="InteractionUse-all_lifelines-_ownedComment.0" annotatedElement="InteractionUse-all_lifelines">
          <body>The InteractionUse must cover all Lifelines of the enclosing Interaction which appear within the referred Interaction.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="InteractionUse-all_lifelines-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="InteractionUse-arguments_correspond_to_parameters" name="arguments_correspond_to_parameters" constrainedElement="InteractionUse" namespace="InteractionUse">
        <ownedComment xmi:type="cmof:Comment" xmi:id="InteractionUse-arguments_correspond_to_parameters-_ownedComment.0" annotatedElement="InteractionUse-arguments_correspond_to_parameters">
          <body>The arguments of the InteractionUse must correspond to parameters of the referred Interaction</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="InteractionUse-arguments_correspond_to_parameters-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="InteractionUse-arguments_are_constants" name="arguments_are_constants" constrainedElement="InteractionUse" namespace="InteractionUse">
        <ownedComment xmi:type="cmof:Comment" xmi:id="InteractionUse-arguments_are_constants-_ownedComment.0" annotatedElement="InteractionUse-arguments_are_constants">
          <body>The arguments must only be constants, parameters of the enclosing Interaction or attributes of the classifier owning the enclosing Interaction.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="InteractionUse-arguments_are_constants-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="InteractionUse-refersTo" name="refersTo" type="Interaction" association="A_refersTo_interactionUse">
        <ownedComment xmi:type="cmof:Comment" xmi:id="InteractionUse-refersTo-_ownedComment.0" annotatedElement="InteractionUse-refersTo">
          <body>Refers to the Interaction that defines its meaning</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="InteractionUse-actualGate" name="actualGate" type="Gate" upper="*" lower="0" isComposite="true" subsettedProperty="Element-ownedElement" association="A_interactionUse_actualGate">
        <ownedComment xmi:type="cmof:Comment" xmi:id="InteractionUse-actualGate-_ownedComment.0" annotatedElement="InteractionUse-actualGate">
          <body>The actual gates of the InteractionUse</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="InteractionUse-argument" name="argument" type="Action" isOrdered="true" upper="*" lower="0" isComposite="true" association="A_argument_interactionUse">
        <ownedComment xmi:type="cmof:Comment" xmi:id="InteractionUse-argument-_ownedComment.0" annotatedElement="InteractionUse-argument">
          <body>The actual arguments of the Interaction</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="PartDecomposition" name="PartDecomposition" superClass="InteractionUse">
      <ownedComment xmi:type="cmof:Comment" xmi:id="PartDecomposition-_ownedComment.0" annotatedElement="PartDecomposition">
        <body>A part decomposition is a description of the internal interactions of one lifeline relative to an interaction.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="PartDecomposition-parts_of_internal_structures" name="parts_of_internal_structures" constrainedElement="PartDecomposition" namespace="PartDecomposition">
        <ownedComment xmi:type="cmof:Comment" xmi:id="PartDecomposition-parts_of_internal_structures-_ownedComment.0" annotatedElement="PartDecomposition-parts_of_internal_structures">
          <body>PartDecompositions apply only to Parts that are Parts of Internal Structures not to Parts of Collaborations.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="PartDecomposition-parts_of_internal_structures-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="PartDecomposition-assume" name="assume" constrainedElement="PartDecomposition" namespace="PartDecomposition">
        <ownedComment xmi:type="cmof:Comment" xmi:id="PartDecomposition-assume-_ownedComment.0" annotatedElement="PartDecomposition-assume">
          <body>Assume that within Interaction X, Lifeline L is of class C and decomposed to D. Within X there is a sequence of constructs along L (such constructs are CombinedFragments, InteractionUse and (plain) OccurrenceSpecifications). Then a corresponding sequence of constructs must appear within D, matched one-to-one in the same order.&#xD;
&#xD;
i) CombinedFragment covering L are matched with an extra-global CombinedFragment in D&#xD;
ii) An InteractionUse covering L are matched with a global (i.e. covering all Lifelines) InteractionUse in D.&#xD;
iii) A plain OccurrenceSpecification on L is considered an actualGate that must be matched by a formalGate of D&#xD;
</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="PartDecomposition-assume-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="PartDecomposition-commutativity_of_decomposition" name="commutativity_of_decomposition" constrainedElement="PartDecomposition" namespace="PartDecomposition">
        <ownedComment xmi:type="cmof:Comment" xmi:id="PartDecomposition-commutativity_of_decomposition-_ownedComment.0" annotatedElement="PartDecomposition-commutativity_of_decomposition">
          <body>Assume that within Interaction X, Lifeline L is of class C and decomposed to D. Assume also that there is within X an&#xD;
InteractionUse (say) U that covers L. According to the constraint above U will have a counterpart CU within D. Within the Interaction referenced by U, L should also be decomposed, and the decomposition should reference CU. (This rule is called commutativity of decomposition)&#xD;
</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="PartDecomposition-commutativity_of_decomposition-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="InteractionOperand" name="InteractionOperand" superClass="InteractionFragment Namespace">
      <ownedComment xmi:type="cmof:Comment" xmi:id="InteractionOperand-_ownedComment.0" annotatedElement="InteractionOperand">
        <body>An interaction operand is contained in a combined fragment. An interaction operand represents one operand of the expression given by the enclosing combined fragment.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="InteractionOperand-guard_directly_prior" name="guard_directly_prior" constrainedElement="InteractionOperand" namespace="InteractionOperand">
        <ownedComment xmi:type="cmof:Comment" xmi:id="InteractionOperand-guard_directly_prior-_ownedComment.0" annotatedElement="InteractionOperand-guard_directly_prior">
          <body>The guard must be placed directly prior to (above) the OccurrenceSpecification that will become the first OccurrenceSpecification within this InteractionOperand.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="InteractionOperand-guard_directly_prior-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="InteractionOperand-guard_contain_references" name="guard_contain_references" constrainedElement="InteractionOperand" namespace="InteractionOperand">
        <ownedComment xmi:type="cmof:Comment" xmi:id="InteractionOperand-guard_contain_references-_ownedComment.0" annotatedElement="InteractionOperand-guard_contain_references">
          <body>The guard must contain only references to values local to the Lifeline on which it resides, or values global to the whole Interaction.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="InteractionOperand-guard_contain_references-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="InteractionOperand-guard" name="guard" type="InteractionConstraint" lower="0" isComposite="true" subsettedProperty="Element-ownedElement" association="A_guard_interactionOperand">
        <ownedComment xmi:type="cmof:Comment" xmi:id="InteractionOperand-guard-_ownedComment.0" annotatedElement="InteractionOperand-guard">
          <body>Constraint of the operand.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="InteractionOperand-fragment" name="fragment" type="InteractionFragment" isOrdered="true" upper="*" lower="0" isComposite="true" subsettedProperty="Namespace-ownedMember" association="A_fragment_enclosingOperand">
        <ownedComment xmi:type="cmof:Comment" xmi:id="InteractionOperand-fragment-_ownedComment.0" annotatedElement="InteractionOperand-fragment">
          <body>The fragments of the operand.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="InteractionConstraint" name="InteractionConstraint" superClass="Constraint">
      <ownedComment xmi:type="cmof:Comment" xmi:id="InteractionConstraint-_ownedComment.0" annotatedElement="InteractionConstraint">
        <body>An interaction constraint is a Boolean expression that guards an operand in a combined fragment.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="InteractionConstraint-dynamic_variables" name="dynamic_variables" constrainedElement="InteractionConstraint" namespace="InteractionConstraint">
        <ownedComment xmi:type="cmof:Comment" xmi:id="InteractionConstraint-dynamic_variables-_ownedComment.0" annotatedElement="InteractionConstraint-dynamic_variables">
          <body>The dynamic variables that take part in the constraint must be owned by the ConnectableElement corresponding to the covered Lifeline.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="InteractionConstraint-dynamic_variables-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="InteractionConstraint-global_data" name="global_data" constrainedElement="InteractionConstraint" namespace="InteractionConstraint">
        <ownedComment xmi:type="cmof:Comment" xmi:id="InteractionConstraint-global_data-_ownedComment.0" annotatedElement="InteractionConstraint-global_data">
          <body>The constraint may contain references to global data or write-once data.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="InteractionConstraint-global_data-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="InteractionConstraint-minint_maxint" name="minint_maxint" constrainedElement="InteractionConstraint" namespace="InteractionConstraint">
        <ownedComment xmi:type="cmof:Comment" xmi:id="InteractionConstraint-minint_maxint-_ownedComment.0" annotatedElement="InteractionConstraint-minint_maxint">
          <body>Minint/maxint can only be present if the InteractionConstraint is associated with the operand of a loop CombinedFragment.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="InteractionConstraint-minint_maxint-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="InteractionConstraint-minint_non_negative" name="minint_non_negative" constrainedElement="InteractionConstraint" namespace="InteractionConstraint">
        <ownedComment xmi:type="cmof:Comment" xmi:id="InteractionConstraint-minint_non_negative-_ownedComment.0" annotatedElement="InteractionConstraint-minint_non_negative">
          <body>If minint is specified, then the expression must evaluate to a non-negative integer.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="InteractionConstraint-minint_non_negative-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="InteractionConstraint-maxint_positive" name="maxint_positive" constrainedElement="InteractionConstraint" namespace="InteractionConstraint">
        <ownedComment xmi:type="cmof:Comment" xmi:id="InteractionConstraint-maxint_positive-_ownedComment.0" annotatedElement="InteractionConstraint-maxint_positive">
          <body>If maxint is specified, then the expression must evaluate to a positive integer.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="InteractionConstraint-maxint_positive-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="InteractionConstraint-maxint_greater_equal_minint" name="maxint_greater_equal_minint" constrainedElement="InteractionConstraint" namespace="InteractionConstraint">
        <ownedComment xmi:type="cmof:Comment" xmi:id="InteractionConstraint-maxint_greater_equal_minint-_ownedComment.0" annotatedElement="InteractionConstraint-maxint_greater_equal_minint">
          <body>If maxint is specified, then minint must be specified and the evaluation of maxint must be >= the evaluation of minint</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="InteractionConstraint-maxint_greater_equal_minint-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="InteractionConstraint-minint" name="minint" type="ValueSpecification" lower="0" isComposite="true" subsettedProperty="Element-ownedElement" association="A_minint_interactionConstraint">
        <ownedComment xmi:type="cmof:Comment" xmi:id="InteractionConstraint-minint-_ownedComment.0" annotatedElement="InteractionConstraint-minint">
          <body>The minimum number of iterations of a loop</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="InteractionConstraint-maxint" name="maxint" type="ValueSpecification" lower="0" isComposite="true" subsettedProperty="Element-ownedElement" association="A_maxint_interactionConstraint">
        <ownedComment xmi:type="cmof:Comment" xmi:id="InteractionConstraint-maxint-_ownedComment.0" annotatedElement="InteractionConstraint-maxint">
          <body>The maximum number of iterations of a loop</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="Gate" name="Gate" superClass="MessageEnd">
      <ownedComment xmi:type="cmof:Comment" xmi:id="Gate-_ownedComment.0" annotatedElement="Gate">
        <body>A gate is a connection point for relating a message outside an interaction fragment with a message inside the interaction fragment.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Gate-messages_actual_gate" name="messages_actual_gate" constrainedElement="Gate" namespace="Gate">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Gate-messages_actual_gate-_ownedComment.0" annotatedElement="Gate-messages_actual_gate">
          <body>The message leading to/from an actualGate of an InteractionUse must correspond to the message leading from/to the formalGate with the same name of the Interaction referenced by the InteractionUse.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Gate-messages_actual_gate-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Gate-messages_combined_fragment" name="messages_combined_fragment" constrainedElement="Gate" namespace="Gate">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Gate-messages_combined_fragment-_ownedComment.0" annotatedElement="Gate-messages_combined_fragment">
          <body>The message leading to/from an (expression) Gate within a CombinedFragment must correspond to the message leading from/to the CombinedFragment on its outside.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Gate-messages_combined_fragment-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="CombinedFragment" name="CombinedFragment" superClass="InteractionFragment">
      <ownedComment xmi:type="cmof:Comment" xmi:id="CombinedFragment-_ownedComment.0" annotatedElement="CombinedFragment">
        <body>A combined fragment defines an expression of interaction fragments. A combined fragment is defined by an interaction operator and corresponding interaction operands. Through the use of combined fragments the user will be able to describe a number of traces in a compact and concise manner.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="CombinedFragment-opt_loop_break_neg" name="opt_loop_break_neg" constrainedElement="CombinedFragment" namespace="CombinedFragment">
        <ownedComment xmi:type="cmof:Comment" xmi:id="CombinedFragment-opt_loop_break_neg-_ownedComment.0" annotatedElement="CombinedFragment-opt_loop_break_neg">
          <body>If the interactionOperator is opt, loop, break, or neg there must be exactly one operand</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="CombinedFragment-opt_loop_break_neg-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="CombinedFragment-minint_and_maxint" name="minint_and_maxint" constrainedElement="CombinedFragment" namespace="CombinedFragment">
        <ownedComment xmi:type="cmof:Comment" xmi:id="CombinedFragment-minint_and_maxint-_ownedComment.0" annotatedElement="CombinedFragment-minint_and_maxint">
          <body>The InteractionConstraint with minint and maxint only apply when attached to an InteractionOperand where the interactionOperator is loop.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="CombinedFragment-minint_and_maxint-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="CombinedFragment-break" name="break" constrainedElement="CombinedFragment" namespace="CombinedFragment">
        <ownedComment xmi:type="cmof:Comment" xmi:id="CombinedFragment-break-_ownedComment.0" annotatedElement="CombinedFragment-break">
          <body>If the interactionOperator is break, the corresponding InteractionOperand must cover all Lifelines within the enclosing InteractionFragment.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="CombinedFragment-break-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="CombinedFragment-consider_and_ignore" name="consider_and_ignore" constrainedElement="CombinedFragment" namespace="CombinedFragment">
        <ownedComment xmi:type="cmof:Comment" xmi:id="CombinedFragment-consider_and_ignore-_ownedComment.0" annotatedElement="CombinedFragment-consider_and_ignore">
          <body>The interaction operators 'consider' and 'ignore' can only be used for the CombineIgnoreFragment subtype of CombinedFragment</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="CombinedFragment-consider_and_ignore-_specification">
          <language>OCL</language>
          <body>((interactionOperator = #consider) or (interactionOperator = #ignore)) implies oclsisTypeOf(CombineIgnoreFragment)</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="CombinedFragment-interactionOperator" name="interactionOperator" type="InteractionOperatorKind" default="seq">
        <ownedComment xmi:type="cmof:Comment" xmi:id="CombinedFragment-interactionOperator-_ownedComment.0" annotatedElement="CombinedFragment-interactionOperator">
          <body>Specifies the operation which defines the semantics of this combination of InteractionFragments.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="CombinedFragment-operand" name="operand" type="InteractionOperand" isOrdered="true" upper="*" isComposite="true" subsettedProperty="Element-ownedElement" association="A_operand_combinedFragment">
        <ownedComment xmi:type="cmof:Comment" xmi:id="CombinedFragment-operand-_ownedComment.0" annotatedElement="CombinedFragment-operand">
          <body>The set of operands of the combined fragment.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="CombinedFragment-cfragmentGate" name="cfragmentGate" type="Gate" upper="*" lower="0" isComposite="true" subsettedProperty="Element-ownedElement" association="A_cfragmentGate_combinedFragment">
        <ownedComment xmi:type="cmof:Comment" xmi:id="CombinedFragment-cfragmentGate-_ownedComment.0" annotatedElement="CombinedFragment-cfragmentGate">
          <body>Specifies the gates that form the interface between this CombinedFragment and its surroundings</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="Interaction" name="Interaction" superClass="InteractionFragment Behavior">
      <ownedComment xmi:type="cmof:Comment" xmi:id="Interaction-_ownedComment.0" annotatedElement="Interaction">
        <body>An interaction is a unit of behavior that focuses on the observable exchange of information between connectable elements.</body>
      </ownedComment>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Interaction-lifeline" name="lifeline" type="Lifeline" upper="*" lower="0" isComposite="true" subsettedProperty="Namespace-ownedMember" association="A_lifeline_interaction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Interaction-lifeline-_ownedComment.0" annotatedElement="Interaction-lifeline">
          <body>Specifies the participants in this Interaction.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Interaction-message" name="message" type="Message" upper="*" lower="0" isComposite="true" subsettedProperty="Namespace-ownedMember" association="A_message_interaction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Interaction-message-_ownedComment.0" annotatedElement="Interaction-message">
          <body>The Messages contained in this Interaction.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Interaction-fragment" name="fragment" type="InteractionFragment" isOrdered="true" upper="*" lower="0" isComposite="true" subsettedProperty="Namespace-ownedMember" association="A_enclosingInteraction_fragment">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Interaction-fragment-_ownedComment.0" annotatedElement="Interaction-fragment">
          <body>The ordered set of fragments in the Interaction.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Interaction-action" name="action" type="Action" upper="*" lower="0" isComposite="true" subsettedProperty="Element-ownedElement" association="A_action_interaction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Interaction-action-_ownedComment.0" annotatedElement="Interaction-action">
          <body>Actions owned by the Interaction.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Interaction-formalGate" name="formalGate" type="Gate" upper="*" lower="0" isComposite="true" subsettedProperty="Namespace-ownedMember" association="A_formalGate_interaction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Interaction-formalGate-_ownedComment.0" annotatedElement="Interaction-formalGate">
          <body>Specifies the gates that form the message interface between this Interaction and any InteractionUses which reference it.&#xD;
</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="Lifeline" name="Lifeline" superClass="NamedElement">
      <ownedComment xmi:type="cmof:Comment" xmi:id="Lifeline-_ownedComment.0" annotatedElement="Lifeline">
        <body>A lifeline represents an individual participant in the interaction. While parts and structural features may have multiplicity greater than 1, lifelines represent only one interacting entity.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Lifeline-interaction_uses_share_lifeline" name="interaction_uses_share_lifeline" constrainedElement="Lifeline" namespace="Lifeline">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Lifeline-interaction_uses_share_lifeline-_ownedComment.0" annotatedElement="Lifeline-interaction_uses_share_lifeline">
          <body>If two (or more) InteractionUses within one Interaction, refer to Interactions with 'common Lifelines,' those Lifelines must also appear in the Interaction with the InteractionUses. By common Lifelines we mean Lifelines with the same selector and represents associations.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Lifeline-interaction_uses_share_lifeline-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Lifeline-selector_specified" name="selector_specified" constrainedElement="Lifeline" namespace="Lifeline">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Lifeline-selector_specified-_ownedComment.0" annotatedElement="Lifeline-selector_specified">
          <body>The selector for a Lifeline must only be specified if the referenced Part is multivalued.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Lifeline-selector_specified-_specification">
          <language>OCL</language>
          <body>(self.selector->isEmpty() implies not self.represents.isMultivalued()) or&#xA;(not self.selector->isEmpty() implies self.represents.isMultivalued())&#xA;</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Lifeline-same_classifier" name="same_classifier" constrainedElement="Lifeline" namespace="Lifeline">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Lifeline-same_classifier-_ownedComment.0" annotatedElement="Lifeline-same_classifier">
          <body>The classifier containing the referenced ConnectableElement must be the same classifier, or an ancestor, of the classifier that contains the interaction enclosing this lifeline.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Lifeline-same_classifier-_specification">
          <language>OCL</language>
          <body>if (represents->notEmpty()) then&#xA;(if selector->notEmpty() then represents.isMultivalued() else not represents.isMultivalued())&#xA;</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Lifeline-coveredBy" name="coveredBy" type="InteractionFragment" upper="*" lower="0" association="A_covered_coveredBy">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Lifeline-coveredBy-_ownedComment.0" annotatedElement="Lifeline-coveredBy">
          <body>References the InteractionFragments in which this Lifeline takes part.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Lifeline-represents" name="represents" type="ConnectableElement" lower="0" association="A_lifeline_represents">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Lifeline-represents-_ownedComment.0" annotatedElement="Lifeline-represents">
          <body>References the ConnectableElement within the classifier that contains the enclosing interaction.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Lifeline-interaction" name="interaction" type="Interaction" subsettedProperty="NamedElement-namespace" association="A_lifeline_interaction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Lifeline-interaction-_ownedComment.0" annotatedElement="Lifeline-interaction">
          <body>References the Interaction enclosing this Lifeline.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Lifeline-selector" name="selector" type="ValueSpecification" lower="0" isComposite="true" subsettedProperty="Element-ownedElement" association="A_selector_lifeline">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Lifeline-selector-_ownedComment.0" annotatedElement="Lifeline-selector">
          <body>If the referenced ConnectableElement is multivalued, then this specifies the specific individual part within that set.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Lifeline-decomposedAs" name="decomposedAs" type="PartDecomposition" lower="0" association="A_lifeline_decomposedAs">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Lifeline-decomposedAs-_ownedComment.0" annotatedElement="Lifeline-decomposedAs">
          <body>References the Interaction that represents the decomposition.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="Continuation" name="Continuation" superClass="InteractionFragment">
      <ownedComment xmi:type="cmof:Comment" xmi:id="Continuation-_ownedComment.0" annotatedElement="Continuation">
        <body>A continuation is a syntactic way to define continuations of different branches of an alternative combined fragment. Continuations is intuitively similar to labels representing intermediate points in a flow of control.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Continuation-same_name" name="same_name" constrainedElement="Continuation" namespace="Continuation">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Continuation-same_name-_ownedComment.0" annotatedElement="Continuation-same_name">
          <body>Continuations with the same name may only cover the same set of Lifelines (within one Classifier).</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Continuation-same_name-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Continuation-global" name="global" constrainedElement="Continuation" namespace="Continuation">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Continuation-global-_ownedComment.0" annotatedElement="Continuation-global">
          <body>Continuations are always global in the enclosing InteractionFragment e.g. it always covers all Lifelines covered by the enclosing InteractionFragment.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Continuation-global-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Continuation-first_or_last_interaction_fragment" name="first_or_last_interaction_fragment" constrainedElement="Continuation" namespace="Continuation">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Continuation-first_or_last_interaction_fragment-_ownedComment.0" annotatedElement="Continuation-first_or_last_interaction_fragment">
          <body>Continuations always occur as the very first InteractionFragment or the very last InteractionFragment of the enclosing InteractionFragment.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Continuation-first_or_last_interaction_fragment-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Continuation-setting" name="setting" type="Boolean" default="true">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Continuation-setting-_ownedComment.0" annotatedElement="Continuation-setting">
          <body>True: when the Continuation is at the end of the enclosing InteractionFragment and False when it is in the beginning.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="InteractionFragment" name="InteractionFragment" isAbstract="true" superClass="NamedElement">
      <ownedComment xmi:type="cmof:Comment" xmi:id="InteractionFragment-_ownedComment.0" annotatedElement="InteractionFragment">
        <body>InteractionFragment is an abstract notion of the most general interaction unit. An interaction fragment is a piece of an interaction. Each interaction fragment is conceptually like an interaction by itself.</body>
      </ownedComment>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="InteractionFragment-covered" name="covered" type="Lifeline" upper="*" lower="0" association="A_covered_coveredBy">
        <ownedComment xmi:type="cmof:Comment" xmi:id="InteractionFragment-covered-_ownedComment.0" annotatedElement="InteractionFragment-covered">
          <body>References the Lifelines that the InteractionFragment involves.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="InteractionFragment-generalOrdering" name="generalOrdering" type="GeneralOrdering" upper="*" lower="0" isComposite="true" subsettedProperty="Element-ownedElement" association="A_generalOrdering_interactionFragment">
        <ownedComment xmi:type="cmof:Comment" xmi:id="InteractionFragment-generalOrdering-_ownedComment.0" annotatedElement="InteractionFragment-generalOrdering">
          <body>The general ordering relationships contained in this fragment.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="InteractionFragment-enclosingInteraction" name="enclosingInteraction" type="Interaction" lower="0" association="A_enclosingInteraction_fragment">
        <ownedComment xmi:type="cmof:Comment" xmi:id="InteractionFragment-enclosingInteraction-_ownedComment.0" annotatedElement="InteractionFragment-enclosingInteraction">
          <body>The Interaction enclosing this InteractionFragment.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="InteractionFragment-enclosingOperand" name="enclosingOperand" type="InteractionOperand" lower="0" subsettedProperty="NamedElement-namespace" association="A_fragment_enclosingOperand">
        <ownedComment xmi:type="cmof:Comment" xmi:id="InteractionFragment-enclosingOperand-_ownedComment.0" annotatedElement="InteractionFragment-enclosingOperand">
          <body>The operand enclosing this InteractionFragment (they may nest recursively)</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="ConsiderIgnoreFragment" name="ConsiderIgnoreFragment" superClass="CombinedFragment">
      <ownedComment xmi:type="cmof:Comment" xmi:id="ConsiderIgnoreFragment-_ownedComment.0" annotatedElement="ConsiderIgnoreFragment">
        <body>A consider ignore fragment is a kind of combined fragment that is used for the consider and ignore cases, which require lists of pertinent messages to be specified.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ConsiderIgnoreFragment-consider_or_ignore" name="consider_or_ignore" constrainedElement="ConsiderIgnoreFragment" namespace="ConsiderIgnoreFragment">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ConsiderIgnoreFragment-consider_or_ignore-_ownedComment.0" annotatedElement="ConsiderIgnoreFragment-consider_or_ignore">
          <body>The interaction operator of a ConsiderIgnoreFragment must be either 'consider' or 'ignore'.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ConsiderIgnoreFragment-consider_or_ignore-_specification">
          <language>OCL</language>
          <body>(interactionOperator = #consider) or (interactionOperator = #ignore)</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ConsiderIgnoreFragment-type" name="type" constrainedElement="ConsiderIgnoreFragment" namespace="ConsiderIgnoreFragment">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ConsiderIgnoreFragment-type-_ownedComment.0" annotatedElement="ConsiderIgnoreFragment-type">
          <body>The NamedElements must be of a type of element that identifies a message (e.g., an Operation, Reception, or a Signal).</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ConsiderIgnoreFragment-type-_specification">
          <language>OCL</language>
          <body>message->forAll(m | m.oclIsKindOf(Operation) or m.oclIsKindOf(Reception) or m.oclIsKindOf(Signal))</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ConsiderIgnoreFragment-message" name="message" type="NamedElement" upper="*" lower="0" association="A_message_considerIgnoreFragment">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ConsiderIgnoreFragment-message-_ownedComment.0" annotatedElement="ConsiderIgnoreFragment-message">
          <body>The set of messages that apply to this fragment</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Enumeration" xmi:id="InteractionOperatorKind" name="InteractionOperatorKind" visibility="private">
      <ownedComment xmi:type="cmof:Comment" xmi:id="InteractionOperatorKind-_ownedComment.0" annotatedElement="InteractionOperatorKind">
        <body>InteractionOperatorKind is an enumeration designating the different kinds of operators of combined fragments. The interaction operand defines the type of operator of a combined fragment.</body>
      </ownedComment>
      <ownedLiteral xmi:type="cmof:EnumerationLiteral" xmi:id="InteractionOperatorKind-seq" name="seq" enumeration="InteractionOperatorKind">
        <ownedComment xmi:type="cmof:Comment" xmi:id="InteractionOperatorKind-seq-_ownedComment.0" annotatedElement="InteractionOperatorKind-seq">
          <body>The interactionOperator seq designates that the CombinedFragment represents a weak sequencing between the behaviors of the operands.</body>
        </ownedComment>
      </ownedLiteral>
      <ownedLiteral xmi:type="cmof:EnumerationLiteral" xmi:id="InteractionOperatorKind-alt" name="alt" enumeration="InteractionOperatorKind">
        <ownedComment xmi:type="cmof:Comment" xmi:id="InteractionOperatorKind-alt-_ownedComment.0" annotatedElement="InteractionOperatorKind-alt">
          <body>The interactionOperator alt designates that the CombinedFragment represents a choice of behavior. At most one of the operands will be chosen. The chosen operand must have an explicit or implicit guard expression that evaluates to true at this point in the interaction. An implicit true guard is implied if the operand has no guard.</body>
        </ownedComment>
      </ownedLiteral>
      <ownedLiteral xmi:type="cmof:EnumerationLiteral" xmi:id="InteractionOperatorKind-opt" name="opt" enumeration="InteractionOperatorKind">
        <ownedComment xmi:type="cmof:Comment" xmi:id="InteractionOperatorKind-opt-_ownedComment.0" annotatedElement="InteractionOperatorKind-opt">
          <body>The interactionOperator opt designates that the CombinedFragment represents a choice of behavior where either the (sole) operand happens or nothing happens. An option is semantically equivalent to an alternative CombinedFragment where there is one operand with non-empty content and the second operand is empty.</body>
        </ownedComment>
      </ownedLiteral>
      <ownedLiteral xmi:type="cmof:EnumerationLiteral" xmi:id="InteractionOperatorKind-break" name="break" enumeration="InteractionOperatorKind">
        <ownedComment xmi:type="cmof:Comment" xmi:id="InteractionOperatorKind-break-_ownedComment.0" annotatedElement="InteractionOperatorKind-break">
          <body>The interactionOperator break designates that the CombinedFragment represents a breaking scenario in the sense that the operand is a scenario that is performed instead of the remainder of the enclosing InteractionFragment. A break operator with a guard is chosen when the guard is true and the rest of the enclosing Interaction Fragment is ignored. When the guard of the break operand is false, the break operand is ignored and the rest of the enclosing InteractionFragment is chosen. The choice between a break operand without a guard and the rest of the enclosing InteractionFragment is done non-deterministically.</body>
        </ownedComment>
      </ownedLiteral>
      <ownedLiteral xmi:type="cmof:EnumerationLiteral" xmi:id="InteractionOperatorKind-par" name="par" enumeration="InteractionOperatorKind">
        <ownedComment xmi:type="cmof:Comment" xmi:id="InteractionOperatorKind-par-_ownedComment.0" annotatedElement="InteractionOperatorKind-par">
          <body>The interactionOperator par designates that the CombinedFragment represents a parallel merge between the behaviors of the operands. The OccurrenceSpecifications of the different operands can be interleaved in any way as long as the ordering imposed by each operand as such is preserved.</body>
        </ownedComment>
      </ownedLiteral>
      <ownedLiteral xmi:type="cmof:EnumerationLiteral" xmi:id="InteractionOperatorKind-strict" name="strict" enumeration="InteractionOperatorKind">
        <ownedComment xmi:type="cmof:Comment" xmi:id="InteractionOperatorKind-strict-_ownedComment.0" annotatedElement="InteractionOperatorKind-strict">
          <body>The interactionOperator strict designates that the CombinedFragment represents a strict sequencing between the behaviors of the operands. The semantics of strict sequencing defines a strict ordering of the operands on the first level within the CombinedFragment with interactionOperator strict. Therefore OccurrenceSpecifications within contained CombinedFragment will not directly be compared with other OccurrenceSpecifications of the enclosing CombinedFragment.</body>
        </ownedComment>
      </ownedLiteral>
      <ownedLiteral xmi:type="cmof:EnumerationLiteral" xmi:id="InteractionOperatorKind-loop" name="loop" enumeration="InteractionOperatorKind">
        <ownedComment xmi:type="cmof:Comment" xmi:id="InteractionOperatorKind-loop-_ownedComment.0" annotatedElement="InteractionOperatorKind-loop">
          <body>The interactionOperator loop designates that the CombinedFragment represents a loop. The loop operand will be repeated a number of times.</body>
        </ownedComment>
      </ownedLiteral>
      <ownedLiteral xmi:type="cmof:EnumerationLiteral" xmi:id="InteractionOperatorKind-critical" name="critical" enumeration="InteractionOperatorKind">
        <ownedComment xmi:type="cmof:Comment" xmi:id="InteractionOperatorKind-critical-_ownedComment.0" annotatedElement="InteractionOperatorKind-critical">
          <body>The interactionOperator critical designates that the CombinedFragment represents a critical region. A critical region means that the traces of the region cannot be interleaved by other OccurrenceSpecifications (on those Lifelines covered by the region). This means that the region is treated atomically by the enclosing fragment when determining the set of valid traces. Even though enclosing CombinedFragments may imply that some OccurrenceSpecifications may interleave into the region, such as e.g. with par-operator, this is prevented by defining a region.</body>
        </ownedComment>
      </ownedLiteral>
      <ownedLiteral xmi:type="cmof:EnumerationLiteral" xmi:id="InteractionOperatorKind-neg" name="neg" enumeration="InteractionOperatorKind">
        <ownedComment xmi:type="cmof:Comment" xmi:id="InteractionOperatorKind-neg-_ownedComment.0" annotatedElement="InteractionOperatorKind-neg">
          <body>The interactionOperator neg designates that the CombinedFragment represents traces that are defined to be invalid.</body>
        </ownedComment>
      </ownedLiteral>
      <ownedLiteral xmi:type="cmof:EnumerationLiteral" xmi:id="InteractionOperatorKind-assert" name="assert" enumeration="InteractionOperatorKind">
        <ownedComment xmi:type="cmof:Comment" xmi:id="InteractionOperatorKind-assert-_ownedComment.0" annotatedElement="InteractionOperatorKind-assert">
          <body>The interactionOperator assert designates that the CombinedFragment represents an assertion. The sequences of the operand of the assertion are the only valid continuations. All other continuations result in an invalid trace.</body>
        </ownedComment>
      </ownedLiteral>
      <ownedLiteral xmi:type="cmof:EnumerationLiteral" xmi:id="InteractionOperatorKind-ignore" name="ignore" enumeration="InteractionOperatorKind">
        <ownedComment xmi:type="cmof:Comment" xmi:id="InteractionOperatorKind-ignore-_ownedComment.0" annotatedElement="InteractionOperatorKind-ignore">
          <body>The interacionOperator ignore designates that there are some message types that are not shown within this combined fragment. These message types can be considered insignificant and are implicitly ignored if they appear in a corresponding execution. Alternatively, one can understand ignore to mean that the message types that are ignored can appear anywhere in the traces.</body>
        </ownedComment>
      </ownedLiteral>
      <ownedLiteral xmi:type="cmof:EnumerationLiteral" xmi:id="InteractionOperatorKind-consider" name="consider" enumeration="InteractionOperatorKind">
        <ownedComment xmi:type="cmof:Comment" xmi:id="InteractionOperatorKind-consider-_ownedComment.0" annotatedElement="InteractionOperatorKind-consider">
          <body>The interactionOperator consider designates which messages should be considered within this combined fragment. This is equivalent to defining every other message to be ignored.</body>
        </ownedComment>
      </ownedLiteral>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_lifeline_decomposedAs" name="A_lifeline_decomposedAs" visibility="private" memberEnd="A_lifeline_decomposedAs-_ownedEnd.0 Lifeline-decomposedAs">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_lifeline_decomposedAs-_ownedEnd.0" type="Lifeline" owningAssociation="A_lifeline_decomposedAs" association="A_lifeline_decomposedAs"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_guard_interactionOperand" name="A_guard_interactionOperand" visibility="private" memberEnd="InteractionOperand-guard A_guard_interactionOperand-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_guard_interactionOperand-_ownedEnd.0" type="InteractionOperand" owningAssociation="A_guard_interactionOperand" association="A_guard_interactionOperand"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_operand_combinedFragment" name="A_operand_combinedFragment" visibility="private" memberEnd="CombinedFragment-operand A_operand_combinedFragment-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_operand_combinedFragment-_ownedEnd.0" type="CombinedFragment" lower="0" owningAssociation="A_operand_combinedFragment" association="A_operand_combinedFragment"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_refersTo_interactionUse" name="A_refersTo_interactionUse" visibility="private" memberEnd="InteractionUse-refersTo A_refersTo_interactionUse-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_refersTo_interactionUse-_ownedEnd.0" type="InteractionUse" upper="*" lower="0" owningAssociation="A_refersTo_interactionUse" association="A_refersTo_interactionUse"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_cfragmentGate_combinedFragment" name="A_cfragmentGate_combinedFragment" visibility="private" memberEnd="CombinedFragment-cfragmentGate A_cfragmentGate_combinedFragment-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_cfragmentGate_combinedFragment-_ownedEnd.0" type="CombinedFragment" lower="0" owningAssociation="A_cfragmentGate_combinedFragment" association="A_cfragmentGate_combinedFragment"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_interactionUse_actualGate" name="A_interactionUse_actualGate" visibility="private" memberEnd="A_interactionUse_actualGate-_ownedEnd.0 InteractionUse-actualGate">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_interactionUse_actualGate-_ownedEnd.0" type="InteractionUse" lower="0" owningAssociation="A_interactionUse_actualGate" association="A_interactionUse_actualGate"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_formalGate_interaction" name="A_formalGate_interaction" visibility="private" memberEnd="Interaction-formalGate A_formalGate_interaction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_formalGate_interaction-_ownedEnd.0" type="Interaction" lower="0" owningAssociation="A_formalGate_interaction" association="A_formalGate_interaction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_minint_interactionConstraint" name="A_minint_interactionConstraint" visibility="private" memberEnd="InteractionConstraint-minint A_minint_interactionConstraint-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_minint_interactionConstraint-_ownedEnd.0" type="InteractionConstraint" lower="0" owningAssociation="A_minint_interactionConstraint" association="A_minint_interactionConstraint"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_maxint_interactionConstraint" name="A_maxint_interactionConstraint" visibility="private" memberEnd="InteractionConstraint-maxint A_maxint_interactionConstraint-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_maxint_interactionConstraint-_ownedEnd.0" type="InteractionConstraint" lower="0" owningAssociation="A_maxint_interactionConstraint" association="A_maxint_interactionConstraint"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_argument_interactionUse" name="A_argument_interactionUse" visibility="private" memberEnd="InteractionUse-argument A_argument_interactionUse-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_argument_interactionUse-_ownedEnd.0" type="InteractionUse" lower="0" owningAssociation="A_argument_interactionUse" association="A_argument_interactionUse"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_fragment_enclosingOperand" name="A_fragment_enclosingOperand" visibility="private" memberEnd="InteractionOperand-fragment InteractionFragment-enclosingOperand"/>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_message_considerIgnoreFragment" name="A_message_considerIgnoreFragment" visibility="private" memberEnd="ConsiderIgnoreFragment-message A_message_considerIgnoreFragment-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_message_considerIgnoreFragment-_ownedEnd.0" type="ConsiderIgnoreFragment" upper="*" lower="0" owningAssociation="A_message_considerIgnoreFragment" association="A_message_considerIgnoreFragment"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="CreateObjectAction" name="CreateObjectAction" superClass="Action">
      <ownedComment xmi:type="cmof:Comment" xmi:id="CreateObjectAction-_ownedComment.0" annotatedElement="CreateObjectAction">
        <body>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.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="CreateObjectAction-classifier_not_abstract" name="classifier_not_abstract" constrainedElement="CreateObjectAction" namespace="CreateObjectAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="CreateObjectAction-classifier_not_abstract-_ownedComment.0" annotatedElement="CreateObjectAction-classifier_not_abstract">
          <body>The classifier cannot be abstract.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="CreateObjectAction-classifier_not_abstract-_specification">
          <language>OCL</language>
          <body>not (self.classifier.isAbstract = #true)</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="CreateObjectAction-classifier_not_association_class" name="classifier_not_association_class" constrainedElement="CreateObjectAction" namespace="CreateObjectAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="CreateObjectAction-classifier_not_association_class-_ownedComment.0" annotatedElement="CreateObjectAction-classifier_not_association_class">
          <body>The classifier cannot be an association class</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="CreateObjectAction-classifier_not_association_class-_specification">
          <language>OCL</language>
          <body>not self.classifier.oclIsKindOf(AssociationClass)</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="CreateObjectAction-same_type" name="same_type" constrainedElement="CreateObjectAction" namespace="CreateObjectAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="CreateObjectAction-same_type-_ownedComment.0" annotatedElement="CreateObjectAction-same_type">
          <body>The type of the result pin must be the same as the classifier of the action.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="CreateObjectAction-same_type-_specification">
          <language>OCL</language>
          <body>self.result.type = self.classifier</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="CreateObjectAction-multiplicity" name="multiplicity" constrainedElement="CreateObjectAction" namespace="CreateObjectAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="CreateObjectAction-multiplicity-_ownedComment.0" annotatedElement="CreateObjectAction-multiplicity">
          <body>The multiplicity of the output pin is 1..1.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="CreateObjectAction-multiplicity-_specification">
          <language>OCL</language>
          <body>self.result.multiplicity.is(1,1)</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="CreateObjectAction-classifier" name="classifier" type="Classifier" association="A_classifier_createObjectAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="CreateObjectAction-classifier-_ownedComment.0" annotatedElement="CreateObjectAction-classifier">
          <body>Classifier to be instantiated.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="CreateObjectAction-result" name="result" type="OutputPin" isComposite="true" subsettedProperty="Action-output" association="A_result_createObjectAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="CreateObjectAction-result-_ownedComment.0" annotatedElement="CreateObjectAction-result">
          <body>Gives the output pin on which the result is put.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="DestroyObjectAction" name="DestroyObjectAction" superClass="Action">
      <ownedComment xmi:type="cmof:Comment" xmi:id="DestroyObjectAction-_ownedComment.0" annotatedElement="DestroyObjectAction">
        <body>A destroy object action is an action that destroys objects.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="DestroyObjectAction-multiplicity" name="multiplicity" constrainedElement="DestroyObjectAction" namespace="DestroyObjectAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="DestroyObjectAction-multiplicity-_ownedComment.0" annotatedElement="DestroyObjectAction-multiplicity">
          <body>The multiplicity of the input pin is 1..1.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="DestroyObjectAction-multiplicity-_specification">
          <language>OCL</language>
          <body>self.target.multiplicity.is(1,1)</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="DestroyObjectAction-no_type" name="no_type" constrainedElement="DestroyObjectAction" namespace="DestroyObjectAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="DestroyObjectAction-no_type-_ownedComment.0" annotatedElement="DestroyObjectAction-no_type">
          <body>The input pin has no type.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="DestroyObjectAction-no_type-_specification">
          <language>OCL</language>
          <body>self.target.type->size() = 0</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="DestroyObjectAction-isDestroyLinks" name="isDestroyLinks" type="Boolean" default="false">
        <ownedComment xmi:type="cmof:Comment" xmi:id="DestroyObjectAction-isDestroyLinks-_ownedComment.0" annotatedElement="DestroyObjectAction-isDestroyLinks">
          <body>Specifies whether links in which the object participates are destroyed along with the object.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="DestroyObjectAction-isDestroyOwnedObjects" name="isDestroyOwnedObjects" type="Boolean" default="false">
        <ownedComment xmi:type="cmof:Comment" xmi:id="DestroyObjectAction-isDestroyOwnedObjects-_ownedComment.0" annotatedElement="DestroyObjectAction-isDestroyOwnedObjects">
          <body>Specifies whether objects owned by the object are destroyed along with the object.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="DestroyObjectAction-target" name="target" type="InputPin" isComposite="true" subsettedProperty="Action-input" association="A_target_destroyObjectAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="DestroyObjectAction-target-_ownedComment.0" annotatedElement="DestroyObjectAction-target">
          <body>The input pin providing the object to be destroyed.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="TestIdentityAction" name="TestIdentityAction" superClass="Action">
      <ownedComment xmi:type="cmof:Comment" xmi:id="TestIdentityAction-_ownedComment.0" annotatedElement="TestIdentityAction">
        <body>A test identity action is an action that tests if two values are identical objects.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="TestIdentityAction-no_type" name="no_type" constrainedElement="TestIdentityAction" namespace="TestIdentityAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="TestIdentityAction-no_type-_ownedComment.0" annotatedElement="TestIdentityAction-no_type">
          <body>The input pins have no type.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="TestIdentityAction-no_type-_specification">
          <language>OCL</language>
          <body>self.first.type->size() = 0&#xA;and self.second.type->size() = 0&#xA;</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="TestIdentityAction-multiplicity" name="multiplicity" constrainedElement="TestIdentityAction" namespace="TestIdentityAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="TestIdentityAction-multiplicity-_ownedComment.0" annotatedElement="TestIdentityAction-multiplicity">
          <body>The multiplicity of the input pins is 1..1.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="TestIdentityAction-multiplicity-_specification">
          <language>OCL</language>
          <body>self.first.multiplicity.is(1,1)&#xA;and self.second.multiplicity.is(1,1)&#xA;</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="TestIdentityAction-result_is_boolean" name="result_is_boolean" constrainedElement="TestIdentityAction" namespace="TestIdentityAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="TestIdentityAction-result_is_boolean-_ownedComment.0" annotatedElement="TestIdentityAction-result_is_boolean">
          <body>The type of the result is Boolean.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="TestIdentityAction-result_is_boolean-_specification">
          <language>OCL</language>
          <body>self.result.type.oclIsTypeOf(Boolean)</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="TestIdentityAction-first" name="first" type="InputPin" isComposite="true" subsettedProperty="Action-input" association="A_first_testIdentityAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="TestIdentityAction-first-_ownedComment.0" annotatedElement="TestIdentityAction-first">
          <body>Gives the pin on which an object is placed.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="TestIdentityAction-second" name="second" type="InputPin" isComposite="true" subsettedProperty="Action-input" association="A_second_testIdentityAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="TestIdentityAction-second-_ownedComment.0" annotatedElement="TestIdentityAction-second">
          <body>Gives the pin on which an object is placed.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="TestIdentityAction-result" name="result" type="OutputPin" isComposite="true" subsettedProperty="Action-output" association="A_result_testIdentityAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="TestIdentityAction-result-_ownedComment.0" annotatedElement="TestIdentityAction-result">
          <body>Tells whether the two input objects are identical.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="ReadSelfAction" name="ReadSelfAction" superClass="Action">
      <ownedComment xmi:type="cmof:Comment" xmi:id="ReadSelfAction-_ownedComment.0" annotatedElement="ReadSelfAction">
        <body>A read self action is an action that retrieves the host object of an action.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ReadSelfAction-contained" name="contained" constrainedElement="ReadSelfAction" namespace="ReadSelfAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReadSelfAction-contained-_ownedComment.0" annotatedElement="ReadSelfAction-contained">
          <body>The action must be contained in an behavior that has a host classifier.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ReadSelfAction-contained-_specification">
          <language>OCL</language>
          <body>self.context->size() = 1</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ReadSelfAction-not_static" name="not_static" constrainedElement="ReadSelfAction" namespace="ReadSelfAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReadSelfAction-not_static-_ownedComment.0" annotatedElement="ReadSelfAction-not_static">
          <body>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.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ReadSelfAction-not_static-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ReadSelfAction-type" name="type" constrainedElement="ReadSelfAction" namespace="ReadSelfAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReadSelfAction-type-_ownedComment.0" annotatedElement="ReadSelfAction-type">
          <body>The type of the result output pin is the host classifier.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ReadSelfAction-type-_specification">
          <language>OCL</language>
          <body>self.result.type = self.context</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ReadSelfAction-multiplicity" name="multiplicity" constrainedElement="ReadSelfAction" namespace="ReadSelfAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReadSelfAction-multiplicity-_ownedComment.0" annotatedElement="ReadSelfAction-multiplicity">
          <body>The multiplicity of the result output pin is 1..1.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ReadSelfAction-multiplicity-_specification">
          <language>OCL</language>
          <body>self.result.multiplicity.is(1,1)</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ReadSelfAction-result" name="result" type="OutputPin" isComposite="true" subsettedProperty="Action-output" association="A_result_readSelfAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReadSelfAction-result-_ownedComment.0" annotatedElement="ReadSelfAction-result">
          <body>Gives the output pin on which the hosting object is placed.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="StructuralFeatureAction" name="StructuralFeatureAction" isAbstract="true" superClass="Action">
      <ownedComment xmi:type="cmof:Comment" xmi:id="StructuralFeatureAction-_ownedComment.0" annotatedElement="StructuralFeatureAction">
        <body>StructuralFeatureAction is an abstract class for all structural feature actions.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="StructuralFeatureAction-not_static" name="not_static" constrainedElement="StructuralFeatureAction" namespace="StructuralFeatureAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="StructuralFeatureAction-not_static-_ownedComment.0" annotatedElement="StructuralFeatureAction-not_static">
          <body>The structural feature must not be static.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="StructuralFeatureAction-not_static-_specification">
          <language>OCL</language>
          <body>self.structuralFeature.isStatic = #false</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="StructuralFeatureAction-same_type" name="same_type" constrainedElement="StructuralFeatureAction" namespace="StructuralFeatureAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="StructuralFeatureAction-same_type-_ownedComment.0" annotatedElement="StructuralFeatureAction-same_type">
          <body>The type of the object input pin is the same as the classifier of the object passed on this pin.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="StructuralFeatureAction-same_type-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="StructuralFeatureAction-multiplicity" name="multiplicity" constrainedElement="StructuralFeatureAction" namespace="StructuralFeatureAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="StructuralFeatureAction-multiplicity-_ownedComment.0" annotatedElement="StructuralFeatureAction-multiplicity">
          <body>The multiplicity of the input pin must be 1..1.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="StructuralFeatureAction-multiplicity-_specification">
          <language>OCL</language>
          <body>self.object.multiplicity.is(1,1)</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="StructuralFeatureAction-visibility" name="visibility" constrainedElement="StructuralFeatureAction" namespace="StructuralFeatureAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="StructuralFeatureAction-visibility-_ownedComment.0" annotatedElement="StructuralFeatureAction-visibility">
          <body>Visibility of structural feature must allow access to the object performing the action.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="StructuralFeatureAction-visibility-_specification">
          <language>OCL</language>
          <body>let host : Classifier = self.context in&#xA;self.structuralFeature.visibility = #public&#xA;or host = self.structuralFeature.featuringClassifier.type&#xA;or (self.structuralFeature.visibility = #protected and host.allSupertypes&#xA;->includes(self.structuralFeature.featuringClassifier.type)))&#xA;</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="StructuralFeatureAction-one_featuring_classifier" name="one_featuring_classifier" constrainedElement="StructuralFeatureAction" namespace="StructuralFeatureAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="StructuralFeatureAction-one_featuring_classifier-_ownedComment.0" annotatedElement="StructuralFeatureAction-one_featuring_classifier">
          <body>A structural feature has exactly one featuringClassifier.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="StructuralFeatureAction-one_featuring_classifier-_specification">
          <language>OCL</language>
          <body>self.structuralFeature.featuringClassifier->size() = 1</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="StructuralFeatureAction-structuralFeature" name="structuralFeature" type="StructuralFeature" association="A_structuralFeatureAction_structuralFeature">
        <ownedComment xmi:type="cmof:Comment" xmi:id="StructuralFeatureAction-structuralFeature-_ownedComment.0" annotatedElement="StructuralFeatureAction-structuralFeature">
          <body>Structural feature to be read.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="StructuralFeatureAction-object" name="object" type="InputPin" isComposite="true" subsettedProperty="Action-input" association="A_object_structuralFeatureAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="StructuralFeatureAction-object-_ownedComment.0" annotatedElement="StructuralFeatureAction-object">
          <body>Gives the input pin from which the object whose structural feature is to be read or written is obtained.&#xD;
</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="ReadStructuralFeatureAction" name="ReadStructuralFeatureAction" superClass="StructuralFeatureAction">
      <ownedComment xmi:type="cmof:Comment" xmi:id="ReadStructuralFeatureAction-_ownedComment.0" annotatedElement="ReadStructuralFeatureAction">
        <body>A read structural feature action is a structural feature action that retrieves the values of a structural feature.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ReadStructuralFeatureAction-type_and_ordering" name="type_and_ordering" constrainedElement="ReadStructuralFeatureAction" namespace="ReadStructuralFeatureAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReadStructuralFeatureAction-type_and_ordering-_ownedComment.0" annotatedElement="ReadStructuralFeatureAction-type_and_ordering">
          <body>The type and ordering of the result output pin are the same as the type and ordering of the structural feature.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ReadStructuralFeatureAction-type_and_ordering-_specification">
          <language>OCL</language>
          <body>self.result.type = self.structuralFeature.type&#xA;and self.result.ordering = self.structuralFeature.ordering&#xA;</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ReadStructuralFeatureAction-multiplicity" name="multiplicity" constrainedElement="ReadStructuralFeatureAction" namespace="ReadStructuralFeatureAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReadStructuralFeatureAction-multiplicity-_ownedComment.0" annotatedElement="ReadStructuralFeatureAction-multiplicity">
          <body>The multiplicity of the structural feature must be compatible with the multiplicity of the output pin.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ReadStructuralFeatureAction-multiplicity-_specification">
          <language>OCL</language>
          <body>self.structuralFeature.multiplicity.compatibleWith(self.result.multiplicity)</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ReadStructuralFeatureAction-result" name="result" type="OutputPin" isComposite="true" subsettedProperty="Action-output" association="A_result_readStructuralFeatureAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReadStructuralFeatureAction-result-_ownedComment.0" annotatedElement="ReadStructuralFeatureAction-result">
          <body>Gives the output pin on which the result is put.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="WriteStructuralFeatureAction" name="WriteStructuralFeatureAction" isAbstract="true" superClass="StructuralFeatureAction">
      <ownedComment xmi:type="cmof:Comment" xmi:id="WriteStructuralFeatureAction-_ownedComment.0" annotatedElement="WriteStructuralFeatureAction">
        <body>WriteStructuralFeatureAction is an abstract class for structural feature actions that change structural feature values.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="WriteStructuralFeatureAction-input_pin" name="input_pin" constrainedElement="WriteStructuralFeatureAction" namespace="WriteStructuralFeatureAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="WriteStructuralFeatureAction-input_pin-_ownedComment.0" annotatedElement="WriteStructuralFeatureAction-input_pin">
          <body>The type input pin is the same as the classifier of the structural feature.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="WriteStructuralFeatureAction-input_pin-_specification">
          <language>OCL</language>
          <body>self.value.type = self.structuralFeature.featuringClassifier</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="WriteStructuralFeatureAction-multiplicity" name="multiplicity" constrainedElement="WriteStructuralFeatureAction" namespace="WriteStructuralFeatureAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="WriteStructuralFeatureAction-multiplicity-_ownedComment.0" annotatedElement="WriteStructuralFeatureAction-multiplicity">
          <body>The multiplicity of the input pin is 1..1.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="WriteStructuralFeatureAction-multiplicity-_specification">
          <language>OCL</language>
          <body>self.value.multiplicity.is(1,1)</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="WriteStructuralFeatureAction-value" name="value" type="InputPin" isComposite="true" subsettedProperty="Action-input" association="A_value_writeStructuralFeatureAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="WriteStructuralFeatureAction-value-_ownedComment.0" annotatedElement="WriteStructuralFeatureAction-value">
          <body>Value to be added or removed from the structural feature.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="ClearStructuralFeatureAction" name="ClearStructuralFeatureAction" superClass="StructuralFeatureAction">
      <ownedComment xmi:type="cmof:Comment" xmi:id="ClearStructuralFeatureAction-_ownedComment.0" annotatedElement="ClearStructuralFeatureAction">
        <body>A clear structural feature action is a structural feature action that removes all values of a structural feature.</body>
      </ownedComment>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="RemoveStructuralFeatureValueAction" name="RemoveStructuralFeatureValueAction" superClass="WriteStructuralFeatureAction">
      <ownedComment xmi:type="cmof:Comment" xmi:id="RemoveStructuralFeatureValueAction-_ownedComment.0" annotatedElement="RemoveStructuralFeatureValueAction">
        <body>A remove structural feature value action is a write structural feature action that removes values from structural features.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="RemoveStructuralFeatureValueAction-non_unique_removal" name="non_unique_removal" constrainedElement="RemoveStructuralFeatureValueAction" namespace="RemoveStructuralFeatureValueAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="RemoveStructuralFeatureValueAction-non_unique_removal-_ownedComment.0" annotatedElement="RemoveStructuralFeatureValueAction-non_unique_removal">
          <body>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.&#xD;
</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="RemoveStructuralFeatureValueAction-non_unique_removal-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="RemoveStructuralFeatureValueAction-isRemoveDuplicates" name="isRemoveDuplicates" type="Boolean" default="false">
        <ownedComment xmi:type="cmof:Comment" xmi:id="RemoveStructuralFeatureValueAction-isRemoveDuplicates-_ownedComment.0" annotatedElement="RemoveStructuralFeatureValueAction-isRemoveDuplicates">
          <body>Specifies whether to remove duplicates of the value in nonunique structural features.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="RemoveStructuralFeatureValueAction-removeAt" name="removeAt" type="InputPin" lower="0" isComposite="true" subsettedProperty="Action-input" association="A_removeAt_removeStructuralFeatureValueAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="RemoveStructuralFeatureValueAction-removeAt-_ownedComment.0" annotatedElement="RemoveStructuralFeatureValueAction-removeAt">
          <body>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.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="AddStructuralFeatureValueAction" name="AddStructuralFeatureValueAction" superClass="WriteStructuralFeatureAction">
      <ownedComment xmi:type="cmof:Comment" xmi:id="AddStructuralFeatureValueAction-_ownedComment.0" annotatedElement="AddStructuralFeatureValueAction">
        <body>An add structural feature value action is a write structural feature action for adding values to a structural feature.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="AddStructuralFeatureValueAction-unlimited_natural_and_multiplicity" name="unlimited_natural_and_multiplicity" constrainedElement="AddStructuralFeatureValueAction" namespace="AddStructuralFeatureValueAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="AddStructuralFeatureValueAction-unlimited_natural_and_multiplicity-_ownedComment.0" annotatedElement="AddStructuralFeatureValueAction-unlimited_natural_and_multiplicity">
          <body>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.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="AddStructuralFeatureValueAction-unlimited_natural_and_multiplicity-_specification">
          <language>OCL</language>
          <body>let insertAtPins : Collection = self.insertAt in&#xA;if self.structuralFeature.isOrdered = #false&#xA;then insertAtPins->size() = 0&#xA;else let insertAtPin : InputPin= insertAt->asSequence()->first() in&#xA;insertAtPins->size() = 1&#xA;and insertAtPin.type = UnlimitedNatural&#xA;and insertAtPin.multiplicity.is(1,1))&#xA;endif&#xA;</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="AddStructuralFeatureValueAction-isReplaceAll" name="isReplaceAll" type="Boolean" default="false">
        <ownedComment xmi:type="cmof:Comment" xmi:id="AddStructuralFeatureValueAction-isReplaceAll-_ownedComment.0" annotatedElement="AddStructuralFeatureValueAction-isReplaceAll">
          <body>Specifies whether existing values of the structural feature of the object should be removed before adding the new value.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="AddStructuralFeatureValueAction-insertAt" name="insertAt" type="InputPin" lower="0" isComposite="true" subsettedProperty="Action-input" association="A_insertAt_addStructuralFeatureValueAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="AddStructuralFeatureValueAction-insertAt-_ownedComment.0" annotatedElement="AddStructuralFeatureValueAction-insertAt">
          <body>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.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="LinkAction" name="LinkAction" isAbstract="true" superClass="Action">
      <ownedComment xmi:type="cmof:Comment" xmi:id="LinkAction-_ownedComment.0" annotatedElement="LinkAction">
        <body>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.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="LinkAction-same_association" name="same_association" constrainedElement="LinkAction" namespace="LinkAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="LinkAction-same_association-_ownedComment.0" annotatedElement="LinkAction-same_association">
          <body>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.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="LinkAction-same_association-_specification">
          <language>OCL</language>
          <body>self.endData->collect(end) = self.association()->collect(connection))</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="LinkAction-not_static" name="not_static" constrainedElement="LinkAction" namespace="LinkAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="LinkAction-not_static-_ownedComment.0" annotatedElement="LinkAction-not_static">
          <body>The association ends of the link end data must not be static.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="LinkAction-not_static-_specification">
          <language>OCL</language>
          <body>self.endData->forall(end.oclisKindOf(NavigableEnd) implies end.isStatic = #false</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="LinkAction-same_pins" name="same_pins" constrainedElement="LinkAction" namespace="LinkAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="LinkAction-same_pins-_ownedComment.0" annotatedElement="LinkAction-same_pins">
          <body>The input pins of the action are the same as the pins of the link end data and insertion pins.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="LinkAction-same_pins-_specification">
          <language>OCL</language>
          <body>self.input->asSet() =&#xA;let ledpins : Set = self.endData->collect(value) in&#xA;if self.oclIsKindOf(LinkEndCreationData)&#xA;then ledpins->union(self.endData.oclAsType(LinkEndCreationData).insertAt)&#xA;else ledpins&#xA;</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="LinkAction-endData" name="endData" type="LinkEndData" upper="*" lower="2" isComposite="true" association="A_endData_linkAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="LinkAction-endData-_ownedComment.0" annotatedElement="LinkAction-endData">
          <body>Data identifying one end of a link by the objects on its ends and qualifiers.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="LinkAction-inputValue" name="inputValue" type="InputPin" upper="*" isComposite="true" subsettedProperty="Action-input" association="A_inputValue_linkAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="LinkAction-inputValue-_ownedComment.0" annotatedElement="LinkAction-inputValue">
          <body>Pins taking end objects and qualifier values as input.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="LinkAction-association" name="association" class="LinkAction" isQuery="true" bodyCondition="LinkAction-association-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="LinkAction-association-_ownedComment.0" annotatedElement="LinkAction-association">
          <body>The association operates on LinkAction. It returns the association of the action.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="LinkAction-association-spec" name="spec" constrainedElement="LinkAction-association" namespace="LinkAction-association">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="LinkAction-association-spec-_specification">
            <language>OCL</language>
            <body>result = self.endData->asSequence().first().end.association</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="LinkAction-association-_ownedParameter.0" type="Association" direction="return"/>
      </ownedOperation>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="ReadLinkAction" name="ReadLinkAction" superClass="LinkAction">
      <ownedComment xmi:type="cmof:Comment" xmi:id="ReadLinkAction-_ownedComment.0" annotatedElement="ReadLinkAction">
        <body>A read link action is a link action that navigates across associations to retrieve objects on one end.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ReadLinkAction-one_open_end" name="one_open_end" constrainedElement="ReadLinkAction" namespace="ReadLinkAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReadLinkAction-one_open_end-_ownedComment.0" annotatedElement="ReadLinkAction-one_open_end">
          <body>Exactly one link-end data specification (the 'open' end) must not have an end object input pin.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ReadLinkAction-one_open_end-_specification">
          <language>OCL</language>
          <body>self.endData->select(ed | ed.value->size() = 0)->size() = 1</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ReadLinkAction-type_and_ordering" name="type_and_ordering" constrainedElement="ReadLinkAction" namespace="ReadLinkAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReadLinkAction-type_and_ordering-_ownedComment.0" annotatedElement="ReadLinkAction-type_and_ordering">
          <body>The type and ordering of the result output pin are same as the type and ordering of the open association end.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ReadLinkAction-type_and_ordering-_specification">
          <language>OCL</language>
          <body>let openend : AssociationEnd = self.endData->select(ed | ed.value->size() = 0)->asSequence()->first().end in&#xA;self.result.type = openend.type&#xA;and self.result.ordering = openend.ordering&#xA;</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ReadLinkAction-compatible_multiplicity" name="compatible_multiplicity" constrainedElement="ReadLinkAction" namespace="ReadLinkAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReadLinkAction-compatible_multiplicity-_ownedComment.0" annotatedElement="ReadLinkAction-compatible_multiplicity">
          <body>The multiplicity of the open association end must be compatible with the multiplicity of the result output pin.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ReadLinkAction-compatible_multiplicity-_specification">
          <language>OCL</language>
          <body>let openend : AssociationEnd = self.endData->select(ed | ed.value->size() = 0)->asSequence()->first().end in&#xA;openend.multiplicity.compatibleWith(self.result.multiplicity)&#xA;</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ReadLinkAction-navigable_open_end" name="navigable_open_end" constrainedElement="ReadLinkAction" namespace="ReadLinkAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReadLinkAction-navigable_open_end-_ownedComment.0" annotatedElement="ReadLinkAction-navigable_open_end">
          <body>The open end must be navigable.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ReadLinkAction-navigable_open_end-_specification">
          <language>OCL</language>
          <body>let openend : AssociationEnd = self.endData->select(ed | ed.value->size() = 0)->asSequence()->first().end in&#xA;openend.isNavigable()&#xA;</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ReadLinkAction-visibility" name="visibility" constrainedElement="ReadLinkAction" namespace="ReadLinkAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReadLinkAction-visibility-_ownedComment.0" annotatedElement="ReadLinkAction-visibility">
          <body>Visibility of the open end must allow access to the object performing the action.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ReadLinkAction-visibility-_specification">
          <language>OCL</language>
          <body>let host : Classifier = self.context in&#xA;let openend : AssociationEnd = self.endData->select(ed | ed.value->size() = 0)->asSequence()->first().end in&#xA;openend.visibility = #public&#xA;or self.endData->exists(oed | not oed.end = openend&#xA;and (host = oed.end.participant&#xA;or (openend.visibility = #protected&#xA;and host.allSupertypes->includes(oed.end.participant))))&#xA;</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ReadLinkAction-result" name="result" type="OutputPin" isComposite="true" subsettedProperty="Action-output" association="A_result_readLinkAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReadLinkAction-result-_ownedComment.0" annotatedElement="ReadLinkAction-result">
          <body>The pin on which are put the objects participating in the association at the end not specified by the inputs.&#xD;
</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="LinkEndCreationData" name="LinkEndCreationData" superClass="LinkEndData">
      <ownedComment xmi:type="cmof:Comment" xmi:id="LinkEndCreationData-_ownedComment.0" annotatedElement="LinkEndCreationData">
        <body>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.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="LinkEndCreationData-create_link_action" name="create_link_action" constrainedElement="LinkEndCreationData" namespace="LinkEndCreationData">
        <ownedComment xmi:type="cmof:Comment" xmi:id="LinkEndCreationData-create_link_action-_ownedComment.0" annotatedElement="LinkEndCreationData-create_link_action">
          <body>LinkEndCreationData can only be end data for CreateLinkAction or one of its specializations.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="LinkEndCreationData-create_link_action-_specification">
          <language>OCL</language>
          <body>self.LinkAction.oclIsKindOf(CreateLinkAction)</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="LinkEndCreationData-single_input_pin" name="single_input_pin" constrainedElement="LinkEndCreationData" namespace="LinkEndCreationData">
        <ownedComment xmi:type="cmof:Comment" xmi:id="LinkEndCreationData-single_input_pin-_ownedComment.0" annotatedElement="LinkEndCreationData-single_input_pin">
          <body>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.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="LinkEndCreationData-single_input_pin-_specification">
          <language>OCL</language>
          <body>let insertAtPins : Collection = self.insertAt in&#xA;if self.end.ordering = #unordered&#xA;then insertAtPins->size() = 0&#xA;else let insertAtPin : InputPin = insertAts->asSequence()->first() in&#xA;insertAtPins->size() = 1&#xA;and insertAtPin.type = UnlimitedNatural&#xA;and insertAtPin.multiplicity.is(1,1))&#xA;endif&#xA;</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="LinkEndCreationData-isReplaceAll" name="isReplaceAll" type="Boolean" default="false">
        <ownedComment xmi:type="cmof:Comment" xmi:id="LinkEndCreationData-isReplaceAll-_ownedComment.0" annotatedElement="LinkEndCreationData-isReplaceAll">
          <body>Specifies whether the existing links emanating from the object on this end should be destroyed before creating a new link.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="LinkEndCreationData-insertAt" name="insertAt" type="InputPin" lower="0" association="A_insertAt_linkEndCreationData">
        <ownedComment xmi:type="cmof:Comment" xmi:id="LinkEndCreationData-insertAt-_ownedComment.0" annotatedElement="LinkEndCreationData-insertAt">
          <body>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.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="CreateLinkAction" name="CreateLinkAction" superClass="WriteLinkAction">
      <ownedComment xmi:type="cmof:Comment" xmi:id="CreateLinkAction-_ownedComment.0" annotatedElement="CreateLinkAction">
        <body>A create link action is a write link action for creating links.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="CreateLinkAction-association_not_abstract" name="association_not_abstract" constrainedElement="CreateLinkAction" namespace="CreateLinkAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="CreateLinkAction-association_not_abstract-_ownedComment.0" annotatedElement="CreateLinkAction-association_not_abstract">
          <body>The association cannot be an abstract classifier.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="CreateLinkAction-association_not_abstract-_specification">
          <language>OCL</language>
          <body>self.association().isAbstract = #false</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="CreateLinkAction-endData" name="endData" type="LinkEndCreationData" upper="*" lower="2" isComposite="true" redefinedProperty="LinkAction-endData" association="A_endData_createLinkAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="CreateLinkAction-endData-_ownedComment.0" annotatedElement="CreateLinkAction-endData">
          <body>Specifies ends of association and inputs.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="DestroyLinkAction" name="DestroyLinkAction" superClass="WriteLinkAction">
      <ownedComment xmi:type="cmof:Comment" xmi:id="DestroyLinkAction-_ownedComment.0" annotatedElement="DestroyLinkAction">
        <body>A destroy link action is a write link action that destroys links and link objects.</body>
      </ownedComment>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="DestroyLinkAction-endData" name="endData" type="LinkEndDestructionData" upper="*" lower="2" isComposite="true" redefinedProperty="LinkAction-endData" association="A_endData_destroyLinkAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="DestroyLinkAction-endData-_ownedComment.0" annotatedElement="DestroyLinkAction-endData">
          <body>Specifies ends of association and inputs.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="WriteLinkAction" name="WriteLinkAction" isAbstract="true" superClass="LinkAction">
      <ownedComment xmi:type="cmof:Comment" xmi:id="WriteLinkAction-_ownedComment.0" annotatedElement="WriteLinkAction">
        <body>WriteLinkAction is an abstract class for link actions that create and destroy links.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="WriteLinkAction-allow_access" name="allow_access" constrainedElement="WriteLinkAction" namespace="WriteLinkAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="WriteLinkAction-allow_access-_ownedComment.0" annotatedElement="WriteLinkAction-allow_access">
          <body>The visibility of at least one end must allow access to the class using the action.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="WriteLinkAction-allow_access-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="ClearAssociationAction" name="ClearAssociationAction" superClass="Action">
      <ownedComment xmi:type="cmof:Comment" xmi:id="ClearAssociationAction-_ownedComment.0" annotatedElement="ClearAssociationAction">
        <body>A clear association action is an action that destroys all links of an association in which a particular object participates.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ClearAssociationAction-same_type" name="same_type" constrainedElement="ClearAssociationAction" namespace="ClearAssociationAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ClearAssociationAction-same_type-_ownedComment.0" annotatedElement="ClearAssociationAction-same_type">
          <body>The type of the input pin must be the same as the type of at least one of the association ends of the association.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ClearAssociationAction-same_type-_specification">
          <language>OCL</language>
          <body>self.association->exists(end.type = self.object.type)</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ClearAssociationAction-multiplicity" name="multiplicity" constrainedElement="ClearAssociationAction" namespace="ClearAssociationAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ClearAssociationAction-multiplicity-_ownedComment.0" annotatedElement="ClearAssociationAction-multiplicity">
          <body>The multiplicity of the input pin is 1..1.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ClearAssociationAction-multiplicity-_specification">
          <language>OCL</language>
          <body>self.object.multiplicity.is(1,1)</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ClearAssociationAction-object" name="object" type="InputPin" isComposite="true" subsettedProperty="Action-input" association="A_object_clearAssociationAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ClearAssociationAction-object-_ownedComment.0" annotatedElement="ClearAssociationAction-object">
          <body>Gives the input pin from which is obtained the object whose participation in the association is to be cleared.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ClearAssociationAction-association" name="association" type="Association" association="A_association_clearAssociationAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ClearAssociationAction-association-_ownedComment.0" annotatedElement="ClearAssociationAction-association">
          <body>Association to be cleared.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="BroadcastSignalAction" name="BroadcastSignalAction" superClass="InvocationAction">
      <ownedComment xmi:type="cmof:Comment" xmi:id="BroadcastSignalAction-_ownedComment.0" annotatedElement="BroadcastSignalAction">
        <body>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.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="BroadcastSignalAction-number_and_order" name="number_and_order" constrainedElement="BroadcastSignalAction" namespace="BroadcastSignalAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="BroadcastSignalAction-number_and_order-_ownedComment.0" annotatedElement="BroadcastSignalAction-number_and_order">
          <body>The number and order of argument pins must be the same as the number and order of attributes in the signal.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="BroadcastSignalAction-number_and_order-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="BroadcastSignalAction-type_ordering_multiplicity" name="type_ordering_multiplicity" constrainedElement="BroadcastSignalAction" namespace="BroadcastSignalAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="BroadcastSignalAction-type_ordering_multiplicity-_ownedComment.0" annotatedElement="BroadcastSignalAction-type_ordering_multiplicity">
          <body>The type, ordering, and multiplicity of an argument pin must be the same as the corresponding attribute of the signal.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="BroadcastSignalAction-type_ordering_multiplicity-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="BroadcastSignalAction-signal" name="signal" type="Signal" association="A_signal_broadcastSignalAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="BroadcastSignalAction-signal-_ownedComment.0" annotatedElement="BroadcastSignalAction-signal">
          <body>The specification of signal object transmitted to the target objects.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="SendObjectAction" name="SendObjectAction" superClass="InvocationAction">
      <ownedComment xmi:type="cmof:Comment" xmi:id="SendObjectAction-_ownedComment.0" annotatedElement="SendObjectAction">
        <body>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.</body>
      </ownedComment>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="SendObjectAction-target" name="target" type="InputPin" isComposite="true" subsettedProperty="Action-input" association="A_target_sendObjectAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="SendObjectAction-target-_ownedComment.0" annotatedElement="SendObjectAction-target">
          <body>The target object to which the object is sent.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="SendObjectAction-request" name="request" type="InputPin" isComposite="true" redefinedProperty="InvocationAction-argument" association="A_request_sendObjectAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="SendObjectAction-request-_ownedComment.0" annotatedElement="SendObjectAction-request">
          <body>The request object, which is transmitted to the target object. The object may be copied in transmission, so identity might not be preserved.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="LinkEndDestructionData" name="LinkEndDestructionData" superClass="LinkEndData">
      <ownedComment xmi:type="cmof:Comment" xmi:id="LinkEndDestructionData-_ownedComment.0" annotatedElement="LinkEndDestructionData">
        <body>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.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="LinkEndDestructionData-destroy_link_action" name="destroy_link_action" constrainedElement="LinkEndDestructionData" namespace="LinkEndDestructionData">
        <ownedComment xmi:type="cmof:Comment" xmi:id="LinkEndDestructionData-destroy_link_action-_ownedComment.0" annotatedElement="LinkEndDestructionData-destroy_link_action">
          <body>LinkEndDestructionData can only be end data for DestroyLinkAction or one of its specializations.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="LinkEndDestructionData-destroy_link_action-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="LinkEndDestructionData-unlimited_natural_and_multiplicity" name="unlimited_natural_and_multiplicity" constrainedElement="LinkEndDestructionData" namespace="LinkEndDestructionData">
        <ownedComment xmi:type="cmof:Comment" xmi:id="LinkEndDestructionData-unlimited_natural_and_multiplicity-_ownedComment.0" annotatedElement="LinkEndDestructionData-unlimited_natural_and_multiplicity">
          <body>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.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="LinkEndDestructionData-unlimited_natural_and_multiplicity-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="LinkEndDestructionData-isDestroyDuplicates" name="isDestroyDuplicates" type="Boolean" default="false">
        <ownedComment xmi:type="cmof:Comment" xmi:id="LinkEndDestructionData-isDestroyDuplicates-_ownedComment.0" annotatedElement="LinkEndDestructionData-isDestroyDuplicates">
          <body>Specifies whether to destroy duplicates of the value in nonunique association ends.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="LinkEndDestructionData-destroyAt" name="destroyAt" type="InputPin" lower="0" association="A_destroyAt_linkEndDestructionData">
        <ownedComment xmi:type="cmof:Comment" xmi:id="LinkEndDestructionData-destroyAt-_ownedComment.0" annotatedElement="LinkEndDestructionData-destroyAt">
          <body>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.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="ValueSpecificationAction" name="ValueSpecificationAction" superClass="Action">
      <ownedComment xmi:type="cmof:Comment" xmi:id="ValueSpecificationAction-_ownedComment.0" annotatedElement="ValueSpecificationAction">
        <body>A value specification action is an action that evaluates a value specification.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ValueSpecificationAction-compatible_type" name="compatible_type" constrainedElement="ValueSpecificationAction" namespace="ValueSpecificationAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ValueSpecificationAction-compatible_type-_ownedComment.0" annotatedElement="ValueSpecificationAction-compatible_type">
          <body>The type of value specification must be compatible with the type of the result pin.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ValueSpecificationAction-compatible_type-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ValueSpecificationAction-multiplicity" name="multiplicity" constrainedElement="ValueSpecificationAction" namespace="ValueSpecificationAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ValueSpecificationAction-multiplicity-_ownedComment.0" annotatedElement="ValueSpecificationAction-multiplicity">
          <body>The multiplicity of the result pin is 1..1</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ValueSpecificationAction-multiplicity-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ValueSpecificationAction-value" name="value" type="ValueSpecification" isComposite="true" association="A_value_valueSpecificationAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ValueSpecificationAction-value-_ownedComment.0" annotatedElement="ValueSpecificationAction-value">
          <body>Value specification to be evaluated.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ValueSpecificationAction-result" name="result" type="OutputPin" isComposite="true" subsettedProperty="Action-output" association="A_result_valueSpecificationAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ValueSpecificationAction-result-_ownedComment.0" annotatedElement="ValueSpecificationAction-result">
          <body>Gives the output pin on which the result is put.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_classifier_createObjectAction" name="A_classifier_createObjectAction" visibility="private" memberEnd="CreateObjectAction-classifier A_classifier_createObjectAction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_classifier_createObjectAction-_ownedEnd.0" type="CreateObjectAction" upper="*" lower="0" owningAssociation="A_classifier_createObjectAction" association="A_classifier_createObjectAction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_result_createObjectAction" name="A_result_createObjectAction" visibility="private" memberEnd="CreateObjectAction-result A_result_createObjectAction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_result_createObjectAction-_ownedEnd.0" type="CreateObjectAction" lower="0" owningAssociation="A_result_createObjectAction" association="A_result_createObjectAction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_target_destroyObjectAction" name="A_target_destroyObjectAction" visibility="private" memberEnd="DestroyObjectAction-target A_target_destroyObjectAction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_target_destroyObjectAction-_ownedEnd.0" type="DestroyObjectAction" lower="0" owningAssociation="A_target_destroyObjectAction" association="A_target_destroyObjectAction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_first_testIdentityAction" name="A_first_testIdentityAction" visibility="private" memberEnd="TestIdentityAction-first A_first_testIdentityAction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_first_testIdentityAction-_ownedEnd.0" type="TestIdentityAction" lower="0" owningAssociation="A_first_testIdentityAction" association="A_first_testIdentityAction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_second_testIdentityAction" name="A_second_testIdentityAction" visibility="private" memberEnd="TestIdentityAction-second A_second_testIdentityAction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_second_testIdentityAction-_ownedEnd.0" type="TestIdentityAction" lower="0" owningAssociation="A_second_testIdentityAction" association="A_second_testIdentityAction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_result_testIdentityAction" name="A_result_testIdentityAction" visibility="private" memberEnd="TestIdentityAction-result A_result_testIdentityAction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_result_testIdentityAction-_ownedEnd.0" type="TestIdentityAction" lower="0" owningAssociation="A_result_testIdentityAction" association="A_result_testIdentityAction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_result_readSelfAction" name="A_result_readSelfAction" visibility="private" memberEnd="ReadSelfAction-result A_result_readSelfAction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_result_readSelfAction-_ownedEnd.0" type="ReadSelfAction" lower="0" owningAssociation="A_result_readSelfAction" association="A_result_readSelfAction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_structuralFeatureAction_structuralFeature" name="A_structuralFeatureAction_structuralFeature" visibility="private" memberEnd="A_structuralFeatureAction_structuralFeature-_ownedEnd.0 StructuralFeatureAction-structuralFeature">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_structuralFeatureAction_structuralFeature-_ownedEnd.0" type="StructuralFeatureAction" upper="*" lower="0" owningAssociation="A_structuralFeatureAction_structuralFeature" association="A_structuralFeatureAction_structuralFeature"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_object_structuralFeatureAction" name="A_object_structuralFeatureAction" visibility="private" memberEnd="StructuralFeatureAction-object A_object_structuralFeatureAction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_object_structuralFeatureAction-_ownedEnd.0" type="StructuralFeatureAction" lower="0" owningAssociation="A_object_structuralFeatureAction" association="A_object_structuralFeatureAction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_result_readStructuralFeatureAction" name="A_result_readStructuralFeatureAction" visibility="private" memberEnd="ReadStructuralFeatureAction-result A_result_readStructuralFeatureAction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_result_readStructuralFeatureAction-_ownedEnd.0" type="ReadStructuralFeatureAction" lower="0" owningAssociation="A_result_readStructuralFeatureAction" association="A_result_readStructuralFeatureAction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_value_writeStructuralFeatureAction" name="A_value_writeStructuralFeatureAction" visibility="private" memberEnd="WriteStructuralFeatureAction-value A_value_writeStructuralFeatureAction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_value_writeStructuralFeatureAction-_ownedEnd.0" type="WriteStructuralFeatureAction" lower="0" owningAssociation="A_value_writeStructuralFeatureAction" association="A_value_writeStructuralFeatureAction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_insertAt_addStructuralFeatureValueAction" name="A_insertAt_addStructuralFeatureValueAction" visibility="private" memberEnd="AddStructuralFeatureValueAction-insertAt A_insertAt_addStructuralFeatureValueAction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_insertAt_addStructuralFeatureValueAction-_ownedEnd.0" type="AddStructuralFeatureValueAction" lower="0" owningAssociation="A_insertAt_addStructuralFeatureValueAction" association="A_insertAt_addStructuralFeatureValueAction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_endData_linkAction" name="A_endData_linkAction" visibility="private" memberEnd="LinkAction-endData A_endData_linkAction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_endData_linkAction-_ownedEnd.0" type="LinkAction" owningAssociation="A_endData_linkAction" association="A_endData_linkAction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_value_linkEndData" name="A_value_linkEndData" visibility="private" memberEnd="LinkEndData-value A_value_linkEndData-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_value_linkEndData-_ownedEnd.0" type="LinkEndData" lower="0" owningAssociation="A_value_linkEndData" association="A_value_linkEndData"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_end_linkEndData" name="A_end_linkEndData" visibility="private" memberEnd="LinkEndData-end A_end_linkEndData-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_end_linkEndData-_ownedEnd.0" type="LinkEndData" upper="*" lower="0" owningAssociation="A_end_linkEndData" association="A_end_linkEndData"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_result_readLinkAction" name="A_result_readLinkAction" visibility="private" memberEnd="ReadLinkAction-result A_result_readLinkAction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_result_readLinkAction-_ownedEnd.0" type="ReadLinkAction" lower="0" owningAssociation="A_result_readLinkAction" association="A_result_readLinkAction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_insertAt_linkEndCreationData" name="A_insertAt_linkEndCreationData" visibility="private" memberEnd="LinkEndCreationData-insertAt A_insertAt_linkEndCreationData-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_insertAt_linkEndCreationData-_ownedEnd.0" type="LinkEndCreationData" lower="0" owningAssociation="A_insertAt_linkEndCreationData" association="A_insertAt_linkEndCreationData"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_endData_createLinkAction" name="A_endData_createLinkAction" visibility="private" memberEnd="CreateLinkAction-endData A_endData_createLinkAction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_endData_createLinkAction-_ownedEnd.0" type="CreateLinkAction" owningAssociation="A_endData_createLinkAction" association="A_endData_createLinkAction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_object_clearAssociationAction" name="A_object_clearAssociationAction" visibility="private" memberEnd="ClearAssociationAction-object A_object_clearAssociationAction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_object_clearAssociationAction-_ownedEnd.0" type="ClearAssociationAction" lower="0" owningAssociation="A_object_clearAssociationAction" association="A_object_clearAssociationAction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_association_clearAssociationAction" name="A_association_clearAssociationAction" visibility="private" memberEnd="ClearAssociationAction-association A_association_clearAssociationAction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_association_clearAssociationAction-_ownedEnd.0" type="ClearAssociationAction" lower="0" owningAssociation="A_association_clearAssociationAction" association="A_association_clearAssociationAction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_target_sendObjectAction" name="A_target_sendObjectAction" visibility="private" memberEnd="SendObjectAction-target A_target_sendObjectAction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_target_sendObjectAction-_ownedEnd.0" type="SendObjectAction" lower="0" owningAssociation="A_target_sendObjectAction" association="A_target_sendObjectAction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_request_sendObjectAction" name="A_request_sendObjectAction" visibility="private" memberEnd="SendObjectAction-request A_request_sendObjectAction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_request_sendObjectAction-_ownedEnd.0" type="SendObjectAction" lower="0" owningAssociation="A_request_sendObjectAction" association="A_request_sendObjectAction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_signal_broadcastSignalAction" name="A_signal_broadcastSignalAction" visibility="private" memberEnd="BroadcastSignalAction-signal A_signal_broadcastSignalAction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_signal_broadcastSignalAction-_ownedEnd.0" type="BroadcastSignalAction" upper="*" lower="0" owningAssociation="A_signal_broadcastSignalAction" association="A_signal_broadcastSignalAction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_removeAt_removeStructuralFeatureValueAction" name="A_removeAt_removeStructuralFeatureValueAction" visibility="private" memberEnd="RemoveStructuralFeatureValueAction-removeAt A_removeAt_removeStructuralFeatureValueAction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_removeAt_removeStructuralFeatureValueAction-_ownedEnd.0" type="RemoveStructuralFeatureValueAction" lower="0" owningAssociation="A_removeAt_removeStructuralFeatureValueAction" association="A_removeAt_removeStructuralFeatureValueAction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_destroyAt_linkEndDestructionData" name="A_destroyAt_linkEndDestructionData" visibility="private" memberEnd="LinkEndDestructionData-destroyAt A_destroyAt_linkEndDestructionData-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_destroyAt_linkEndDestructionData-_ownedEnd.0" type="LinkEndDestructionData" lower="0" owningAssociation="A_destroyAt_linkEndDestructionData" association="A_destroyAt_linkEndDestructionData"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_endData_destroyLinkAction" name="A_endData_destroyLinkAction" visibility="private" memberEnd="DestroyLinkAction-endData A_endData_destroyLinkAction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_endData_destroyLinkAction-_ownedEnd.0" type="DestroyLinkAction" owningAssociation="A_endData_destroyLinkAction" association="A_endData_destroyLinkAction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_value_valueSpecificationAction" name="A_value_valueSpecificationAction" visibility="private" memberEnd="ValueSpecificationAction-value A_value_valueSpecificationAction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_value_valueSpecificationAction-_ownedEnd.0" type="ValueSpecificationAction" lower="0" owningAssociation="A_value_valueSpecificationAction" association="A_value_valueSpecificationAction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_result_valueSpecificationAction" name="A_result_valueSpecificationAction" visibility="private" memberEnd="ValueSpecificationAction-result A_result_valueSpecificationAction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_result_valueSpecificationAction-_ownedEnd.0" type="ValueSpecificationAction" lower="0" owningAssociation="A_result_valueSpecificationAction" association="A_result_valueSpecificationAction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_inputValue_linkAction" name="A_inputValue_linkAction" visibility="private" memberEnd="LinkAction-inputValue A_inputValue_linkAction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_inputValue_linkAction-_ownedEnd.0" type="LinkAction" lower="0" owningAssociation="A_inputValue_linkAction" association="A_inputValue_linkAction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="TimeExpression" name="TimeExpression" superClass="ValueSpecification">
      <ownedComment xmi:type="cmof:Comment" xmi:id="TimeExpression-_ownedComment.0" annotatedElement="TimeExpression">
        <body>A time expression defines a value specification that represents a time value.</body>
      </ownedComment>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="TimeExpression-expr" name="expr" type="ValueSpecification" lower="0" association="A_expr_timeExpression">
        <ownedComment xmi:type="cmof:Comment" xmi:id="TimeExpression-expr-_ownedComment.0" annotatedElement="TimeExpression-expr">
          <body>The value of the time expression.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="TimeExpression-observation" name="observation" type="Observation" upper="*" lower="0" association="A_observation_timeExpression">
        <ownedComment xmi:type="cmof:Comment" xmi:id="TimeExpression-observation-_ownedComment.0" annotatedElement="TimeExpression-observation">
          <body>Refers to the time and duration observations that are involved in expr.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="Duration" name="Duration" superClass="ValueSpecification">
      <ownedComment xmi:type="cmof:Comment" xmi:id="Duration-_ownedComment.0" annotatedElement="Duration">
        <body>Duration defines a value specification that specifies the temporal distance between two time instants.</body>
      </ownedComment>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Duration-expr" name="expr" type="ValueSpecification" lower="0" association="A_expr_duration">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Duration-expr-_ownedComment.0" annotatedElement="Duration-expr">
          <body>The value of the Duration.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Duration-observation" name="observation" type="Observation" upper="*" lower="0" association="A_observation_duration">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Duration-observation-_ownedComment.0" annotatedElement="Duration-observation">
          <body>Refers to the time and duration observations that are involved in expr.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="DurationInterval" name="DurationInterval" superClass="Interval">
      <ownedComment xmi:type="cmof:Comment" xmi:id="DurationInterval-_ownedComment.0" annotatedElement="DurationInterval">
        <body>A duration interval defines the range between two durations.</body>
      </ownedComment>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="DurationInterval-min" name="min" type="Duration" redefinedProperty="Interval-min" association="A_min_durationInterval">
        <ownedComment xmi:type="cmof:Comment" xmi:id="DurationInterval-min-_ownedComment.0" annotatedElement="DurationInterval-min">
          <body>Refers to the Duration denoting the minimum value of the range.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="DurationInterval-max" name="max" type="Duration" redefinedProperty="Interval-max" association="A_max_durationInterval">
        <ownedComment xmi:type="cmof:Comment" xmi:id="DurationInterval-max-_ownedComment.0" annotatedElement="DurationInterval-max">
          <body>Refers to the Duration denoting the maximum value of the range.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="TimeConstraint" name="TimeConstraint" superClass="IntervalConstraint">
      <ownedComment xmi:type="cmof:Comment" xmi:id="TimeConstraint-_ownedComment.0" annotatedElement="TimeConstraint">
        <body>A time constraint is a constraint that refers to a time interval.</body>
      </ownedComment>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="TimeConstraint-specification" name="specification" type="TimeInterval" isComposite="true" redefinedProperty="IntervalConstraint-specification" association="A_specification_timeConstraint">
        <ownedComment xmi:type="cmof:Comment" xmi:id="TimeConstraint-specification-_ownedComment.0" annotatedElement="TimeConstraint-specification">
          <body>A condition that must be true when evaluated in order for the constraint to be satisfied.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="TimeConstraint-firstEvent" name="firstEvent" type="Boolean" lower="0" default="true">
        <ownedComment xmi:type="cmof:Comment" xmi:id="TimeConstraint-firstEvent-_ownedComment.0" annotatedElement="TimeConstraint-firstEvent">
          <body>The value of firstEvent is related to constrainedElement. If firstEvent is true, then the corresponding observation event is the first time instant the execution enters constrainedElement. If firstEvent is false, then the corresponding observation event is the last time instant the execution is within constrainedElement.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="TimeInterval" name="TimeInterval" superClass="Interval">
      <ownedComment xmi:type="cmof:Comment" xmi:id="TimeInterval-_ownedComment.0" annotatedElement="TimeInterval">
        <body>A time interval defines the range between two time expressions.</body>
      </ownedComment>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="TimeInterval-max" name="max" type="TimeExpression" redefinedProperty="Interval-max" association="A_max_timeInterval">
        <ownedComment xmi:type="cmof:Comment" xmi:id="TimeInterval-max-_ownedComment.0" annotatedElement="TimeInterval-max">
          <body>Refers to the TimeExpression denoting the maximum value of the range.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="TimeInterval-min" name="min" type="TimeExpression" redefinedProperty="Interval-min" association="A_min_timeInterval">
        <ownedComment xmi:type="cmof:Comment" xmi:id="TimeInterval-min-_ownedComment.0" annotatedElement="TimeInterval-min">
          <body>Refers to the TimeExpression denoting the minimum value of the range.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="DurationConstraint" name="DurationConstraint" superClass="IntervalConstraint">
      <ownedComment xmi:type="cmof:Comment" xmi:id="DurationConstraint-_ownedComment.0" annotatedElement="DurationConstraint">
        <body>A duration constraint is a constraint that refers to a duration interval.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="DurationConstraint-first_event_multiplicity" name="first_event_multiplicity" constrainedElement="DurationConstraint" namespace="DurationConstraint">
        <ownedComment xmi:type="cmof:Comment" xmi:id="DurationConstraint-first_event_multiplicity-_ownedComment.0" annotatedElement="DurationConstraint-first_event_multiplicity">
          <body>The multiplicity of firstEvent must be 2 if the multiplicity of constrainedElement is 2. Otherwise the multiplicity of firstEvent is 0.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="DurationConstraint-first_event_multiplicity-_specification">
          <language>OCL</language>
          <body>if (constrainedElement->size() =2)&#xD;&#xA;  then (firstEvent->size() = 2) else (firstEvent->size() = 0)</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="DurationConstraint-specification" name="specification" type="DurationInterval" isComposite="true" redefinedProperty="IntervalConstraint-specification" association="A_specification_durationConstraint">
        <ownedComment xmi:type="cmof:Comment" xmi:id="DurationConstraint-specification-_ownedComment.0" annotatedElement="DurationConstraint-specification">
          <body>The interval constraining the duration.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="DurationConstraint-firstEvent" name="firstEvent" type="Boolean" upper="2" lower="0" default="true">
        <ownedComment xmi:type="cmof:Comment" xmi:id="DurationConstraint-firstEvent-_ownedComment.0" annotatedElement="DurationConstraint-firstEvent">
          <body>The value of firstEvent[i] is related to constrainedElement[i] (where i is 1 or 2). If firstEvent[i] is true, then the corresponding observation event is the first time instant the execution enters constrainedElement[i]. If firstEvent[i] is false, then the corresponding observation event is the last time instant the execution is within constrainedElement[i]. Default value is true applied when constrainedElement[i] refers an element that represents only one time instant.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="IntervalConstraint" name="IntervalConstraint" superClass="Constraint">
      <ownedComment xmi:type="cmof:Comment" xmi:id="IntervalConstraint-_ownedComment.0" annotatedElement="IntervalConstraint">
        <body>An interval constraint is a constraint that refers to an interval.</body>
      </ownedComment>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="IntervalConstraint-specification" name="specification" type="Interval" isComposite="true" redefinedProperty="Constraint-specification" association="A_specification_intervalConstraint">
        <ownedComment xmi:type="cmof:Comment" xmi:id="IntervalConstraint-specification-_ownedComment.0" annotatedElement="IntervalConstraint-specification">
          <body>A condition that must be true when evaluated in order for the constraint to be satisfied.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="Interval" name="Interval" superClass="ValueSpecification">
      <ownedComment xmi:type="cmof:Comment" xmi:id="Interval-_ownedComment.0" annotatedElement="Interval">
        <body>An interval defines the range between two value specifications.</body>
      </ownedComment>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Interval-min" name="min" type="ValueSpecification" association="A_min_interval">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Interval-min-_ownedComment.0" annotatedElement="Interval-min">
          <body>Refers to the ValueSpecification denoting the minimum value of the range.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Interval-max" name="max" type="ValueSpecification" association="A_max_interval">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Interval-max-_ownedComment.0" annotatedElement="Interval-max">
          <body>Refers to the ValueSpecification denoting the maximum value of the range.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="Observation" name="Observation" isAbstract="true" superClass="PackageableElement">
      <ownedComment xmi:type="cmof:Comment" xmi:id="Observation-_ownedComment.0" annotatedElement="Observation">
        <body>Observation is a superclass of TimeObservation and DurationObservation in order for TimeExpression and Duration to refer to either in a simple way.</body>
      </ownedComment>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="TimeObservation" name="TimeObservation" superClass="Observation">
      <ownedComment xmi:type="cmof:Comment" xmi:id="TimeObservation-_ownedComment.0" annotatedElement="TimeObservation">
        <body>A time observation is a reference to a time instant during an execution. It points out the element in the model to observe and whether the observation is when this model element is entered or when it is exited.</body>
      </ownedComment>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="TimeObservation-event" name="event" type="NamedElement" association="A_event_timeObservation">
        <ownedComment xmi:type="cmof:Comment" xmi:id="TimeObservation-event-_ownedComment.0" annotatedElement="TimeObservation-event">
          <body>The observation is determined by the entering or exiting of the event element during execution.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="TimeObservation-firstEvent" name="firstEvent" type="Boolean" default="true">
        <ownedComment xmi:type="cmof:Comment" xmi:id="TimeObservation-firstEvent-_ownedComment.0" annotatedElement="TimeObservation-firstEvent">
          <body>The value of firstEvent is related to event. If firstEvent is true, then the corresponding observation event is the first time instant the execution enters event. If firstEvent is false, then the corresponding observation event is the time instant the execution exits event.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="DurationObservation" name="DurationObservation" superClass="Observation">
      <ownedComment xmi:type="cmof:Comment" xmi:id="DurationObservation-_ownedComment.0" annotatedElement="DurationObservation">
        <body>A duration observation is a reference to a duration during an execution. It points out the element(s) in the model to observe and whether the observations are when this model element is entered or when it is exited.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="DurationObservation-first_event_multiplicity" name="first_event_multiplicity" constrainedElement="DurationObservation" namespace="DurationObservation">
        <ownedComment xmi:type="cmof:Comment" xmi:id="DurationObservation-first_event_multiplicity-_ownedComment.0" annotatedElement="DurationObservation-first_event_multiplicity">
          <body>The multiplicity of firstEvent must be 2 if the multiplicity of event is 2. Otherwise the multiplicity of firstEvent is 0.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="DurationObservation-first_event_multiplicity-_specification">
          <language>OCL</language>
          <body>if (event->size() = 2)&#xD;&#xA;  then (firstEvent->size() = 2) else (firstEvent->size() = 0)</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="DurationObservation-event" name="event" type="NamedElement" upper="2" association="A_event_durationObservation">
        <ownedComment xmi:type="cmof:Comment" xmi:id="DurationObservation-event-_ownedComment.0" annotatedElement="DurationObservation-event">
          <body>The observation is determined by the entering or exiting of the event element during execution.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="DurationObservation-firstEvent" name="firstEvent" type="Boolean" upper="2" lower="0" default="true">
        <ownedComment xmi:type="cmof:Comment" xmi:id="DurationObservation-firstEvent-_ownedComment.0" annotatedElement="DurationObservation-firstEvent">
          <body>The value of firstEvent[i] is related to event[i] (where i is 1 or 2). If firstEvent[i] is true, then the corresponding observation event is the first time instant the execution enters event[i]. If firstEvent[i] is false, then the corresponding observation event is the time instant the execution exits event[i]. Default value is true applied when event[i] refers an element that represents only one time instant.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_min_durationInterval" name="A_min_durationInterval" visibility="private" memberEnd="DurationInterval-min A_min_durationInterval-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_min_durationInterval-_ownedEnd.0" type="DurationInterval" upper="*" lower="0" owningAssociation="A_min_durationInterval" association="A_min_durationInterval"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_max_durationInterval" name="A_max_durationInterval" visibility="private" memberEnd="DurationInterval-max A_max_durationInterval-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_max_durationInterval-_ownedEnd.0" type="DurationInterval" upper="*" lower="0" owningAssociation="A_max_durationInterval" association="A_max_durationInterval"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_max_timeInterval" name="A_max_timeInterval" visibility="private" memberEnd="TimeInterval-max A_max_timeInterval-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_max_timeInterval-_ownedEnd.0" type="TimeInterval" upper="*" lower="0" owningAssociation="A_max_timeInterval" association="A_max_timeInterval"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_min_timeInterval" name="A_min_timeInterval" visibility="private" memberEnd="TimeInterval-min A_min_timeInterval-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_min_timeInterval-_ownedEnd.0" type="TimeInterval" upper="*" lower="0" owningAssociation="A_min_timeInterval" association="A_min_timeInterval"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_specification_timeConstraint" name="A_specification_timeConstraint" visibility="private" memberEnd="TimeConstraint-specification A_specification_timeConstraint-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_specification_timeConstraint-_ownedEnd.0" type="TimeConstraint" lower="0" owningAssociation="A_specification_timeConstraint" association="A_specification_timeConstraint"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_specification_durationConstraint" name="A_specification_durationConstraint" visibility="private" memberEnd="DurationConstraint-specification A_specification_durationConstraint-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_specification_durationConstraint-_ownedEnd.0" type="DurationConstraint" lower="0" owningAssociation="A_specification_durationConstraint" association="A_specification_durationConstraint"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_min_interval" name="A_min_interval" visibility="private" memberEnd="Interval-min A_min_interval-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_min_interval-_ownedEnd.0" type="Interval" upper="*" lower="0" owningAssociation="A_min_interval" association="A_min_interval"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_max_interval" name="A_max_interval" visibility="private" memberEnd="Interval-max A_max_interval-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_max_interval-_ownedEnd.0" type="Interval" upper="*" lower="0" owningAssociation="A_max_interval" association="A_max_interval"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_specification_intervalConstraint" name="A_specification_intervalConstraint" visibility="private" memberEnd="IntervalConstraint-specification A_specification_intervalConstraint-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_specification_intervalConstraint-_ownedEnd.0" type="IntervalConstraint" lower="0" owningAssociation="A_specification_intervalConstraint" association="A_specification_intervalConstraint"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_observation_duration" name="A_observation_duration" visibility="private" memberEnd="Duration-observation A_observation_duration-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_observation_duration-_ownedEnd.0" type="Duration" lower="0" owningAssociation="A_observation_duration" association="A_observation_duration"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_observation_timeExpression" name="A_observation_timeExpression" visibility="private" memberEnd="TimeExpression-observation A_observation_timeExpression-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_observation_timeExpression-_ownedEnd.0" type="TimeExpression" lower="0" owningAssociation="A_observation_timeExpression" association="A_observation_timeExpression"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_expr_timeExpression" name="A_expr_timeExpression" visibility="private" memberEnd="TimeExpression-expr A_expr_timeExpression-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_expr_timeExpression-_ownedEnd.0" type="TimeExpression" lower="0" owningAssociation="A_expr_timeExpression" association="A_expr_timeExpression"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_expr_duration" name="A_expr_duration" visibility="private" memberEnd="Duration-expr A_expr_duration-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_expr_duration-_ownedEnd.0" type="Duration" lower="0" owningAssociation="A_expr_duration" association="A_expr_duration"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_event_timeObservation" name="A_event_timeObservation" visibility="private" memberEnd="TimeObservation-event A_event_timeObservation-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_event_timeObservation-_ownedEnd.0" type="TimeObservation" upper="*" lower="0" owningAssociation="A_event_timeObservation" association="A_event_timeObservation"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_event_durationObservation" name="A_event_durationObservation" visibility="private" memberEnd="DurationObservation-event A_event_durationObservation-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_event_durationObservation-_ownedEnd.0" type="DurationObservation" upper="*" lower="0" owningAssociation="A_event_durationObservation" association="A_event_durationObservation"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="CallEvent" name="CallEvent" superClass="MessageEvent">
      <ownedComment xmi:type="cmof:Comment" xmi:id="CallEvent-_ownedComment.0" annotatedElement="CallEvent">
        <body>A call event models the receipt by an object of a message invoking a call of an operation.</body>
      </ownedComment>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="CallEvent-operation" name="operation" type="Operation" association="A_operation_callEvent">
        <ownedComment xmi:type="cmof:Comment" xmi:id="CallEvent-operation-_ownedComment.0" annotatedElement="CallEvent-operation">
          <body>Designates the operation whose invocation raised the call event.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="ChangeEvent" name="ChangeEvent" superClass="Event">
      <ownedComment xmi:type="cmof:Comment" xmi:id="ChangeEvent-_ownedComment.0" annotatedElement="ChangeEvent">
        <body>A change event models a change in the system configuration that makes a condition true.</body>
      </ownedComment>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ChangeEvent-changeExpression" name="changeExpression" type="ValueSpecification" isComposite="true" subsettedProperty="Element-ownedElement" association="A_changeExpression_changeEvent">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ChangeEvent-changeExpression-_ownedComment.0" annotatedElement="ChangeEvent-changeExpression">
          <body>A Boolean-valued expression that will result in a change event whenever its value changes from false to true.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="Trigger" name="Trigger" superClass="NamedElement">
      <ownedComment xmi:type="cmof:Comment" xmi:id="Trigger-_ownedComment.0" annotatedElement="Trigger">
        <body>A trigger relates an event to a behavior that may affect an instance of the classifier.</body>
      </ownedComment>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Trigger-event" name="event" type="Event" association="A_event_trigger">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Trigger-event-_ownedComment.0" annotatedElement="Trigger-event">
          <body>The event that causes the trigger.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="Interface" name="Interface" superClass="Classifier">
      <ownedComment xmi:type="cmof:Comment" xmi:id="Interface-_ownedComment.0" annotatedElement="Interface">
        <body>An interface is a kind of classifier that represents a declaration of a set of coherent public features and obligations. An interface specifies a contract; any instance of a classifier that realizes the interface must fulfill that contract. The obligations that may be associated with an interface are in the form of various kinds of constraints (such as pre- and post-conditions) or protocol specifications, which may impose ordering restrictions on interactions through the interface.</body>
      </ownedComment>
      <ownedComment xmi:type="cmof:Comment" xmi:id="Interface-_ownedComment.1" annotatedElement="Interface">
        <body>Interfaces may include receptions (in addition to operations).</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Interface-visibility" name="visibility" constrainedElement="Interface" namespace="Interface">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Interface-visibility-_ownedComment.0" annotatedElement="Interface-visibility">
          <body>The visibility of all features owned by an interface must be public.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Interface-visibility-_specification">
          <language>OCL</language>
          <body>self.feature->forAll(f | f.visibility = #public)</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Interface-ownedAttribute" name="ownedAttribute" type="Property" isOrdered="true" upper="*" lower="0" isComposite="true" subsettedProperty="Classifier-attribute Namespace-ownedMember" association="A_interface_ownedAttribute">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Interface-ownedAttribute-_ownedComment.0" annotatedElement="Interface-ownedAttribute">
          <body>The attributes (i.e. the properties) owned by the class.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Interface-ownedOperation" name="ownedOperation" type="Operation" isOrdered="true" upper="*" lower="0" isComposite="true" subsettedProperty="Classifier-feature Namespace-ownedMember" association="A_interface_ownedOperation">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Interface-ownedOperation-_ownedComment.0" annotatedElement="Interface-ownedOperation">
          <body>The operations owned by the class.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Interface-nestedClassifier" name="nestedClassifier" type="Classifier" isOrdered="true" upper="*" lower="0" isComposite="true" subsettedProperty="Namespace-ownedMember" association="A_nestedClassifier_interface">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Interface-nestedClassifier-_ownedComment.0" annotatedElement="Interface-nestedClassifier">
          <body>References all the Classifiers that are defined (nested) within the Class.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Interface-redefinedInterface" name="redefinedInterface" type="Interface" upper="*" lower="0" subsettedProperty="RedefinableElement-redefinedElement" association="A_interface_redefinedInterface">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Interface-redefinedInterface-_ownedComment.0" annotatedElement="Interface-redefinedInterface">
          <body>References all the Interfaces redefined by this Interface.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Interface-ownedReception" name="ownedReception" type="Reception" upper="*" lower="0" isComposite="true" subsettedProperty="Classifier-feature Namespace-ownedMember" association="A_ownedReception_interface">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Interface-ownedReception-_ownedComment.0" annotatedElement="Interface-ownedReception">
          <body>Receptions that objects providing this interface are willing to accept.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="Reception" name="Reception" superClass="BehavioralFeature">
      <ownedComment xmi:type="cmof:Comment" xmi:id="Reception-_ownedComment.0" annotatedElement="Reception">
        <body>A reception is a declaration stating that a classifier is prepared to react to the receipt of a signal. A reception designates a signal and specifies the expected behavioral response. The details of handling a signal are specified by the behavior associated with the reception or the classifier itself.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Reception-not_query" name="not_query" constrainedElement="Reception" namespace="Reception">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Reception-not_query-_ownedComment.0" annotatedElement="Reception-not_query">
          <body>A Reception can not be a query.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Reception-not_query-_specification">
          <language>OCL</language>
          <body>not self.isQuery</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Reception-signal" name="signal" type="Signal" lower="0" association="A_reception_signal">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Reception-signal-_ownedComment.0" annotatedElement="Reception-signal">
          <body>The signal that this reception handles.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="Signal" name="Signal" superClass="Classifier">
      <ownedComment xmi:type="cmof:Comment" xmi:id="Signal-_ownedComment.0" annotatedElement="Signal">
        <body>A signal is a specification of send request instances communicated between objects. The receiving object handles the received request instances as specified by its receptions. The data carried by a send request (which was passed to it by the send invocation occurrence that caused that request) are represented as attributes of the signal. A signal is defined independently of the classifiers handling the signal occurrence.</body>
      </ownedComment>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Signal-ownedAttribute" name="ownedAttribute" type="Property" isOrdered="true" upper="*" lower="0" isComposite="true" subsettedProperty="Classifier-attribute Namespace-ownedMember" association="A_ownedAttribute_owningSignal">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Signal-ownedAttribute-_ownedComment.0" annotatedElement="Signal-ownedAttribute">
          <body>The attributes owned by the signal.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="SignalEvent" name="SignalEvent" superClass="MessageEvent">
      <ownedComment xmi:type="cmof:Comment" xmi:id="SignalEvent-_ownedComment.0" annotatedElement="SignalEvent">
        <body>A signal event represents the receipt of an asynchronous signal instance. A signal event may, for example, cause a state machine to trigger a transition.</body>
      </ownedComment>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="SignalEvent-signal" name="signal" type="Signal" association="A_signal_signalEvent">
        <ownedComment xmi:type="cmof:Comment" xmi:id="SignalEvent-signal-_ownedComment.0" annotatedElement="SignalEvent-signal">
          <body>The specific signal that is associated with this event.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="MessageEvent" name="MessageEvent" isAbstract="true" superClass="Event">
      <ownedComment xmi:type="cmof:Comment" xmi:id="MessageEvent-_ownedComment.0" annotatedElement="MessageEvent">
        <body>A message event specifies the receipt by an object of either a call or a signal.</body>
      </ownedComment>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="AnyReceiveEvent" name="AnyReceiveEvent" superClass="MessageEvent">
      <ownedComment xmi:type="cmof:Comment" xmi:id="AnyReceiveEvent-_ownedComment.0" annotatedElement="AnyReceiveEvent">
        <body>A transition trigger associated with an any receive event specifies that the transition is to be triggered by the receipt of any message that is not explicitly referenced in another transition from the same vertex.</body>
      </ownedComment>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="BehavioredClassifier" name="BehavioredClassifier" isAbstract="true" superClass="Classifier">
      <ownedComment xmi:type="cmof:Comment" xmi:id="BehavioredClassifier-_ownedComment.0" annotatedElement="BehavioredClassifier">
        <body>A behaviored classifier may have an interface realization.</body>
      </ownedComment>
      <ownedComment xmi:type="cmof:Comment" xmi:id="BehavioredClassifier-_ownedComment.1" annotatedElement="BehavioredClassifier">
        <body>A classifier can have behavior specifications defined in its namespace. One of these may specify the behavior of the classifier itself.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="BehavioredClassifier-class_behavior" name="class_behavior" constrainedElement="BehavioredClassifier" namespace="BehavioredClassifier">
        <ownedComment xmi:type="cmof:Comment" xmi:id="BehavioredClassifier-class_behavior-_ownedComment.0" annotatedElement="BehavioredClassifier-class_behavior">
          <body>If a behavior is classifier behavior, it does not have a specification.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="BehavioredClassifier-class_behavior-_specification">
          <language>OCL</language>
          <body>self.classifierBehavior.notEmpty() implies self.specification.isEmpty()</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="BehavioredClassifier-ownedBehavior" name="ownedBehavior" type="Behavior" upper="*" lower="0" isComposite="true" subsettedProperty="Namespace-ownedMember" association="A_behavioredClassifier_ownedBehavior">
        <ownedComment xmi:type="cmof:Comment" xmi:id="BehavioredClassifier-ownedBehavior-_ownedComment.0" annotatedElement="BehavioredClassifier-ownedBehavior">
          <body>References behavior specifications owned by a classifier.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="BehavioredClassifier-classifierBehavior" name="classifierBehavior" type="Behavior" lower="0" subsettedProperty="BehavioredClassifier-ownedBehavior" association="A_classifierBehavior_behavioredClassifier">
        <ownedComment xmi:type="cmof:Comment" xmi:id="BehavioredClassifier-classifierBehavior-_ownedComment.0" annotatedElement="BehavioredClassifier-classifierBehavior">
          <body>A behavior specification that specifies the behavior of the classifier itself.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="BehavioredClassifier-interfaceRealization" name="interfaceRealization" type="InterfaceRealization" upper="*" lower="0" isComposite="true" subsettedProperty="Element-ownedElement NamedElement-clientDependency" association="A_interfaceRealization_implementingClassifier">
        <ownedComment xmi:type="cmof:Comment" xmi:id="BehavioredClassifier-interfaceRealization-_ownedComment.0" annotatedElement="BehavioredClassifier-interfaceRealization">
          <body>The set of InterfaceRealizations owned by the BehavioredClassifier. Interface realizations reference the Interfaces of which the BehavioredClassifier is an implementation.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="BehavioredClassifier-ownedTrigger" name="ownedTrigger" type="Trigger" upper="*" lower="0" isComposite="true" subsettedProperty="Namespace-ownedMember" association="A_ownedTrigger_behavioredClassifier">
        <ownedComment xmi:type="cmof:Comment" xmi:id="BehavioredClassifier-ownedTrigger-_ownedComment.0" annotatedElement="BehavioredClassifier-ownedTrigger">
          <body>References Trigger descriptions owned by a Classifier.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="Event" name="Event" isAbstract="true" superClass="PackageableElement">
      <ownedComment xmi:type="cmof:Comment" xmi:id="Event-_ownedComment.0" annotatedElement="Event">
        <body>An event is the specification of some occurrence that may potentially trigger effects by an object.</body>
      </ownedComment>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="Operation" name="Operation" superClass="BehavioralFeature">
      <ownedComment xmi:type="cmof:Comment" xmi:id="Operation-_ownedComment.0" annotatedElement="Operation">
        <body>An operation is a behavioral feature of a classifier that specifies the name, type, parameters, and constraints for invoking an associated behavior.</body>
      </ownedComment>
      <ownedComment xmi:type="cmof:Comment" xmi:id="Operation-_ownedComment.1" annotatedElement="Operation">
        <body>An operation may invoke both the execution of method behaviors as well as other behavioral responses.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Operation-at_most_one_return" name="at_most_one_return" constrainedElement="Operation" namespace="Operation">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Operation-at_most_one_return-_ownedComment.0" annotatedElement="Operation-at_most_one_return">
          <body>An operation can have at most one return parameter; i.e., an owned parameter with the direction set to 'return'</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Operation-at_most_one_return-_specification">
          <language>OCL</language>
          <body>self.ownedParameter->select(par | par.direction = #return)->size() &lt;= 1</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Operation-only_body_for_query" name="only_body_for_query" constrainedElement="Operation" namespace="Operation">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Operation-only_body_for_query-_ownedComment.0" annotatedElement="Operation-only_body_for_query">
          <body>A bodyCondition can only be specified for a query operation.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Operation-only_body_for_query-_specification">
          <language>OCL</language>
          <body>bodyCondition->notEmpty() implies isQuery</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Operation-isQuery" name="isQuery" type="Boolean" default="false">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Operation-isQuery-_ownedComment.0" annotatedElement="Operation-isQuery">
          <body>Specifies whether an execution of the BehavioralFeature leaves the state of the system unchanged (isQuery=true) or whether side effects may occur (isQuery=false).</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Operation-isOrdered" name="isOrdered" type="Boolean" isDerived="true" default="false">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Operation-isOrdered-_ownedComment.0" annotatedElement="Operation-isOrdered">
          <body>This information is derived from the return result for this Operation.</body>
        </ownedComment>
        <ownedComment xmi:type="cmof:Comment" xmi:id="Operation-isOrdered-_ownedComment.1" annotatedElement="Operation-isOrdered">
          <body>Specifies whether the return parameter is ordered or not, if present.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Operation-isUnique" name="isUnique" type="Boolean" isDerived="true" default="true">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Operation-isUnique-_ownedComment.0" annotatedElement="Operation-isUnique">
          <body>This information is derived from the return result for this Operation.</body>
        </ownedComment>
        <ownedComment xmi:type="cmof:Comment" xmi:id="Operation-isUnique-_ownedComment.1" annotatedElement="Operation-isUnique">
          <body>Specifies whether the return parameter is unique or not, if present.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Operation-lower" name="lower" type="Integer" lower="0" isDerived="true" default="1">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Operation-lower-_ownedComment.0" annotatedElement="Operation-lower">
          <body>This information is derived from the return result for this Operation.</body>
        </ownedComment>
        <ownedComment xmi:type="cmof:Comment" xmi:id="Operation-lower-_ownedComment.1" annotatedElement="Operation-lower">
          <body>Specifies the lower multiplicity of the return parameter, if present.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Operation-upper" name="upper" type="UnlimitedNatural" lower="0" isDerived="true" default="1">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Operation-upper-_ownedComment.0" annotatedElement="Operation-upper">
          <body>This information is derived from the return result for this Operation.</body>
        </ownedComment>
        <ownedComment xmi:type="cmof:Comment" xmi:id="Operation-upper-_ownedComment.1" annotatedElement="Operation-upper">
          <body>Specifies the upper multiplicity of the return parameter, if present.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Operation-class" name="class" type="Class" lower="0" subsettedProperty="RedefinableElement-redefinitionContext NamedElement-namespace Feature-featuringClassifier" association="A_ownedOperation_class">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Operation-class-_ownedComment.0" annotatedElement="Operation-class">
          <body>The class that owns the operation.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Operation-precondition" name="precondition" type="Constraint" upper="*" lower="0" isComposite="true" subsettedProperty="Namespace-ownedRule" association="A_precondition_preContext">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Operation-precondition-_ownedComment.0" annotatedElement="Operation-precondition">
          <body>An optional set of Constraints on the state of the system when the Operation is invoked.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Operation-postcondition" name="postcondition" type="Constraint" upper="*" lower="0" isComposite="true" subsettedProperty="Namespace-ownedRule" association="A_postcondition_postContext">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Operation-postcondition-_ownedComment.0" annotatedElement="Operation-postcondition">
          <body>An optional set of Constraints specifying the state of the system when the Operation is completed.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Operation-redefinedOperation" name="redefinedOperation" type="Operation" upper="*" lower="0" subsettedProperty="RedefinableElement-redefinedElement" association="A_redefinedOperation_operation">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Operation-redefinedOperation-_ownedComment.0" annotatedElement="Operation-redefinedOperation">
          <body>References the Operations that are redefined by this Operation.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Operation-datatype" name="datatype" type="DataType" lower="0" subsettedProperty="RedefinableElement-redefinitionContext NamedElement-namespace Feature-featuringClassifier" association="A_ownedOperation_datatype">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Operation-datatype-_ownedComment.0" annotatedElement="Operation-datatype">
          <body>The DataType that owns this Operation.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Operation-bodyCondition" name="bodyCondition" type="Constraint" lower="0" isComposite="true" subsettedProperty="Namespace-ownedRule" association="A_bodyCondition_bodyContext">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Operation-bodyCondition-_ownedComment.0" annotatedElement="Operation-bodyCondition">
          <body>An optional Constraint on the result values of an invocation of this Operation.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Operation-type" name="type" type="Type" lower="0" isDerived="true" association="A_type_operation">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Operation-type-_ownedComment.0" annotatedElement="Operation-type">
          <body>This information is derived from the return result for this Operation.</body>
        </ownedComment>
        <ownedComment xmi:type="cmof:Comment" xmi:id="Operation-type-_ownedComment.1" annotatedElement="Operation-type">
          <body>Specifies the return result of the operation, if present.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Operation-ownedParameter" name="ownedParameter" type="Parameter" isOrdered="true" upper="*" lower="0" isComposite="true" redefinedProperty="BehavioralFeature-ownedParameter" association="A_ownedParameter_operation">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Operation-ownedParameter-_ownedComment.0" annotatedElement="Operation-ownedParameter">
          <body>Specifies the ordered set of formal parameters of this BehavioralFeature.</body>
        </ownedComment>
        <ownedComment xmi:type="cmof:Comment" xmi:id="Operation-ownedParameter-_ownedComment.1" annotatedElement="Operation-ownedParameter">
          <body>Specifies the parameters owned by this Operation.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Operation-raisedException" name="raisedException" type="Type" upper="*" lower="0" redefinedProperty="BehavioralFeature-raisedException" association="A_raisedException_operation">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Operation-raisedException-_ownedComment.0" annotatedElement="Operation-raisedException">
          <body>References the Types representing exceptions that may be raised during an invocation of this operation.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Operation-interface" name="interface" type="Interface" lower="0" subsettedProperty="RedefinableElement-redefinitionContext" association="A_interface_ownedOperation">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Operation-interface-_ownedComment.0" annotatedElement="Operation-interface">
          <body>The Interface that owns this Operation.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="Operation-isOrdered.1" name="isOrdered" class="Operation" isQuery="true" bodyCondition="Operation-isOrdered.1-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Operation-isOrdered.1-_ownedComment.0" annotatedElement="Operation-isOrdered.1">
          <body>If this operation has a return parameter, isOrdered equals the value of isOrdered for that parameter. Otherwise isOrdered is false.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="Operation-isOrdered.1-spec" name="spec" constrainedElement="Operation-isOrdered.1 Operation-isOrdered" namespace="Operation-isOrdered.1">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="Operation-isOrdered.1-spec-_specification">
            <language>OCL</language>
            <body>result = if returnResult()->notEmpty() then returnResult()->any().isOrdered else false endif</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="Operation-isOrdered.1-_ownedParameter.0" type="Boolean" direction="return"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="Operation-isUnique.1" name="isUnique" class="Operation" isQuery="true" bodyCondition="Operation-isUnique.1-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Operation-isUnique.1-_ownedComment.0" annotatedElement="Operation-isUnique.1">
          <body>If this operation has a return parameter, isUnique equals the value of isUnique for that parameter. Otherwise isUnique is true.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="Operation-isUnique.1-spec" name="spec" constrainedElement="Operation-isUnique.1 Operation-isUnique" namespace="Operation-isUnique.1">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="Operation-isUnique.1-spec-_specification">
            <language>OCL</language>
            <body>result = if returnResult()->notEmpty() then returnResult()->any().isUnique else true endif</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="Operation-isUnique.1-_ownedParameter.0" type="Boolean" direction="return"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="Operation-lower.1" name="lower" class="Operation" isQuery="true" bodyCondition="Operation-lower.1-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Operation-lower.1-_ownedComment.0" annotatedElement="Operation-lower.1">
          <body>If this operation has a return parameter, lower equals the value of lower for that parameter. Otherwise lower is not defined.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="Operation-lower.1-spec" name="spec" constrainedElement="Operation-lower.1 Operation-lower" namespace="Operation-lower.1">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="Operation-lower.1-spec-_specification">
            <language>OCL</language>
            <body>result = if returnResult()->notEmpty() then returnResult()->any().lower else Set{} endif</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="Operation-lower.1-_ownedParameter.0" type="Integer" direction="return"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="Operation-upper.1" name="upper" class="Operation" isQuery="true" bodyCondition="Operation-upper.1-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Operation-upper.1-_ownedComment.0" annotatedElement="Operation-upper.1">
          <body>If this operation has a return parameter, upper equals the value of upper for that parameter. Otherwise upper is not defined.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="Operation-upper.1-spec" name="spec" constrainedElement="Operation-upper.1 Operation-upper" namespace="Operation-upper.1">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="Operation-upper.1-spec-_specification">
            <language>OCL</language>
            <body>result = if returnResult()->notEmpty() then returnResult()->any().upper else Set{} endif</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="Operation-upper.1-_ownedParameter.0" type="UnlimitedNatural" direction="return"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="Operation-type.1" name="type" class="Operation" isQuery="true" bodyCondition="Operation-type.1-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Operation-type.1-_ownedComment.0" annotatedElement="Operation-type.1">
          <body>If this operation has a return parameter, type equals the value of type for that parameter. Otherwise type is not defined.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="Operation-type.1-spec" name="spec" constrainedElement="Operation-type.1 Operation-type" namespace="Operation-type.1">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="Operation-type.1-spec-_specification">
            <language>OCL</language>
            <body>result = if returnResult()->notEmpty() then returnResult()->any().type else Set{} endif</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="Operation-type.1-_ownedParameter.0" type="Type" direction="return"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="Operation-isConsistentWith" name="isConsistentWith" class="Operation" isQuery="true" precondition="Operation-isConsistentWith-_ownedRule.0" redefinedOperation="RedefinableElement-isConsistentWith" bodyCondition="Operation-isConsistentWith-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Operation-isConsistentWith-_ownedComment.0" annotatedElement="Operation-isConsistentWith">
          <body>The query isConsistentWith() specifies, for any two Operations in a context in which redefinition is possible, whether redefinition would be consistent in the sense of maintaining type covariance. Other senses of consistency may be required, for example to determine consistency in the sense of contravariance. Users may define alternative queries under names different from 'isConsistentWith()', as for example, users may define a query named 'isContravariantWith()'.</body>
        </ownedComment>
        <ownedComment xmi:type="cmof:Comment" xmi:id="Operation-isConsistentWith-_ownedComment.1" annotatedElement="Operation-isConsistentWith">
          <body>A redefining operation is consistent with a redefined operation if it has the same number of owned parameters, and the type of each owned parameter conforms to the type of the corresponding redefined parameter. </body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="Operation-isConsistentWith-_ownedRule.0" constrainedElement="Operation-isConsistentWith" namespace="Operation-isConsistentWith">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="Operation-isConsistentWith-_ownedRule.0-_specification">
            <language>OCL</language>
            <body>redefinee.isRedefinitionContextValid(self)</body>
          </specification>
        </ownedRule>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="Operation-isConsistentWith-spec" name="spec" constrainedElement="Operation-isConsistentWith" namespace="Operation-isConsistentWith">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="Operation-isConsistentWith-spec-_specification">
            <language>OCL</language>
            <body>result = (redefinee.oclIsKindOf(Operation) and&#xA;let op: Operation = redefinee.oclAsType(Operation) in&#xA;self.ownedParameter.size() = op.ownedParameter.size() and&#xA;forAll(i | op.ownedParameter[i].type.conformsTo(self.ownedParameter[i].type))&#xA;)</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="Operation-isConsistentWith-_ownedParameter.0" type="Boolean" direction="return"/>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="Operation-isConsistentWith-redefinee" name="redefinee" type="RedefinableElement"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="Operation-returnResult" name="returnResult" class="Operation" isQuery="true" bodyCondition="Operation-returnResult-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Operation-returnResult-_ownedComment.0" annotatedElement="Operation-returnResult">
          <body>The query returnResult() returns the set containing the return parameter of the Operation if one exists, otherwise, it returns an empty set</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="Operation-returnResult-spec" name="spec" constrainedElement="Operation-returnResult" namespace="Operation-returnResult">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="Operation-returnResult-spec-_specification">
            <language>OCL</language>
            <body>result = ownedParameter->select (par | par.direction = #return)</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="Operation-returnResult-_ownedParameter.0" type="Parameter" upper="*" lower="0" direction="return"/>
      </ownedOperation>
    </ownedMember>
    <ownedMember xmi:type="cmof:Enumeration" xmi:id="CallConcurrencyKind" name="CallConcurrencyKind" visibility="private">
      <ownedComment xmi:type="cmof:Comment" xmi:id="CallConcurrencyKind-_ownedComment.0" annotatedElement="CallConcurrencyKind">
        <body>CallConcurrencyKind is an enumeration type.</body>
      </ownedComment>
      <ownedLiteral xmi:type="cmof:EnumerationLiteral" xmi:id="CallConcurrencyKind-sequential" name="sequential" enumeration="CallConcurrencyKind">
        <ownedComment xmi:type="cmof:Comment" xmi:id="CallConcurrencyKind-sequential-_ownedComment.0" annotatedElement="CallConcurrencyKind-sequential">
          <body>No concurrency management mechanism is associated with the operation and, therefore, concurrency conflicts may occur. Instances that invoke a behavioral feature need to coordinate so that only one invocation to a target on any behavioral feature occurs at once.</body>
        </ownedComment>
      </ownedLiteral>
      <ownedLiteral xmi:type="cmof:EnumerationLiteral" xmi:id="CallConcurrencyKind-guarded" name="guarded" enumeration="CallConcurrencyKind">
        <ownedComment xmi:type="cmof:Comment" xmi:id="CallConcurrencyKind-guarded-_ownedComment.0" annotatedElement="CallConcurrencyKind-guarded">
          <body>Multiple invocations of a behavioral feature may occur simultaneously to one instance, but only one is allowed to commence. The others are blocked until the performance of the first behavioral feature is complete. It is the responsibility of the system designer to ensure that deadlocks do not occur due to simultaneous blocks.</body>
        </ownedComment>
      </ownedLiteral>
      <ownedLiteral xmi:type="cmof:EnumerationLiteral" xmi:id="CallConcurrencyKind-concurrent" name="concurrent" enumeration="CallConcurrencyKind">
        <ownedComment xmi:type="cmof:Comment" xmi:id="CallConcurrencyKind-concurrent-_ownedComment.0" annotatedElement="CallConcurrencyKind-concurrent">
          <body>Multiple invocations of a behavioral feature may occur simultaneously to one instance and all of them may proceed concurrently.</body>
        </ownedComment>
      </ownedLiteral>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_reception_signal" name="A_reception_signal" visibility="private" memberEnd="A_reception_signal-_ownedEnd.0 Reception-signal">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_reception_signal-_ownedEnd.0" type="Reception" upper="*" lower="0" owningAssociation="A_reception_signal" association="A_reception_signal"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_operation_callEvent" name="A_operation_callEvent" visibility="private" memberEnd="CallEvent-operation A_operation_callEvent-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_operation_callEvent-_ownedEnd.0" type="CallEvent" upper="*" lower="0" owningAssociation="A_operation_callEvent" association="A_operation_callEvent"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_signal_signalEvent" name="A_signal_signalEvent" visibility="private" memberEnd="SignalEvent-signal A_signal_signalEvent-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_signal_signalEvent-_ownedEnd.0" type="SignalEvent" upper="*" lower="0" owningAssociation="A_signal_signalEvent" association="A_signal_signalEvent"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_ownedReception_interface" name="A_ownedReception_interface" visibility="private" memberEnd="Interface-ownedReception A_ownedReception_interface-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_ownedReception_interface-_ownedEnd.0" type="Interface" lower="0" owningAssociation="A_ownedReception_interface" association="A_ownedReception_interface"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_ownedReception_class" name="A_ownedReception_class" visibility="private" memberEnd="Class-ownedReception A_ownedReception_class-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_ownedReception_class-_ownedEnd.0" type="Class" lower="0" owningAssociation="A_ownedReception_class" association="A_ownedReception_class"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_when_timeEvent" name="A_when_timeEvent" visibility="private" memberEnd="TimeEvent-when A_when_timeEvent-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_when_timeEvent-_ownedEnd.0" type="TimeEvent" lower="0" owningAssociation="A_when_timeEvent" association="A_when_timeEvent"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_changeExpression_changeEvent" name="A_changeExpression_changeEvent" visibility="private" memberEnd="ChangeEvent-changeExpression A_changeExpression_changeEvent-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_changeExpression_changeEvent-_ownedEnd.0" type="ChangeEvent" lower="0" owningAssociation="A_changeExpression_changeEvent" association="A_changeExpression_changeEvent"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_raisedException_behavioralFeature" name="A_raisedException_behavioralFeature" visibility="private" memberEnd="BehavioralFeature-raisedException A_raisedException_behavioralFeature-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_raisedException_behavioralFeature-_ownedEnd.0" type="BehavioralFeature" upper="*" lower="0" owningAssociation="A_raisedException_behavioralFeature" association="A_raisedException_behavioralFeature"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_ownedAttribute_owningSignal" name="A_ownedAttribute_owningSignal" visibility="private" memberEnd="Signal-ownedAttribute A_ownedAttribute_owningSignal-owningSignal">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_ownedAttribute_owningSignal-owningSignal" name="owningSignal" type="Signal" lower="0" owningAssociation="A_ownedAttribute_owningSignal" subsettedProperty="NamedElement-namespace A_attribute_classifier-classifier Feature-featuringClassifier" association="A_ownedAttribute_owningSignal"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_ownedTrigger_behavioredClassifier" name="A_ownedTrigger_behavioredClassifier" visibility="private" memberEnd="BehavioredClassifier-ownedTrigger A_ownedTrigger_behavioredClassifier-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_ownedTrigger_behavioredClassifier-_ownedEnd.0" type="BehavioredClassifier" lower="0" owningAssociation="A_ownedTrigger_behavioredClassifier" association="A_ownedTrigger_behavioredClassifier"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_event_trigger" name="A_event_trigger" visibility="private" memberEnd="Trigger-event A_event_trigger-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_event_trigger-_ownedEnd.0" type="Trigger" upper="*" lower="0" owningAssociation="A_event_trigger" association="A_event_trigger"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="StateMachine" name="StateMachine" superClass="Behavior">
      <ownedComment xmi:type="cmof:Comment" xmi:id="StateMachine-_ownedComment.0" annotatedElement="StateMachine">
        <body>State machines can be used to express the behavior of part of a system. Behavior is modeled as a traversal of a graph of state nodes interconnected by one or more joined transition arcs that are triggered by the dispatching of series of (event) occurrences. During this traversal, the state machine executes a series of activities associated with various elements of the state machine.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="StateMachine-classifier_context" name="classifier_context" constrainedElement="StateMachine" namespace="StateMachine">
        <ownedComment xmi:type="cmof:Comment" xmi:id="StateMachine-classifier_context-_ownedComment.0" annotatedElement="StateMachine-classifier_context">
          <body>The classifier context of a state machine cannot be an interface.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="StateMachine-classifier_context-_specification">
          <language>OCL</language>
          <body>context->notEmpty() implies not context.oclIsKindOf(Interface)</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="StateMachine-context_classifier" name="context_classifier" constrainedElement="StateMachine" namespace="StateMachine">
        <ownedComment xmi:type="cmof:Comment" xmi:id="StateMachine-context_classifier-_ownedComment.0" annotatedElement="StateMachine-context_classifier">
          <body>The context classifier of the method state machine of a behavioral feature must be the classifier that owns the behavioral feature.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="StateMachine-context_classifier-_specification">
          <language>OCL</language>
          <body>specification->notEmpty() implies (context->notEmpty() and specification->featuringClassifier->exists (c | c = context))</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="StateMachine-connection_points" name="connection_points" constrainedElement="StateMachine" namespace="StateMachine">
        <ownedComment xmi:type="cmof:Comment" xmi:id="StateMachine-connection_points-_ownedComment.0" annotatedElement="StateMachine-connection_points">
          <body>The connection points of a state machine are pseudostates of kind entry point or exit point.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="StateMachine-connection_points-_specification">
          <language>OCL</language>
          <body>conectionPoint->forAll (c | c.kind = #entryPoint or c.kind = #exitPoint)</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="StateMachine-method" name="method" constrainedElement="StateMachine" namespace="StateMachine">
        <ownedComment xmi:type="cmof:Comment" xmi:id="StateMachine-method-_ownedComment.0" annotatedElement="StateMachine-method">
          <body>A state machine as the method for a behavioral feature cannot have entry/exit connection points.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="StateMachine-method-_specification">
          <language>OCL</language>
          <body>specification->notEmpty() implies connectionPoint->isEmpty()</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="StateMachine-region" name="region" type="Region" upper="*" isComposite="true" subsettedProperty="Namespace-ownedMember" association="A_region_stateMachine">
        <ownedComment xmi:type="cmof:Comment" xmi:id="StateMachine-region-_ownedComment.0" annotatedElement="StateMachine-region">
          <body>The regions owned directly by the state machine.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="StateMachine-connectionPoint" name="connectionPoint" type="Pseudostate" upper="*" lower="0" isComposite="true" subsettedProperty="Namespace-ownedMember" association="A_connectionPoint_stateMachine">
        <ownedComment xmi:type="cmof:Comment" xmi:id="StateMachine-connectionPoint-_ownedComment.0" annotatedElement="StateMachine-connectionPoint">
          <body>The connection points defined for this state machine. They represent the interface of the state machine when used as part of submachine state.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="StateMachine-extendedStateMachine" name="extendedStateMachine" type="StateMachine" upper="*" lower="0" subsettedProperty="RedefinableElement-redefinedElement" association="A_stateMachine_extendedStateMachine">
        <ownedComment xmi:type="cmof:Comment" xmi:id="StateMachine-extendedStateMachine-_ownedComment.0" annotatedElement="StateMachine-extendedStateMachine">
          <body>The state machines of which this is an extension.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="StateMachine-submachineState" name="submachineState" type="State" upper="*" lower="0" association="A_submachineState_submachine">
        <ownedComment xmi:type="cmof:Comment" xmi:id="StateMachine-submachineState-_ownedComment.0" annotatedElement="StateMachine-submachineState">
          <body>References the submachine(s) in case of a submachine state. Multiple machines are referenced in case of a concurrent state.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="StateMachine-LCA" name="LCA" class="StateMachine" isQuery="true" bodyCondition="StateMachine-LCA-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="StateMachine-LCA-_ownedComment.0" annotatedElement="StateMachine-LCA">
          <body>The operation LCA(s1,s2) returns an orthogonal state or region which is the least common ancestor of states s1 and s2, based on the statemachine containment hierarchy.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="StateMachine-LCA-spec" name="spec" constrainedElement="StateMachine-LCA" namespace="StateMachine-LCA">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="StateMachine-LCA-spec-_specification">
            <language>OCL</language>
            <body>true</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="StateMachine-LCA-_ownedParameter.0" type="Namespace" direction="return"/>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="StateMachine-LCA-s1" name="s1" type="State"/>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="StateMachine-LCA-s2" name="s2" type="State"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="StateMachine-ancestor" name="ancestor" class="StateMachine" isQuery="true" bodyCondition="StateMachine-ancestor-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="StateMachine-ancestor-_ownedComment.0" annotatedElement="StateMachine-ancestor">
          <body>The query ancestor(s1, s2) checks whether s2 is an ancestor state of state s1. context StateMachine::ancestor (s1 : State, s2 : State) : Boolean&#xD;
</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="StateMachine-ancestor-spec" name="spec" constrainedElement="StateMachine-ancestor" namespace="StateMachine-ancestor">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="StateMachine-ancestor-spec-_specification">
            <language>OCL</language>
            <body>result = if (s2 = s1) then&#xA;true&#xA;else if (s1.container->isEmpty) then&#xA;true&#xA;else if (s2.container->isEmpty) then&#xA;false&#xA;else (ancestor (s1, s2.container))</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="StateMachine-ancestor-_ownedParameter.0" type="Boolean" direction="return"/>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="StateMachine-ancestor-s1" name="s1" type="State"/>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="StateMachine-ancestor-s2" name="s2" type="State"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="StateMachine-isRedefinitionContextValid" name="isRedefinitionContextValid" class="StateMachine" isQuery="true" redefinedOperation="RedefinableElement-isRedefinitionContextValid" bodyCondition="StateMachine-isRedefinitionContextValid-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="StateMachine-isRedefinitionContextValid-_ownedComment.0" annotatedElement="StateMachine-isRedefinitionContextValid">
          <body>The query isRedefinitionContextValid() specifies whether the redefinition contexts of a statemachine are properly related to the redefinition contexts of the specified statemachine to allow this element to redefine the other. The containing classifier of a redefining statemachine must redefine the containing classifier of the redefined statemachine.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="StateMachine-isRedefinitionContextValid-spec" name="spec" constrainedElement="StateMachine-isRedefinitionContextValid" namespace="StateMachine-isRedefinitionContextValid">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="StateMachine-isRedefinitionContextValid-spec-_specification">
            <language>OCL</language>
            <body>result = true</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="StateMachine-isRedefinitionContextValid-_ownedParameter.0" type="Boolean" direction="return"/>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="StateMachine-isRedefinitionContextValid-redefined" name="redefined" type="StateMachine"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="StateMachine-isConsistentWith" name="isConsistentWith" class="StateMachine" isQuery="true" redefinedOperation="RedefinableElement-isConsistentWith" bodyCondition="StateMachine-isConsistentWith-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="StateMachine-isConsistentWith-_ownedComment.0" annotatedElement="StateMachine-isConsistentWith">
          <body>The query isConsistentWith() specifies that a redefining state machine is consistent with a redefined state machine provided that the redefining state machine is an extension of the redefined state machine: Regions are inherited and regions can be added, inherited regions can be redefined. In case of multiple redefining state machines, extension implies that the redefining state machine gets orthogonal regions for each of the redefined state machines.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="StateMachine-isConsistentWith-spec" name="spec" constrainedElement="StateMachine-isConsistentWith" namespace="StateMachine-isConsistentWith">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="StateMachine-isConsistentWith-spec-_specification">
            <language>OCL</language>
            <body>result = true</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="StateMachine-isConsistentWith-_ownedParameter.0" type="Boolean" direction="return"/>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="StateMachine-isConsistentWith-redefinee" name="redefinee" type="RedefinableElement"/>
      </ownedOperation>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="State" name="State" superClass="Vertex RedefinableElement Namespace">
      <ownedComment xmi:type="cmof:Comment" xmi:id="State-_ownedComment.0" annotatedElement="State">
        <body>A state models a situation during which some (usually implicit) invariant condition holds.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="State-submachine_states" name="submachine_states" constrainedElement="State" namespace="State">
        <ownedComment xmi:type="cmof:Comment" xmi:id="State-submachine_states-_ownedComment.0" annotatedElement="State-submachine_states">
          <body>Only submachine states can have connection point references.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="State-submachine_states-_specification">
          <language>OCL</language>
          <body>isSubmachineState implies connection->notEmpty ( )</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="State-destinations_or_sources_of_transitions" name="destinations_or_sources_of_transitions" constrainedElement="State" namespace="State">
        <ownedComment xmi:type="cmof:Comment" xmi:id="State-destinations_or_sources_of_transitions-_ownedComment.0" annotatedElement="State-destinations_or_sources_of_transitions">
          <body>The connection point references used as destinations/sources of transitions associated with a submachine state must be defined as entry/exit points in the submachine state machine.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="State-destinations_or_sources_of_transitions-_specification">
          <language>OCL</language>
          <body>self.isSubmachineState implies (self.connection->forAll (cp |&#xD;&#xA;cp.entry->forAll (p | p.statemachine = self.submachine) and&#xD;&#xA;cp.exit->forAll (p | p.statemachine = self.submachine)))</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="State-submachine_or_regions" name="submachine_or_regions" constrainedElement="State" namespace="State">
        <ownedComment xmi:type="cmof:Comment" xmi:id="State-submachine_or_regions-_ownedComment.0" annotatedElement="State-submachine_or_regions">
          <body>A state is not allowed to have both a submachine and regions.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="State-submachine_or_regions-_specification">
          <language>OCL</language>
          <body>isComposite implies not isSubmachineState</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="State-composite_states" name="composite_states" constrainedElement="State" namespace="State">
        <ownedComment xmi:type="cmof:Comment" xmi:id="State-composite_states-_ownedComment.0" annotatedElement="State-composite_states">
          <body>Only composite states can have entry or exit pseudostates defined.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="State-composite_states-_specification">
          <language>OCL</language>
          <body>connectionPoint->notEmpty() implies isComoposite</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="State-entry_or_exit" name="entry_or_exit" constrainedElement="State" namespace="State">
        <ownedComment xmi:type="cmof:Comment" xmi:id="State-entry_or_exit-_ownedComment.0" annotatedElement="State-entry_or_exit">
          <body>Only entry or exit pseudostates can serve as connection points.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="State-entry_or_exit-_specification">
          <language>OCL</language>
          <body>connectionPoint->forAll(cp|cp.kind = #entry or cp.kind = #exit)</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="State-isComposite" name="isComposite" type="Boolean" isReadOnly="true" isDerived="true" default="false">
        <ownedComment xmi:type="cmof:Comment" xmi:id="State-isComposite-_ownedComment.0" annotatedElement="State-isComposite">
          <body>A state with isComposite=true is said to be a composite state. A composite state is a state that contains at least one region.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="State-isOrthogonal" name="isOrthogonal" type="Boolean" isReadOnly="true" isDerived="true" default="false">
        <ownedComment xmi:type="cmof:Comment" xmi:id="State-isOrthogonal-_ownedComment.0" annotatedElement="State-isOrthogonal">
          <body>A state with isOrthogonal=true is said to be an orthogonal composite state. An orthogonal composite state contains two or more regions.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="State-isSimple" name="isSimple" type="Boolean" isReadOnly="true" isDerived="true" default="true">
        <ownedComment xmi:type="cmof:Comment" xmi:id="State-isSimple-_ownedComment.0" annotatedElement="State-isSimple">
          <body>A state with isSimple=true is said to be a simple state. A simple state does not have any regions and it does not refer to any submachine state machine.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="State-isSubmachineState" name="isSubmachineState" type="Boolean" isReadOnly="true" isDerived="true" default="false">
        <ownedComment xmi:type="cmof:Comment" xmi:id="State-isSubmachineState-_ownedComment.0" annotatedElement="State-isSubmachineState">
          <body>A state with isSubmachineState=true is said to be a submachine state. Such a state refers to a state machine (submachine).</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="State-submachine" name="submachine" type="StateMachine" lower="0" association="A_submachineState_submachine">
        <ownedComment xmi:type="cmof:Comment" xmi:id="State-submachine-_ownedComment.0" annotatedElement="State-submachine">
          <body>The state machine that is to be inserted in place of the (submachine) state.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="State-connection" name="connection" type="ConnectionPointReference" upper="*" lower="0" isComposite="true" subsettedProperty="Namespace-ownedMember" association="A_state_connection">
        <ownedComment xmi:type="cmof:Comment" xmi:id="State-connection-_ownedComment.0" annotatedElement="State-connection">
          <body>The entry and exit connection points used in conjunction with this (submachine) state, i.e. as targets and sources, respectively, in the region with the submachine state. A connection point reference references the corresponding definition of a connection point pseudostate in the statemachine referenced by the submachinestate.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="State-redefinedState" name="redefinedState" type="State" lower="0" subsettedProperty="RedefinableElement-redefinedElement" association="A_redefinedState_state">
        <ownedComment xmi:type="cmof:Comment" xmi:id="State-redefinedState-_ownedComment.0" annotatedElement="State-redefinedState">
          <body>The state of which this state is a redefinition.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="State-region" name="region" type="Region" upper="*" lower="0" isComposite="true" subsettedProperty="Namespace-ownedMember" association="A_region_state">
        <ownedComment xmi:type="cmof:Comment" xmi:id="State-region-_ownedComment.0" annotatedElement="State-region">
          <body>The regions owned directly by the state.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="State-redefinitionContext" name="redefinitionContext" type="Classifier" isReadOnly="true" isDerived="true" redefinedProperty="RedefinableElement-redefinitionContext" association="A_state_redefinitionContext">
        <ownedComment xmi:type="cmof:Comment" xmi:id="State-redefinitionContext-_ownedComment.0" annotatedElement="State-redefinitionContext">
          <body>References the classifier in which context this element may be redefined.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="State-stateInvariant" name="stateInvariant" type="Constraint" lower="0" isComposite="true" subsettedProperty="Element-ownedElement" association="A_stateInvariant_owningState">
        <ownedComment xmi:type="cmof:Comment" xmi:id="State-stateInvariant-_ownedComment.0" annotatedElement="State-stateInvariant">
          <body>Specifies conditions that are always true when this state is the current state. In protocol state machines, state invariants are additional conditions to the preconditions of the outgoing transitions, and to the postcondition of the incoming transitions.&#xD;
</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="State-entry" name="entry" type="Behavior" lower="0" isComposite="true" subsettedProperty="Element-ownedElement" association="A_entry_state">
        <ownedComment xmi:type="cmof:Comment" xmi:id="State-entry-_ownedComment.0" annotatedElement="State-entry">
          <body>An optional behavior that is executed whenever this state is entered regardless of the transition taken to reach the state. If defined, entry actions are always executed to completion prior to any internal behavior or transitions performed within the state.&#xD;
</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="State-exit" name="exit" type="Behavior" lower="0" isComposite="true" subsettedProperty="Element-ownedElement" association="A_exit_state">
        <ownedComment xmi:type="cmof:Comment" xmi:id="State-exit-_ownedComment.0" annotatedElement="State-exit">
          <body>An optional behavior that is executed whenever this state is exited regardless of which transition was taken out of the state. If defined, exit actions are always executed to completion only after all internal activities and transition actions have completed execution.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="State-doActivity" name="doActivity" type="Behavior" lower="0" isComposite="true" subsettedProperty="Element-ownedElement" association="A_doActivity_state">
        <ownedComment xmi:type="cmof:Comment" xmi:id="State-doActivity-_ownedComment.0" annotatedElement="State-doActivity">
          <body>An optional behavior that is executed while being in the state. The execution starts when this state is entered, and stops either by itself, or when the state is exited, whichever comes first.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="State-connectionPoint" name="connectionPoint" type="Pseudostate" upper="*" lower="0" isComposite="true" subsettedProperty="Element-ownedElement" association="A_connectionPoint_state">
        <ownedComment xmi:type="cmof:Comment" xmi:id="State-connectionPoint-_ownedComment.0" annotatedElement="State-connectionPoint">
          <body>The entry and exit pseudostates of a composite state. These can only be entry or exit Pseudostates, and they must have different names. They can only be defined for composite states.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="State-deferrableTrigger" name="deferrableTrigger" type="Trigger" upper="*" lower="0" isComposite="true" association="A_deferrableTrigger_state">
        <ownedComment xmi:type="cmof:Comment" xmi:id="State-deferrableTrigger-_ownedComment.0" annotatedElement="State-deferrableTrigger">
          <body>A list of triggers that are candidates to be retained by the state machine if they trigger no transitions out of the state (not consumed). A deferred trigger is retained until the state machine reaches a state configuration where it is no longer deferred.&#xD;
</body>
        </ownedComment>
      </ownedAttribute>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="State-isSimple.1" name="isSimple" class="State" isQuery="true" bodyCondition="State-isSimple.1-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="State-isSimple.1-_ownedComment.0" annotatedElement="State-isSimple.1">
          <body>A simple state is a state without any regions.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="State-isSimple.1-spec" name="spec" constrainedElement="State-isSimple.1 State-isSimple" namespace="State-isSimple.1">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="State-isSimple.1-spec-_specification">
            <language>OCL</language>
            <body>result = region.isEmpty()</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="State-isSimple.1-_ownedParameter.0" type="Boolean" direction="return"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="State-isComposite.1" name="isComposite" class="State" isQuery="true" bodyCondition="State-isComposite.1-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="State-isComposite.1-_ownedComment.0" annotatedElement="State-isComposite.1">
          <body>A composite state is a state with at least one region.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="State-isComposite.1-spec" name="spec" constrainedElement="State-isComposite.1 State-isComposite" namespace="State-isComposite.1">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="State-isComposite.1-spec-_specification">
            <language>OCL</language>
            <body>result = region.notEmpty()</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="State-isComposite.1-_ownedParameter.0" type="Boolean" direction="return"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="State-isOrthogonal.1" name="isOrthogonal" class="State" isQuery="true" bodyCondition="State-isOrthogonal.1-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="State-isOrthogonal.1-_ownedComment.0" annotatedElement="State-isOrthogonal.1">
          <body>An orthogonal state is a composite state with at least 2 regions</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="State-isOrthogonal.1-spec" name="spec" constrainedElement="State-isOrthogonal.1 State-isOrthogonal" namespace="State-isOrthogonal.1">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="State-isOrthogonal.1-spec-_specification">
            <language>OCL</language>
            <body>result = (region->size () > 1)</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="State-isOrthogonal.1-_ownedParameter.0" type="Boolean" direction="return"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="State-isSubmachineState.1" name="isSubmachineState" class="State" isQuery="true" bodyCondition="State-isSubmachineState.1-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="State-isSubmachineState.1-_ownedComment.0" annotatedElement="State-isSubmachineState.1">
          <body>Only submachine states can have a reference statemachine.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="State-isSubmachineState.1-spec" name="spec" constrainedElement="State-isSubmachineState.1 State-isSubmachineState" namespace="State-isSubmachineState.1">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="State-isSubmachineState.1-spec-_specification">
            <language>OCL</language>
            <body>result = submachine.notEmpty()</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="State-isSubmachineState.1-_ownedParameter.0" type="Boolean" direction="return"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="State-redefinitionContext.1" name="redefinitionContext" class="State" isQuery="true" bodyCondition="State-redefinitionContext.1-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="State-redefinitionContext.1-_ownedComment.0" annotatedElement="State-redefinitionContext.1">
          <body>The redefinition context of a state is the nearest containing statemachine.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="State-redefinitionContext.1-spec" name="spec" constrainedElement="State-redefinitionContext.1 State-redefinitionContext" namespace="State-redefinitionContext.1">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="State-redefinitionContext.1-spec-_specification">
            <language>OCL</language>
            <body>result = let sm = containingStateMachine() in&#xA;if sm.context->isEmpty() or sm.general->notEmpty() then&#xA;sm&#xA;else&#xA;sm.context&#xA;endif</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="State-redefinitionContext.1-_ownedParameter.0" type="Classifier" direction="return"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="State-isRedefinitionContextValid" name="isRedefinitionContextValid" class="State" isQuery="true" redefinedOperation="RedefinableElement-isRedefinitionContextValid" bodyCondition="State-isRedefinitionContextValid-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="State-isRedefinitionContextValid-_ownedComment.0" annotatedElement="State-isRedefinitionContextValid">
          <body>The query isRedefinitionContextValid() specifies whether the redefinition contexts of a state are properly related to the redefinition contexts of the specified state to allow this element to redefine the other. The containing region of a redefining state must redefine the containing region of the redefined state.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="State-isRedefinitionContextValid-spec" name="spec" constrainedElement="State-isRedefinitionContextValid" namespace="State-isRedefinitionContextValid">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="State-isRedefinitionContextValid-spec-_specification">
            <language>OCL</language>
            <body>result = true</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="State-isRedefinitionContextValid-_ownedParameter.0" type="Boolean" direction="return"/>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="State-isRedefinitionContextValid-redefined" name="redefined" type="State"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="State-isConsistentWith" name="isConsistentWith" class="State" isQuery="true" redefinedOperation="RedefinableElement-isConsistentWith" bodyCondition="State-isConsistentWith-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="State-isConsistentWith-_ownedComment.0" annotatedElement="State-isConsistentWith">
          <body>The query isConsistentWith() specifies that a redefining state is consistent with a redefined state provided that the redefining state is an extension of the redefined state: A simple state can be redefined (extended) to become a composite state (by adding a region) and a composite state can be redefined (extended) by adding regions and by adding vertices, states, and transitions to inherited regions. All states may add or replace entry, exit, and 'doActivity' actions.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="State-isConsistentWith-spec" name="spec" constrainedElement="State-isConsistentWith" namespace="State-isConsistentWith">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="State-isConsistentWith-spec-_specification">
            <language>OCL</language>
            <body>result = true</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="State-isConsistentWith-_ownedParameter.0" type="Boolean" direction="return"/>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="State-isConsistentWith-redefinee" name="redefinee" type="RedefinableElement"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="State-containingStateMachine" name="containingStateMachine" class="State" isQuery="true" redefinedOperation="Vertex-containingStateMachine" bodyCondition="State-containingStateMachine-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="State-containingStateMachine-_ownedComment.0" annotatedElement="State-containingStateMachine">
          <body>The query containingStateMachine() returns the state machine that contains the state either directly or transitively.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="State-containingStateMachine-spec" name="spec" constrainedElement="State-containingStateMachine" namespace="State-containingStateMachine">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="State-containingStateMachine-spec-_specification">
            <language>OCL</language>
            <body>result = container.containingStateMachine()</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="State-containingStateMachine-_ownedParameter.0" type="StateMachine" direction="return"/>
      </ownedOperation>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="Transition" name="Transition" superClass="RedefinableElement Namespace">
      <ownedComment xmi:type="cmof:Comment" xmi:id="Transition-_ownedComment.0" annotatedElement="Transition">
        <body>A transition is a directed relationship between a source vertex and a target vertex. It may be part of a compound transition, which takes the state machine from one state configuration to another, representing the complete response of the state machine to an occurrence of an event of a particular type.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Transition-fork_segment_guards" name="fork_segment_guards" constrainedElement="Transition" namespace="Transition">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Transition-fork_segment_guards-_ownedComment.0" annotatedElement="Transition-fork_segment_guards">
          <body>A fork segment must not have guards or triggers.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Transition-fork_segment_guards-_specification">
          <language>OCL</language>
          <body>(source.oclIsKindOf(Pseudostate) and source.kind = #fork) implies (guard->isEmpty() and trigger->isEmpty())</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Transition-join_segment_guards" name="join_segment_guards" constrainedElement="Transition" namespace="Transition">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Transition-join_segment_guards-_ownedComment.0" annotatedElement="Transition-join_segment_guards">
          <body>A join segment must not have guards or triggers.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Transition-join_segment_guards-_specification">
          <language>OCL</language>
          <body>(target.oclIsKindOf(Pseudostate) and target.kind = #join) implies (guard->isEmpty() and trigger->isEmpty())</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Transition-fork_segment_state" name="fork_segment_state" constrainedElement="Transition" namespace="Transition">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Transition-fork_segment_state-_ownedComment.0" annotatedElement="Transition-fork_segment_state">
          <body>A fork segment must always target a state.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Transition-fork_segment_state-_specification">
          <language>OCL</language>
          <body>(source.oclIsKindOf(Pseudostate) and source.kind = #fork) implies (target.oclIsKindOf(State))</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Transition-join_segment_state" name="join_segment_state" constrainedElement="Transition" namespace="Transition">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Transition-join_segment_state-_ownedComment.0" annotatedElement="Transition-join_segment_state">
          <body>A join segment must always originate from a state.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Transition-join_segment_state-_specification">
          <language>OCL</language>
          <body>(target.oclIsKindOf(Pseudostate) and target.kind = #join) implies (source.oclIsKindOf(State))</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Transition-outgoing_pseudostates" name="outgoing_pseudostates" constrainedElement="Transition" namespace="Transition">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Transition-outgoing_pseudostates-_ownedComment.0" annotatedElement="Transition-outgoing_pseudostates">
          <body>Transitions outgoing pseudostates may not have a trigger.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Transition-outgoing_pseudostates-_specification">
          <language>OCL</language>
          <body>source.oclIsKindOf(Pseudostate) and&#xA;((source.kind &lt;> #junction) and (source.kind &lt;> #join) and (source.kind &lt;> #initial)) implies trigger->isEmpty()&#xA;</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Transition-initial_transition" name="initial_transition" constrainedElement="Transition" namespace="Transition">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Transition-initial_transition-_ownedComment.0" annotatedElement="Transition-initial_transition">
          <body>An initial transition at the topmost level (region of a statemachine) either has no trigger or it has a trigger with the stereotype &lt;&lt;create>>.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Transition-initial_transition-_specification">
          <language>OCL</language>
          <body>self.source.oclIsKindOf(Pseudostate) implies&#xA;(self.source.oclAsType(Pseudostate).kind = #initial) implies&#xA;(self.source.container = self.stateMachine.top) implies&#xA;((self.trigger->isEmpty) or&#xA;(self.trigger.stereotype.name = 'create'))&#xA;</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Transition-signatures_compatible" name="signatures_compatible" constrainedElement="Transition" namespace="Transition">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Transition-signatures_compatible-_ownedComment.0" annotatedElement="Transition-signatures_compatible">
          <body>In case of more than one trigger, the signatures of these must be compatible in case the parameters of the signal are assigned to local variables/attributes.&#xD;
</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Transition-signatures_compatible-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Transition-kind" name="kind" type="TransitionKind" default="external">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Transition-kind-_ownedComment.0" annotatedElement="Transition-kind">
          <body>Indicates  the precise type of the transition.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Transition-container" name="container" type="Region" subsettedProperty="NamedElement-namespace" association="A_container_transition">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Transition-container-_ownedComment.0" annotatedElement="Transition-container">
          <body>Designates the region that owns this transition.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Transition-source" name="source" type="Vertex" association="A_outgoing_source">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Transition-source-_ownedComment.0" annotatedElement="Transition-source">
          <body>Designates the originating vertex (state or pseudostate) of the transition.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Transition-target" name="target" type="Vertex" association="A_incoming_target">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Transition-target-_ownedComment.0" annotatedElement="Transition-target">
          <body>Designates the target vertex that is reached when the transition is taken.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Transition-redefinedTransition" name="redefinedTransition" type="Transition" lower="0" subsettedProperty="RedefinableElement-redefinedElement" association="A_redefinedTransition_transition">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Transition-redefinedTransition-_ownedComment.0" annotatedElement="Transition-redefinedTransition">
          <body>The transition that is redefined by this transition.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Transition-guard" name="guard" type="Constraint" lower="0" isComposite="true" subsettedProperty="Namespace-ownedRule" association="A_guard_transition">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Transition-guard-_ownedComment.0" annotatedElement="Transition-guard">
          <body>A guard is a constraint that provides a fine-grained control over the firing of the transition. The guard is evaluated when an event occurrence is dispatched by the state machine. If the guard is true at that time, the transition may be enabled, otherwise, it is disabled. Guards should be pure expressions without side effects. Guard expressions with side effects are ill formed.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Transition-redefinitionContext" name="redefinitionContext" type="Classifier" isReadOnly="true" isDerived="true" redefinedProperty="RedefinableElement-redefinitionContext" association="A_transition_redefinitionContext">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Transition-redefinitionContext-_ownedComment.0" annotatedElement="Transition-redefinitionContext">
          <body>References the classifier in which context this element may be redefined.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Transition-effect" name="effect" type="Behavior" lower="0" isComposite="true" subsettedProperty="Element-ownedElement" association="A_effect_transition">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Transition-effect-_ownedComment.0" annotatedElement="Transition-effect">
          <body>Specifies an optional behavior to be performed when the transition fires.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Transition-trigger" name="trigger" type="Trigger" upper="*" lower="0" isComposite="true" association="A_trigger_transition">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Transition-trigger-_ownedComment.0" annotatedElement="Transition-trigger">
          <body>Specifies the triggers that may fire the transition.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="Transition-redefinitionContext.1" name="redefinitionContext" class="Transition" isQuery="true" bodyCondition="Transition-redefinitionContext.1-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Transition-redefinitionContext.1-_ownedComment.0" annotatedElement="Transition-redefinitionContext.1">
          <body>The redefinition context of a transition is the nearest containing statemachine.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="Transition-redefinitionContext.1-spec" name="spec" constrainedElement="Transition-redefinitionContext.1 Transition-redefinitionContext" namespace="Transition-redefinitionContext.1">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="Transition-redefinitionContext.1-spec-_specification">
            <language>OCL</language>
            <body>result = let sm = containingStateMachine() in&#xA;if sm.context->isEmpty() or sm.general->notEmpty() then&#xA;sm&#xA;else&#xA;sm.context&#xA;endif</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="Transition-redefinitionContext.1-_ownedParameter.0" type="Classifier" direction="return"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="Transition-isConsistentWith" name="isConsistentWith" class="Transition" isQuery="true" precondition="Transition-isConsistentWith-_ownedRule.1" redefinedOperation="RedefinableElement-isConsistentWith" bodyCondition="Transition-isConsistentWith-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Transition-isConsistentWith-_ownedComment.0" annotatedElement="Transition-isConsistentWith">
          <body>The query isConsistentWith() specifies that a redefining transition is consistent with a redefined transition provided that the redefining transition has the following relation to the redefined transition: A redefining transition redefines all properties of the corresponding redefined transition, except the source state and the trigger.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="Transition-isConsistentWith-spec" name="spec" constrainedElement="Transition-isConsistentWith" namespace="Transition-isConsistentWith">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="Transition-isConsistentWith-spec-_specification">
            <language>OCL</language>
            <body>result = (redefinee.oclIsKindOf(Transition) and&#xD;&#xA;  let trans: Transition = redefinee.oclAsType(Transition) in&#xD;&#xA;    (source() = trans.source() and trigger() = tran.trigger())</body>
          </specification>
        </ownedRule>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="Transition-isConsistentWith-_ownedRule.1" constrainedElement="Transition-isConsistentWith" namespace="Transition-isConsistentWith">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="Transition-isConsistentWith-_ownedRule.1-_specification">
            <language>OCL</language>
            <body>redefinee.isRedefinitionContextValid(self)</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="Transition-isConsistentWith-_ownedParameter.0" type="Boolean" direction="return"/>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="Transition-isConsistentWith-redefinee" name="redefinee" type="RedefinableElement"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="Transition-containingStateMachine" name="containingStateMachine" class="Transition" isQuery="true" bodyCondition="Transition-containingStateMachine-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Transition-containingStateMachine-_ownedComment.0" annotatedElement="Transition-containingStateMachine">
          <body>The query containingStateMachine() returns the state machine that contains the transition either directly or transitively.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="Transition-containingStateMachine-spec" name="spec" constrainedElement="Transition-containingStateMachine" namespace="Transition-containingStateMachine">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="Transition-containingStateMachine-spec-_specification">
            <language>OCL</language>
            <body>result = container.containingStateMachine()</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="Transition-containingStateMachine-_ownedParameter.0" type="StateMachine" direction="return"/>
      </ownedOperation>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="Vertex" name="Vertex" isAbstract="true" superClass="NamedElement">
      <ownedComment xmi:type="cmof:Comment" xmi:id="Vertex-_ownedComment.0" annotatedElement="Vertex">
        <body>A vertex is an abstraction of a node in a state machine graph. In general, it can be the source or destination of any number of transitions.</body>
      </ownedComment>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Vertex-container" name="container" type="Region" lower="0" subsettedProperty="NamedElement-namespace" association="A_container_subvertex">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Vertex-container-_ownedComment.0" annotatedElement="Vertex-container">
          <body>The region that contains this vertex.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Vertex-outgoing" name="outgoing" type="Transition" upper="*" lower="0" association="A_outgoing_source">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Vertex-outgoing-_ownedComment.0" annotatedElement="Vertex-outgoing">
          <body>Specifies the transitions departing from this vertex.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Vertex-incoming" name="incoming" type="Transition" upper="*" lower="0" association="A_incoming_target">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Vertex-incoming-_ownedComment.0" annotatedElement="Vertex-incoming">
          <body>Specifies the transitions entering this vertex.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="Vertex-containingStateMachine" name="containingStateMachine" class="Vertex" isQuery="true" bodyCondition="Vertex-containingStateMachine-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Vertex-containingStateMachine-_ownedComment.0" annotatedElement="Vertex-containingStateMachine">
          <body>The operation containingStateMachine() returns the state machine in which this Vertex is defined</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="Vertex-containingStateMachine-spec" name="spec" constrainedElement="Vertex-containingStateMachine" namespace="Vertex-containingStateMachine">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="Vertex-containingStateMachine-spec-_specification">
            <language>OCL</language>
            <body>result = if not container->isEmpty()&#xA;then&#xA;-- the container is a region&#xA;container.containingStateMachine()&#xA;else if (oclIsKindOf(Pseudostate)) then&#xA;-- entry or exit point?&#xA;if (kind = #entryPoint) or (kind = #exitPoint) then&#xA;stateMachine&#xA;else if (oclIsKindOf(ConnectionPointReference)) then&#xA;state.containingStateMachine() -- no other valid cases possible&#xA;endif&#xA;</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="Vertex-containingStateMachine-_ownedParameter.0" type="StateMachine" direction="return"/>
      </ownedOperation>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="Pseudostate" name="Pseudostate" superClass="Vertex">
      <ownedComment xmi:type="cmof:Comment" xmi:id="Pseudostate-_ownedComment.0" annotatedElement="Pseudostate">
        <body>A pseudostate is an abstraction that encompasses different types of transient vertices in the state machine graph.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Pseudostate-initial_vertex" name="initial_vertex" constrainedElement="Pseudostate" namespace="Pseudostate">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Pseudostate-initial_vertex-_ownedComment.0" annotatedElement="Pseudostate-initial_vertex">
          <body>An initial vertex can have at most one outgoing transition.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Pseudostate-initial_vertex-_specification">
          <language>OCL</language>
          <body>(self.kind = #initial) implies (self.outgoing->size &lt;= 1)</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Pseudostate-history_vertices" name="history_vertices" constrainedElement="Pseudostate" namespace="Pseudostate">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Pseudostate-history_vertices-_ownedComment.0" annotatedElement="Pseudostate-history_vertices">
          <body>History vertices can have at most one outgoing transition.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Pseudostate-history_vertices-_specification">
          <language>OCL</language>
          <body>((self.kind = #deepHistory) or (self.kind = #shallowHistory)) implies&#xA;(self.outgoing->size &lt;= 1)&#xA;</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Pseudostate-join_vertex" name="join_vertex" constrainedElement="Pseudostate" namespace="Pseudostate">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Pseudostate-join_vertex-_ownedComment.0" annotatedElement="Pseudostate-join_vertex">
          <body>In a complete statemachine, a join vertex must have at least two incoming transitions and exactly one outgoing transition.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Pseudostate-join_vertex-_specification">
          <language>OCL</language>
          <body>(self.kind = #join) implies&#xA;((self.outgoing->size = 1) and (self.incoming->size >= 2))&#xA;</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Pseudostate-transitions_incoming" name="transitions_incoming" constrainedElement="Pseudostate" namespace="Pseudostate">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Pseudostate-transitions_incoming-_ownedComment.0" annotatedElement="Pseudostate-transitions_incoming">
          <body>All transitions incoming a join vertex must originate in different regions of an orthogonal state.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Pseudostate-transitions_incoming-_specification">
          <language>OCL</language>
          <body>(self.kind = #join) implies&#xA;  self.incoming->forAll (t1, t2 | t1&lt;>t2 implies&#xA;    (self.stateMachine.LCA(t1.source, t2.source).container.isOrthogonal))</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Pseudostate-fork_vertex" name="fork_vertex" constrainedElement="Pseudostate" namespace="Pseudostate">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Pseudostate-fork_vertex-_ownedComment.0" annotatedElement="Pseudostate-fork_vertex">
          <body>In a complete statemachine, a fork vertex must have at least two outgoing transitions and exactly one incoming transition.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Pseudostate-fork_vertex-_specification">
          <language>OCL</language>
          <body>(self.kind = #fork) implies&#xA;((self.incoming->size = 1) and (self.outgoing->size >= 2))&#xA;</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Pseudostate-transitions_outgoing" name="transitions_outgoing" constrainedElement="Pseudostate" namespace="Pseudostate">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Pseudostate-transitions_outgoing-_ownedComment.0" annotatedElement="Pseudostate-transitions_outgoing">
          <body>All transitions outgoing a fork vertex must target states in different regions of an orthogonal state.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Pseudostate-transitions_outgoing-_specification">
          <language>OCL</language>
          <body>(self.kind = #fork) implies&#xA;  self.outgoing->forAll (t1, t2 | t1&lt;>t2 implies&#xA;    (self.stateMachine.LCA(t1.target, t2.target).container.isOrthogonal))</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Pseudostate-junction_vertex" name="junction_vertex" constrainedElement="Pseudostate" namespace="Pseudostate">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Pseudostate-junction_vertex-_ownedComment.0" annotatedElement="Pseudostate-junction_vertex">
          <body>In a complete statemachine, a junction vertex must have at least one incoming and one outgoing transition.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Pseudostate-junction_vertex-_specification">
          <language>OCL</language>
          <body>(self.kind = #junction) implies&#xA;((self.incoming->size >= 1) and (self.outgoing->size >= 1))&#xA;</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Pseudostate-choice_vertex" name="choice_vertex" constrainedElement="Pseudostate" namespace="Pseudostate">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Pseudostate-choice_vertex-_ownedComment.0" annotatedElement="Pseudostate-choice_vertex">
          <body>In a complete statemachine, a choice vertex must have at least one incoming and one outgoing transition.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Pseudostate-choice_vertex-_specification">
          <language>OCL</language>
          <body>(self.kind = #choice) implies&#xA;((self.incoming->size >= 1) and (self.outgoing->size >= 1))&#xA;</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Pseudostate-outgoing_from_initial" name="outgoing_from_initial" constrainedElement="Pseudostate" namespace="Pseudostate">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Pseudostate-outgoing_from_initial-_ownedComment.0" annotatedElement="Pseudostate-outgoing_from_initial">
          <body>The outgoing transition from and initial vertex may have a behavior, but not a trigger or a guard.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Pseudostate-outgoing_from_initial-_specification">
          <language>OCL</language>
          <body>(self.kind = #initial) implies (self.outgoing.guard->isEmpty()&#xD;&#xA;  and self.outgoing.trigger->isEmpty())</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Pseudostate-kind" name="kind" type="PseudostateKind" default="initial">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Pseudostate-kind-_ownedComment.0" annotatedElement="Pseudostate-kind">
          <body>Determines the precise type of the Pseudostate and can be one of: entryPoint, exitPoint, initial, deepHistory, shallowHistory, join, fork, junction, terminate or choice.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Pseudostate-stateMachine" name="stateMachine" type="StateMachine" lower="0" subsettedProperty="NamedElement-namespace" association="A_connectionPoint_stateMachine">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Pseudostate-stateMachine-_ownedComment.0" annotatedElement="Pseudostate-stateMachine">
          <body>The StateMachine in which this Pseudostate is defined. This only applies to Pseudostates of the kind entryPoint or exitPoint.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Pseudostate-state" name="state" type="State" lower="0" subsettedProperty="Element-owner" association="A_connectionPoint_state">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Pseudostate-state-_ownedComment.0" annotatedElement="Pseudostate-state">
          <body>The State that owns this pseudostate and in which it appears.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="FinalState" name="FinalState" superClass="State">
      <ownedComment xmi:type="cmof:Comment" xmi:id="FinalState-_ownedComment.0" annotatedElement="FinalState">
        <body>A special kind of state signifying that the enclosing region is completed. If the enclosing region is directly contained in a state machine and all other regions in the state machine also are completed, then it means that the entire state machine is completed.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="FinalState-no_outgoing_transitions" name="no_outgoing_transitions" constrainedElement="FinalState" namespace="FinalState">
        <ownedComment xmi:type="cmof:Comment" xmi:id="FinalState-no_outgoing_transitions-_ownedComment.0" annotatedElement="FinalState-no_outgoing_transitions">
          <body>A final state cannot have any outgoing transitions.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="FinalState-no_outgoing_transitions-_specification">
          <language>OCL</language>
          <body>self.outgoing->size() = 0</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="FinalState-no_regions" name="no_regions" constrainedElement="FinalState" namespace="FinalState">
        <ownedComment xmi:type="cmof:Comment" xmi:id="FinalState-no_regions-_ownedComment.0" annotatedElement="FinalState-no_regions">
          <body>A final state cannot have regions.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="FinalState-no_regions-_specification">
          <language>OCL</language>
          <body>self.region->size() = 0</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="FinalState-cannot_reference_submachine" name="cannot_reference_submachine" constrainedElement="FinalState" namespace="FinalState">
        <ownedComment xmi:type="cmof:Comment" xmi:id="FinalState-cannot_reference_submachine-_ownedComment.0" annotatedElement="FinalState-cannot_reference_submachine">
          <body>A final state cannot reference a submachine.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="FinalState-cannot_reference_submachine-_specification">
          <language>OCL</language>
          <body>self.submachine->isEmpty()</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="FinalState-no_entry_behavior" name="no_entry_behavior" constrainedElement="FinalState" namespace="FinalState">
        <ownedComment xmi:type="cmof:Comment" xmi:id="FinalState-no_entry_behavior-_ownedComment.0" annotatedElement="FinalState-no_entry_behavior">
          <body>A final state has no entry behavior.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="FinalState-no_entry_behavior-_specification">
          <language>OCL</language>
          <body>self.entry->isEmpty()</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="FinalState-no_exit_behavior" name="no_exit_behavior" constrainedElement="FinalState" namespace="FinalState">
        <ownedComment xmi:type="cmof:Comment" xmi:id="FinalState-no_exit_behavior-_ownedComment.0" annotatedElement="FinalState-no_exit_behavior">
          <body>A final state has no exit behavior.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="FinalState-no_exit_behavior-_specification">
          <language>OCL</language>
          <body>self.exit->isEmpty()</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="FinalState-no_state_behavior" name="no_state_behavior" constrainedElement="FinalState" namespace="FinalState">
        <ownedComment xmi:type="cmof:Comment" xmi:id="FinalState-no_state_behavior-_ownedComment.0" annotatedElement="FinalState-no_state_behavior">
          <body>A final state has no state (doActivity) behavior.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="FinalState-no_state_behavior-_specification">
          <language>OCL</language>
          <body>self.doActivity->isEmpty()</body>
        </specification>
      </ownedRule>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="ConnectionPointReference" name="ConnectionPointReference" superClass="Vertex">
      <ownedComment xmi:type="cmof:Comment" xmi:id="ConnectionPointReference-_ownedComment.0" annotatedElement="ConnectionPointReference">
        <body>A connection point reference represents a usage (as part of a submachine state) of an entry/exit point defined in the statemachine reference by the submachine state.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ConnectionPointReference-entry_pseudostates" name="entry_pseudostates" constrainedElement="ConnectionPointReference" namespace="ConnectionPointReference">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ConnectionPointReference-entry_pseudostates-_ownedComment.0" annotatedElement="ConnectionPointReference-entry_pseudostates">
          <body>The entry Pseudostates must be Pseudostates with kind entryPoint.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ConnectionPointReference-entry_pseudostates-_specification">
          <language>OCL</language>
          <body>entry->notEmpty() implies entry->forAll(e | e.kind = #entryPoint)</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ConnectionPointReference-exit_pseudostates" name="exit_pseudostates" constrainedElement="ConnectionPointReference" namespace="ConnectionPointReference">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ConnectionPointReference-exit_pseudostates-_ownedComment.0" annotatedElement="ConnectionPointReference-exit_pseudostates">
          <body>The exit Pseudostates must be Pseudostates with kind exitPoint.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ConnectionPointReference-exit_pseudostates-_specification">
          <language>OCL</language>
          <body>exit->notEmpty() implies exit->forAll(e | e.kind = #exitPoint)</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ConnectionPointReference-entry" name="entry" type="Pseudostate" upper="*" lower="0" association="A_entry_connectionPointReference">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ConnectionPointReference-entry-_ownedComment.0" annotatedElement="ConnectionPointReference-entry">
          <body>The entryPoint kind pseudo states corresponding to this connection point.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ConnectionPointReference-state" name="state" type="State" lower="0" subsettedProperty="NamedElement-namespace" association="A_state_connection">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ConnectionPointReference-state-_ownedComment.0" annotatedElement="ConnectionPointReference-state">
          <body>The State in which the connection point refreshens are defined.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ConnectionPointReference-exit" name="exit" type="Pseudostate" upper="*" lower="0" association="A_exit_connectionPointReference">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ConnectionPointReference-exit-_ownedComment.0" annotatedElement="ConnectionPointReference-exit">
          <body>The exitPoints kind pseudo states corresponding to this connection point.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="Region" name="Region" superClass="RedefinableElement Namespace">
      <ownedComment xmi:type="cmof:Comment" xmi:id="Region-_ownedComment.0" annotatedElement="Region">
        <body>A region is an orthogonal part of either a composite state or a state machine. It contains states and transitions.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Region-initial_vertex" name="initial_vertex" constrainedElement="Region" namespace="Region">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Region-initial_vertex-_ownedComment.0" annotatedElement="Region-initial_vertex">
          <body>A region can have at most one initial vertex</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Region-initial_vertex-_specification">
          <language>OCL</language>
          <body>self.subvertex->select (v | v.oclIsKindOf(Pseudostate))->&#xA;select(p : Pseudostate | p.kind = #initial)->size() &lt;= 1&#xA;</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Region-deep_history_vertex" name="deep_history_vertex" constrainedElement="Region" namespace="Region">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Region-deep_history_vertex-_ownedComment.0" annotatedElement="Region-deep_history_vertex">
          <body>A region can have at most one deep history vertex</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Region-deep_history_vertex-_specification">
          <language>OCL</language>
          <body>self.subvertex->select (v | v.oclIsKindOf(Pseudostate))->&#xA;select(p : Pseudostate | p.kind = #deepHistory)->size() &lt;= 1&#xA;</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Region-shallow_history_vertex" name="shallow_history_vertex" constrainedElement="Region" namespace="Region">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Region-shallow_history_vertex-_ownedComment.0" annotatedElement="Region-shallow_history_vertex">
          <body>A region can have at most one shallow history vertex</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Region-shallow_history_vertex-_specification">
          <language>OCL</language>
          <body>self.subvertex->select(v | v.oclIsKindOf(Pseudostate))->&#xA;select(p : Pseudostate | p.kind = #shallowHistory)->size() &lt;= 1&#xA;</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Region-owned" name="owned" constrainedElement="Region" namespace="Region">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Region-owned-_ownedComment.0" annotatedElement="Region-owned">
          <body>If a Region is owned by a StateMachine, then it cannot also be owned by a State and vice versa.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Region-owned-_specification">
          <language>OCL</language>
          <body>(stateMachine->notEmpty() implies state->isEmpty()) and (state->notEmpty() implies stateMachine->isEmpty())</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Region-subvertex" name="subvertex" type="Vertex" upper="*" lower="0" isComposite="true" subsettedProperty="Namespace-ownedMember" association="A_container_subvertex">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Region-subvertex-_ownedComment.0" annotatedElement="Region-subvertex">
          <body>The set of vertices that are owned by this region.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Region-transition" name="transition" type="Transition" upper="*" lower="0" isComposite="true" subsettedProperty="Namespace-ownedMember" association="A_container_transition">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Region-transition-_ownedComment.0" annotatedElement="Region-transition">
          <body>The set of transitions owned by the region. Note that internal transitions are owned by a region, but applies to the source state.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Region-stateMachine" name="stateMachine" type="StateMachine" lower="0" subsettedProperty="NamedElement-namespace" association="A_region_stateMachine">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Region-stateMachine-_ownedComment.0" annotatedElement="Region-stateMachine">
          <body>The StateMachine that owns the Region. If a Region is owned by a StateMachine, then it cannot also be owned by a State.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Region-state" name="state" type="State" lower="0" subsettedProperty="NamedElement-namespace" association="A_region_state">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Region-state-_ownedComment.0" annotatedElement="Region-state">
          <body>The State that owns the Region. If a Region is owned by a State, then it cannot also be owned by a StateMachine.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Region-extendedRegion" name="extendedRegion" type="Region" lower="0" subsettedProperty="RedefinableElement-redefinedElement" association="A_region_extendedRegion">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Region-extendedRegion-_ownedComment.0" annotatedElement="Region-extendedRegion">
          <body>The region of which this region is an extension.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Region-redefinitionContext" name="redefinitionContext" type="Classifier" isReadOnly="true" isDerived="true" redefinedProperty="RedefinableElement-redefinitionContext" association="A_redefinitionContext_region">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Region-redefinitionContext-_ownedComment.0" annotatedElement="Region-redefinitionContext">
          <body>References the classifier in which context this element may be redefined.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="Region-redefinitionContext.1" name="redefinitionContext" class="Region" isQuery="true" bodyCondition="Region-redefinitionContext.1-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Region-redefinitionContext.1-_ownedComment.0" annotatedElement="Region-redefinitionContext.1">
          <body>The redefinition context of a region is the nearest containing statemachine</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="Region-redefinitionContext.1-spec" name="spec" constrainedElement="Region-redefinitionContext.1 Region-redefinitionContext" namespace="Region-redefinitionContext.1">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="Region-redefinitionContext.1-spec-_specification">
            <language>OCL</language>
            <body>result = let sm = containingStateMachine() in&#xA;if sm.context->isEmpty() or sm.general->notEmpty() then&#xA;sm&#xA;else&#xA;sm.context&#xA;endif</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="Region-redefinitionContext.1-_ownedParameter.0" type="Classifier" direction="return"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="Region-isRedefinitionContextValid" name="isRedefinitionContextValid" class="Region" isQuery="true" redefinedOperation="RedefinableElement-isRedefinitionContextValid" bodyCondition="Region-isRedefinitionContextValid-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Region-isRedefinitionContextValid-_ownedComment.0" annotatedElement="Region-isRedefinitionContextValid">
          <body>The query isRedefinitionContextValid() specifies whether the redefinition contexts of a region are properly related to the redefinition contexts of the specified region to allow this element to redefine the other. The containing statemachine/state of a redefining region must redefine the containing statemachine/state of the redefined region.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="Region-isRedefinitionContextValid-spec" name="spec" constrainedElement="Region-isRedefinitionContextValid" namespace="Region-isRedefinitionContextValid">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="Region-isRedefinitionContextValid-spec-_specification">
            <language>OCL</language>
            <body>result = true</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="Region-isRedefinitionContextValid-_ownedParameter.0" type="Boolean" direction="return"/>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="Region-isRedefinitionContextValid-redefined" name="redefined" type="Region"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="Region-isConsistentWith" name="isConsistentWith" class="Region" isQuery="true" redefinedOperation="RedefinableElement-isConsistentWith" bodyCondition="Region-isConsistentWith-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Region-isConsistentWith-_ownedComment.0" annotatedElement="Region-isConsistentWith">
          <body>The query isConsistentWith() specifies that a redefining region is consistent with a redefined region provided that the redefining region is an extension of the redefined region, i.e. it adds vertices and transitions and it redefines states and transitions of the redefined region.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="Region-isConsistentWith-spec" name="spec" constrainedElement="Region-isConsistentWith" namespace="Region-isConsistentWith">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="Region-isConsistentWith-spec-_specification">
            <language>OCL</language>
            <body>result = true</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="Region-isConsistentWith-_ownedParameter.0" type="Boolean" direction="return"/>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="Region-isConsistentWith-redefinee" name="redefinee" type="RedefinableElement"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="Region-containingStateMachine" name="containingStateMachine" class="Region" isQuery="true" bodyCondition="Region-containingStateMachine-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Region-containingStateMachine-_ownedComment.0" annotatedElement="Region-containingStateMachine">
          <body>The operation containingStateMachine() returns the sate machine in which this Region is defined</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="Region-containingStateMachine-spec" name="spec" constrainedElement="Region-containingStateMachine" namespace="Region-containingStateMachine">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="Region-containingStateMachine-spec-_specification">
            <language>OCL</language>
            <body>result = if stateMachine->isEmpty() &#xA;then&#xA;state.containingStateMachine()&#xA;else&#xA;stateMachine&#xA;endif</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="Region-containingStateMachine-_ownedParameter.0" type="StateMachine" direction="return"/>
      </ownedOperation>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="TimeEvent" name="TimeEvent" superClass="Event">
      <ownedComment xmi:type="cmof:Comment" xmi:id="TimeEvent-_ownedComment.0" annotatedElement="TimeEvent">
        <body>A time event specifies a point in time. At the specified time, the event occurs.</body>
      </ownedComment>
      <ownedComment xmi:type="cmof:Comment" xmi:id="TimeEvent-_ownedComment.1" annotatedElement="TimeEvent">
        <body>A time event can be defined relative to entering the current state of the executing state machine.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="TimeEvent-when_non_negative" name="when_non_negative" constrainedElement="TimeEvent" namespace="TimeEvent">
        <ownedComment xmi:type="cmof:Comment" xmi:id="TimeEvent-when_non_negative-_ownedComment.0" annotatedElement="TimeEvent-when_non_negative">
          <body>The ValueSpecification when must return a non-negative Integer.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="TimeEvent-when_non_negative-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="TimeEvent-starting_time" name="starting_time" constrainedElement="TimeEvent" namespace="TimeEvent">
        <ownedComment xmi:type="cmof:Comment" xmi:id="TimeEvent-starting_time-_ownedComment.0" annotatedElement="TimeEvent-starting_time">
          <body>The starting time for a relative time event may only be omitted for a time event that is the trigger of a state machine.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="TimeEvent-starting_time-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="TimeEvent-isRelative" name="isRelative" type="Boolean" default="false">
        <ownedComment xmi:type="cmof:Comment" xmi:id="TimeEvent-isRelative-_ownedComment.0" annotatedElement="TimeEvent-isRelative">
          <body>Specifies whether it is relative or absolute time.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="TimeEvent-when" name="when" type="ValueSpecification" isComposite="true" subsettedProperty="Element-ownedElement" association="A_when_timeEvent">
        <ownedComment xmi:type="cmof:Comment" xmi:id="TimeEvent-when-_ownedComment.0" annotatedElement="TimeEvent-when">
          <body>Specifies the corresponding time deadline.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Enumeration" xmi:id="PseudostateKind" name="PseudostateKind" visibility="private">
      <ownedComment xmi:type="cmof:Comment" xmi:id="PseudostateKind-_ownedComment.0" annotatedElement="PseudostateKind">
        <body>PseudostateKind is an enumeration type.</body>
      </ownedComment>
      <ownedLiteral xmi:type="cmof:EnumerationLiteral" xmi:id="PseudostateKind-initial" name="initial" enumeration="PseudostateKind">
        <ownedComment xmi:type="cmof:Comment" xmi:id="PseudostateKind-initial-_ownedComment.0" annotatedElement="PseudostateKind-initial">
          <body>An initial pseudostate represents a default vertex that is the source for a single transition to the default state of a composite state. There can be at most one initial vertex in a region. The outgoing transition from the initial vertex may have a behavior, but not a trigger or guard.</body>
        </ownedComment>
      </ownedLiteral>
      <ownedLiteral xmi:type="cmof:EnumerationLiteral" xmi:id="PseudostateKind-deepHistory" name="deepHistory" enumeration="PseudostateKind">
        <ownedComment xmi:type="cmof:Comment" xmi:id="PseudostateKind-deepHistory-_ownedComment.0" annotatedElement="PseudostateKind-deepHistory">
          <body>DeepHistory represents the most recent active configuration of the composite state that directly contains this pseudostate; e.g. the state configuration that was active when the composite state was last exited. A composite state can have at most one deep history vertex. At most one transition may originate from the history connector to the default deep history state. This transition is taken in case the composite state had never been active before. Entry actions of states entered on the path to the state represented by a deep history are performed.</body>
        </ownedComment>
      </ownedLiteral>
      <ownedLiteral xmi:type="cmof:EnumerationLiteral" xmi:id="PseudostateKind-shallowHistory" name="shallowHistory" enumeration="PseudostateKind">
        <ownedComment xmi:type="cmof:Comment" xmi:id="PseudostateKind-shallowHistory-_ownedComment.0" annotatedElement="PseudostateKind-shallowHistory">
          <body>ShallowHistory represents the most recent active substate of its containing state (but not the substates of that substate). A composite state can have at most one shallow history vertex. A transition coming into the shallow history vertex is equivalent to a transition coming into the most recent active substate of a state. At most one transition may originate from the history connector to the default shallow history state. This transition is taken in case the composite state had never been active before. Entry actions of states entered on the path to the state represented by a shallow history are performed.</body>
        </ownedComment>
      </ownedLiteral>
      <ownedLiteral xmi:type="cmof:EnumerationLiteral" xmi:id="PseudostateKind-join" name="join" enumeration="PseudostateKind">
        <ownedComment xmi:type="cmof:Comment" xmi:id="PseudostateKind-join-_ownedComment.0" annotatedElement="PseudostateKind-join">
          <body>Join vertices serve to merge several transitions emanating from source vertices in different orthogonal regions. The transitions entering a join vertex cannot have guards or triggers.</body>
        </ownedComment>
      </ownedLiteral>
      <ownedLiteral xmi:type="cmof:EnumerationLiteral" xmi:id="PseudostateKind-fork" name="fork" enumeration="PseudostateKind">
        <ownedComment xmi:type="cmof:Comment" xmi:id="PseudostateKind-fork-_ownedComment.0" annotatedElement="PseudostateKind-fork">
          <body>Fork vertices serve to split an incoming transition into two or more transitions terminating on orthogonal target vertices&#xD;
(i.e. vertices in different regions of a composite state). The segments outgoing from a fork vertex must not have guards or triggers.</body>
        </ownedComment>
      </ownedLiteral>
      <ownedLiteral xmi:type="cmof:EnumerationLiteral" xmi:id="PseudostateKind-junction" name="junction" enumeration="PseudostateKind">
        <ownedComment xmi:type="cmof:Comment" xmi:id="PseudostateKind-junction-_ownedComment.0" annotatedElement="PseudostateKind-junction">
          <body>Junction vertices are semantic-free vertices that are used to chain together multiple transitions. They are used to construct compound transition paths between states. For example, a junction can be used to converge multiple incoming transitions into a single outgoing transition representing a shared transition path (this is known as an merge). Conversely, they can be used to split an incoming transition into multiple outgoing transition segments with different guard conditions. This realizes a static conditional branch. (In the latter case, outgoing transitions whose guard conditions evaluate to false are disabled. A predefined guard denoted 'else' may be defined for at most one outgoing transition. This transition is enabled if all the guards labeling the other transitions are false.) Static conditional branches are distinct from dynamic conditional branches that are realized by choice vertices (described below).</body>
        </ownedComment>
      </ownedLiteral>
      <ownedLiteral xmi:type="cmof:EnumerationLiteral" xmi:id="PseudostateKind-choice" name="choice" enumeration="PseudostateKind">
        <ownedComment xmi:type="cmof:Comment" xmi:id="PseudostateKind-choice-_ownedComment.0" annotatedElement="PseudostateKind-choice">
          <body>Choice vertices which, when reached, result in the dynamic evaluation of the guards of the triggers of its outgoing transitions. This realizes a dynamic conditional branch. It allows splitting of transitions into multiple outgoing paths such that the decision on which path to take may be a function of the results of prior actions performed in the same run-tocompletion step. If more than one of the guards evaluates to true, an arbitrary one is selected. If none of the guards evaluates to true, then the model is considered ill-formed. (To avoid this, it is recommended to define one outgoing transition with the predefined else guard for every choice vertex.) Choice vertices should be distinguished from static branch points that are based on junction points (described above).</body>
        </ownedComment>
      </ownedLiteral>
      <ownedLiteral xmi:type="cmof:EnumerationLiteral" xmi:id="PseudostateKind-entryPoint" name="entryPoint" enumeration="PseudostateKind">
        <ownedComment xmi:type="cmof:Comment" xmi:id="PseudostateKind-entryPoint-_ownedComment.0" annotatedElement="PseudostateKind-entryPoint">
          <body>An entry point pseudostate is an entry point of a state machine or composite state. In each region of the state machine or composite state it has a single transition to a vertex within the same region.</body>
        </ownedComment>
      </ownedLiteral>
      <ownedLiteral xmi:type="cmof:EnumerationLiteral" xmi:id="PseudostateKind-exitPoint" name="exitPoint" enumeration="PseudostateKind">
        <ownedComment xmi:type="cmof:Comment" xmi:id="PseudostateKind-exitPoint-_ownedComment.0" annotatedElement="PseudostateKind-exitPoint">
          <body>An exit point pseudostate is an exit point of a state machine or composite state. Entering an exit point within any region of the composite state or state machine referenced by a submachine state implies the exit of this composite state or submachine state and the triggering of the transition that has this exit point as source in the state machine enclosing the submachine or composite state.</body>
        </ownedComment>
      </ownedLiteral>
      <ownedLiteral xmi:type="cmof:EnumerationLiteral" xmi:id="PseudostateKind-terminate" name="terminate" enumeration="PseudostateKind">
        <ownedComment xmi:type="cmof:Comment" xmi:id="PseudostateKind-terminate-_ownedComment.0" annotatedElement="PseudostateKind-terminate">
          <body>Entering a terminate pseudostate implies that the execution of this state machine by means of its context object is terminated. The state machine does not exit any states nor does it perform any exit actions other than those associated with the transition leading to the terminate pseudostate. Entering a terminate pseudostate is equivalent to invoking a DestroyObjectAction.</body>
        </ownedComment>
      </ownedLiteral>
    </ownedMember>
    <ownedMember xmi:type="cmof:Enumeration" xmi:id="TransitionKind" name="TransitionKind" visibility="private">
      <ownedComment xmi:type="cmof:Comment" xmi:id="TransitionKind-_ownedComment.0" annotatedElement="TransitionKind">
        <body>TransitionKind is an enumeration type.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="TransitionKind-state_is_local" name="state_is_local" constrainedElement="TransitionKind" namespace="TransitionKind">
        <ownedComment xmi:type="cmof:Comment" xmi:id="TransitionKind-state_is_local-_ownedComment.0" annotatedElement="TransitionKind-state_is_local">
          <body>The source state of a transition with transition kind local must be a composite state.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="TransitionKind-state_is_local-_specification">
          <language>OCL</language>
          <body>kind=#local implies owner.source.isComposite</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="TransitionKind-state_is_external" name="state_is_external" constrainedElement="TransitionKind" namespace="TransitionKind">
        <ownedComment xmi:type="cmof:Comment" xmi:id="TransitionKind-state_is_external-_ownedComment.0" annotatedElement="TransitionKind-state_is_external">
          <body>The source state of a transition with transition kind external must be a composite state.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="TransitionKind-state_is_external-_specification">
          <language>OCL</language>
          <body>kind=#external implies owner.source.isComposite</body>
        </specification>
      </ownedRule>
      <ownedLiteral xmi:type="cmof:EnumerationLiteral" xmi:id="TransitionKind-internal" name="internal" enumeration="TransitionKind">
        <ownedComment xmi:type="cmof:Comment" xmi:id="TransitionKind-internal-_ownedComment.0" annotatedElement="TransitionKind-internal">
          <body>Implies that the transition, if triggered, occurs without exiting or entering the source state. Thus, it does not cause a state change. This means that the entry or exit condition of the source state will not be invoked. An internal transition can be taken even if the state machine is in one or more regions nested within this state.</body>
        </ownedComment>
      </ownedLiteral>
      <ownedLiteral xmi:type="cmof:EnumerationLiteral" xmi:id="TransitionKind-local" name="local" enumeration="TransitionKind">
        <ownedComment xmi:type="cmof:Comment" xmi:id="TransitionKind-local-_ownedComment.0" annotatedElement="TransitionKind-local">
          <body>Implies that the transition, if triggered, will not exit the composite (source) state, but it will apply to any state within the composite state, and these will be exited and entered.</body>
        </ownedComment>
      </ownedLiteral>
      <ownedLiteral xmi:type="cmof:EnumerationLiteral" xmi:id="TransitionKind-external" name="external" enumeration="TransitionKind">
        <ownedComment xmi:type="cmof:Comment" xmi:id="TransitionKind-external-_ownedComment.0" annotatedElement="TransitionKind-external">
          <body>Implies that the transition, if triggered, will exit the composite (source) state.</body>
        </ownedComment>
      </ownedLiteral>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_container_subvertex" name="A_container_subvertex" visibility="private" memberEnd="Vertex-container Region-subvertex"/>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_container_transition" name="A_container_transition" visibility="private" memberEnd="Transition-container Region-transition"/>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_outgoing_source" name="A_outgoing_source" visibility="private" memberEnd="Vertex-outgoing Transition-source"/>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_incoming_target" name="A_incoming_target" visibility="private" memberEnd="Vertex-incoming Transition-target"/>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_submachineState_submachine" name="A_submachineState_submachine" visibility="private" memberEnd="StateMachine-submachineState State-submachine"/>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_entry_connectionPointReference" name="A_entry_connectionPointReference" visibility="private" memberEnd="ConnectionPointReference-entry A_entry_connectionPointReference-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_entry_connectionPointReference-_ownedEnd.0" type="ConnectionPointReference" lower="0" owningAssociation="A_entry_connectionPointReference" association="A_entry_connectionPointReference"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_state_connection" name="A_state_connection" visibility="private" memberEnd="ConnectionPointReference-state State-connection"/>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_redefinedState_state" name="A_redefinedState_state" visibility="private" memberEnd="State-redefinedState A_redefinedState_state-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_redefinedState_state-_ownedEnd.0" type="State" lower="0" owningAssociation="A_redefinedState_state" association="A_redefinedState_state"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_redefinedTransition_transition" name="A_redefinedTransition_transition" visibility="private" memberEnd="Transition-redefinedTransition A_redefinedTransition_transition-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_redefinedTransition_transition-_ownedEnd.0" type="Transition" lower="0" owningAssociation="A_redefinedTransition_transition" association="A_redefinedTransition_transition"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_exit_connectionPointReference" name="A_exit_connectionPointReference" visibility="private" memberEnd="ConnectionPointReference-exit A_exit_connectionPointReference-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_exit_connectionPointReference-_ownedEnd.0" type="ConnectionPointReference" lower="0" owningAssociation="A_exit_connectionPointReference" association="A_exit_connectionPointReference"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_region_stateMachine" name="A_region_stateMachine" visibility="private" memberEnd="StateMachine-region Region-stateMachine"/>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_connectionPoint_stateMachine" name="A_connectionPoint_stateMachine" visibility="private" memberEnd="StateMachine-connectionPoint Pseudostate-stateMachine"/>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_region_state" name="A_region_state" visibility="private" memberEnd="State-region Region-state"/>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_region_extendedRegion" name="A_region_extendedRegion" visibility="private" memberEnd="A_region_extendedRegion-_ownedEnd.0 Region-extendedRegion">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_region_extendedRegion-_ownedEnd.0" type="Region" lower="0" owningAssociation="A_region_extendedRegion" association="A_region_extendedRegion"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_stateMachine_extendedStateMachine" name="A_stateMachine_extendedStateMachine" visibility="private" memberEnd="A_stateMachine_extendedStateMachine-_ownedEnd.0 StateMachine-extendedStateMachine">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_stateMachine_extendedStateMachine-_ownedEnd.0" type="StateMachine" lower="0" owningAssociation="A_stateMachine_extendedStateMachine" association="A_stateMachine_extendedStateMachine"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_guard_transition" name="A_guard_transition" visibility="private" memberEnd="Transition-guard A_guard_transition-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_guard_transition-_ownedEnd.0" type="Transition" lower="0" owningAssociation="A_guard_transition" association="A_guard_transition"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_redefinitionContext_region" name="A_redefinitionContext_region" visibility="private" memberEnd="Region-redefinitionContext A_redefinitionContext_region-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_redefinitionContext_region-_ownedEnd.0" type="Region" upper="*" lower="0" owningAssociation="A_redefinitionContext_region" association="A_redefinitionContext_region"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_state_redefinitionContext" name="A_state_redefinitionContext" visibility="private" memberEnd="A_state_redefinitionContext-_ownedEnd.0 State-redefinitionContext" isDerived="true">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_state_redefinitionContext-_ownedEnd.0" type="State" upper="*" lower="0" owningAssociation="A_state_redefinitionContext" association="A_state_redefinitionContext"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_transition_redefinitionContext" name="A_transition_redefinitionContext" visibility="private" memberEnd="A_transition_redefinitionContext-_ownedEnd.0 Transition-redefinitionContext">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_transition_redefinitionContext-_ownedEnd.0" type="Transition" upper="*" lower="0" owningAssociation="A_transition_redefinitionContext" association="A_transition_redefinitionContext"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_stateInvariant_owningState" name="A_stateInvariant_owningState" visibility="private" memberEnd="State-stateInvariant A_stateInvariant_owningState-owningState">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_stateInvariant_owningState-owningState" name="owningState" type="State" lower="0" owningAssociation="A_stateInvariant_owningState" subsettedProperty="Element-owner" association="A_stateInvariant_owningState"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_effect_transition" name="A_effect_transition" visibility="private" memberEnd="Transition-effect A_effect_transition-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_effect_transition-_ownedEnd.0" type="Transition" lower="0" owningAssociation="A_effect_transition" association="A_effect_transition"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_entry_state" name="A_entry_state" visibility="private" memberEnd="State-entry A_entry_state-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_entry_state-_ownedEnd.0" type="State" lower="0" owningAssociation="A_entry_state" association="A_entry_state"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_exit_state" name="A_exit_state" visibility="private" memberEnd="State-exit A_exit_state-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_exit_state-_ownedEnd.0" type="State" lower="0" owningAssociation="A_exit_state" association="A_exit_state"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_doActivity_state" name="A_doActivity_state" visibility="private" memberEnd="State-doActivity A_doActivity_state-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_doActivity_state-_ownedEnd.0" type="State" lower="0" owningAssociation="A_doActivity_state" association="A_doActivity_state"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_connectionPoint_state" name="A_connectionPoint_state" visibility="private" memberEnd="State-connectionPoint Pseudostate-state"/>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_trigger_transition" name="A_trigger_transition" visibility="private" memberEnd="Transition-trigger A_trigger_transition-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_trigger_transition-_ownedEnd.0" type="Transition" lower="0" owningAssociation="A_trigger_transition" association="A_trigger_transition"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_deferrableTrigger_state" name="A_deferrableTrigger_state" visibility="private" memberEnd="State-deferrableTrigger A_deferrableTrigger_state-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_deferrableTrigger_state-_ownedEnd.0" type="State" lower="0" owningAssociation="A_deferrableTrigger_state" association="A_deferrableTrigger_state"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="Port" name="Port" superClass="Property">
      <ownedComment xmi:type="cmof:Comment" xmi:id="Port-_ownedComment.0" annotatedElement="Port">
        <body>A port is a property of a classifier that specifies a distinct interaction point between that classifier and its environment or between the (behavior of the) classifier and its internal parts. Ports are connected to properties of the classifier by connectors through which requests can be made to invoke the behavioral features of a classifier. A Port may specify the services a classifier provides (offers) to its environment as well as the services that a classifier expects (requires) of its environment.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Port-required_interfaces" name="required_interfaces" constrainedElement="Port" namespace="Port">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Port-required_interfaces-_ownedComment.0" annotatedElement="Port-required_interfaces">
          <body>The required interfaces of a port must be provided by elements to which the port is connected.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Port-required_interfaces-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Port-port_aggregation" name="port_aggregation" constrainedElement="Port" namespace="Port">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Port-port_aggregation-_ownedComment.0" annotatedElement="Port-port_aggregation">
          <body>Port.aggregation must be composite.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Port-port_aggregation-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Port-port_destroyed" name="port_destroyed" constrainedElement="Port" namespace="Port">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Port-port_destroyed-_ownedComment.0" annotatedElement="Port-port_destroyed">
          <body>When a port is destroyed, all connectors attached to this port will be destroyed also.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Port-port_destroyed-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Port-default_value" name="default_value" constrainedElement="Port" namespace="Port">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Port-default_value-_ownedComment.0" annotatedElement="Port-default_value">
          <body>A defaultValue for port cannot be specified when the type of the Port is an Interface</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Port-default_value-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Port-isBehavior" name="isBehavior" type="Boolean" default="false">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Port-isBehavior-_ownedComment.0" annotatedElement="Port-isBehavior">
          <body>Specifies whether requests arriving at this port are sent to the classifier behavior of this classifier. Such ports are referred to as behavior port. Any invocation of a behavioral feature targeted at a behavior port will be handled by the instance of the owning classifier itself, rather than by any instances that this classifier may contain.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Port-isService" name="isService" type="Boolean" default="true">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Port-isService-_ownedComment.0" annotatedElement="Port-isService">
          <body>If true indicates that this port is used to provide the published functionality of a classifier; if false, this port is used to implement the classifier but is not part of the essential externally-visible functionality of the classifier and can, therefore, be altered or deleted along with the internal implementation of the classifier and other properties that are considered part of its implementation.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Port-required" name="required" type="Interface" upper="*" lower="0" isReadOnly="true" isDerived="true" association="A_required_port">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Port-required-_ownedComment.0" annotatedElement="Port-required">
          <body>References the interfaces specifying the set of operations and receptions which the classifier expects its environment to handle. This association is derived as the set of interfaces required by the type of the port or its supertypes.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Port-redefinedPort" name="redefinedPort" type="Port" upper="*" lower="0" subsettedProperty="RedefinableElement-redefinedElement" association="A_redefinedPort_port">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Port-redefinedPort-_ownedComment.0" annotatedElement="Port-redefinedPort">
          <body>A port may be redefined when its containing classifier is specialized. The redefining port may have additional interfaces to those that are associated with the redefined port or it may replace an interface by one of its subtypes.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Port-provided" name="provided" type="Interface" upper="*" lower="0" isReadOnly="true" isDerived="true" association="A_provided_port">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Port-provided-_ownedComment.0" annotatedElement="Port-provided">
          <body>References the interfaces specifying the set of operations and receptions which the classifier offers to its environment, and which it will handle either directly or by forwarding it to a part of its internal structure. This association is derived from the interfaces realized by the type of the port or by the type of the port, if the port was typed by an interface.&#xD;
</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="EncapsulatedClassifier" name="EncapsulatedClassifier" isAbstract="true" superClass="StructuredClassifier">
      <ownedComment xmi:type="cmof:Comment" xmi:id="EncapsulatedClassifier-_ownedComment.0" annotatedElement="EncapsulatedClassifier">
        <body>A classifier has the ability to own ports as specific and type checked interaction points.</body>
      </ownedComment>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="EncapsulatedClassifier-ownedPort" name="ownedPort" type="Port" upper="*" lower="0" isDerived="true" isComposite="true" subsettedProperty="StructuredClassifier-ownedAttribute" association="A_encapsulatedClassifier_ownedPort">
        <ownedComment xmi:type="cmof:Comment" xmi:id="EncapsulatedClassifier-ownedPort-_ownedComment.0" annotatedElement="EncapsulatedClassifier-ownedPort">
          <body>References a set of ports that an encapsulated classifier owns.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="ConnectorEnd" name="ConnectorEnd" superClass="MultiplicityElement">
      <ownedComment xmi:type="cmof:Comment" xmi:id="ConnectorEnd-_ownedComment.0" annotatedElement="ConnectorEnd">
        <body>A connector end is an endpoint of a connector, which attaches the connector to a connectable element. Each connector end is part of one connector.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ConnectorEnd-multiplicity" name="multiplicity" constrainedElement="ConnectorEnd" namespace="ConnectorEnd">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ConnectorEnd-multiplicity-_ownedComment.0" annotatedElement="ConnectorEnd-multiplicity">
          <body>The multiplicity of the connector end may not be more general than the multiplicity of the association typing the owning connector.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ConnectorEnd-multiplicity-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ConnectorEnd-part_with_port_empty" name="part_with_port_empty" constrainedElement="ConnectorEnd" namespace="ConnectorEnd">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ConnectorEnd-part_with_port_empty-_ownedComment.0" annotatedElement="ConnectorEnd-part_with_port_empty">
          <body>If a connector end is attached to a port of the containing classifier, partWithPort will be empty.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ConnectorEnd-part_with_port_empty-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ConnectorEnd-role_and_part_with_port" name="role_and_part_with_port" constrainedElement="ConnectorEnd" namespace="ConnectorEnd">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ConnectorEnd-role_and_part_with_port-_ownedComment.0" annotatedElement="ConnectorEnd-role_and_part_with_port">
          <body>If a connector end references both a role and a partWithPort, then the role must be a port that is defined by the type of the partWithPort.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ConnectorEnd-role_and_part_with_port-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ConnectorEnd-self_part_with_port" name="self_part_with_port" constrainedElement="ConnectorEnd" namespace="ConnectorEnd">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ConnectorEnd-self_part_with_port-_ownedComment.0" annotatedElement="ConnectorEnd-self_part_with_port">
          <body>The property held in self.partWithPort must not be a Port.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ConnectorEnd-self_part_with_port-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ConnectorEnd-definingEnd" name="definingEnd" type="Property" lower="0" isReadOnly="true" isDerived="true" association="A_definingEnd_connectorEnd">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ConnectorEnd-definingEnd-_ownedComment.0" annotatedElement="ConnectorEnd-definingEnd">
          <body>A derived association referencing the corresponding association end on the association which types the connector owing this connector end. This association is derived by selecting the association end at the same place in the ordering of association ends as this connector end.&#xD;
</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ConnectorEnd-role" name="role" type="ConnectableElement" association="A_end_role">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ConnectorEnd-role-_ownedComment.0" annotatedElement="ConnectorEnd-role">
          <body>The connectable element attached at this connector end. When an instance of the containing classifier is created, a link may (depending on the multiplicities) be created to an instance of the classifier that types this connectable element.&#xD;
</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ConnectorEnd-partWithPort" name="partWithPort" type="Property" lower="0" association="A_partWithPort_connectorEnd">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ConnectorEnd-partWithPort-_ownedComment.0" annotatedElement="ConnectorEnd-partWithPort">
          <body>Indicates the role of the internal structure of a classifier with the port to which the connector end is attached.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_encapsulatedClassifier_ownedPort" name="A_encapsulatedClassifier_ownedPort" visibility="private" memberEnd="A_encapsulatedClassifier_ownedPort-_ownedEnd.0 EncapsulatedClassifier-ownedPort">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_encapsulatedClassifier_ownedPort-_ownedEnd.0" type="EncapsulatedClassifier" lower="0" owningAssociation="A_encapsulatedClassifier_ownedPort" subsettedProperty="RedefinableElement-redefinitionContext" association="A_encapsulatedClassifier_ownedPort"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_required_port" name="A_required_port" visibility="private" memberEnd="Port-required A_required_port-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_required_port-_ownedEnd.0" type="Port" upper="*" lower="0" owningAssociation="A_required_port" association="A_required_port"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_redefinedPort_port" name="A_redefinedPort_port" visibility="private" memberEnd="Port-redefinedPort A_redefinedPort_port-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_redefinedPort_port-_ownedEnd.0" type="Port" upper="*" lower="0" owningAssociation="A_redefinedPort_port" association="A_redefinedPort_port"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_provided_port" name="A_provided_port" visibility="private" memberEnd="Port-provided A_provided_port-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_provided_port-_ownedEnd.0" type="Port" upper="*" lower="0" owningAssociation="A_provided_port" association="A_provided_port"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_partWithPort_connectorEnd" name="A_partWithPort_connectorEnd" visibility="private" memberEnd="ConnectorEnd-partWithPort A_partWithPort_connectorEnd-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_partWithPort_connectorEnd-_ownedEnd.0" type="ConnectorEnd" upper="*" lower="0" owningAssociation="A_partWithPort_connectorEnd" association="A_partWithPort_connectorEnd"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="Stereotype" name="Stereotype" superClass="Class">
      <ownedComment xmi:type="cmof:Comment" xmi:id="Stereotype-_ownedComment.0" annotatedElement="Stereotype">
        <body>A stereotype defines how an existing metaclass may be extended, and enables the use of platform or domain specific terminology or notation in place of, or in addition to, the ones used for the extended metaclass.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Stereotype-name_not_clash" name="name_not_clash" constrainedElement="Stereotype" namespace="Stereotype">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Stereotype-name_not_clash-_ownedComment.0" annotatedElement="Stereotype-name_not_clash">
          <body>Stereotype names should not clash with keyword names for the extended model element.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Stereotype-name_not_clash-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Stereotype-generalize" name="generalize" constrainedElement="Stereotype" namespace="Stereotype">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Stereotype-generalize-_ownedComment.0" annotatedElement="Stereotype-generalize">
          <body>A Stereotype may only generalize or specialize another Stereotype.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Stereotype-generalize-_specification">
          <language>OCL</language>
          <body>generalization.general->forAll(e |e.oclIsKindOf(Stereotype)) and generalization.specific->forAll(e | e.oclIsKindOf(Stereotype)) </body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Stereotype-icon" name="icon" type="Image" upper="*" lower="0" isComposite="true" association="A_icon_stereotype">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Stereotype-icon-_ownedComment.0" annotatedElement="Stereotype-icon">
          <body>Stereotype can change the graphical appearance of the extended model element by using attached icons. When this association is not null, it references the location of the icon content to be displayed within diagrams presenting the extended model elements.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="Profile" name="Profile" superClass="Package">
      <ownedComment xmi:type="cmof:Comment" xmi:id="Profile-_ownedComment.0" annotatedElement="Profile">
        <body>A profile defines limited extensions to a reference metamodel with the purpose of adapting the metamodel to a specific platform or domain.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Profile-metaclass_reference_not_specialized" name="metaclass_reference_not_specialized" constrainedElement="Profile" namespace="Profile">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Profile-metaclass_reference_not_specialized-_ownedComment.0" annotatedElement="Profile-metaclass_reference_not_specialized">
          <body>An element imported as a metaclassReference is not specialized or generalized in a Profile.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Profile-metaclass_reference_not_specialized-_specification">
          <language>OCL</language>
          <body>self.metaclassReference.importedElement->&#xD;&#xA;  select(c | c.oclIsKindOf(Classifier) and&#xD;&#xA;    (c.generalization.namespace = self or&#xD;&#xA;      (c.specialization.namespace = self) )->isEmpty()</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Profile-references_same_metamodel" name="references_same_metamodel" constrainedElement="Profile" namespace="Profile">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Profile-references_same_metamodel-_ownedComment.0" annotatedElement="Profile-references_same_metamodel">
          <body>All elements imported either as metaclassReferences or through metamodelReferences are members of the same base reference metamodel.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Profile-references_same_metamodel-_specification">
          <language>OCL</language>
          <body>self.metamodelReference.importedPackage.elementImport.importedElement.allOwningPackages())->&#xD;&#xA;  union(self.metaclassReference.importedElement.allOwningPackages() )->notEmpty()</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Profile-ownedStereotype" name="ownedStereotype" type="Stereotype" upper="*" lower="0" isDerived="true" isComposite="true" subsettedProperty="Package-packagedElement" association="A_ownedStereotype_profile">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Profile-ownedStereotype-_ownedComment.0" annotatedElement="Profile-ownedStereotype">
          <body>References the Stereotypes that are owned by the Profile.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Profile-metaclassReference" name="metaclassReference" type="ElementImport" upper="*" lower="0" isComposite="true" subsettedProperty="Namespace-elementImport" association="A_metaclassReference_profile">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Profile-metaclassReference-_ownedComment.0" annotatedElement="Profile-metaclassReference">
          <body>References a metaclass that may be extended.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Profile-metamodelReference" name="metamodelReference" type="PackageImport" upper="*" lower="0" isComposite="true" subsettedProperty="Namespace-packageImport" association="A_metamodelReference_profile">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Profile-metamodelReference-_ownedComment.0" annotatedElement="Profile-metamodelReference">
          <body>References a package containing (directly or indirectly) metaclasses that may be extended.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="Package" name="Package" superClass="PackageableElement Namespace">
      <ownedComment xmi:type="cmof:Comment" xmi:id="Package-_ownedComment.0" annotatedElement="Package">
        <body>A package is used to group elements, and provides a namespace for the grouped elements.</body>
      </ownedComment>
      <ownedComment xmi:type="cmof:Comment" xmi:id="Package-_ownedComment.1" annotatedElement="Package">
        <body>A package can have one or more profile applications to indicate which profiles have been applied. Because a profile is a package, it is possible to apply a profile not only to packages, but also to profiles.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Package-elements_public_or_private" name="elements_public_or_private" constrainedElement="Package" namespace="Package">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Package-elements_public_or_private-_ownedComment.0" annotatedElement="Package-elements_public_or_private">
          <body>If an element that is owned by a package has visibility, it is public or private.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Package-elements_public_or_private-_specification">
          <language>OCL</language>
          <body>self.ownedElements->forAll(e | e.visibility->notEmpty() implies e.visbility = #public or e.visibility = #private)</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Package-packageMerge" name="packageMerge" type="PackageMerge" upper="*" lower="0" isComposite="true" subsettedProperty="Element-ownedElement" association="A_receivingPackage_packageMerge">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Package-packageMerge-_ownedComment.0" annotatedElement="Package-packageMerge">
          <body>References the PackageMerges that are owned by this Package.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Package-packagedElement" name="packagedElement" type="PackageableElement" upper="*" lower="0" isComposite="true" subsettedProperty="Namespace-ownedMember" association="A_packagedElement_owningPackage">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Package-packagedElement-_ownedComment.0" annotatedElement="Package-packagedElement">
          <body>Specifies the packageable elements that are owned by this Package.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Package-ownedType" name="ownedType" type="Type" upper="*" lower="0" isDerived="true" isComposite="true" subsettedProperty="Package-packagedElement" association="A_ownedType_package">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Package-ownedType-_ownedComment.0" annotatedElement="Package-ownedType">
          <body>References the packaged elements that are Types.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Package-nestedPackage" name="nestedPackage" type="Package" upper="*" lower="0" isDerived="true" isComposite="true" subsettedProperty="Package-packagedElement" association="A_nestedPackage_nestingPackage">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Package-nestedPackage-_ownedComment.0" annotatedElement="Package-nestedPackage">
          <body>References the packaged elements that are Packages.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Package-nestingPackage" name="nestingPackage" type="Package" lower="0" subsettedProperty="NamedElement-namespace" association="A_nestedPackage_nestingPackage">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Package-nestingPackage-_ownedComment.0" annotatedElement="Package-nestingPackage">
          <body>References the Package that owns this Package.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Package-profileApplication" name="profileApplication" type="ProfileApplication" upper="*" lower="0" isComposite="true" subsettedProperty="Element-ownedElement" association="A_profileApplication_applyingPackage">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Package-profileApplication-_ownedComment.0" annotatedElement="Package-profileApplication">
          <body>References the ProfileApplications that indicate which profiles have been applied to the Package.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="Package-mustBeOwned" name="mustBeOwned" class="Package" isQuery="true" redefinedOperation="Element-mustBeOwned" bodyCondition="Package-mustBeOwned-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Package-mustBeOwned-_ownedComment.0" annotatedElement="Package-mustBeOwned">
          <body>The query mustBeOwned() indicates whether elements of this type must have an owner.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="Package-mustBeOwned-spec" name="spec" constrainedElement="Package-mustBeOwned" namespace="Package-mustBeOwned">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="Package-mustBeOwned-spec-_specification">
            <language>OCL</language>
            <body>result = false</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="Package-mustBeOwned-_ownedParameter.0" type="Boolean" direction="return"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="Package-visibleMembers" name="visibleMembers" class="Package" isQuery="true" bodyCondition="Package-visibleMembers-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Package-visibleMembers-_ownedComment.0" annotatedElement="Package-visibleMembers">
          <body>The query visibleMembers() defines which members of a Package can be accessed outside it.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="Package-visibleMembers-spec" name="spec" constrainedElement="Package-visibleMembers" namespace="Package-visibleMembers">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="Package-visibleMembers-spec-_specification">
            <language>OCL</language>
            <body>result = member->select( m | self.makesVisible(m))</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="Package-visibleMembers-_ownedParameter.0" type="PackageableElement" upper="*" lower="0" direction="return"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="Package-makesVisible" name="makesVisible" class="Package" isQuery="true" precondition="Package-makesVisible-_ownedRule.0" bodyCondition="Package-makesVisible-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Package-makesVisible-_ownedComment.0" annotatedElement="Package-makesVisible">
          <body>The query makesVisible() defines whether a Package makes an element visible outside itself. Elements with no visibility and elements with public visibility are made visible.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="Package-makesVisible-_ownedRule.0" constrainedElement="Package-makesVisible" namespace="Package-makesVisible">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="Package-makesVisible-_ownedRule.0-_specification">
            <language>OCL</language>
            <body>self.member->includes(el)</body>
          </specification>
        </ownedRule>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="Package-makesVisible-spec" name="spec" constrainedElement="Package-makesVisible" namespace="Package-makesVisible">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="Package-makesVisible-spec-_specification">
            <language>OCL</language>
            <body>result = (ownedMember->includes(el)) or&#xA;(elementImport->select(ei|ei.importedElement = #public)->collect(ei|ei.importedElement)->includes(el)) or&#xA;(packageImport->select(pi|pi.visibility = #public)->collect(pi|pi.importedPackage.member->includes(el))->notEmpty())</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="Package-makesVisible-_ownedParameter.0" type="Boolean" direction="return"/>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="Package-makesVisible-el" name="el" type="NamedElement"/>
      </ownedOperation>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="Class" name="Class" superClass="BehavioredClassifier EncapsulatedClassifier">
      <ownedComment xmi:type="cmof:Comment" xmi:id="Class-_ownedComment.0" annotatedElement="Class">
        <body>A class describes a set of objects that share the same specifications of features, constraints, and semantics.</body>
      </ownedComment>
      <ownedComment xmi:type="cmof:Comment" xmi:id="Class-_ownedComment.1" annotatedElement="Class">
        <body>A class may be designated as active (i.e., each of its instances having its own thread of control) or passive (i.e., each of its instances executing within the context of some other object). A class may also specify which signals the instances of this class handle.</body>
      </ownedComment>
      <ownedComment xmi:type="cmof:Comment" xmi:id="Class-_ownedComment.2" annotatedElement="Class">
        <body>A class has the capability to have an internal structure and ports.</body>
      </ownedComment>
      <ownedComment xmi:type="cmof:Comment" xmi:id="Class-_ownedComment.3" annotatedElement="Class">
        <body>Class has derived association that indicates how it may be extended through one or more stereotypes. Stereotype is the only kind of metaclass that cannot be extended by stereotypes.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Class-passive_class" name="passive_class" constrainedElement="Class" namespace="Class">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Class-passive_class-_ownedComment.0" annotatedElement="Class-passive_class">
          <body>A passive class may not own receptions.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Class-passive_class-_specification">
          <language>OCL</language>
          <body>not self.isActive implies self.ownedReception.isEmpty()</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Class-isAbstract" name="isAbstract" type="Boolean" default="false" redefinedProperty="Classifier-isAbstract">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Class-isAbstract-_ownedComment.0" annotatedElement="Class-isAbstract">
          <body>True when a class is abstract.</body>
        </ownedComment>
        <ownedComment xmi:type="cmof:Comment" xmi:id="Class-isAbstract-_ownedComment.1" annotatedElement="Class-isAbstract">
          <body>If true, the Classifier does not provide a complete declaration and can typically not be instantiated. An abstract classifier is intended to be used by other classifiers e.g. as the target of general metarelationships or generalization relationships.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Class-nestedClassifier" name="nestedClassifier" type="Classifier" isOrdered="true" upper="*" lower="0" isComposite="true" subsettedProperty="Namespace-ownedMember" association="A_nestedClassifier_class">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Class-nestedClassifier-_ownedComment.0" annotatedElement="Class-nestedClassifier">
          <body>References all the Classifiers that are defined (nested) within the Class.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Class-ownedAttribute" name="ownedAttribute" type="Property" isOrdered="true" upper="*" lower="0" isComposite="true" redefinedProperty="StructuredClassifier-ownedAttribute" subsettedProperty="Classifier-attribute Namespace-ownedMember" association="A_ownedAttribute_class">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Class-ownedAttribute-_ownedComment.0" annotatedElement="Class-ownedAttribute">
          <body>The attributes (i.e. the properties) owned by the class.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Class-ownedOperation" name="ownedOperation" type="Operation" isOrdered="true" upper="*" lower="0" isComposite="true" subsettedProperty="Classifier-feature Namespace-ownedMember" association="A_ownedOperation_class">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Class-ownedOperation-_ownedComment.0" annotatedElement="Class-ownedOperation">
          <body>The operations owned by the class.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Class-superClass" name="superClass" type="Class" upper="*" lower="0" isDerived="true" redefinedProperty="Classifier-general" association="A_superClass_class">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Class-superClass-_ownedComment.0" annotatedElement="Class-superClass">
          <body>This gives the superclasses of a class.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Class-isActive" name="isActive" type="Boolean" default="false">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Class-isActive-_ownedComment.0" annotatedElement="Class-isActive">
          <body>Determines whether an object specified by this class is active or not. If true, then the owning class is referred to as an active class. If false, then such a class is referred to as a passive class.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Class-ownedReception" name="ownedReception" type="Reception" upper="*" lower="0" isComposite="true" subsettedProperty="Namespace-ownedMember Classifier-feature" association="A_ownedReception_class">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Class-ownedReception-_ownedComment.0" annotatedElement="Class-ownedReception">
          <body>Receptions that objects of this class are willing to accept.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Class-extension" name="extension" type="Extension" upper="*" lower="0" isReadOnly="true" isDerived="true" association="A_extension_metaclass">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Class-extension-_ownedComment.0" annotatedElement="Class-extension">
          <body>References the Extensions that specify additional properties of the metaclass. The property is derived from the extensions whose memberEnds are typed by the Class.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="Class-inherit" name="inherit" class="Class" isQuery="true" redefinedOperation="Classifier-inherit" bodyCondition="Class-inherit-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Class-inherit-_ownedComment.0" annotatedElement="Class-inherit">
          <body>The inherit operation is overridden to exclude redefined properties.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="Class-inherit-spec" name="spec" constrainedElement="Class-inherit" namespace="Class-inherit">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="Class-inherit-spec-_specification">
            <language>OCL</language>
            <body>result = inhs->excluding(inh | ownedMember->select(oclIsKindOf(RedefinableElement))->select(redefinedElement->includes(inh)))</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="Class-inherit-_ownedParameter.0" type="NamedElement" upper="*" lower="0" direction="return"/>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="Class-inherit-inhs" name="inhs" type="NamedElement" upper="*" lower="0"/>
      </ownedOperation>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="ProfileApplication" name="ProfileApplication" superClass="DirectedRelationship">
      <ownedComment xmi:type="cmof:Comment" xmi:id="ProfileApplication-_ownedComment.0" annotatedElement="ProfileApplication">
        <body>A profile application is used to show which profiles have been applied to a package.</body>
      </ownedComment>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ProfileApplication-appliedProfile" name="appliedProfile" type="Profile" subsettedProperty="DirectedRelationship-target" association="A_appliedProfile_profileApplication">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ProfileApplication-appliedProfile-_ownedComment.0" annotatedElement="ProfileApplication-appliedProfile">
          <body>References the Profiles that are applied to a Package through this ProfileApplication.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ProfileApplication-isStrict" name="isStrict" type="Boolean" default="false">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ProfileApplication-isStrict-_ownedComment.0" annotatedElement="ProfileApplication-isStrict">
          <body>Specifies that the Profile filtering rules for the metaclasses of the referenced metamodel shall be strictly applied.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ProfileApplication-applyingPackage" name="applyingPackage" type="Package" subsettedProperty="DirectedRelationship-source Element-owner" association="A_profileApplication_applyingPackage">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ProfileApplication-applyingPackage-_ownedComment.0" annotatedElement="ProfileApplication-applyingPackage">
          <body>The package that owns the profile application.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="Extension" name="Extension" superClass="Association">
      <ownedComment xmi:type="cmof:Comment" xmi:id="Extension-_ownedComment.0" annotatedElement="Extension">
        <body>An extension is used to indicate that the properties of a metaclass are extended through a stereotype, and gives the ability to flexibly add (and later remove) stereotypes to classes.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Extension-non_owned_end" name="non_owned_end" constrainedElement="Extension" namespace="Extension">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Extension-non_owned_end-_ownedComment.0" annotatedElement="Extension-non_owned_end">
          <body>The non-owned end of an Extension is typed by a Class.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Extension-non_owned_end-_specification">
          <language>OCL</language>
          <body>metaclassEnd()->notEmpty() and metaclass()->oclIsKindOf(Class)</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Extension-is_binary" name="is_binary" constrainedElement="Extension" namespace="Extension">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Extension-is_binary-_ownedComment.0" annotatedElement="Extension-is_binary">
          <body>An Extension is binary, i.e., it has only two memberEnds.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Extension-is_binary-_specification">
          <language>OCL</language>
          <body>memberEnd->size() = 2</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Extension-isRequired" name="isRequired" type="Boolean" isReadOnly="true" isDerived="true" default="false">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Extension-isRequired-_ownedComment.0" annotatedElement="Extension-isRequired">
          <body>Indicates whether an instance of the extending stereotype must be created when an instance of the extended class is created. The attribute value is derived from the multiplicity of the Property referenced by Extension::ownedEnd; a multiplicity of 1 means that isRequired is true, but otherwise it is false. Since the default multiplicity of an ExtensionEnd is 0..1, the default value of isRequired is false.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Extension-metaclass" name="metaclass" type="Class" isReadOnly="true" isDerived="true" association="A_extension_metaclass">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Extension-metaclass-_ownedComment.0" annotatedElement="Extension-metaclass">
          <body>References the Class that is extended through an Extension. The property is derived from the type of the memberEnd that is not the ownedEnd.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Extension-ownedEnd" name="ownedEnd" type="ExtensionEnd" isComposite="true" redefinedProperty="Association-ownedEnd" association="A_ownedEnd_extension">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Extension-ownedEnd-_ownedComment.0" annotatedElement="Extension-ownedEnd">
          <body>References the end of the extension that is typed by a Stereotype.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="Extension-metaclassEnd" name="metaclassEnd" class="Extension" isQuery="true" bodyCondition="Extension-metaclassEnd-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Extension-metaclassEnd-_ownedComment.0" annotatedElement="Extension-metaclassEnd">
          <body>The query metaclassEnd() returns the Property that is typed by a metaclass (as opposed to a stereotype).</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="Extension-metaclassEnd-spec" name="spec" constrainedElement="Extension-metaclassEnd" namespace="Extension-metaclassEnd">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="Extension-metaclassEnd-spec-_specification">
            <language>OCL</language>
            <body>result = memberEnd->reject(ownedEnd)</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="Extension-metaclassEnd-_ownedParameter.0" type="Property" direction="return"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="Extension-metaclass.1" name="metaclass" class="Extension" isQuery="true" bodyCondition="Extension-metaclass.1-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Extension-metaclass.1-_ownedComment.0" annotatedElement="Extension-metaclass.1">
          <body>The query metaclass() returns the metaclass that is being extended (as opposed to the extending stereotype).</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="Extension-metaclass.1-spec" name="spec" constrainedElement="Extension-metaclass.1" namespace="Extension-metaclass.1">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="Extension-metaclass.1-spec-_specification">
            <language>OCL</language>
            <body>result = metaclassEnd().type</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="Extension-metaclass.1-_ownedParameter.0" type="Class" direction="return"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="Extension-isRequired.1" name="isRequired" class="Extension" isQuery="true" bodyCondition="Extension-isRequired.1-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Extension-isRequired.1-_ownedComment.0" annotatedElement="Extension-isRequired.1">
          <body>The query isRequired() is true if the owned end has a multiplicity with the lower bound of 1.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="Extension-isRequired.1-spec" name="spec" constrainedElement="Extension-isRequired.1" namespace="Extension-isRequired.1">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="Extension-isRequired.1-spec-_specification">
            <language>OCL</language>
            <body>result = (ownedEnd->lowerBound() = 1)</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="Extension-isRequired.1-_ownedParameter.0" type="Boolean" direction="return"/>
      </ownedOperation>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="Image" name="Image" superClass="Element">
      <ownedComment xmi:type="cmof:Comment" xmi:id="Image-_ownedComment.0" annotatedElement="Image">
        <body>Physical definition of a graphical image.</body>
      </ownedComment>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Image-content" name="content" type="String" lower="0">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Image-content-_ownedComment.0" annotatedElement="Image-content">
          <body>This contains the serialization of the image according to the format. The value could represent a bitmap, image such as a GIF file, or drawing 'instructions' using a standard such as Scalable Vector Graphic (SVG) (which is XML based).</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Image-location" name="location" type="String" lower="0">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Image-location-_ownedComment.0" annotatedElement="Image-location">
          <body>This contains a location that can be used by a tool to locate the image as an alternative to embedding it in the stereotype.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Image-format" name="format" type="String" lower="0">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Image-format-_ownedComment.0" annotatedElement="Image-format">
          <body>This indicates the format of the content - which is how the string content should be interpreted. The following values are reserved: SVG, GIF, PNG, JPG, WMF, EMF, BMP.&#xD;
&#xD;
In addition the prefix 'MIME: ' is also reserved. This option can be used as an alternative to express the reserved values above, for example &quot;SVG&quot; could instead be expressed as &quot;MIME: image/svg+xml&quot;.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="Element" name="Element" isAbstract="true">
      <ownedComment xmi:type="cmof:Comment" xmi:id="Element-_ownedComment.0" annotatedElement="Element">
        <body>An element is a constituent of a model. As such, it has the capability of owning other elements.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Element-not_own_self" name="not_own_self" constrainedElement="Element" namespace="Element">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Element-not_own_self-_ownedComment.0" annotatedElement="Element-not_own_self">
          <body>An element may not directly or indirectly own itself.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Element-not_own_self-_specification">
          <language>OCL</language>
          <body>not self.allOwnedElements()->includes(self)</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Element-has_owner" name="has_owner" constrainedElement="Element" namespace="Element">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Element-has_owner-_ownedComment.0" annotatedElement="Element-has_owner">
          <body>Elements that must be owned must have an owner.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Element-has_owner-_specification">
          <language>OCL</language>
          <body>self.mustBeOwned() implies owner->notEmpty()</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Element-ownedElement" name="ownedElement" type="Element" upper="*" lower="0" isReadOnly="true" isDerived="true" isDerivedUnion="true" isComposite="true" association="A_ownedElement_owner">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Element-ownedElement-_ownedComment.0" annotatedElement="Element-ownedElement">
          <body>The Elements owned by this element.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Element-owner" name="owner" type="Element" lower="0" isReadOnly="true" isDerived="true" isDerivedUnion="true" association="A_ownedElement_owner">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Element-owner-_ownedComment.0" annotatedElement="Element-owner">
          <body>The Element that owns this element.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Element-ownedComment" name="ownedComment" type="Comment" upper="*" lower="0" isComposite="true" subsettedProperty="Element-ownedElement" association="A_ownedComment_owningElement">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Element-ownedComment-_ownedComment.0" annotatedElement="Element-ownedComment">
          <body>The Comments owned by this element.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="Element-allOwnedElements" name="allOwnedElements" class="Element" isQuery="true" bodyCondition="Element-allOwnedElements-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Element-allOwnedElements-_ownedComment.0" annotatedElement="Element-allOwnedElements">
          <body>The query allOwnedElements() gives all of the direct and indirect owned elements of an element.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="Element-allOwnedElements-spec" name="spec" constrainedElement="Element-allOwnedElements" namespace="Element-allOwnedElements">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="Element-allOwnedElements-spec-_specification">
            <language>OCL</language>
            <body>result = ownedElement->union(ownedElement->collect(e | e.allOwnedElements()))</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="Element-allOwnedElements-_ownedParameter.0" type="Element" upper="*" lower="0" direction="return"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="Element-mustBeOwned" name="mustBeOwned" class="Element" isQuery="true" bodyCondition="Element-mustBeOwned-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Element-mustBeOwned-_ownedComment.0" annotatedElement="Element-mustBeOwned">
          <body>The query mustBeOwned() indicates whether elements of this type must have an owner. Subclasses of Element that do not require an owner must override this operation.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="Element-mustBeOwned-spec" name="spec" constrainedElement="Element-mustBeOwned" namespace="Element-mustBeOwned">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="Element-mustBeOwned-spec-_specification">
            <language>OCL</language>
            <body>result = true</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="Element-mustBeOwned-_ownedParameter.0" type="Boolean" direction="return"/>
      </ownedOperation>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="NamedElement" name="NamedElement" isAbstract="true" superClass="Element">
      <ownedComment xmi:type="cmof:Comment" xmi:id="NamedElement-_ownedComment.0" annotatedElement="NamedElement">
        <body>A named element is an element in a model that may have a name.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="NamedElement-has_no_qualified_name" name="has_no_qualified_name" constrainedElement="NamedElement" namespace="NamedElement">
        <ownedComment xmi:type="cmof:Comment" xmi:id="NamedElement-has_no_qualified_name-_ownedComment.0" annotatedElement="NamedElement-has_no_qualified_name">
          <body>If there is no name, or one of the containing namespaces has no name, there is no qualified name.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="NamedElement-has_no_qualified_name-_specification">
          <language>OCL</language>
          <body>(self.name->isEmpty() or self.allNamespaces()->select(ns | ns.name->isEmpty())->notEmpty())&#xD;&#xA;  implies self.qualifiedName->isEmpty()</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="NamedElement-has_qualified_name" name="has_qualified_name" constrainedElement="NamedElement" namespace="NamedElement">
        <ownedComment xmi:type="cmof:Comment" xmi:id="NamedElement-has_qualified_name-_ownedComment.0" annotatedElement="NamedElement-has_qualified_name">
          <body>When there is a name, and all of the containing namespaces have a name, the qualified name is constructed from the names of the containing namespaces.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="NamedElement-has_qualified_name-_specification">
          <language>OCL</language>
          <body>(self.name->notEmpty() and self.allNamespaces()->select(ns | ns.name->isEmpty())->isEmpty()) implies&#xA;  self.qualifiedName = self.allNamespaces()->iterate( ns : Namespace; result: String = self.name | ns.name->union(self.separator())->union(result))</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="NamedElement-visibility_needs_ownership" name="visibility_needs_ownership" constrainedElement="NamedElement" namespace="NamedElement">
        <ownedComment xmi:type="cmof:Comment" xmi:id="NamedElement-visibility_needs_ownership-_ownedComment.0" annotatedElement="NamedElement-visibility_needs_ownership">
          <body>If a NamedElement is not owned by a Namespace, it does not have a visibility.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="NamedElement-visibility_needs_ownership-_specification">
          <language>OCL</language>
          <body>namespace->isEmpty() implies visibility->isEmpty()</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="NamedElement-name" name="name" type="String" lower="0">
        <ownedComment xmi:type="cmof:Comment" xmi:id="NamedElement-name-_ownedComment.0" annotatedElement="NamedElement-name">
          <body>The name of the NamedElement.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="NamedElement-visibility" name="visibility" type="VisibilityKind" lower="0">
        <ownedComment xmi:type="cmof:Comment" xmi:id="NamedElement-visibility-_ownedComment.0" annotatedElement="NamedElement-visibility">
          <body>Determines where the NamedElement appears within different Namespaces within the overall model, and its accessibility.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="NamedElement-qualifiedName" name="qualifiedName" type="String" lower="0" isReadOnly="true" isDerived="true">
        <ownedComment xmi:type="cmof:Comment" xmi:id="NamedElement-qualifiedName-_ownedComment.0" annotatedElement="NamedElement-qualifiedName">
          <body>A name which allows the NamedElement to be identified within a hierarchy of nested Namespaces. It is constructed from the names of the containing namespaces starting at the root of the hierarchy and ending with the name of the NamedElement itself.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="NamedElement-clientDependency" name="clientDependency" type="Dependency" upper="*" lower="0" association="A_clientDependency_client">
        <ownedComment xmi:type="cmof:Comment" xmi:id="NamedElement-clientDependency-_ownedComment.0" annotatedElement="NamedElement-clientDependency">
          <body>Indicates the dependencies that reference the client.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="NamedElement-namespace" name="namespace" type="Namespace" lower="0" isReadOnly="true" isDerived="true" isDerivedUnion="true" subsettedProperty="Element-owner" association="A_ownedMember_namespace">
        <ownedComment xmi:type="cmof:Comment" xmi:id="NamedElement-namespace-_ownedComment.0" annotatedElement="NamedElement-namespace">
          <body>Specifies the namespace that owns the NamedElement.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="NamedElement-qualifiedName.1" name="qualifiedName" class="NamedElement" isQuery="true" bodyCondition="NamedElement-qualifiedName.1-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="NamedElement-qualifiedName.1-_ownedComment.0" annotatedElement="NamedElement-qualifiedName.1">
          <body>When there is a name, and all of the containing namespaces have a name, the qualified name is constructed from the names of the containing namespaces.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="NamedElement-qualifiedName.1-spec" name="spec" constrainedElement="NamedElement-qualifiedName.1" namespace="NamedElement-qualifiedName.1">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="NamedElement-qualifiedName.1-spec-_specification">
            <language>OCL</language>
            <body>result = if self.name->notEmpty() and self.allNamespaces()->select(ns | ns.name->isEmpty())->isEmpty()&#xA;then &#xA;    self.allNamespaces()->iterate( ns : Namespace; result: String = self.name | ns.name->union(self.separator())->union(result))&#xA;else&#xA;    Set{}&#xA;endif</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="NamedElement-qualifiedName.1-_ownedParameter.0" type="String" direction="return"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="NamedElement-allNamespaces" name="allNamespaces" class="NamedElement" isQuery="true" bodyCondition="NamedElement-allNamespaces-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="NamedElement-allNamespaces-_ownedComment.0" annotatedElement="NamedElement-allNamespaces">
          <body>The query allNamespaces() gives the sequence of namespaces in which the NamedElement is nested, working outwards.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="NamedElement-allNamespaces-spec" name="spec" constrainedElement="NamedElement-allNamespaces" namespace="NamedElement-allNamespaces">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="NamedElement-allNamespaces-spec-_specification">
            <language>OCL</language>
            <body>result = if self.namespace->isEmpty()&#xA;then Sequence{}&#xA;else self.namespace.allNamespaces()->prepend(self.namespace)&#xA;endif</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="NamedElement-allNamespaces-_ownedParameter.0" type="Namespace" isOrdered="true" upper="*" lower="0" direction="return"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="NamedElement-isDistinguishableFrom" name="isDistinguishableFrom" class="NamedElement" isQuery="true" bodyCondition="NamedElement-isDistinguishableFrom-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="NamedElement-isDistinguishableFrom-_ownedComment.0" annotatedElement="NamedElement-isDistinguishableFrom">
          <body>The query isDistinguishableFrom() determines whether two NamedElements may logically co-exist within a Namespace. By default, two named elements are distinguishable if (a) they have unrelated types or (b) they have related types but different names.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="NamedElement-isDistinguishableFrom-spec" name="spec" constrainedElement="NamedElement-isDistinguishableFrom" namespace="NamedElement-isDistinguishableFrom">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="NamedElement-isDistinguishableFrom-spec-_specification">
            <language>OCL</language>
            <body>result = if self.oclIsKindOf(n.oclType) or n.oclIsKindOf(self.oclType)&#xA;then ns.getNamesOfMember(self)->intersection(ns.getNamesOfMember(n))->isEmpty()&#xA;else true&#xA;endif</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="NamedElement-isDistinguishableFrom-_ownedParameter.0" type="Boolean" direction="return"/>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="NamedElement-isDistinguishableFrom-n" name="n" type="NamedElement"/>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="NamedElement-isDistinguishableFrom-ns" name="ns" type="Namespace"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="NamedElement-separator" name="separator" class="NamedElement" isQuery="true" bodyCondition="NamedElement-separator-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="NamedElement-separator-_ownedComment.0" annotatedElement="NamedElement-separator">
          <body>The query separator() gives the string that is used to separate names when constructing a qualified name.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="NamedElement-separator-spec" name="spec" constrainedElement="NamedElement-separator" namespace="NamedElement-separator">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="NamedElement-separator-spec-_specification">
            <language>OCL</language>
            <body>result = '::'</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="NamedElement-separator-_ownedParameter.0" type="String" direction="return"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="NamedElement-allOwningPackages" name="allOwningPackages" class="NamedElement" isQuery="true" bodyCondition="NamedElement-allOwningPackages-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="NamedElement-allOwningPackages-_ownedComment.0" annotatedElement="NamedElement-allOwningPackages">
          <body>The query allOwningPackages() returns all the directly or indirectly owning packages.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="NamedElement-allOwningPackages-spec" name="spec" constrainedElement="NamedElement-allOwningPackages" namespace="NamedElement-allOwningPackages">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="NamedElement-allOwningPackages-spec-_specification">
            <language>OCL</language>
            <body>result = self.namespace->select(p | p.oclIsKindOf(Package))->union(p.allOwningPackages())</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="NamedElement-allOwningPackages-_ownedParameter.0" type="Package" upper="*" lower="0" direction="return"/>
      </ownedOperation>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_profileApplication_applyingPackage" name="A_profileApplication_applyingPackage" visibility="private" memberEnd="Package-profileApplication ProfileApplication-applyingPackage"/>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_ownedStereotype_profile" name="A_ownedStereotype_profile" visibility="private" memberEnd="Profile-ownedStereotype A_ownedStereotype_profile-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_ownedStereotype_profile-_ownedEnd.0" type="Profile" owningAssociation="A_ownedStereotype_profile" association="A_ownedStereotype_profile"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_appliedProfile_profileApplication" name="A_appliedProfile_profileApplication" visibility="private" memberEnd="ProfileApplication-appliedProfile A_appliedProfile_profileApplication-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_appliedProfile_profileApplication-_ownedEnd.0" type="ProfileApplication" upper="*" lower="0" owningAssociation="A_appliedProfile_profileApplication" association="A_appliedProfile_profileApplication"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_extension_metaclass" name="A_extension_metaclass" visibility="private" memberEnd="Class-extension Extension-metaclass" isDerived="true"/>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_ownedEnd_extension" name="A_ownedEnd_extension" visibility="private" memberEnd="Extension-ownedEnd A_ownedEnd_extension-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_ownedEnd_extension-_ownedEnd.0" type="Extension" owningAssociation="A_ownedEnd_extension" association="A_ownedEnd_extension"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_type_extensionEnd" name="A_type_extensionEnd" visibility="private" memberEnd="ExtensionEnd-type A_type_extensionEnd-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_type_extensionEnd-_ownedEnd.0" type="ExtensionEnd" upper="*" lower="0" owningAssociation="A_type_extensionEnd" association="A_type_extensionEnd"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_metaclassReference_profile" name="A_metaclassReference_profile" visibility="private" memberEnd="Profile-metaclassReference A_metaclassReference_profile-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_metaclassReference_profile-_ownedEnd.0" type="Profile" lower="0" owningAssociation="A_metaclassReference_profile" association="A_metaclassReference_profile"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_metamodelReference_profile" name="A_metamodelReference_profile" visibility="private" memberEnd="Profile-metamodelReference A_metamodelReference_profile-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_metamodelReference_profile-_ownedEnd.0" type="Profile" lower="0" owningAssociation="A_metamodelReference_profile" association="A_metamodelReference_profile"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_icon_stereotype" name="A_icon_stereotype" visibility="private" memberEnd="Stereotype-icon A_icon_stereotype-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_icon_stereotype-_ownedEnd.0" type="Stereotype" lower="0" owningAssociation="A_icon_stereotype" association="A_icon_stereotype"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="ExtensionEnd" name="ExtensionEnd" superClass="Property">
      <ownedComment xmi:type="cmof:Comment" xmi:id="ExtensionEnd-_ownedComment.0" annotatedElement="ExtensionEnd">
        <body>An extension end is used to tie an extension to a stereotype when extending a metaclass.</body>
      </ownedComment>
      <ownedComment xmi:type="cmof:Comment" xmi:id="ExtensionEnd-_ownedComment.1" annotatedElement="ExtensionEnd">
        <body>The default multiplicity of an extension end is 0..1.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ExtensionEnd-multiplicity" name="multiplicity" constrainedElement="ExtensionEnd" namespace="ExtensionEnd">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ExtensionEnd-multiplicity-_ownedComment.0" annotatedElement="ExtensionEnd-multiplicity">
          <body>The multiplicity of ExtensionEnd is 0..1 or 1.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ExtensionEnd-multiplicity-_specification">
          <language>OCL</language>
          <body>(self->lowerBound() = 0 or self->lowerBound() = 1) and self->upperBound() = 1</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ExtensionEnd-aggregation" name="aggregation" constrainedElement="ExtensionEnd" namespace="ExtensionEnd">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ExtensionEnd-aggregation-_ownedComment.0" annotatedElement="ExtensionEnd-aggregation">
          <body>The aggregation of an ExtensionEnd is composite.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ExtensionEnd-aggregation-_specification">
          <language>OCL</language>
          <body>self.aggregation = #composite</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ExtensionEnd-type" name="type" type="Stereotype" redefinedProperty="TypedElement-type" association="A_type_extensionEnd">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ExtensionEnd-type-_ownedComment.0" annotatedElement="ExtensionEnd-type">
          <body>References the type of the ExtensionEnd. Note that this association restricts the possible types of an ExtensionEnd to only be Stereotypes.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ExtensionEnd-lower" name="lower" type="Integer" lower="0" isDerived="true" default="0" redefinedProperty="MultiplicityElement-lower">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ExtensionEnd-lower-_ownedComment.0" annotatedElement="ExtensionEnd-lower">
          <body>This redefinition changes the default multiplicity of association ends, since model elements are usually extended by 0 or 1 instance of the extension stereotype.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="ExtensionEnd-lowerBound" name="lowerBound" class="ExtensionEnd" isQuery="true" redefinedOperation="MultiplicityElement-lowerBound" bodyCondition="ExtensionEnd-lowerBound-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ExtensionEnd-lowerBound-_ownedComment.0" annotatedElement="ExtensionEnd-lowerBound">
          <body>The query lowerBound() returns the lower bound of the multiplicity as an Integer. This is a redefinition of the default&#xD;
lower bound, which normally, for MultiplicityElements, evaluates to 1 if empty.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="ExtensionEnd-lowerBound-spec" name="spec" constrainedElement="ExtensionEnd-lowerBound" namespace="ExtensionEnd-lowerBound">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="ExtensionEnd-lowerBound-spec-_specification">
            <language>OCL</language>
            <body>result = lowerBound = if lowerValue->isEmpty() then 0 else lowerValue->IntegerValue() endif</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="ExtensionEnd-lowerBound-_ownedParameter.0" type="Integer" direction="return"/>
      </ownedOperation>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="VariableAction" name="VariableAction" isAbstract="true" superClass="Action">
      <ownedComment xmi:type="cmof:Comment" xmi:id="VariableAction-_ownedComment.0" annotatedElement="VariableAction">
        <body>VariableAction is an abstract class for actions that operate on a statically specified variable.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="VariableAction-scope_of_variable" name="scope_of_variable" constrainedElement="VariableAction" namespace="VariableAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="VariableAction-scope_of_variable-_ownedComment.0" annotatedElement="VariableAction-scope_of_variable">
          <body>The action must be in the scope of the variable.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="VariableAction-scope_of_variable-_specification">
          <language>OCL</language>
          <body>self.variable.isAccessibleBy(self)</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="VariableAction-variable" name="variable" type="Variable" association="A_variable_variableAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="VariableAction-variable-_ownedComment.0" annotatedElement="VariableAction-variable">
          <body>Variable to be read.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="ReadVariableAction" name="ReadVariableAction" superClass="VariableAction">
      <ownedComment xmi:type="cmof:Comment" xmi:id="ReadVariableAction-_ownedComment.0" annotatedElement="ReadVariableAction">
        <body>A read variable action is a variable action that retrieves the values of a variable.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ReadVariableAction-type_and_ordering" name="type_and_ordering" constrainedElement="ReadVariableAction" namespace="ReadVariableAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReadVariableAction-type_and_ordering-_ownedComment.0" annotatedElement="ReadVariableAction-type_and_ordering">
          <body>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.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ReadVariableAction-type_and_ordering-_specification">
          <language>OCL</language>
          <body>self.result.type =self.variable.type&#xA;and self.result.ordering = self.variable.ordering&#xA;</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ReadVariableAction-compatible_multiplicity" name="compatible_multiplicity" constrainedElement="ReadVariableAction" namespace="ReadVariableAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReadVariableAction-compatible_multiplicity-_ownedComment.0" annotatedElement="ReadVariableAction-compatible_multiplicity">
          <body>The multiplicity of the variable must be compatible with the multiplicity of the output pin.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ReadVariableAction-compatible_multiplicity-_specification">
          <language>OCL</language>
          <body>self.variable.multiplicity.compatibleWith(self.result.multiplicity)</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ReadVariableAction-result" name="result" type="OutputPin" isComposite="true" subsettedProperty="Action-output" association="A_result_readVariableAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReadVariableAction-result-_ownedComment.0" annotatedElement="ReadVariableAction-result">
          <body>Gives the output pin on which the result is put.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="WriteVariableAction" name="WriteVariableAction" isAbstract="true" superClass="VariableAction">
      <ownedComment xmi:type="cmof:Comment" xmi:id="WriteVariableAction-_ownedComment.0" annotatedElement="WriteVariableAction">
        <body>WriteVariableAction is an abstract class for variable actions that change variable values.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="WriteVariableAction-same_type" name="same_type" constrainedElement="WriteVariableAction" namespace="WriteVariableAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="WriteVariableAction-same_type-_ownedComment.0" annotatedElement="WriteVariableAction-same_type">
          <body>The type input pin is the same as the type of the variable.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="WriteVariableAction-same_type-_specification">
          <language>OCL</language>
          <body>self.value.type = self.variable.type</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="WriteVariableAction-multiplicity" name="multiplicity" constrainedElement="WriteVariableAction" namespace="WriteVariableAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="WriteVariableAction-multiplicity-_ownedComment.0" annotatedElement="WriteVariableAction-multiplicity">
          <body>The multiplicity of the input pin is 1..1.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="WriteVariableAction-multiplicity-_specification">
          <language>OCL</language>
          <body>self.value.multiplicity.is(1,1)</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="WriteVariableAction-value" name="value" type="InputPin" isComposite="true" subsettedProperty="Action-input" association="A_value_writeVariableAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="WriteVariableAction-value-_ownedComment.0" annotatedElement="WriteVariableAction-value">
          <body>Value to be added or removed from the variable.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="ClearVariableAction" name="ClearVariableAction" superClass="VariableAction">
      <ownedComment xmi:type="cmof:Comment" xmi:id="ClearVariableAction-_ownedComment.0" annotatedElement="ClearVariableAction">
        <body>A clear variable action is a variable action that removes all values of a variable.</body>
      </ownedComment>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="AddVariableValueAction" name="AddVariableValueAction" superClass="WriteVariableAction">
      <ownedComment xmi:type="cmof:Comment" xmi:id="AddVariableValueAction-_ownedComment.0" annotatedElement="AddVariableValueAction">
        <body>An add variable value action is a write variable action for adding values to a variable.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="AddVariableValueAction-single_input_pin" name="single_input_pin" constrainedElement="AddVariableValueAction" namespace="AddVariableValueAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="AddVariableValueAction-single_input_pin-_ownedComment.0" annotatedElement="AddVariableValueAction-single_input_pin">
          <body>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.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="AddVariableValueAction-single_input_pin-_specification">
          <language>OCL</language>
          <body>let insertAtPins : Collection = self.insertAt in&#xA;if self.variable.ordering = #unordered&#xA;then insertAtPins->size() = 0&#xA;else let insertAtPin : InputPin = insertAt->asSequence()->first() in&#xA;insertAtPins->size() = 1&#xA;and insertAtPin.type = UnlimitedNatural&#xA;and insertAtPin.multiplicity.is(1,1))&#xA;endif&#xA;</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="AddVariableValueAction-isReplaceAll" name="isReplaceAll" type="Boolean" default="false">
        <ownedComment xmi:type="cmof:Comment" xmi:id="AddVariableValueAction-isReplaceAll-_ownedComment.0" annotatedElement="AddVariableValueAction-isReplaceAll">
          <body>Specifies whether existing values of the variable should be removed before adding the new value.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="AddVariableValueAction-insertAt" name="insertAt" type="InputPin" lower="0" isComposite="true" subsettedProperty="Action-input" association="A_insertAt_addVariableValueAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="AddVariableValueAction-insertAt-_ownedComment.0" annotatedElement="AddVariableValueAction-insertAt">
          <body>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.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="RemoveVariableValueAction" name="RemoveVariableValueAction" superClass="WriteVariableAction">
      <ownedComment xmi:type="cmof:Comment" xmi:id="RemoveVariableValueAction-_ownedComment.0" annotatedElement="RemoveVariableValueAction">
        <body>A remove variable value action is a write variable action that removes values from variables.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="RemoveVariableValueAction-unlimited_natural" name="unlimited_natural" constrainedElement="RemoveVariableValueAction" namespace="RemoveVariableValueAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="RemoveVariableValueAction-unlimited_natural-_ownedComment.0" annotatedElement="RemoveVariableValueAction-unlimited_natural">
          <body>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.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="RemoveVariableValueAction-unlimited_natural-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="RemoveVariableValueAction-isRemoveDuplicates" name="isRemoveDuplicates" type="Boolean" default="false">
        <ownedComment xmi:type="cmof:Comment" xmi:id="RemoveVariableValueAction-isRemoveDuplicates-_ownedComment.0" annotatedElement="RemoveVariableValueAction-isRemoveDuplicates">
          <body>Specifies whether to remove duplicates of the value in nonunique variables.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="RemoveVariableValueAction-removeAt" name="removeAt" type="InputPin" lower="0" isComposite="true" subsettedProperty="Action-input" association="A_removeAt_removeVariableValueAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="RemoveVariableValueAction-removeAt-_ownedComment.0" annotatedElement="RemoveVariableValueAction-removeAt">
          <body>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.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="RaiseExceptionAction" name="RaiseExceptionAction" superClass="Action">
      <ownedComment xmi:type="cmof:Comment" xmi:id="RaiseExceptionAction-_ownedComment.0" annotatedElement="RaiseExceptionAction">
        <body>A raise exception action is an action that causes an exception to occur. The input value becomes the exception object.</body>
      </ownedComment>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="RaiseExceptionAction-exception" name="exception" type="InputPin" isComposite="true" subsettedProperty="Action-input" association="A_exception_raiseExceptionAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="RaiseExceptionAction-exception-_ownedComment.0" annotatedElement="RaiseExceptionAction-exception">
          <body>An input pin whose value becomes an exception object.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="ActionInputPin" name="ActionInputPin" superClass="InputPin">
      <ownedComment xmi:type="cmof:Comment" xmi:id="ActionInputPin-_ownedComment.0" annotatedElement="ActionInputPin">
        <body>An action input pin is a kind of pin that executes an action to determine the values to input to another.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ActionInputPin-one_output_pin" name="one_output_pin" constrainedElement="ActionInputPin" namespace="ActionInputPin">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ActionInputPin-one_output_pin-_ownedComment.0" annotatedElement="ActionInputPin-one_output_pin">
          <body>The fromAction of an action input pin must have exactly one output pin.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ActionInputPin-one_output_pin-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ActionInputPin-input_pin" name="input_pin" constrainedElement="ActionInputPin" namespace="ActionInputPin">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ActionInputPin-input_pin-_ownedComment.0" annotatedElement="ActionInputPin-input_pin">
          <body>The fromAction of an action input pin must only have action input pins as input pins.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ActionInputPin-input_pin-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ActionInputPin-no_control_or_data_flow" name="no_control_or_data_flow" constrainedElement="ActionInputPin" namespace="ActionInputPin">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ActionInputPin-no_control_or_data_flow-_ownedComment.0" annotatedElement="ActionInputPin-no_control_or_data_flow">
          <body>The fromAction of an action input pin cannot have control or data flows coming into or out of it or its pins.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ActionInputPin-no_control_or_data_flow-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ActionInputPin-fromAction" name="fromAction" type="Action" isComposite="true" subsettedProperty="Element-ownedElement" association="A_fromAction_actionInputPin">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ActionInputPin-fromAction-_ownedComment.0" annotatedElement="ActionInputPin-fromAction">
          <body>The action used to provide values.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_variable_variableAction" name="A_variable_variableAction" visibility="private" memberEnd="VariableAction-variable A_variable_variableAction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_variable_variableAction-_ownedEnd.0" type="VariableAction" upper="*" lower="0" owningAssociation="A_variable_variableAction" association="A_variable_variableAction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_result_readVariableAction" name="A_result_readVariableAction" visibility="private" memberEnd="ReadVariableAction-result A_result_readVariableAction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_result_readVariableAction-_ownedEnd.0" type="ReadVariableAction" lower="0" owningAssociation="A_result_readVariableAction" association="A_result_readVariableAction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_value_writeVariableAction" name="A_value_writeVariableAction" visibility="private" memberEnd="WriteVariableAction-value A_value_writeVariableAction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_value_writeVariableAction-_ownedEnd.0" type="WriteVariableAction" lower="0" owningAssociation="A_value_writeVariableAction" association="A_value_writeVariableAction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_insertAt_addVariableValueAction" name="A_insertAt_addVariableValueAction" visibility="private" memberEnd="AddVariableValueAction-insertAt A_insertAt_addVariableValueAction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_insertAt_addVariableValueAction-_ownedEnd.0" type="AddVariableValueAction" lower="0" owningAssociation="A_insertAt_addVariableValueAction" association="A_insertAt_addVariableValueAction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_removeAt_removeVariableValueAction" name="A_removeAt_removeVariableValueAction" visibility="private" memberEnd="RemoveVariableValueAction-removeAt A_removeAt_removeVariableValueAction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_removeAt_removeVariableValueAction-_ownedEnd.0" type="RemoveVariableValueAction" lower="0" owningAssociation="A_removeAt_removeVariableValueAction" association="A_removeAt_removeVariableValueAction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_fromAction_actionInputPin" name="A_fromAction_actionInputPin" visibility="private" memberEnd="ActionInputPin-fromAction A_fromAction_actionInputPin-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_fromAction_actionInputPin-_ownedEnd.0" type="ActionInputPin" lower="0" owningAssociation="A_fromAction_actionInputPin" association="A_fromAction_actionInputPin"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_exception_raiseExceptionAction" name="A_exception_raiseExceptionAction" visibility="private" memberEnd="RaiseExceptionAction-exception A_exception_raiseExceptionAction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_exception_raiseExceptionAction-_ownedEnd.0" type="RaiseExceptionAction" lower="0" owningAssociation="A_exception_raiseExceptionAction" association="A_exception_raiseExceptionAction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="ReadExtentAction" name="ReadExtentAction" superClass="Action">
      <ownedComment xmi:type="cmof:Comment" xmi:id="ReadExtentAction-_ownedComment.0" annotatedElement="ReadExtentAction">
        <body>A read extent action is an action that retrieves the current instances of a classifier.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ReadExtentAction-type_is_classifier" name="type_is_classifier" constrainedElement="ReadExtentAction" namespace="ReadExtentAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReadExtentAction-type_is_classifier-_ownedComment.0" annotatedElement="ReadExtentAction-type_is_classifier">
          <body>The type of the result output pin is the classifier.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ReadExtentAction-type_is_classifier-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ReadExtentAction-multiplicity_of_result" name="multiplicity_of_result" constrainedElement="ReadExtentAction" namespace="ReadExtentAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReadExtentAction-multiplicity_of_result-_ownedComment.0" annotatedElement="ReadExtentAction-multiplicity_of_result">
          <body>The multiplicity of the result output pin is 0..*.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ReadExtentAction-multiplicity_of_result-_specification">
          <language>OCL</language>
          <body>self.result.multiplicity.is(0,#null)</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ReadExtentAction-result" name="result" type="OutputPin" isComposite="true" subsettedProperty="Action-output" association="A_result_readExtentAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReadExtentAction-result-_ownedComment.0" annotatedElement="ReadExtentAction-result">
          <body>The runtime instances of the classifier.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ReadExtentAction-classifier" name="classifier" type="Classifier" association="A_classifier_readExtentAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReadExtentAction-classifier-_ownedComment.0" annotatedElement="ReadExtentAction-classifier">
          <body>The classifier whose instances are to be retrieved.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="ReclassifyObjectAction" name="ReclassifyObjectAction" superClass="Action">
      <ownedComment xmi:type="cmof:Comment" xmi:id="ReclassifyObjectAction-_ownedComment.0" annotatedElement="ReclassifyObjectAction">
        <body>A reclassify object action is an action that changes which classifiers classify an object.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ReclassifyObjectAction-classifier_not_abstract" name="classifier_not_abstract" constrainedElement="ReclassifyObjectAction" namespace="ReclassifyObjectAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReclassifyObjectAction-classifier_not_abstract-_ownedComment.0" annotatedElement="ReclassifyObjectAction-classifier_not_abstract">
          <body>None of the new classifiers may be abstract.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ReclassifyObjectAction-classifier_not_abstract-_specification">
          <language>OCL</language>
          <body>not self.newClassifier->exists(isAbstract = true)</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ReclassifyObjectAction-multiplicity" name="multiplicity" constrainedElement="ReclassifyObjectAction" namespace="ReclassifyObjectAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReclassifyObjectAction-multiplicity-_ownedComment.0" annotatedElement="ReclassifyObjectAction-multiplicity">
          <body>The multiplicity of the input pin is 1..1.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ReclassifyObjectAction-multiplicity-_specification">
          <language>OCL</language>
          <body>self.argument.multiplicity.is(1,1)</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ReclassifyObjectAction-input_pin" name="input_pin" constrainedElement="ReclassifyObjectAction" namespace="ReclassifyObjectAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReclassifyObjectAction-input_pin-_ownedComment.0" annotatedElement="ReclassifyObjectAction-input_pin">
          <body>The input pin has no type.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ReclassifyObjectAction-input_pin-_specification">
          <language>OCL</language>
          <body>self.argument.type->size() = 0</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ReclassifyObjectAction-isReplaceAll" name="isReplaceAll" type="Boolean" default="false">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReclassifyObjectAction-isReplaceAll-_ownedComment.0" annotatedElement="ReclassifyObjectAction-isReplaceAll">
          <body>Specifies whether existing classifiers should be removed before adding the new classifiers.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ReclassifyObjectAction-oldClassifier" name="oldClassifier" type="Classifier" upper="*" lower="0" association="A_oldClassifier_reclassifyObjectAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReclassifyObjectAction-oldClassifier-_ownedComment.0" annotatedElement="ReclassifyObjectAction-oldClassifier">
          <body>A set of classifiers to be removed from the classifiers of the object.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ReclassifyObjectAction-newClassifier" name="newClassifier" type="Classifier" upper="*" lower="0" association="A_newClassifier_reclassifyObjectAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReclassifyObjectAction-newClassifier-_ownedComment.0" annotatedElement="ReclassifyObjectAction-newClassifier">
          <body>A set of classifiers to be added to the classifiers of the object.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ReclassifyObjectAction-object" name="object" type="InputPin" isComposite="true" subsettedProperty="Action-input" association="A_reclassifyObjectAction_object">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReclassifyObjectAction-object-_ownedComment.0" annotatedElement="ReclassifyObjectAction-object">
          <body>Holds the object to be reclassified.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="ReadIsClassifiedObjectAction" name="ReadIsClassifiedObjectAction" superClass="Action">
      <ownedComment xmi:type="cmof:Comment" xmi:id="ReadIsClassifiedObjectAction-_ownedComment.0" annotatedElement="ReadIsClassifiedObjectAction">
        <body>A read is classified object action is an action that determines whether a runtime object is classified by a given classifier.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ReadIsClassifiedObjectAction-multiplicity_of_input" name="multiplicity_of_input" constrainedElement="ReadIsClassifiedObjectAction" namespace="ReadIsClassifiedObjectAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReadIsClassifiedObjectAction-multiplicity_of_input-_ownedComment.0" annotatedElement="ReadIsClassifiedObjectAction-multiplicity_of_input">
          <body>The multiplicity of the input pin is 1..1.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ReadIsClassifiedObjectAction-multiplicity_of_input-_specification">
          <language>OCL</language>
          <body>self.object.multiplicity.is(1,1)</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ReadIsClassifiedObjectAction-no_type" name="no_type" constrainedElement="ReadIsClassifiedObjectAction" namespace="ReadIsClassifiedObjectAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReadIsClassifiedObjectAction-no_type-_ownedComment.0" annotatedElement="ReadIsClassifiedObjectAction-no_type">
          <body>The input pin has no type.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ReadIsClassifiedObjectAction-no_type-_specification">
          <language>OCL</language>
          <body>self.object.type->isEmpty()</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ReadIsClassifiedObjectAction-multiplicity_of_output" name="multiplicity_of_output" constrainedElement="ReadIsClassifiedObjectAction" namespace="ReadIsClassifiedObjectAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReadIsClassifiedObjectAction-multiplicity_of_output-_ownedComment.0" annotatedElement="ReadIsClassifiedObjectAction-multiplicity_of_output">
          <body>The multiplicity of the output pin is 1..1.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ReadIsClassifiedObjectAction-multiplicity_of_output-_specification">
          <language>OCL</language>
          <body>self.result.multiplicity.is(1,1)</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ReadIsClassifiedObjectAction-boolean_result" name="boolean_result" constrainedElement="ReadIsClassifiedObjectAction" namespace="ReadIsClassifiedObjectAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReadIsClassifiedObjectAction-boolean_result-_ownedComment.0" annotatedElement="ReadIsClassifiedObjectAction-boolean_result">
          <body>The type of the output pin is Boolean</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ReadIsClassifiedObjectAction-boolean_result-_specification">
          <language>OCL</language>
          <body>self.result.type = Boolean</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ReadIsClassifiedObjectAction-isDirect" name="isDirect" type="Boolean" default="false">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReadIsClassifiedObjectAction-isDirect-_ownedComment.0" annotatedElement="ReadIsClassifiedObjectAction-isDirect">
          <body>Indicates whether the classifier must directly classify the input object.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ReadIsClassifiedObjectAction-classifier" name="classifier" type="Classifier" association="A_classifier_readIsClassifiedObjectAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReadIsClassifiedObjectAction-classifier-_ownedComment.0" annotatedElement="ReadIsClassifiedObjectAction-classifier">
          <body>The classifier against which the classification of the input object is tested.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ReadIsClassifiedObjectAction-result" name="result" type="OutputPin" isComposite="true" subsettedProperty="Action-output" association="A_result_readIsClassifiedObjectAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReadIsClassifiedObjectAction-result-_ownedComment.0" annotatedElement="ReadIsClassifiedObjectAction-result">
          <body>After termination of the action, will hold the result of the test.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ReadIsClassifiedObjectAction-object" name="object" type="InputPin" isComposite="true" subsettedProperty="Action-input" association="A_object_readIsClassifiedObjectAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReadIsClassifiedObjectAction-object-_ownedComment.0" annotatedElement="ReadIsClassifiedObjectAction-object">
          <body>Holds the object whose classification is to be tested.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="StartClassifierBehaviorAction" name="StartClassifierBehaviorAction" superClass="Action">
      <ownedComment xmi:type="cmof:Comment" xmi:id="StartClassifierBehaviorAction-_ownedComment.0" annotatedElement="StartClassifierBehaviorAction">
        <body>A start classifier behavior action is an action that starts the classifier behavior of the input.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="StartClassifierBehaviorAction-multiplicity" name="multiplicity" constrainedElement="StartClassifierBehaviorAction" namespace="StartClassifierBehaviorAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="StartClassifierBehaviorAction-multiplicity-_ownedComment.0" annotatedElement="StartClassifierBehaviorAction-multiplicity">
          <body>The multiplicity of the input pin is 1..1</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="StartClassifierBehaviorAction-multiplicity-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="StartClassifierBehaviorAction-type_has_classifier" name="type_has_classifier" constrainedElement="StartClassifierBehaviorAction" namespace="StartClassifierBehaviorAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="StartClassifierBehaviorAction-type_has_classifier-_ownedComment.0" annotatedElement="StartClassifierBehaviorAction-type_has_classifier">
          <body>If the input pin has a type, then the type must have a classifier behavior.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="StartClassifierBehaviorAction-type_has_classifier-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="StartClassifierBehaviorAction-object" name="object" type="InputPin" isComposite="true" subsettedProperty="Action-input" association="A_object_startClassifierBehaviorAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="StartClassifierBehaviorAction-object-_ownedComment.0" annotatedElement="StartClassifierBehaviorAction-object">
          <body>Holds the object on which to start the owned behavior.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="QualifierValue" name="QualifierValue" superClass="Element">
      <ownedComment xmi:type="cmof:Comment" xmi:id="QualifierValue-_ownedComment.0" annotatedElement="QualifierValue">
        <body>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.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="QualifierValue-qualifier_attribute" name="qualifier_attribute" constrainedElement="QualifierValue" namespace="QualifierValue">
        <ownedComment xmi:type="cmof:Comment" xmi:id="QualifierValue-qualifier_attribute-_ownedComment.0" annotatedElement="QualifierValue-qualifier_attribute">
          <body>The qualifier attribute must be a qualifier of the association end of the link-end data.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="QualifierValue-qualifier_attribute-_specification">
          <language>OCL</language>
          <body>self.LinkEndData.end->collect(qualifier)->includes(self.qualifier)</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="QualifierValue-type_of_qualifier" name="type_of_qualifier" constrainedElement="QualifierValue" namespace="QualifierValue">
        <ownedComment xmi:type="cmof:Comment" xmi:id="QualifierValue-type_of_qualifier-_ownedComment.0" annotatedElement="QualifierValue-type_of_qualifier">
          <body>The type of the qualifier value input pin is the same as the type of the qualifier attribute.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="QualifierValue-type_of_qualifier-_specification">
          <language>OCL</language>
          <body>self.value.type = self.qualifier.type</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="QualifierValue-multiplicity_of_qualifier" name="multiplicity_of_qualifier" constrainedElement="QualifierValue" namespace="QualifierValue">
        <ownedComment xmi:type="cmof:Comment" xmi:id="QualifierValue-multiplicity_of_qualifier-_ownedComment.0" annotatedElement="QualifierValue-multiplicity_of_qualifier">
          <body>The multiplicity of the qualifier value input pin is &quot;1..1&quot;.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="QualifierValue-multiplicity_of_qualifier-_specification">
          <language>OCL</language>
          <body>self.value.multiplicity.is(1,1)</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="QualifierValue-qualifier" name="qualifier" type="Property" association="A_qualifier_qualifierValue">
        <ownedComment xmi:type="cmof:Comment" xmi:id="QualifierValue-qualifier-_ownedComment.0" annotatedElement="QualifierValue-qualifier">
          <body>Attribute representing the qualifier for which the value is to be specified.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="QualifierValue-value" name="value" type="InputPin" association="A_value_qualifierValue">
        <ownedComment xmi:type="cmof:Comment" xmi:id="QualifierValue-value-_ownedComment.0" annotatedElement="QualifierValue-value">
          <body>Input pin from which the specified value for the qualifier is taken.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="LinkEndData" name="LinkEndData" superClass="Element">
      <ownedComment xmi:type="cmof:Comment" xmi:id="LinkEndData-_ownedComment.0" annotatedElement="LinkEndData">
        <body>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.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="LinkEndData-property_is_association_end" name="property_is_association_end" constrainedElement="LinkEndData" namespace="LinkEndData">
        <ownedComment xmi:type="cmof:Comment" xmi:id="LinkEndData-property_is_association_end-_ownedComment.0" annotatedElement="LinkEndData-property_is_association_end">
          <body>The property must be an association end.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="LinkEndData-property_is_association_end-_specification">
          <language>OCL</language>
          <body>self.end.association->size() = 1</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="LinkEndData-same_type" name="same_type" constrainedElement="LinkEndData" namespace="LinkEndData">
        <ownedComment xmi:type="cmof:Comment" xmi:id="LinkEndData-same_type-_ownedComment.0" annotatedElement="LinkEndData-same_type">
          <body>The type of the end object input pin is the same as the type of the association end.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="LinkEndData-same_type-_specification">
          <language>OCL</language>
          <body>self.value.type = self.end.type</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="LinkEndData-multiplicity" name="multiplicity" constrainedElement="LinkEndData" namespace="LinkEndData">
        <ownedComment xmi:type="cmof:Comment" xmi:id="LinkEndData-multiplicity-_ownedComment.0" annotatedElement="LinkEndData-multiplicity">
          <body>The multiplicity of the end object input pin must be 1..1.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="LinkEndData-multiplicity-_specification">
          <language>OCL</language>
          <body>self.value.multiplicity.is(1,1)</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="LinkEndData-qualifiers" name="qualifiers" constrainedElement="LinkEndData" namespace="LinkEndData">
        <ownedComment xmi:type="cmof:Comment" xmi:id="LinkEndData-qualifiers-_ownedComment.0" annotatedElement="LinkEndData-qualifiers">
          <body>The qualifiers include all and only the qualifiers of the association end.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="LinkEndData-qualifiers-_specification">
          <language>OCL</language>
          <body>self.qualifier->collect(qualifier) = self.end.qualifier</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="LinkEndData-end_object_input_pin" name="end_object_input_pin" constrainedElement="LinkEndData" namespace="LinkEndData">
        <ownedComment xmi:type="cmof:Comment" xmi:id="LinkEndData-end_object_input_pin-_ownedComment.0" annotatedElement="LinkEndData-end_object_input_pin">
          <body>The end object input pin is not also a qualifier value input pin.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="LinkEndData-end_object_input_pin-_specification">
          <language>OCL</language>
          <body>self.value->excludesAll(self.qualifier.value)</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="LinkEndData-value" name="value" type="InputPin" lower="0" association="A_value_linkEndData">
        <ownedComment xmi:type="cmof:Comment" xmi:id="LinkEndData-value-_ownedComment.0" annotatedElement="LinkEndData-value">
          <body>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.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="LinkEndData-end" name="end" type="Property" association="A_end_linkEndData">
        <ownedComment xmi:type="cmof:Comment" xmi:id="LinkEndData-end-_ownedComment.0" annotatedElement="LinkEndData-end">
          <body>Association end for which this link-end data specifies values.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="LinkEndData-qualifier" name="qualifier" type="QualifierValue" upper="*" lower="0" isComposite="true" association="A_qualifier_linkEndData">
        <ownedComment xmi:type="cmof:Comment" xmi:id="LinkEndData-qualifier-_ownedComment.0" annotatedElement="LinkEndData-qualifier">
          <body>List of qualifier values</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="ReadLinkObjectEndAction" name="ReadLinkObjectEndAction" superClass="Action">
      <ownedComment xmi:type="cmof:Comment" xmi:id="ReadLinkObjectEndAction-_ownedComment.0" annotatedElement="ReadLinkObjectEndAction">
        <body>A read link object end action is an action that retrieves an end object from a link object.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ReadLinkObjectEndAction-property" name="property" constrainedElement="ReadLinkObjectEndAction" namespace="ReadLinkObjectEndAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReadLinkObjectEndAction-property-_ownedComment.0" annotatedElement="ReadLinkObjectEndAction-property">
          <body>The property must be an association end.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ReadLinkObjectEndAction-property-_specification">
          <language>OCL</language>
          <body>self.end.association.notEmpty()</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ReadLinkObjectEndAction-association_of_association" name="association_of_association" constrainedElement="ReadLinkObjectEndAction" namespace="ReadLinkObjectEndAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReadLinkObjectEndAction-association_of_association-_ownedComment.0" annotatedElement="ReadLinkObjectEndAction-association_of_association">
          <body>The association of the association end must be an association class.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ReadLinkObjectEndAction-association_of_association-_specification">
          <language>OCL</language>
          <body>self.end.Association.oclIsKindOf(AssociationClass)</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ReadLinkObjectEndAction-ends_of_association" name="ends_of_association" constrainedElement="ReadLinkObjectEndAction" namespace="ReadLinkObjectEndAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReadLinkObjectEndAction-ends_of_association-_ownedComment.0" annotatedElement="ReadLinkObjectEndAction-ends_of_association">
          <body>The ends of the association must not be static.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ReadLinkObjectEndAction-ends_of_association-_specification">
          <language>OCL</language>
          <body>self.end.association.memberEnd->forall(e | not e.isStatic)</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ReadLinkObjectEndAction-type_of_object" name="type_of_object" constrainedElement="ReadLinkObjectEndAction" namespace="ReadLinkObjectEndAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReadLinkObjectEndAction-type_of_object-_ownedComment.0" annotatedElement="ReadLinkObjectEndAction-type_of_object">
          <body>The type of the object input pin is the association class that owns the association end.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ReadLinkObjectEndAction-type_of_object-_specification">
          <language>OCL</language>
          <body>self.object.type = self.end.association</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ReadLinkObjectEndAction-multiplicity_of_object" name="multiplicity_of_object" constrainedElement="ReadLinkObjectEndAction" namespace="ReadLinkObjectEndAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReadLinkObjectEndAction-multiplicity_of_object-_ownedComment.0" annotatedElement="ReadLinkObjectEndAction-multiplicity_of_object">
          <body>The multiplicity of the object input pin is 1..1.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ReadLinkObjectEndAction-multiplicity_of_object-_specification">
          <language>OCL</language>
          <body>self.object.multiplicity.is(1,1)</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ReadLinkObjectEndAction-type_of_result" name="type_of_result" constrainedElement="ReadLinkObjectEndAction" namespace="ReadLinkObjectEndAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReadLinkObjectEndAction-type_of_result-_ownedComment.0" annotatedElement="ReadLinkObjectEndAction-type_of_result">
          <body>The type of the result output pin is the same as the type of the association end.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ReadLinkObjectEndAction-type_of_result-_specification">
          <language>OCL</language>
          <body>self.result.type = self.end.type</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ReadLinkObjectEndAction-multiplicity_of_result" name="multiplicity_of_result" constrainedElement="ReadLinkObjectEndAction" namespace="ReadLinkObjectEndAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReadLinkObjectEndAction-multiplicity_of_result-_ownedComment.0" annotatedElement="ReadLinkObjectEndAction-multiplicity_of_result">
          <body>The multiplicity of the result output pin is 1..1.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ReadLinkObjectEndAction-multiplicity_of_result-_specification">
          <language>OCL</language>
          <body>self.result.multiplicity.is(1,1)</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ReadLinkObjectEndAction-object" name="object" type="InputPin" isComposite="true" subsettedProperty="Action-input" association="A_object_readLinkObjectEndAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReadLinkObjectEndAction-object-_ownedComment.0" annotatedElement="ReadLinkObjectEndAction-object">
          <body>Gives the input pin from which the link object is obtained.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ReadLinkObjectEndAction-end" name="end" type="Property" association="A_end_readLinkObjectEndAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReadLinkObjectEndAction-end-_ownedComment.0" annotatedElement="ReadLinkObjectEndAction-end">
          <body>Link end to be read.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ReadLinkObjectEndAction-result" name="result" type="OutputPin" isComposite="true" subsettedProperty="Action-output" association="A_result_readLinkObjectEndAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReadLinkObjectEndAction-result-_ownedComment.0" annotatedElement="ReadLinkObjectEndAction-result">
          <body>Pin where the result value is placed.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="ReadLinkObjectEndQualifierAction" name="ReadLinkObjectEndQualifierAction" superClass="Action">
      <ownedComment xmi:type="cmof:Comment" xmi:id="ReadLinkObjectEndQualifierAction-_ownedComment.0" annotatedElement="ReadLinkObjectEndQualifierAction">
        <body>A read link object end qualifier action is an action that retrieves a qualifier end value from a link object.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ReadLinkObjectEndQualifierAction-qualifier_attribute" name="qualifier_attribute" constrainedElement="ReadLinkObjectEndQualifierAction" namespace="ReadLinkObjectEndQualifierAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReadLinkObjectEndQualifierAction-qualifier_attribute-_ownedComment.0" annotatedElement="ReadLinkObjectEndQualifierAction-qualifier_attribute">
          <body>The qualifier attribute must be a qualifier attribute of an association end.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ReadLinkObjectEndQualifierAction-qualifier_attribute-_specification">
          <language>OCL</language>
          <body>self.qualifier.associationEnd->size() = 1</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ReadLinkObjectEndQualifierAction-association_of_association" name="association_of_association" constrainedElement="ReadLinkObjectEndQualifierAction" namespace="ReadLinkObjectEndQualifierAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReadLinkObjectEndQualifierAction-association_of_association-_ownedComment.0" annotatedElement="ReadLinkObjectEndQualifierAction-association_of_association">
          <body>The association of the association end of the qualifier attribute must be an association class.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ReadLinkObjectEndQualifierAction-association_of_association-_specification">
          <language>OCL</language>
          <body>self.qualifier.associationEnd.association.oclIsKindOf(AssociationClass)</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ReadLinkObjectEndQualifierAction-ends_of_association" name="ends_of_association" constrainedElement="ReadLinkObjectEndQualifierAction" namespace="ReadLinkObjectEndQualifierAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReadLinkObjectEndQualifierAction-ends_of_association-_ownedComment.0" annotatedElement="ReadLinkObjectEndQualifierAction-ends_of_association">
          <body>The ends of the association must not be static.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ReadLinkObjectEndQualifierAction-ends_of_association-_specification">
          <language>OCL</language>
          <body>self.qualifier.associationEnd.association.memberEnd->forall(e | not e.isStatic)</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ReadLinkObjectEndQualifierAction-type_of_object" name="type_of_object" constrainedElement="ReadLinkObjectEndQualifierAction" namespace="ReadLinkObjectEndQualifierAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReadLinkObjectEndQualifierAction-type_of_object-_ownedComment.0" annotatedElement="ReadLinkObjectEndQualifierAction-type_of_object">
          <body>The type of the object input pin is the association class that owns the association end that has the given qualifier attribute.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ReadLinkObjectEndQualifierAction-type_of_object-_specification">
          <language>OCL</language>
          <body>self.object.type = self.qualifier.associationEnd.association</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ReadLinkObjectEndQualifierAction-multiplicity_of_qualifier" name="multiplicity_of_qualifier" constrainedElement="ReadLinkObjectEndQualifierAction" namespace="ReadLinkObjectEndQualifierAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReadLinkObjectEndQualifierAction-multiplicity_of_qualifier-_ownedComment.0" annotatedElement="ReadLinkObjectEndQualifierAction-multiplicity_of_qualifier">
          <body>The multiplicity of the qualifier attribute is 1..1.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ReadLinkObjectEndQualifierAction-multiplicity_of_qualifier-_specification">
          <language>OCL</language>
          <body>self.qualifier.multiplicity.is(1,1)</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ReadLinkObjectEndQualifierAction-multiplicity_of_object" name="multiplicity_of_object" constrainedElement="ReadLinkObjectEndQualifierAction" namespace="ReadLinkObjectEndQualifierAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReadLinkObjectEndQualifierAction-multiplicity_of_object-_ownedComment.0" annotatedElement="ReadLinkObjectEndQualifierAction-multiplicity_of_object">
          <body>The multiplicity of the object input pin is 1..1.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ReadLinkObjectEndQualifierAction-multiplicity_of_object-_specification">
          <language>OCL</language>
          <body>self.object.multiplicity.is(1,1)</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ReadLinkObjectEndQualifierAction-same_type" name="same_type" constrainedElement="ReadLinkObjectEndQualifierAction" namespace="ReadLinkObjectEndQualifierAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReadLinkObjectEndQualifierAction-same_type-_ownedComment.0" annotatedElement="ReadLinkObjectEndQualifierAction-same_type">
          <body>The type of the result output pin is the same as the type of the qualifier attribute.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ReadLinkObjectEndQualifierAction-same_type-_specification">
          <language>OCL</language>
          <body>self.result.type = self.qualifier.type</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ReadLinkObjectEndQualifierAction-multiplicity_of_result" name="multiplicity_of_result" constrainedElement="ReadLinkObjectEndQualifierAction" namespace="ReadLinkObjectEndQualifierAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReadLinkObjectEndQualifierAction-multiplicity_of_result-_ownedComment.0" annotatedElement="ReadLinkObjectEndQualifierAction-multiplicity_of_result">
          <body>The multiplicity of the result output pin is 1..1.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ReadLinkObjectEndQualifierAction-multiplicity_of_result-_specification">
          <language>OCL</language>
          <body>self.result.multiplicity.is(1,1)</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ReadLinkObjectEndQualifierAction-object" name="object" type="InputPin" isComposite="true" subsettedProperty="Action-input" association="A_object_readLinkObjectEndQualifierAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReadLinkObjectEndQualifierAction-object-_ownedComment.0" annotatedElement="ReadLinkObjectEndQualifierAction-object">
          <body>Gives the input pin from which the link object is obtained.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ReadLinkObjectEndQualifierAction-result" name="result" type="OutputPin" isComposite="true" subsettedProperty="Action-output" association="A_result_readLinkObjectEndQualifierAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReadLinkObjectEndQualifierAction-result-_ownedComment.0" annotatedElement="ReadLinkObjectEndQualifierAction-result">
          <body>Pin where the result value is placed.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ReadLinkObjectEndQualifierAction-qualifier" name="qualifier" type="Property" association="A_qualifier_readLinkObjectEndQualifierAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReadLinkObjectEndQualifierAction-qualifier-_ownedComment.0" annotatedElement="ReadLinkObjectEndQualifierAction-qualifier">
          <body>The attribute representing the qualifier to be read.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="CreateLinkObjectAction" name="CreateLinkObjectAction" superClass="CreateLinkAction">
      <ownedComment xmi:type="cmof:Comment" xmi:id="CreateLinkObjectAction-_ownedComment.0" annotatedElement="CreateLinkObjectAction">
        <body>A create link object action creates a link object.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="CreateLinkObjectAction-association_class" name="association_class" constrainedElement="CreateLinkObjectAction" namespace="CreateLinkObjectAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="CreateLinkObjectAction-association_class-_ownedComment.0" annotatedElement="CreateLinkObjectAction-association_class">
          <body>The association must be an association class.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="CreateLinkObjectAction-association_class-_specification">
          <language>OCL</language>
          <body>self.association().oclIsKindOf(Class)</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="CreateLinkObjectAction-type_of_result" name="type_of_result" constrainedElement="CreateLinkObjectAction" namespace="CreateLinkObjectAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="CreateLinkObjectAction-type_of_result-_ownedComment.0" annotatedElement="CreateLinkObjectAction-type_of_result">
          <body>The type of the result pin must be the same as the association of the action.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="CreateLinkObjectAction-type_of_result-_specification">
          <language>OCL</language>
          <body>self.result.type = self.association()</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="CreateLinkObjectAction-multiplicity" name="multiplicity" constrainedElement="CreateLinkObjectAction" namespace="CreateLinkObjectAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="CreateLinkObjectAction-multiplicity-_ownedComment.0" annotatedElement="CreateLinkObjectAction-multiplicity">
          <body>The multiplicity of the output pin is 1..1.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="CreateLinkObjectAction-multiplicity-_specification">
          <language>OCL</language>
          <body>self.result.multiplicity.is(1,1)</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="CreateLinkObjectAction-result" name="result" type="OutputPin" isComposite="true" subsettedProperty="Action-output" association="A_result_createLinkObjectAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="CreateLinkObjectAction-result-_ownedComment.0" annotatedElement="CreateLinkObjectAction-result">
          <body>Gives the output pin on which the result is put.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="AcceptEventAction" name="AcceptEventAction" superClass="Action">
      <ownedComment xmi:type="cmof:Comment" xmi:id="AcceptEventAction-_ownedComment.0" annotatedElement="AcceptEventAction">
        <body>A accept event action is an action that waits for the occurrence of an event meeting specified conditions.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="AcceptEventAction-no_input_pins" name="no_input_pins" constrainedElement="AcceptEventAction" namespace="AcceptEventAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="AcceptEventAction-no_input_pins-_ownedComment.0" annotatedElement="AcceptEventAction-no_input_pins">
          <body>AcceptEventActions may have no input pins.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="AcceptEventAction-no_input_pins-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="AcceptEventAction-no_output_pins" name="no_output_pins" constrainedElement="AcceptEventAction" namespace="AcceptEventAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="AcceptEventAction-no_output_pins-_ownedComment.0" annotatedElement="AcceptEventAction-no_output_pins">
          <body>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).</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="AcceptEventAction-no_output_pins-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="AcceptEventAction-trigger_events" name="trigger_events" constrainedElement="AcceptEventAction" namespace="AcceptEventAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="AcceptEventAction-trigger_events-_ownedComment.0" annotatedElement="AcceptEventAction-trigger_events">
          <body>If the trigger events are all TimeEvents, there is exactly one output pin.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="AcceptEventAction-trigger_events-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="AcceptEventAction-unmarshall_signal_events" name="unmarshall_signal_events" constrainedElement="AcceptEventAction" namespace="AcceptEventAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="AcceptEventAction-unmarshall_signal_events-_ownedComment.0" annotatedElement="AcceptEventAction-unmarshall_signal_events">
          <body>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.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="AcceptEventAction-unmarshall_signal_events-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="AcceptEventAction-isUnmarshall" name="isUnmarshall" type="Boolean" default="false">
        <ownedComment xmi:type="cmof:Comment" xmi:id="AcceptEventAction-isUnmarshall-_ownedComment.0" annotatedElement="AcceptEventAction-isUnmarshall">
          <body>Indicates whether there is a single output pin for the event, or multiple output pins for attributes of the event.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="AcceptEventAction-result" name="result" type="OutputPin" upper="*" lower="0" isComposite="true" subsettedProperty="Action-output" association="A_result_acceptEventAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="AcceptEventAction-result-_ownedComment.0" annotatedElement="AcceptEventAction-result">
          <body>Pins holding the received event objects or their attributes. Event objects may be copied in transmission, so identity might not be preserved.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="AcceptEventAction-trigger" name="trigger" type="Trigger" upper="*" isComposite="true" association="A_trigger_acceptEventAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="AcceptEventAction-trigger-_ownedComment.0" annotatedElement="AcceptEventAction-trigger">
          <body>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.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="AcceptCallAction" name="AcceptCallAction" superClass="AcceptEventAction">
      <ownedComment xmi:type="cmof:Comment" xmi:id="AcceptCallAction-_ownedComment.0" annotatedElement="AcceptCallAction">
        <body>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.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="AcceptCallAction-result_pins" name="result_pins" constrainedElement="AcceptCallAction" namespace="AcceptCallAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="AcceptCallAction-result_pins-_ownedComment.0" annotatedElement="AcceptCallAction-result_pins">
          <body>The result pins must match the in and inout parameters of the operation specified by the trigger event in number, type, and order.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="AcceptCallAction-result_pins-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="AcceptCallAction-trigger_call_event" name="trigger_call_event" constrainedElement="AcceptCallAction" namespace="AcceptCallAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="AcceptCallAction-trigger_call_event-_ownedComment.0" annotatedElement="AcceptCallAction-trigger_call_event">
          <body>The trigger event must be a CallEvent.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="AcceptCallAction-trigger_call_event-_specification">
          <language>OCL</language>
          <body>trigger.event.oclIsKindOf(CallEvent)</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="AcceptCallAction-unmarshall" name="unmarshall" constrainedElement="AcceptCallAction" namespace="AcceptCallAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="AcceptCallAction-unmarshall-_ownedComment.0" annotatedElement="AcceptCallAction-unmarshall">
          <body>isUnmrashall must be true for an AcceptCallAction.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="AcceptCallAction-unmarshall-_specification">
          <language>OCL</language>
          <body>isUnmarshall = true</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="AcceptCallAction-returnInformation" name="returnInformation" type="OutputPin" isComposite="true" subsettedProperty="Action-output" association="A_returnInformation_acceptCallAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="AcceptCallAction-returnInformation-_ownedComment.0" annotatedElement="AcceptCallAction-returnInformation">
          <body>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.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="ReplyAction" name="ReplyAction" superClass="Action">
      <ownedComment xmi:type="cmof:Comment" xmi:id="ReplyAction-_ownedComment.0" annotatedElement="ReplyAction">
        <body>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.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ReplyAction-pins_match_parameter" name="pins_match_parameter" constrainedElement="ReplyAction" namespace="ReplyAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReplyAction-pins_match_parameter-_ownedComment.0" annotatedElement="ReplyAction-pins_match_parameter">
          <body>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.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ReplyAction-pins_match_parameter-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ReplyAction-event_on_reply_to_call_trigger" name="event_on_reply_to_call_trigger" constrainedElement="ReplyAction" namespace="ReplyAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReplyAction-event_on_reply_to_call_trigger-_ownedComment.0" annotatedElement="ReplyAction-event_on_reply_to_call_trigger">
          <body>The event on replyToCall trigger must be a CallEvent replyToCallEvent.oclIsKindOf(CallEvent)</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ReplyAction-event_on_reply_to_call_trigger-_specification">
          <language>OCL</language>
          <body>replyToCallEvent.oclIsKindOf(CallEvent)</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ReplyAction-replyToCall" name="replyToCall" type="Trigger" association="A_replyToCall_replyAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReplyAction-replyToCall-_ownedComment.0" annotatedElement="ReplyAction-replyToCall">
          <body>The trigger specifying the operation whose call is being replied to.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ReplyAction-returnInformation" name="returnInformation" type="InputPin" isComposite="true" subsettedProperty="Action-input" association="A_returnInformation_replyAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReplyAction-returnInformation-_ownedComment.0" annotatedElement="ReplyAction-returnInformation">
          <body>A pin containing the return information value produced by an earlier AcceptCallAction.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ReplyAction-replyValue" name="replyValue" type="InputPin" upper="*" lower="0" isComposite="true" subsettedProperty="Action-input" association="A_replyValue_replyAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReplyAction-replyValue-_ownedComment.0" annotatedElement="ReplyAction-replyValue">
          <body>A list of pins containing the reply values of the operation. These values are returned to the caller.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="UnmarshallAction" name="UnmarshallAction" superClass="Action">
      <ownedComment xmi:type="cmof:Comment" xmi:id="UnmarshallAction-_ownedComment.0" annotatedElement="UnmarshallAction">
        <body>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.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="UnmarshallAction-same_type" name="same_type" constrainedElement="UnmarshallAction" namespace="UnmarshallAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="UnmarshallAction-same_type-_ownedComment.0" annotatedElement="UnmarshallAction-same_type">
          <body>The type of the object input pin must be the same as the unmarshall classifier.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="UnmarshallAction-same_type-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="UnmarshallAction-multiplicity_of_object" name="multiplicity_of_object" constrainedElement="UnmarshallAction" namespace="UnmarshallAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="UnmarshallAction-multiplicity_of_object-_ownedComment.0" annotatedElement="UnmarshallAction-multiplicity_of_object">
          <body>The multiplicity of the object input pin is 1..1</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="UnmarshallAction-multiplicity_of_object-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="UnmarshallAction-number_of_result" name="number_of_result" constrainedElement="UnmarshallAction" namespace="UnmarshallAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="UnmarshallAction-number_of_result-_ownedComment.0" annotatedElement="UnmarshallAction-number_of_result">
          <body>The number of result output pins must be the same as the number of structural features of the unmarshall classifier.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="UnmarshallAction-number_of_result-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="UnmarshallAction-type_and_ordering" name="type_and_ordering" constrainedElement="UnmarshallAction" namespace="UnmarshallAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="UnmarshallAction-type_and_ordering-_ownedComment.0" annotatedElement="UnmarshallAction-type_and_ordering">
          <body>The type and ordering of each result output pin must be the same as the corresponding structural feature of the unmarshall classifier.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="UnmarshallAction-type_and_ordering-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="UnmarshallAction-multiplicity_of_result" name="multiplicity_of_result" constrainedElement="UnmarshallAction" namespace="UnmarshallAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="UnmarshallAction-multiplicity_of_result-_ownedComment.0" annotatedElement="UnmarshallAction-multiplicity_of_result">
          <body>The multiplicity of each result output pin must be compatible with the multiplicity of the corresponding structural features of the unmarshall classifier.&#xD;
</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="UnmarshallAction-multiplicity_of_result-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="UnmarshallAction-structural_feature" name="structural_feature" constrainedElement="UnmarshallAction" namespace="UnmarshallAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="UnmarshallAction-structural_feature-_ownedComment.0" annotatedElement="UnmarshallAction-structural_feature">
          <body>The unmarshall classifier must have at least one structural feature.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="UnmarshallAction-structural_feature-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="UnmarshallAction-unmarshallType_is_classifier" name="unmarshallType_is_classifier" constrainedElement="UnmarshallAction" namespace="UnmarshallAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="UnmarshallAction-unmarshallType_is_classifier-_ownedComment.0" annotatedElement="UnmarshallAction-unmarshallType_is_classifier">
          <body>unmarshallType must be a Classifier with ordered attributes</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="UnmarshallAction-unmarshallType_is_classifier-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="UnmarshallAction-result" name="result" type="OutputPin" upper="*" isComposite="true" subsettedProperty="Action-output" association="A_result_unmarshallAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="UnmarshallAction-result-_ownedComment.0" annotatedElement="UnmarshallAction-result">
          <body>The values of the structural features of the input object.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="UnmarshallAction-unmarshallType" name="unmarshallType" type="Classifier" association="A_unmarshallType_unmarshallAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="UnmarshallAction-unmarshallType-_ownedComment.0" annotatedElement="UnmarshallAction-unmarshallType">
          <body>The type of the object to be unmarshalled.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="UnmarshallAction-object" name="object" type="InputPin" isComposite="true" subsettedProperty="Action-input" association="A_object_unmarshallAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="UnmarshallAction-object-_ownedComment.0" annotatedElement="UnmarshallAction-object">
          <body>The object to be unmarshalled.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="ReduceAction" name="ReduceAction" superClass="Action">
      <ownedComment xmi:type="cmof:Comment" xmi:id="ReduceAction-_ownedComment.0" annotatedElement="ReduceAction">
        <body>A reduce action is an action that reduces a collection to a single value by combining the elements of the collection.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ReduceAction-input_type_is_collection" name="input_type_is_collection" constrainedElement="ReduceAction" namespace="ReduceAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReduceAction-input_type_is_collection-_ownedComment.0" annotatedElement="ReduceAction-input_type_is_collection">
          <body>The type of the input must be a collection.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ReduceAction-input_type_is_collection-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ReduceAction-output_types_are_compatible" name="output_types_are_compatible" constrainedElement="ReduceAction" namespace="ReduceAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReduceAction-output_types_are_compatible-_ownedComment.0" annotatedElement="ReduceAction-output_types_are_compatible">
          <body>The type of the output must be compatible with the type of the output of the reducer behavior.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ReduceAction-output_types_are_compatible-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ReduceAction-reducer_inputs_output" name="reducer_inputs_output" constrainedElement="ReduceAction" namespace="ReduceAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReduceAction-reducer_inputs_output-_ownedComment.0" annotatedElement="ReduceAction-reducer_inputs_output">
          <body>The reducer behavior must have two input parameters and one output parameter, of types compatible with the types of elements of the input collection.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ReduceAction-reducer_inputs_output-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ReduceAction-reducer" name="reducer" type="Behavior" association="A_reducer_reduceAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReduceAction-reducer-_ownedComment.0" annotatedElement="ReduceAction-reducer">
          <body>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.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ReduceAction-result" name="result" type="OutputPin" isComposite="true" subsettedProperty="Action-output" association="A_result_reduceAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReduceAction-result-_ownedComment.0" annotatedElement="ReduceAction-result">
          <body>Gives the output pin on which the result is put.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ReduceAction-collection" name="collection" type="InputPin" isComposite="true" subsettedProperty="Action-input" association="A_collection_reduceAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReduceAction-collection-_ownedComment.0" annotatedElement="ReduceAction-collection">
          <body>The collection to be reduced.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ReduceAction-isOrdered" name="isOrdered" type="Boolean" default="false">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ReduceAction-isOrdered-_ownedComment.0" annotatedElement="ReduceAction-isOrdered">
          <body>Tells whether the order of the input collection should determine the order in which the behavior is applied to its elements.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_result_readExtentAction" name="A_result_readExtentAction" visibility="private" memberEnd="ReadExtentAction-result A_result_readExtentAction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_result_readExtentAction-_ownedEnd.0" type="ReadExtentAction" lower="0" owningAssociation="A_result_readExtentAction" association="A_result_readExtentAction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_classifier_readExtentAction" name="A_classifier_readExtentAction" visibility="private" memberEnd="ReadExtentAction-classifier A_classifier_readExtentAction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_classifier_readExtentAction-_ownedEnd.0" type="ReadExtentAction" lower="0" owningAssociation="A_classifier_readExtentAction" association="A_classifier_readExtentAction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_oldClassifier_reclassifyObjectAction" name="A_oldClassifier_reclassifyObjectAction" visibility="private" memberEnd="ReclassifyObjectAction-oldClassifier A_oldClassifier_reclassifyObjectAction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_oldClassifier_reclassifyObjectAction-_ownedEnd.0" type="ReclassifyObjectAction" upper="*" lower="0" owningAssociation="A_oldClassifier_reclassifyObjectAction" association="A_oldClassifier_reclassifyObjectAction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_newClassifier_reclassifyObjectAction" name="A_newClassifier_reclassifyObjectAction" visibility="private" memberEnd="ReclassifyObjectAction-newClassifier A_newClassifier_reclassifyObjectAction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_newClassifier_reclassifyObjectAction-_ownedEnd.0" type="ReclassifyObjectAction" upper="*" lower="0" owningAssociation="A_newClassifier_reclassifyObjectAction" association="A_newClassifier_reclassifyObjectAction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_classifier_readIsClassifiedObjectAction" name="A_classifier_readIsClassifiedObjectAction" visibility="private" memberEnd="ReadIsClassifiedObjectAction-classifier A_classifier_readIsClassifiedObjectAction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_classifier_readIsClassifiedObjectAction-_ownedEnd.0" type="ReadIsClassifiedObjectAction" upper="*" lower="0" owningAssociation="A_classifier_readIsClassifiedObjectAction" association="A_classifier_readIsClassifiedObjectAction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_result_readIsClassifiedObjectAction" name="A_result_readIsClassifiedObjectAction" visibility="private" memberEnd="ReadIsClassifiedObjectAction-result A_result_readIsClassifiedObjectAction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_result_readIsClassifiedObjectAction-_ownedEnd.0" type="ReadIsClassifiedObjectAction" lower="0" owningAssociation="A_result_readIsClassifiedObjectAction" association="A_result_readIsClassifiedObjectAction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_object_readIsClassifiedObjectAction" name="A_object_readIsClassifiedObjectAction" visibility="private" memberEnd="ReadIsClassifiedObjectAction-object A_object_readIsClassifiedObjectAction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_object_readIsClassifiedObjectAction-_ownedEnd.0" type="ReadIsClassifiedObjectAction" lower="0" owningAssociation="A_object_readIsClassifiedObjectAction" association="A_object_readIsClassifiedObjectAction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_object_startClassifierBehaviorAction" name="A_object_startClassifierBehaviorAction" visibility="private" memberEnd="StartClassifierBehaviorAction-object A_object_startClassifierBehaviorAction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_object_startClassifierBehaviorAction-_ownedEnd.0" type="StartClassifierBehaviorAction" lower="0" owningAssociation="A_object_startClassifierBehaviorAction" association="A_object_startClassifierBehaviorAction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_qualifier_linkEndData" name="A_qualifier_linkEndData" visibility="private" memberEnd="LinkEndData-qualifier A_qualifier_linkEndData-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_qualifier_linkEndData-_ownedEnd.0" type="LinkEndData" owningAssociation="A_qualifier_linkEndData" association="A_qualifier_linkEndData"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_qualifier_qualifierValue" name="A_qualifier_qualifierValue" visibility="private" memberEnd="QualifierValue-qualifier A_qualifier_qualifierValue-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_qualifier_qualifierValue-_ownedEnd.0" type="QualifierValue" upper="*" lower="0" owningAssociation="A_qualifier_qualifierValue" association="A_qualifier_qualifierValue"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_value_qualifierValue" name="A_value_qualifierValue" visibility="private" memberEnd="QualifierValue-value A_value_qualifierValue-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_value_qualifierValue-_ownedEnd.0" type="QualifierValue" lower="0" owningAssociation="A_value_qualifierValue" association="A_value_qualifierValue"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_object_readLinkObjectEndAction" name="A_object_readLinkObjectEndAction" visibility="private" memberEnd="ReadLinkObjectEndAction-object A_object_readLinkObjectEndAction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_object_readLinkObjectEndAction-_ownedEnd.0" type="ReadLinkObjectEndAction" lower="0" owningAssociation="A_object_readLinkObjectEndAction" association="A_object_readLinkObjectEndAction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_end_readLinkObjectEndAction" name="A_end_readLinkObjectEndAction" visibility="private" memberEnd="ReadLinkObjectEndAction-end A_end_readLinkObjectEndAction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_end_readLinkObjectEndAction-_ownedEnd.0" type="ReadLinkObjectEndAction" lower="0" owningAssociation="A_end_readLinkObjectEndAction" association="A_end_readLinkObjectEndAction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_result_readLinkObjectEndAction" name="A_result_readLinkObjectEndAction" visibility="private" memberEnd="ReadLinkObjectEndAction-result A_result_readLinkObjectEndAction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_result_readLinkObjectEndAction-_ownedEnd.0" type="ReadLinkObjectEndAction" lower="0" owningAssociation="A_result_readLinkObjectEndAction" association="A_result_readLinkObjectEndAction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_object_readLinkObjectEndQualifierAction" name="A_object_readLinkObjectEndQualifierAction" visibility="private" memberEnd="ReadLinkObjectEndQualifierAction-object A_object_readLinkObjectEndQualifierAction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_object_readLinkObjectEndQualifierAction-_ownedEnd.0" type="ReadLinkObjectEndQualifierAction" lower="0" owningAssociation="A_object_readLinkObjectEndQualifierAction" association="A_object_readLinkObjectEndQualifierAction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_result_readLinkObjectEndQualifierAction" name="A_result_readLinkObjectEndQualifierAction" visibility="private" memberEnd="ReadLinkObjectEndQualifierAction-result A_result_readLinkObjectEndQualifierAction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_result_readLinkObjectEndQualifierAction-_ownedEnd.0" type="ReadLinkObjectEndQualifierAction" lower="0" owningAssociation="A_result_readLinkObjectEndQualifierAction" association="A_result_readLinkObjectEndQualifierAction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_qualifier_readLinkObjectEndQualifierAction" name="A_qualifier_readLinkObjectEndQualifierAction" visibility="private" memberEnd="ReadLinkObjectEndQualifierAction-qualifier A_qualifier_readLinkObjectEndQualifierAction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_qualifier_readLinkObjectEndQualifierAction-_ownedEnd.0" type="ReadLinkObjectEndQualifierAction" lower="0" owningAssociation="A_qualifier_readLinkObjectEndQualifierAction" association="A_qualifier_readLinkObjectEndQualifierAction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_result_createLinkObjectAction" name="A_result_createLinkObjectAction" visibility="private" memberEnd="CreateLinkObjectAction-result A_result_createLinkObjectAction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_result_createLinkObjectAction-_ownedEnd.0" type="CreateLinkObjectAction" lower="0" owningAssociation="A_result_createLinkObjectAction" association="A_result_createLinkObjectAction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_reclassifyObjectAction_object" name="A_reclassifyObjectAction_object" visibility="private" memberEnd="A_reclassifyObjectAction_object-_ownedEnd.0 ReclassifyObjectAction-object">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_reclassifyObjectAction_object-_ownedEnd.0" type="ReclassifyObjectAction" lower="0" owningAssociation="A_reclassifyObjectAction_object" association="A_reclassifyObjectAction_object"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_result_acceptEventAction" name="A_result_acceptEventAction" visibility="private" memberEnd="AcceptEventAction-result A_result_acceptEventAction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_result_acceptEventAction-_ownedEnd.0" type="AcceptEventAction" lower="0" owningAssociation="A_result_acceptEventAction" association="A_result_acceptEventAction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_returnInformation_acceptCallAction" name="A_returnInformation_acceptCallAction" visibility="private" memberEnd="AcceptCallAction-returnInformation A_returnInformation_acceptCallAction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_returnInformation_acceptCallAction-_ownedEnd.0" type="AcceptCallAction" lower="0" owningAssociation="A_returnInformation_acceptCallAction" association="A_returnInformation_acceptCallAction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_replyToCall_replyAction" name="A_replyToCall_replyAction" visibility="private" memberEnd="ReplyAction-replyToCall A_replyToCall_replyAction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_replyToCall_replyAction-_ownedEnd.0" type="ReplyAction" lower="0" owningAssociation="A_replyToCall_replyAction" association="A_replyToCall_replyAction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_result_unmarshallAction" name="A_result_unmarshallAction" visibility="private" memberEnd="UnmarshallAction-result A_result_unmarshallAction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_result_unmarshallAction-_ownedEnd.0" type="UnmarshallAction" lower="0" owningAssociation="A_result_unmarshallAction" association="A_result_unmarshallAction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_unmarshallType_unmarshallAction" name="A_unmarshallType_unmarshallAction" visibility="private" memberEnd="UnmarshallAction-unmarshallType A_unmarshallType_unmarshallAction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_unmarshallType_unmarshallAction-_ownedEnd.0" type="UnmarshallAction" upper="*" lower="0" owningAssociation="A_unmarshallType_unmarshallAction" association="A_unmarshallType_unmarshallAction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_object_unmarshallAction" name="A_object_unmarshallAction" visibility="private" memberEnd="UnmarshallAction-object A_object_unmarshallAction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_object_unmarshallAction-_ownedEnd.0" type="UnmarshallAction" lower="0" owningAssociation="A_object_unmarshallAction" association="A_object_unmarshallAction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_returnInformation_replyAction" name="A_returnInformation_replyAction" visibility="private" memberEnd="ReplyAction-returnInformation A_returnInformation_replyAction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_returnInformation_replyAction-_ownedEnd.0" type="ReplyAction" lower="0" owningAssociation="A_returnInformation_replyAction" association="A_returnInformation_replyAction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_replyValue_replyAction" name="A_replyValue_replyAction" visibility="private" memberEnd="ReplyAction-replyValue A_replyValue_replyAction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_replyValue_replyAction-_ownedEnd.0" type="ReplyAction" lower="0" owningAssociation="A_replyValue_replyAction" association="A_replyValue_replyAction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_trigger_acceptEventAction" name="A_trigger_acceptEventAction" visibility="private" memberEnd="AcceptEventAction-trigger A_trigger_acceptEventAction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_trigger_acceptEventAction-_ownedEnd.0" type="AcceptEventAction" lower="0" owningAssociation="A_trigger_acceptEventAction" association="A_trigger_acceptEventAction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_result_reduceAction" name="A_result_reduceAction" visibility="private" memberEnd="ReduceAction-result A_result_reduceAction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_result_reduceAction-_ownedEnd.0" type="ReduceAction" lower="0" owningAssociation="A_result_reduceAction" association="A_result_reduceAction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_collection_reduceAction" name="A_collection_reduceAction" visibility="private" memberEnd="ReduceAction-collection A_collection_reduceAction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_collection_reduceAction-_ownedEnd.0" type="ReduceAction" lower="0" owningAssociation="A_collection_reduceAction" association="A_collection_reduceAction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_reducer_reduceAction" name="A_reducer_reduceAction" visibility="private" memberEnd="ReduceAction-reducer A_reducer_reduceAction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_reducer_reduceAction-_ownedEnd.0" type="ReduceAction" upper="*" lower="0" owningAssociation="A_reducer_reduceAction" association="A_reducer_reduceAction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="InformationItem" name="InformationItem" superClass="Classifier">
      <ownedComment xmi:type="cmof:Comment" xmi:id="InformationItem-_ownedComment.0" annotatedElement="InformationItem">
        <body>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.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="InformationItem-sources_and_targets" name="sources_and_targets" constrainedElement="InformationItem" namespace="InformationItem">
        <ownedComment xmi:type="cmof:Comment" xmi:id="InformationItem-sources_and_targets-_ownedComment.0" annotatedElement="InformationItem-sources_and_targets">
          <body>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.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="InformationItem-sources_and_targets-_specification">
          <language>OCL</language>
          <body>(self.represented->select(p | p->oclIsKindOf(InformationItem))->forAll(p |&#xD;&#xA;  p.informationFlow.source->forAll(q | self.informationFlow.source->include(q)) and&#xD;&#xA;    p.informationFlow.target->forAll(q | self.informationFlow.target->include(q)))) and&#xD;&#xA;      (self.represented->forAll(p | p->oclIsKindOf(Class) or oclIsKindOf(Interface) or&#xD;&#xA;        oclIsKindOf(InformationItem) or oclIsKindOf(Signal) or oclIsKindOf(Component)))</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="InformationItem-has_no" name="has_no" constrainedElement="InformationItem" namespace="InformationItem">
        <ownedComment xmi:type="cmof:Comment" xmi:id="InformationItem-has_no-_ownedComment.0" annotatedElement="InformationItem-has_no">
          <body>An informationItem has no feature, no generalization, and no associations.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="InformationItem-has_no-_specification">
          <language>OCL</language>
          <body>self.generalization->isEmpty() and self.feature->isEmpty()</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="InformationItem-not_instantiable" name="not_instantiable" constrainedElement="InformationItem" namespace="InformationItem">
        <ownedComment xmi:type="cmof:Comment" xmi:id="InformationItem-not_instantiable-_ownedComment.0" annotatedElement="InformationItem-not_instantiable">
          <body>It is not instantiable.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="InformationItem-not_instantiable-_specification">
          <language>OCL</language>
          <body>isAbstract</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="InformationItem-represented" name="represented" type="Classifier" upper="*" lower="0" association="A_represented_representation">
        <ownedComment xmi:type="cmof:Comment" xmi:id="InformationItem-represented-_ownedComment.0" annotatedElement="InformationItem-represented">
          <body>Determines the classifiers that will specify the structure and nature of the information. An information item represents all its represented classifiers.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="InformationFlow" name="InformationFlow" superClass="DirectedRelationship PackageableElement">
      <ownedComment xmi:type="cmof:Comment" xmi:id="InformationFlow-_ownedComment.0" annotatedElement="InformationFlow">
        <body>An information flow specifies that one or more information items circulates from its sources to its targets. Information flows require some kind of information channel for transmitting information items from the source to the destination. An information channel is represented in various ways depending on the nature of its sources and targets. It may be represented by connectors, links, associations, or even dependencies. For example, if the source and destination are parts in some composite structure such as a collaboration, then the information channel is likely to be represented by a connector between them. Or, if the source and target are objects (which are a kind of instance specification), they may be represented by a link that joins the two, and so on.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="InformationFlow-sources_and_targets_kind" name="sources_and_targets_kind" constrainedElement="InformationFlow" namespace="InformationFlow">
        <ownedComment xmi:type="cmof:Comment" xmi:id="InformationFlow-sources_and_targets_kind-_ownedComment.0" annotatedElement="InformationFlow-sources_and_targets_kind">
          <body>The sources and targets of the information flow can only be one of the following kind: Actor, Node, UseCase, Artifact, Class, Component, Port, Property, Interface, Package, ActivityNode, ActivityPartition and InstanceSpecification except when its classifier is a relationship (i.e. it represents a link).</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="InformationFlow-sources_and_targets_kind-_specification">
          <language>OCL</language>
          <body>(self.source->forAll(p | p->oclIsKindOf(Actor) or oclIsKindOf(Node) or&#xD;&#xA;  oclIsKindOf(UseCase) or oclIsKindOf(Artifact) or oclIsKindOf(Class) or&#xD;&#xA;  oclIsKindOf(Component) or oclIsKindOf(Port) or oclIsKindOf(Property) or&#xD;&#xA;  oclIsKindOf(Interface) or oclIsKindOf(Package) or oclIsKindOf(ActivityNode) or&#xD;&#xA;  oclIsKindOf(ActivityPartition) or oclIsKindOf(InstanceSpecification))) and&#xD;&#xA;    (self.target->forAll(p | p->oclIsKindOf(Actor) or oclIsKindOf(Node) or&#xD;&#xA;      oclIsKindOf(UseCase) or oclIsKindOf(Artifact) or oclIsKindOf(Class) or&#xD;&#xA;      oclIsKindOf(Component) or oclIsKindOf(Port) or oclIsKindOf(Property) or&#xD;&#xA;      oclIsKindOf(Interface) or oclIsKindOf(Package) or oclIsKindOf(ActivityNode) or&#xD;&#xA;      oclIsKindOf(ActivityPartition) or oclIsKindOf(InstanceSpecification)))</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="InformationFlow-must_conform" name="must_conform" constrainedElement="InformationFlow" namespace="InformationFlow">
        <ownedComment xmi:type="cmof:Comment" xmi:id="InformationFlow-must_conform-_ownedComment.0" annotatedElement="InformationFlow-must_conform">
          <body>The sources and targets of the information flow must conform with the sources and targets or conversely the targets and sources of the realization relationships.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="InformationFlow-must_conform-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="InformationFlow-convey_classifiers" name="convey_classifiers" constrainedElement="InformationFlow" namespace="InformationFlow">
        <ownedComment xmi:type="cmof:Comment" xmi:id="InformationFlow-convey_classifiers-_ownedComment.0" annotatedElement="InformationFlow-convey_classifiers">
          <body>An information flow can only convey classifiers that are allowed to represent an information item.&#xD;
</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="InformationFlow-convey_classifiers-_specification">
          <language>OCL</language>
          <body>self.conveyed.represented->forAll(p | p->oclIsKindOf(Class) or oclIsKindOf(Interface)&#xD;&#xA;  or oclIsKindOf(InformationItem) or oclIsKindOf(Signal) or oclIsKindOf(Component))</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="InformationFlow-realization" name="realization" type="Relationship" upper="*" lower="0" association="A_realization_abstraction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="InformationFlow-realization-_ownedComment.0" annotatedElement="InformationFlow-realization">
          <body>Determines which Relationship will realize the specified flow</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="InformationFlow-conveyed" name="conveyed" type="Classifier" upper="*" association="A_conveyed_informationFlow">
        <ownedComment xmi:type="cmof:Comment" xmi:id="InformationFlow-conveyed-_ownedComment.0" annotatedElement="InformationFlow-conveyed">
          <body>Specifies the information items that may circulate on this information flow.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="InformationFlow-informationSource" name="informationSource" type="NamedElement" upper="*" subsettedProperty="DirectedRelationship-source" association="A_informationSource_informationFlow">
        <ownedComment xmi:type="cmof:Comment" xmi:id="InformationFlow-informationSource-_ownedComment.0" annotatedElement="InformationFlow-informationSource">
          <body>Defines from which source the conveyed InformationItems are initiated.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="InformationFlow-informationTarget" name="informationTarget" type="NamedElement" upper="*" subsettedProperty="DirectedRelationship-target" association="A_informationTarget_informationFlow">
        <ownedComment xmi:type="cmof:Comment" xmi:id="InformationFlow-informationTarget-_ownedComment.0" annotatedElement="InformationFlow-informationTarget">
          <body>Defines to which target the conveyed InformationItems are directed.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="InformationFlow-realizingActivityEdge" name="realizingActivityEdge" type="ActivityEdge" upper="*" lower="0" association="A_realizingActivityEdge_informationFlow">
        <ownedComment xmi:type="cmof:Comment" xmi:id="InformationFlow-realizingActivityEdge-_ownedComment.0" annotatedElement="InformationFlow-realizingActivityEdge">
          <body>Determines which ActivityEdges will realize the specified flow.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="InformationFlow-realizingConnector" name="realizingConnector" type="Connector" upper="*" lower="0" association="A_realizingConnector_informationFlow">
        <ownedComment xmi:type="cmof:Comment" xmi:id="InformationFlow-realizingConnector-_ownedComment.0" annotatedElement="InformationFlow-realizingConnector">
          <body>Determines which Connectors will realize the specified flow.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="InformationFlow-realizingMessage" name="realizingMessage" type="Message" upper="*" lower="0" association="A_realizingMessage_informationFlow">
        <ownedComment xmi:type="cmof:Comment" xmi:id="InformationFlow-realizingMessage-_ownedComment.0" annotatedElement="InformationFlow-realizingMessage">
          <body>Determines which Messages will realize the specified flow.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_realization_abstraction" name="A_realization_abstraction" visibility="private" memberEnd="InformationFlow-realization A_realization_abstraction-abstraction">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_realization_abstraction-abstraction" name="abstraction" type="InformationFlow" upper="*" lower="0" owningAssociation="A_realization_abstraction" association="A_realization_abstraction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_represented_representation" name="A_represented_representation" visibility="private" memberEnd="InformationItem-represented A_represented_representation-representation">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_represented_representation-representation" name="representation" type="InformationItem" upper="*" lower="0" owningAssociation="A_represented_representation" association="A_represented_representation"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_conveyed_informationFlow" name="A_conveyed_informationFlow" visibility="private" memberEnd="InformationFlow-conveyed A_conveyed_informationFlow-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_conveyed_informationFlow-_ownedEnd.0" type="InformationFlow" upper="*" lower="0" owningAssociation="A_conveyed_informationFlow" association="A_conveyed_informationFlow"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_informationSource_informationFlow" name="A_informationSource_informationFlow" visibility="private" memberEnd="InformationFlow-informationSource A_informationSource_informationFlow-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_informationSource_informationFlow-_ownedEnd.0" type="InformationFlow" upper="*" lower="0" owningAssociation="A_informationSource_informationFlow" association="A_informationSource_informationFlow"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_informationTarget_informationFlow" name="A_informationTarget_informationFlow" visibility="private" memberEnd="InformationFlow-informationTarget A_informationTarget_informationFlow-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_informationTarget_informationFlow-_ownedEnd.0" type="InformationFlow" upper="*" lower="0" owningAssociation="A_informationTarget_informationFlow" association="A_informationTarget_informationFlow"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_realizingActivityEdge_informationFlow" name="A_realizingActivityEdge_informationFlow" visibility="private" memberEnd="InformationFlow-realizingActivityEdge A_realizingActivityEdge_informationFlow-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_realizingActivityEdge_informationFlow-_ownedEnd.0" type="InformationFlow" upper="*" lower="0" owningAssociation="A_realizingActivityEdge_informationFlow" association="A_realizingActivityEdge_informationFlow"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_realizingConnector_informationFlow" name="A_realizingConnector_informationFlow" visibility="private" memberEnd="InformationFlow-realizingConnector A_realizingConnector_informationFlow-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_realizingConnector_informationFlow-_ownedEnd.0" type="InformationFlow" upper="*" lower="0" owningAssociation="A_realizingConnector_informationFlow" association="A_realizingConnector_informationFlow"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_realizingMessage_informationFlow" name="A_realizingMessage_informationFlow" visibility="private" memberEnd="InformationFlow-realizingMessage A_realizingMessage_informationFlow-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_realizingMessage_informationFlow-_ownedEnd.0" type="InformationFlow" upper="*" lower="0" owningAssociation="A_realizingMessage_informationFlow" association="A_realizingMessage_informationFlow"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="OpaqueAction" name="OpaqueAction" superClass="Action">
      <ownedComment xmi:type="cmof:Comment" xmi:id="OpaqueAction-_ownedComment.0" annotatedElement="OpaqueAction">
        <body>An action with implementation-specific semantics.</body>
      </ownedComment>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="OpaqueAction-body" name="body" type="String" isOrdered="true" upper="*" lower="0" isComposite="true">
        <ownedComment xmi:type="cmof:Comment" xmi:id="OpaqueAction-body-_ownedComment.0" annotatedElement="OpaqueAction-body">
          <body>Specifies the action in one or more languages.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="OpaqueAction-language" name="language" type="String" isOrdered="true" upper="*" lower="0" isComposite="true">
        <ownedComment xmi:type="cmof:Comment" xmi:id="OpaqueAction-language-_ownedComment.0" annotatedElement="OpaqueAction-language">
          <body>Languages the body strings use, in the same order as the body strings</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="OpaqueAction-inputValue" name="inputValue" type="InputPin" upper="*" lower="0" isComposite="true" subsettedProperty="Action-input" association="A_inputValue_opaqueAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="OpaqueAction-inputValue-_ownedComment.0" annotatedElement="OpaqueAction-inputValue">
          <body>Provides input to the action.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="OpaqueAction-outputValue" name="outputValue" type="OutputPin" upper="*" lower="0" isComposite="true" subsettedProperty="Action-output" association="A_outputValue_opaqueAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="OpaqueAction-outputValue-_ownedComment.0" annotatedElement="OpaqueAction-outputValue">
          <body>Takes output from the action.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="InvocationAction" name="InvocationAction" isAbstract="true" superClass="Action">
      <ownedComment xmi:type="cmof:Comment" xmi:id="InvocationAction-_ownedComment.0" annotatedElement="InvocationAction">
        <body>InvocationAction is an abstract class for the various actions that invoke behavior.</body>
      </ownedComment>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="InvocationAction-argument" name="argument" type="InputPin" isOrdered="true" upper="*" lower="0" isComposite="true" subsettedProperty="Action-input" association="A_argument_invocationAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="InvocationAction-argument-_ownedComment.0" annotatedElement="InvocationAction-argument">
          <body>Specification of the ordered set of argument values that appears during execution.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="CallAction" name="CallAction" isAbstract="true" superClass="InvocationAction">
      <ownedComment xmi:type="cmof:Comment" xmi:id="CallAction-_ownedComment.0" annotatedElement="CallAction">
        <body>CallAction is an abstract class for actions that invoke behavior and receive return values.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="CallAction-synchronous_call" name="synchronous_call" constrainedElement="CallAction" namespace="CallAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="CallAction-synchronous_call-_ownedComment.0" annotatedElement="CallAction-synchronous_call">
          <body>Only synchronous call actions can have result pins.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="CallAction-synchronous_call-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="CallAction-number_and_order" name="number_and_order" constrainedElement="CallAction" namespace="CallAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="CallAction-number_and_order-_ownedComment.0" annotatedElement="CallAction-number_and_order">
          <body>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.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="CallAction-number_and_order-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="CallAction-type_ordering_multiplicity" name="type_ordering_multiplicity" constrainedElement="CallAction" namespace="CallAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="CallAction-type_ordering_multiplicity-_ownedComment.0" annotatedElement="CallAction-type_ordering_multiplicity">
          <body>The type, ordering, and multiplicity of an argument pin must be the same as the corresponding parameter of the behavior or behavioral feature.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="CallAction-type_ordering_multiplicity-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="CallAction-isSynchronous" name="isSynchronous" type="Boolean" default="true">
        <ownedComment xmi:type="cmof:Comment" xmi:id="CallAction-isSynchronous-_ownedComment.0" annotatedElement="CallAction-isSynchronous">
          <body>If true, the call is synchronous and the caller waits for completion of the invoked behavior.&#xD;
If false, the call is asynchronous and the caller proceeds immediately and does not expect a return values.&#xD;
</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="CallAction-result" name="result" type="OutputPin" isOrdered="true" upper="*" lower="0" isComposite="true" subsettedProperty="Action-output" association="A_result_callAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="CallAction-result-_ownedComment.0" annotatedElement="CallAction-result">
          <body>A list of output pins where the results of performing the invocation are placed.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="SendSignalAction" name="SendSignalAction" superClass="InvocationAction">
      <ownedComment xmi:type="cmof:Comment" xmi:id="SendSignalAction-_ownedComment.0" annotatedElement="SendSignalAction">
        <body>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.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="SendSignalAction-number_order" name="number_order" constrainedElement="SendSignalAction" namespace="SendSignalAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="SendSignalAction-number_order-_ownedComment.0" annotatedElement="SendSignalAction-number_order">
          <body>The number and order of argument pins must be the same as the number and order of attributes in the signal.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="SendSignalAction-number_order-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="SendSignalAction-type_ordering_multiplicity" name="type_ordering_multiplicity" constrainedElement="SendSignalAction" namespace="SendSignalAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="SendSignalAction-type_ordering_multiplicity-_ownedComment.0" annotatedElement="SendSignalAction-type_ordering_multiplicity">
          <body>The type, ordering, and multiplicity of an argument pin must be the same as the corresponding attribute of the signal.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="SendSignalAction-type_ordering_multiplicity-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="SendSignalAction-target" name="target" type="InputPin" isComposite="true" subsettedProperty="Action-input" association="A_target_sendSignalAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="SendSignalAction-target-_ownedComment.0" annotatedElement="SendSignalAction-target">
          <body>The target object to which the signal is sent.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="SendSignalAction-signal" name="signal" type="Signal" association="A_signal_sendSignalAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="SendSignalAction-signal-_ownedComment.0" annotatedElement="SendSignalAction-signal">
          <body>The type of signal transmitted to the target object.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="CallOperationAction" name="CallOperationAction" superClass="CallAction">
      <ownedComment xmi:type="cmof:Comment" xmi:id="CallOperationAction-_ownedComment.0" annotatedElement="CallOperationAction">
        <body>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.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="CallOperationAction-argument_pin_equal_parameter" name="argument_pin_equal_parameter" constrainedElement="CallOperationAction" namespace="CallOperationAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="CallOperationAction-argument_pin_equal_parameter-_ownedComment.0" annotatedElement="CallOperationAction-argument_pin_equal_parameter">
          <body>The number of argument pins and the number of owned parameters of the operation of type in and in-out must be equal.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="CallOperationAction-argument_pin_equal_parameter-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="CallOperationAction-result_pin_equal_parameter" name="result_pin_equal_parameter" constrainedElement="CallOperationAction" namespace="CallOperationAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="CallOperationAction-result_pin_equal_parameter-_ownedComment.0" annotatedElement="CallOperationAction-result_pin_equal_parameter">
          <body>The number of result pins and the number of owned parameters of the operation of type return, out, and in-out must be equal.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="CallOperationAction-result_pin_equal_parameter-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="CallOperationAction-type_ordering_multiplicity" name="type_ordering_multiplicity" constrainedElement="CallOperationAction" namespace="CallOperationAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="CallOperationAction-type_ordering_multiplicity-_ownedComment.0" annotatedElement="CallOperationAction-type_ordering_multiplicity">
          <body>The type, ordering, and multiplicity of an argument or result pin is derived from the corresponding owned parameter of the operation.&#xD;
</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="CallOperationAction-type_ordering_multiplicity-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="CallOperationAction-type_target_pin" name="type_target_pin" constrainedElement="CallOperationAction" namespace="CallOperationAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="CallOperationAction-type_target_pin-_ownedComment.0" annotatedElement="CallOperationAction-type_target_pin">
          <body>The type of the target pin must be the same as the type that owns the operation.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="CallOperationAction-type_target_pin-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="CallOperationAction-operation" name="operation" type="Operation" association="A_operation_callOperationAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="CallOperationAction-operation-_ownedComment.0" annotatedElement="CallOperationAction-operation">
          <body>The operation to be invoked by the action execution.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="CallOperationAction-target" name="target" type="InputPin" isComposite="true" subsettedProperty="Action-input" association="A_target_callOperationAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="CallOperationAction-target-_ownedComment.0" annotatedElement="CallOperationAction-target">
          <body>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.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="CallBehaviorAction" name="CallBehaviorAction" superClass="CallAction">
      <ownedComment xmi:type="cmof:Comment" xmi:id="CallBehaviorAction-_ownedComment.0" annotatedElement="CallBehaviorAction">
        <body>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.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="CallBehaviorAction-argument_pin_equal_parameter" name="argument_pin_equal_parameter" constrainedElement="CallBehaviorAction" namespace="CallBehaviorAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="CallBehaviorAction-argument_pin_equal_parameter-_ownedComment.0" annotatedElement="CallBehaviorAction-argument_pin_equal_parameter">
          <body>The number of argument pins and the number of parameters of the behavior of type in and in-out must be equal.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="CallBehaviorAction-argument_pin_equal_parameter-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="CallBehaviorAction-result_pin_equal_parameter" name="result_pin_equal_parameter" constrainedElement="CallBehaviorAction" namespace="CallBehaviorAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="CallBehaviorAction-result_pin_equal_parameter-_ownedComment.0" annotatedElement="CallBehaviorAction-result_pin_equal_parameter">
          <body>The number of result pins and the number of parameters of the behavior of type return, out, and in-out must be equal.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="CallBehaviorAction-result_pin_equal_parameter-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="CallBehaviorAction-type_ordering_multiplicity" name="type_ordering_multiplicity" constrainedElement="CallBehaviorAction" namespace="CallBehaviorAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="CallBehaviorAction-type_ordering_multiplicity-_ownedComment.0" annotatedElement="CallBehaviorAction-type_ordering_multiplicity">
          <body>The type, ordering, and multiplicity of an argument or result pin is derived from the corresponding parameter of the behavior.&#xD;
</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="CallBehaviorAction-type_ordering_multiplicity-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="CallBehaviorAction-behavior" name="behavior" type="Behavior" association="A_behavior_callBehaviorAction">
        <ownedComment xmi:type="cmof:Comment" xmi:id="CallBehaviorAction-behavior-_ownedComment.0" annotatedElement="CallBehaviorAction-behavior">
          <body>The invoked behavior. It must be capable of accepting and returning control.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="MultiplicityElement" name="MultiplicityElement" isAbstract="true" superClass="Element">
      <ownedComment xmi:type="cmof:Comment" xmi:id="MultiplicityElement-_ownedComment.0" annotatedElement="MultiplicityElement">
        <body>A multiplicity is a definition of an inclusive interval of non-negative integers beginning with a lower bound and ending with a (possibly infinite) upper bound. A multiplicity element embeds this information to specify the allowable cardinalities for an instantiation of this element.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="MultiplicityElement-upper_gt_0" name="upper_gt_0" constrainedElement="MultiplicityElement" namespace="MultiplicityElement">
        <ownedComment xmi:type="cmof:Comment" xmi:id="MultiplicityElement-upper_gt_0-_ownedComment.0" annotatedElement="MultiplicityElement-upper_gt_0">
          <body>A multiplicity must define at least one valid cardinality that is greater than zero.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="MultiplicityElement-upper_gt_0-_specification">
          <language>OCL</language>
          <body>upperBound()->notEmpty() implies upperBound() > 0</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="MultiplicityElement-lower_ge_0" name="lower_ge_0" constrainedElement="MultiplicityElement" namespace="MultiplicityElement">
        <ownedComment xmi:type="cmof:Comment" xmi:id="MultiplicityElement-lower_ge_0-_ownedComment.0" annotatedElement="MultiplicityElement-lower_ge_0">
          <body>The lower bound must be a non-negative integer literal.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="MultiplicityElement-lower_ge_0-_specification">
          <language>OCL</language>
          <body>lowerBound()->notEmpty() implies lowerBound() >= 0</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="MultiplicityElement-upper_ge_lower" name="upper_ge_lower" constrainedElement="MultiplicityElement" namespace="MultiplicityElement">
        <ownedComment xmi:type="cmof:Comment" xmi:id="MultiplicityElement-upper_ge_lower-_ownedComment.0" annotatedElement="MultiplicityElement-upper_ge_lower">
          <body>The upper bound must be greater than or equal to the lower bound.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="MultiplicityElement-upper_ge_lower-_specification">
          <language>OCL</language>
          <body>(upperBound()->notEmpty() and lowerBound()->notEmpty()) implies upperBound() >= lowerBound()</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="MultiplicityElement-value_specification_no_side_effects" name="value_specification_no_side_effects" constrainedElement="MultiplicityElement" namespace="MultiplicityElement">
        <ownedComment xmi:type="cmof:Comment" xmi:id="MultiplicityElement-value_specification_no_side_effects-_ownedComment.0" annotatedElement="MultiplicityElement-value_specification_no_side_effects">
          <body>If a non-literal ValueSpecification is used for the lower or upper bound, then evaluating that specification must not have side effects.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="MultiplicityElement-value_specification_no_side_effects-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="MultiplicityElement-value_specification_constant" name="value_specification_constant" constrainedElement="MultiplicityElement" namespace="MultiplicityElement">
        <ownedComment xmi:type="cmof:Comment" xmi:id="MultiplicityElement-value_specification_constant-_ownedComment.0" annotatedElement="MultiplicityElement-value_specification_constant">
          <body>If a non-literal ValueSpecification is used for the lower or upper bound, then that specification must be a constant expression.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="MultiplicityElement-value_specification_constant-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="MultiplicityElement-isOrdered" name="isOrdered" type="Boolean" default="false">
        <ownedComment xmi:type="cmof:Comment" xmi:id="MultiplicityElement-isOrdered-_ownedComment.0" annotatedElement="MultiplicityElement-isOrdered">
          <body>For a multivalued multiplicity, this attribute specifies whether the values in an instantiation of this element are sequentially ordered.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="MultiplicityElement-isUnique" name="isUnique" type="Boolean" default="true">
        <ownedComment xmi:type="cmof:Comment" xmi:id="MultiplicityElement-isUnique-_ownedComment.0" annotatedElement="MultiplicityElement-isUnique">
          <body>For a multivalued multiplicity, this attributes specifies whether the values in an instantiation of this element are unique.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="MultiplicityElement-upper" name="upper" type="UnlimitedNatural" lower="0" isDerived="true" default="1">
        <ownedComment xmi:type="cmof:Comment" xmi:id="MultiplicityElement-upper-_ownedComment.0" annotatedElement="MultiplicityElement-upper">
          <body>Specifies the upper bound of the multiplicity interval.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="MultiplicityElement-lower" name="lower" type="Integer" lower="0" isDerived="true" default="1">
        <ownedComment xmi:type="cmof:Comment" xmi:id="MultiplicityElement-lower-_ownedComment.0" annotatedElement="MultiplicityElement-lower">
          <body>Specifies the lower bound of the multiplicity interval.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="MultiplicityElement-upperValue" name="upperValue" type="ValueSpecification" lower="0" isComposite="true" subsettedProperty="Element-ownedElement" association="A_upperValue_owningUpper">
        <ownedComment xmi:type="cmof:Comment" xmi:id="MultiplicityElement-upperValue-_ownedComment.0" annotatedElement="MultiplicityElement-upperValue">
          <body>The specification of the upper bound for this multiplicity.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="MultiplicityElement-lowerValue" name="lowerValue" type="ValueSpecification" lower="0" isComposite="true" subsettedProperty="Element-ownedElement" association="A_lowerValue_owningLower">
        <ownedComment xmi:type="cmof:Comment" xmi:id="MultiplicityElement-lowerValue-_ownedComment.0" annotatedElement="MultiplicityElement-lowerValue">
          <body>The specification of the lower bound for this multiplicity.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="MultiplicityElement-lower.1" name="lower" class="MultiplicityElement" isQuery="true" bodyCondition="MultiplicityElement-lower.1-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="MultiplicityElement-lower.1-_ownedComment.0" annotatedElement="MultiplicityElement-lower.1">
          <body>The derived lower attribute must equal the lowerBound.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="MultiplicityElement-lower.1-spec" name="spec" constrainedElement="MultiplicityElement-lower.1 MultiplicityElement-lower" namespace="MultiplicityElement-lower.1">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="MultiplicityElement-lower.1-spec-_specification">
            <language>OCL</language>
            <body>result = lowerBound()</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="MultiplicityElement-lower.1-_ownedParameter.0" type="Integer" direction="return"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="MultiplicityElement-upper.1" name="upper" class="MultiplicityElement" isQuery="true" bodyCondition="MultiplicityElement-upper.1-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="MultiplicityElement-upper.1-_ownedComment.0" annotatedElement="MultiplicityElement-upper.1">
          <body>The derived upper attribute must equal the upperBound.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="MultiplicityElement-upper.1-spec" name="spec" constrainedElement="MultiplicityElement-upper.1 MultiplicityElement-upper" namespace="MultiplicityElement-upper.1">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="MultiplicityElement-upper.1-spec-_specification">
            <language>OCL</language>
            <body>result = upperBound()</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="MultiplicityElement-upper.1-_ownedParameter.0" type="UnlimitedNatural" direction="return"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="MultiplicityElement-isMultivalued" name="isMultivalued" class="MultiplicityElement" isQuery="true" precondition="MultiplicityElement-isMultivalued-_ownedRule.0" bodyCondition="MultiplicityElement-isMultivalued-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="MultiplicityElement-isMultivalued-_ownedComment.0" annotatedElement="MultiplicityElement-isMultivalued">
          <body>The query isMultivalued() checks whether this multiplicity has an upper bound greater than one.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="MultiplicityElement-isMultivalued-_ownedRule.0" constrainedElement="MultiplicityElement-isMultivalued" namespace="MultiplicityElement-isMultivalued">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="MultiplicityElement-isMultivalued-_ownedRule.0-_specification">
            <language>OCL</language>
            <body>upperBound()->notEmpty()</body>
          </specification>
        </ownedRule>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="MultiplicityElement-isMultivalued-spec" name="spec" constrainedElement="MultiplicityElement-isMultivalued" namespace="MultiplicityElement-isMultivalued">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="MultiplicityElement-isMultivalued-spec-_specification">
            <language>OCL</language>
            <body>result = upperBound() > 1</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="MultiplicityElement-isMultivalued-_ownedParameter.0" type="Boolean" direction="return"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="MultiplicityElement-includesCardinality" name="includesCardinality" class="MultiplicityElement" isQuery="true" precondition="MultiplicityElement-includesCardinality-_ownedRule.0" bodyCondition="MultiplicityElement-includesCardinality-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="MultiplicityElement-includesCardinality-_ownedComment.0" annotatedElement="MultiplicityElement-includesCardinality">
          <body>The query includesCardinality() checks whether the specified cardinality is valid for this multiplicity.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="MultiplicityElement-includesCardinality-_ownedRule.0" constrainedElement="MultiplicityElement-includesCardinality" namespace="MultiplicityElement-includesCardinality">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="MultiplicityElement-includesCardinality-_ownedRule.0-_specification">
            <language>OCL</language>
            <body>upperBound()->notEmpty() and lowerBound()->notEmpty()</body>
          </specification>
        </ownedRule>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="MultiplicityElement-includesCardinality-spec" name="spec" constrainedElement="MultiplicityElement-includesCardinality" namespace="MultiplicityElement-includesCardinality">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="MultiplicityElement-includesCardinality-spec-_specification">
            <language>OCL</language>
            <body>result = (lowerBound() &lt;= C) and (upperBound() >= C)</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="MultiplicityElement-includesCardinality-_ownedParameter.0" type="Boolean" direction="return"/>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="MultiplicityElement-includesCardinality-C" name="C" type="Integer"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="MultiplicityElement-includesMultiplicity" name="includesMultiplicity" class="MultiplicityElement" isQuery="true" precondition="MultiplicityElement-includesMultiplicity-_ownedRule.0" bodyCondition="MultiplicityElement-includesMultiplicity-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="MultiplicityElement-includesMultiplicity-_ownedComment.0" annotatedElement="MultiplicityElement-includesMultiplicity">
          <body>The query includesMultiplicity() checks whether this multiplicity includes all the cardinalities allowed by the specified multiplicity.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="MultiplicityElement-includesMultiplicity-_ownedRule.0" constrainedElement="MultiplicityElement-includesMultiplicity" namespace="MultiplicityElement-includesMultiplicity">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="MultiplicityElement-includesMultiplicity-_ownedRule.0-_specification">
            <language>OCL</language>
            <body>self.upperBound()->notEmpty() and self.lowerBound()->notEmpty() and M.upperBound()->notEmpty() and M.lowerBound()->notEmpty()</body>
          </specification>
        </ownedRule>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="MultiplicityElement-includesMultiplicity-spec" name="spec" constrainedElement="MultiplicityElement-includesMultiplicity" namespace="MultiplicityElement-includesMultiplicity">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="MultiplicityElement-includesMultiplicity-spec-_specification">
            <language>OCL</language>
            <body>result = (self.lowerBound() &lt;= M.lowerBound()) and (self.upperBound() >= M.upperBound())</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="MultiplicityElement-includesMultiplicity-_ownedParameter.0" type="Boolean" direction="return"/>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="MultiplicityElement-includesMultiplicity-M" name="M" type="MultiplicityElement"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="MultiplicityElement-lowerBound" name="lowerBound" class="MultiplicityElement" isQuery="true" bodyCondition="MultiplicityElement-lowerBound-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="MultiplicityElement-lowerBound-_ownedComment.0" annotatedElement="MultiplicityElement-lowerBound">
          <body>The query lowerBound() returns the lower bound of the multiplicity as an integer.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="MultiplicityElement-lowerBound-spec" name="spec" constrainedElement="MultiplicityElement-lowerBound" namespace="MultiplicityElement-lowerBound">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="MultiplicityElement-lowerBound-spec-_specification">
            <language>OCL</language>
            <body>result = if lowerValue->isEmpty() then 1 else lowerValue.integerValue() endif</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="MultiplicityElement-lowerBound-_ownedParameter.0" type="Integer" direction="return"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="MultiplicityElement-upperBound" name="upperBound" class="MultiplicityElement" isQuery="true" bodyCondition="MultiplicityElement-upperBound-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="MultiplicityElement-upperBound-_ownedComment.0" annotatedElement="MultiplicityElement-upperBound">
          <body>The query upperBound() returns the upper bound of the multiplicity for a bounded multiplicity as an unlimited natural.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="MultiplicityElement-upperBound-spec" name="spec" constrainedElement="MultiplicityElement-upperBound" namespace="MultiplicityElement-upperBound">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="MultiplicityElement-upperBound-spec-_specification">
            <language>OCL</language>
            <body>result = if upperValue->isEmpty() then 1 else upperValue.unlimitedValue() endif</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="MultiplicityElement-upperBound-_ownedParameter.0" type="UnlimitedNatural" direction="return"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="MultiplicityElement-compatibleWith" name="compatibleWith" class="MultiplicityElement" isQuery="true" bodyCondition="MultiplicityElement-compatibleWith-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="MultiplicityElement-compatibleWith-_ownedComment.0" annotatedElement="MultiplicityElement-compatibleWith">
          <body>The operation compatibleWith takes another multiplicity as input. It checks if one multiplicity is compatible with another.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="MultiplicityElement-compatibleWith-spec" name="spec" constrainedElement="MultiplicityElement-compatibleWith" namespace="MultiplicityElement-compatibleWith">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="MultiplicityElement-compatibleWith-spec-_specification">
            <language>OCL</language>
            <body>result = Integer.allInstances()->forAll(i : Integer | self.includesCardinality(i) implies other.includesCardinality(i))</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="MultiplicityElement-compatibleWith-_ownedParameter.0" type="Boolean" direction="return"/>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="MultiplicityElement-compatibleWith-other" name="other" type="MultiplicityElement"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="MultiplicityElement-is" name="is" class="MultiplicityElement" isQuery="true" bodyCondition="MultiplicityElement-is-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="MultiplicityElement-is-_ownedComment.0" annotatedElement="MultiplicityElement-is">
          <body>The operation is determines if the upper and lower bound of the ranges are the ones given.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="MultiplicityElement-is-spec" name="spec" constrainedElement="MultiplicityElement-is" namespace="MultiplicityElement-is">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="MultiplicityElement-is-spec-_specification">
            <language>OCL</language>
            <body>result = (lowerbound = self.lowerbound and upperbound = self.upperbound)</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="MultiplicityElement-is-_ownedParameter.0" type="Boolean" direction="return"/>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="MultiplicityElement-is-lowerbound" name="lowerbound" type="Integer"/>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="MultiplicityElement-is-upperbound" name="upperbound" type="Integer"/>
      </ownedOperation>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_behavior_callBehaviorAction" name="A_behavior_callBehaviorAction" visibility="private" memberEnd="CallBehaviorAction-behavior A_behavior_callBehaviorAction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_behavior_callBehaviorAction-_ownedEnd.0" type="CallBehaviorAction" upper="*" lower="0" owningAssociation="A_behavior_callBehaviorAction" association="A_behavior_callBehaviorAction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_operation_callOperationAction" name="A_operation_callOperationAction" visibility="private" memberEnd="CallOperationAction-operation A_operation_callOperationAction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_operation_callOperationAction-_ownedEnd.0" type="CallOperationAction" upper="*" lower="0" owningAssociation="A_operation_callOperationAction" association="A_operation_callOperationAction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_target_callOperationAction" name="A_target_callOperationAction" visibility="private" memberEnd="CallOperationAction-target A_target_callOperationAction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_target_callOperationAction-_ownedEnd.0" type="CallOperationAction" lower="0" owningAssociation="A_target_callOperationAction" association="A_target_callOperationAction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_target_sendSignalAction" name="A_target_sendSignalAction" visibility="private" memberEnd="SendSignalAction-target A_target_sendSignalAction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_target_sendSignalAction-_ownedEnd.0" type="SendSignalAction" lower="0" owningAssociation="A_target_sendSignalAction" association="A_target_sendSignalAction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_signal_sendSignalAction" name="A_signal_sendSignalAction" visibility="private" memberEnd="SendSignalAction-signal A_signal_sendSignalAction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_signal_sendSignalAction-_ownedEnd.0" type="SendSignalAction" upper="*" lower="0" owningAssociation="A_signal_sendSignalAction" association="A_signal_sendSignalAction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_result_callAction" name="A_result_callAction" visibility="private" memberEnd="CallAction-result A_result_callAction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_result_callAction-_ownedEnd.0" type="CallAction" lower="0" owningAssociation="A_result_callAction" association="A_result_callAction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_argument_invocationAction" name="A_argument_invocationAction" visibility="private" memberEnd="InvocationAction-argument A_argument_invocationAction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_argument_invocationAction-_ownedEnd.0" type="InvocationAction" lower="0" owningAssociation="A_argument_invocationAction" association="A_argument_invocationAction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_action_output" name="A_action_output" visibility="private" memberEnd="A_action_output-_ownedEnd.0 Action-output">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_action_output-_ownedEnd.0" type="Action" lower="0" owningAssociation="A_action_output" association="A_action_output"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_action_input" name="A_action_input" visibility="private" memberEnd="A_action_input-_ownedEnd.0 Action-input">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_action_input-_ownedEnd.0" type="Action" lower="0" owningAssociation="A_action_input" association="A_action_input"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_value_valuePin" name="A_value_valuePin" visibility="private" memberEnd="ValuePin-value A_value_valuePin-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_value_valuePin-_ownedEnd.0" type="ValuePin" lower="0" owningAssociation="A_value_valuePin" association="A_value_valuePin"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_context_action" name="A_context_action" visibility="private" memberEnd="Action-context A_context_action-_ownedEnd.0" isDerived="true">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_context_action-_ownedEnd.0" type="Action" upper="*" lower="0" owningAssociation="A_context_action" association="A_context_action"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_inputValue_opaqueAction" name="A_inputValue_opaqueAction" visibility="private" memberEnd="OpaqueAction-inputValue A_inputValue_opaqueAction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_inputValue_opaqueAction-_ownedEnd.0" type="OpaqueAction" lower="0" owningAssociation="A_inputValue_opaqueAction" association="A_inputValue_opaqueAction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_outputValue_opaqueAction" name="A_outputValue_opaqueAction" visibility="private" memberEnd="OpaqueAction-outputValue A_outputValue_opaqueAction-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_outputValue_opaqueAction-_ownedEnd.0" type="OpaqueAction" lower="0" owningAssociation="A_outputValue_opaqueAction" association="A_outputValue_opaqueAction"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_subgroup_superGroup" name="A_subgroup_superGroup" visibility="private" memberEnd="ActivityGroup-subgroup ActivityGroup-superGroup"/>
    <ownedMember xmi:type="cmof:Class" xmi:id="ControlNode" name="ControlNode" isAbstract="true" superClass="ActivityNode">
      <ownedComment xmi:type="cmof:Comment" xmi:id="ControlNode-_ownedComment.0" annotatedElement="ControlNode">
        <body>A control node is an abstract activity node that coordinates flows in an activity.</body>
      </ownedComment>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="ControlFlow" name="ControlFlow" superClass="ActivityEdge">
      <ownedComment xmi:type="cmof:Comment" xmi:id="ControlFlow-_ownedComment.0" annotatedElement="ControlFlow">
        <body>A control flow is an edge that starts an activity node after the previous one is finished.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ControlFlow-object_nodes" name="object_nodes" constrainedElement="ControlFlow" namespace="ControlFlow">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ControlFlow-object_nodes-_ownedComment.0" annotatedElement="ControlFlow-object_nodes">
          <body>Control flows may not have object nodes at either end, except for object nodes with control type.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ControlFlow-object_nodes-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="InitialNode" name="InitialNode" superClass="ControlNode">
      <ownedComment xmi:type="cmof:Comment" xmi:id="InitialNode-_ownedComment.0" annotatedElement="InitialNode">
        <body>An initial node is a control node at which flow starts when the activity is invoked.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="InitialNode-no_incoming_edges" name="no_incoming_edges" constrainedElement="InitialNode" namespace="InitialNode">
        <ownedComment xmi:type="cmof:Comment" xmi:id="InitialNode-no_incoming_edges-_ownedComment.0" annotatedElement="InitialNode-no_incoming_edges">
          <body>An initial node has no incoming edges.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="InitialNode-no_incoming_edges-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="InitialNode-control_edges" name="control_edges" constrainedElement="InitialNode" namespace="InitialNode">
        <ownedComment xmi:type="cmof:Comment" xmi:id="InitialNode-control_edges-_ownedComment.0" annotatedElement="InitialNode-control_edges">
          <body>Only control edges can have initial nodes as source.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="InitialNode-control_edges-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="ActivityParameterNode" name="ActivityParameterNode" superClass="ObjectNode">
      <ownedComment xmi:type="cmof:Comment" xmi:id="ActivityParameterNode-_ownedComment.0" annotatedElement="ActivityParameterNode">
        <body>An activity parameter node is an object node for inputs and outputs to activities.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ActivityParameterNode-has_parameters" name="has_parameters" constrainedElement="ActivityParameterNode" namespace="ActivityParameterNode">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ActivityParameterNode-has_parameters-_ownedComment.0" annotatedElement="ActivityParameterNode-has_parameters">
          <body>Activity parameter nodes must have parameters from the containing activity.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ActivityParameterNode-has_parameters-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ActivityParameterNode-same_type" name="same_type" constrainedElement="ActivityParameterNode" namespace="ActivityParameterNode">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ActivityParameterNode-same_type-_ownedComment.0" annotatedElement="ActivityParameterNode-same_type">
          <body>The type of an activity parameter node is the same as the type of its parameter.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ActivityParameterNode-same_type-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ActivityParameterNode-no_edges" name="no_edges" constrainedElement="ActivityParameterNode" namespace="ActivityParameterNode">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ActivityParameterNode-no_edges-_ownedComment.0" annotatedElement="ActivityParameterNode-no_edges">
          <body>An activity parameter node may have all incoming edges or all outgoing edges, but it must not have both incoming and outgoing edges.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ActivityParameterNode-no_edges-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ActivityParameterNode-no_incoming_edges" name="no_incoming_edges" constrainedElement="ActivityParameterNode" namespace="ActivityParameterNode">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ActivityParameterNode-no_incoming_edges-_ownedComment.0" annotatedElement="ActivityParameterNode-no_incoming_edges">
          <body>Activity parameter object nodes with no incoming edges and one or more outgoing edges must have a parameter with in or inout direction.&#xD;
</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ActivityParameterNode-no_incoming_edges-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ActivityParameterNode-no_outgoing_edges" name="no_outgoing_edges" constrainedElement="ActivityParameterNode" namespace="ActivityParameterNode">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ActivityParameterNode-no_outgoing_edges-_ownedComment.0" annotatedElement="ActivityParameterNode-no_outgoing_edges">
          <body>Activity parameter object nodes with no outgoing edges and one or more incoming edges must have a parameter with out, inout, or return direction.&#xD;
</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ActivityParameterNode-no_outgoing_edges-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ActivityParameterNode-parameter" name="parameter" type="Parameter" association="A_parameter_activityParameterNode">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ActivityParameterNode-parameter-_ownedComment.0" annotatedElement="ActivityParameterNode-parameter">
          <body>The parameter the object node will be accepting or providing values for.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="ValuePin" name="ValuePin" superClass="InputPin">
      <ownedComment xmi:type="cmof:Comment" xmi:id="ValuePin-_ownedComment.0" annotatedElement="ValuePin">
        <body>A value pin is an input pin that provides a value by evaluating a value specification.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ValuePin-compatible_type" name="compatible_type" constrainedElement="ValuePin" namespace="ValuePin">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ValuePin-compatible_type-_ownedComment.0" annotatedElement="ValuePin-compatible_type">
          <body>The type of value specification must be compatible with the type of the value pin.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ValuePin-compatible_type-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ValuePin-no_incoming_edges" name="no_incoming_edges" constrainedElement="ValuePin" namespace="ValuePin">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ValuePin-no_incoming_edges-_ownedComment.0" annotatedElement="ValuePin-no_incoming_edges">
          <body>Value pins have no incoming edges.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ValuePin-no_incoming_edges-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ValuePin-value" name="value" type="ValueSpecification" isComposite="true" association="A_value_valuePin">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ValuePin-value-_ownedComment.0" annotatedElement="ValuePin-value">
          <body>Value that the pin will provide.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_activity_edge" name="A_activity_edge" visibility="private" memberEnd="ActivityEdge-activity Activity-edge"/>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_outgoing_source.1" name="A_outgoing_source" visibility="private" memberEnd="ActivityNode-outgoing ActivityEdge-source"/>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_target_incoming" name="A_target_incoming" visibility="private" memberEnd="ActivityEdge-target ActivityNode-incoming"/>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_parameter_activityParameterNode" name="A_parameter_activityParameterNode" visibility="private" memberEnd="ActivityParameterNode-parameter A_parameter_activityParameterNode-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_parameter_activityParameterNode-_ownedEnd.0" type="ActivityParameterNode" upper="*" lower="0" owningAssociation="A_parameter_activityParameterNode" association="A_parameter_activityParameterNode"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_redefinedNode_activityNode" name="A_redefinedNode_activityNode" visibility="private" memberEnd="ActivityNode-redefinedNode A_redefinedNode_activityNode-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_redefinedNode_activityNode-_ownedEnd.0" type="ActivityNode" upper="*" lower="0" owningAssociation="A_redefinedNode_activityNode" association="A_redefinedNode_activityNode"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_redefinedEdge_activityEdge" name="A_redefinedEdge_activityEdge" visibility="private" memberEnd="ActivityEdge-redefinedEdge A_redefinedEdge_activityEdge-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_redefinedEdge_activityEdge-_ownedEnd.0" type="ActivityEdge" upper="*" lower="0" owningAssociation="A_redefinedEdge_activityEdge" association="A_redefinedEdge_activityEdge"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="ForkNode" name="ForkNode" superClass="ControlNode">
      <ownedComment xmi:type="cmof:Comment" xmi:id="ForkNode-_ownedComment.0" annotatedElement="ForkNode">
        <body>A fork node is a control node that splits a flow into multiple concurrent flows.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ForkNode-one_incoming_edge" name="one_incoming_edge" constrainedElement="ForkNode" namespace="ForkNode">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ForkNode-one_incoming_edge-_ownedComment.0" annotatedElement="ForkNode-one_incoming_edge">
          <body>A fork node has one incoming edge.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ForkNode-one_incoming_edge-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ForkNode-edges" name="edges" constrainedElement="ForkNode" namespace="ForkNode">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ForkNode-edges-_ownedComment.0" annotatedElement="ForkNode-edges">
          <body>The edges coming into and out of a fork node must be either all object flows or all control flows.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ForkNode-edges-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="FlowFinalNode" name="FlowFinalNode" superClass="FinalNode">
      <ownedComment xmi:type="cmof:Comment" xmi:id="FlowFinalNode-_ownedComment.0" annotatedElement="FlowFinalNode">
        <body>A flow final node is a final node that terminates a flow.</body>
      </ownedComment>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="CentralBufferNode" name="CentralBufferNode" superClass="ObjectNode">
      <ownedComment xmi:type="cmof:Comment" xmi:id="CentralBufferNode-_ownedComment.0" annotatedElement="CentralBufferNode">
        <body>A central buffer node is an object node for managing flows from multiple sources and destinations.</body>
      </ownedComment>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="ActivityPartition" name="ActivityPartition" superClass="NamedElement ActivityGroup">
      <ownedComment xmi:type="cmof:Comment" xmi:id="ActivityPartition-_ownedComment.0" annotatedElement="ActivityPartition">
        <body>An activity partition is a kind of activity group for identifying actions that have some characteristic in common.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ActivityPartition-dimension_not_contained" name="dimension_not_contained" constrainedElement="ActivityPartition" namespace="ActivityPartition">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ActivityPartition-dimension_not_contained-_ownedComment.0" annotatedElement="ActivityPartition-dimension_not_contained">
          <body>A partition with isDimension = true may not be contained by another partition.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ActivityPartition-dimension_not_contained-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ActivityPartition-represents_part" name="represents_part" constrainedElement="ActivityPartition" namespace="ActivityPartition">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ActivityPartition-represents_part-_ownedComment.0" annotatedElement="ActivityPartition-represents_part">
          <body>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.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ActivityPartition-represents_part-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ActivityPartition-represents_classifier" name="represents_classifier" constrainedElement="ActivityPartition" namespace="ActivityPartition">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ActivityPartition-represents_classifier-_ownedComment.0" annotatedElement="ActivityPartition-represents_classifier">
          <body>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.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ActivityPartition-represents_classifier-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ActivityPartition-represents_part_and_is_contained" name="represents_part_and_is_contained" constrainedElement="ActivityPartition" namespace="ActivityPartition">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ActivityPartition-represents_part_and_is_contained-_ownedComment.0" annotatedElement="ActivityPartition-represents_part_and_is_contained">
          <body>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.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ActivityPartition-represents_part_and_is_contained-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ActivityPartition-isDimension" name="isDimension" type="Boolean" default="false">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ActivityPartition-isDimension-_ownedComment.0" annotatedElement="ActivityPartition-isDimension">
          <body>Tells whether the partition groups other partitions along a dimension.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ActivityPartition-isExternal" name="isExternal" type="Boolean" default="false">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ActivityPartition-isExternal-_ownedComment.0" annotatedElement="ActivityPartition-isExternal">
          <body>Tells whether the partition represents an entity to which the partitioning structure does not apply.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ActivityPartition-edge" name="edge" type="ActivityEdge" upper="*" lower="0" subsettedProperty="ActivityGroup-containedEdge" association="A_edge_inPartition">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ActivityPartition-edge-_ownedComment.0" annotatedElement="ActivityPartition-edge">
          <body>Edges immediately contained in the group.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ActivityPartition-node" name="node" type="ActivityNode" upper="*" lower="0" subsettedProperty="ActivityGroup-containedNode" association="A_inPartition_node">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ActivityPartition-node-_ownedComment.0" annotatedElement="ActivityPartition-node">
          <body>Nodes immediately contained in the group.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ActivityPartition-subpartition" name="subpartition" type="ActivityPartition" upper="*" lower="0" isComposite="true" subsettedProperty="ActivityGroup-subgroup" association="A_subpartition_superPartition">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ActivityPartition-subpartition-_ownedComment.0" annotatedElement="ActivityPartition-subpartition">
          <body>Partitions immediately contained in the partition.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ActivityPartition-superPartition" name="superPartition" type="ActivityPartition" lower="0" subsettedProperty="ActivityGroup-superGroup" association="A_subpartition_superPartition">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ActivityPartition-superPartition-_ownedComment.0" annotatedElement="ActivityPartition-superPartition">
          <body>Partition immediately containing the partition.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ActivityPartition-represents" name="represents" type="Element" lower="0" association="A_represents_activityPartition">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ActivityPartition-represents-_ownedComment.0" annotatedElement="ActivityPartition-represents">
          <body>An element constraining behaviors invoked by nodes in the partition.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="MergeNode" name="MergeNode" superClass="ControlNode">
      <ownedComment xmi:type="cmof:Comment" xmi:id="MergeNode-_ownedComment.0" annotatedElement="MergeNode">
        <body>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.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="MergeNode-one_outgoing_edge" name="one_outgoing_edge" constrainedElement="MergeNode" namespace="MergeNode">
        <ownedComment xmi:type="cmof:Comment" xmi:id="MergeNode-one_outgoing_edge-_ownedComment.0" annotatedElement="MergeNode-one_outgoing_edge">
          <body>A merge node has one outgoing edge.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="MergeNode-one_outgoing_edge-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="MergeNode-edges" name="edges" constrainedElement="MergeNode" namespace="MergeNode">
        <ownedComment xmi:type="cmof:Comment" xmi:id="MergeNode-edges-_ownedComment.0" annotatedElement="MergeNode-edges">
          <body>The edges coming into and out of a merge node must be either all object flows or all control flows.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="MergeNode-edges-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="DecisionNode" name="DecisionNode" superClass="ControlNode">
      <ownedComment xmi:type="cmof:Comment" xmi:id="DecisionNode-_ownedComment.0" annotatedElement="DecisionNode">
        <body>A decision node is a control node that chooses between outgoing flows.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="DecisionNode-one_incoming_edge" name="one_incoming_edge" constrainedElement="DecisionNode" namespace="DecisionNode">
        <ownedComment xmi:type="cmof:Comment" xmi:id="DecisionNode-one_incoming_edge-_ownedComment.0" annotatedElement="DecisionNode-one_incoming_edge">
          <body>A decision node has one incoming edge.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="DecisionNode-one_incoming_edge-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="DecisionNode-input_parameter" name="input_parameter" constrainedElement="DecisionNode" namespace="DecisionNode">
        <ownedComment xmi:type="cmof:Comment" xmi:id="DecisionNode-input_parameter-_ownedComment.0" annotatedElement="DecisionNode-input_parameter">
          <body>A decision input behavior has zero or one input parameter and one output parameter. Any input parameter must be the same as or a supertype of the type of object tokens coming along the incoming edge. The behavior cannot have side effects.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="DecisionNode-input_parameter-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="DecisionNode-edges" name="edges" constrainedElement="DecisionNode" namespace="DecisionNode">
        <ownedComment xmi:type="cmof:Comment" xmi:id="DecisionNode-edges-_ownedComment.0" annotatedElement="DecisionNode-edges">
          <body>The edges coming into and out of a decision node must be either all object flows or all control flows.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="DecisionNode-edges-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="DecisionNode-decisionInput" name="decisionInput" type="Behavior" lower="0" association="A_decisionInput_decisionNode">
        <ownedComment xmi:type="cmof:Comment" xmi:id="DecisionNode-decisionInput-_ownedComment.0" annotatedElement="DecisionNode-decisionInput">
          <body>Provides input to guard specifications on edges outgoing from the decision node.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="FinalNode" name="FinalNode" isAbstract="true" superClass="ControlNode">
      <ownedComment xmi:type="cmof:Comment" xmi:id="FinalNode-_ownedComment.0" annotatedElement="FinalNode">
        <body>A final node is an abstract control node at which a flow in an activity stops.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="FinalNode-no_outgoing_edges" name="no_outgoing_edges" constrainedElement="FinalNode" namespace="FinalNode">
        <ownedComment xmi:type="cmof:Comment" xmi:id="FinalNode-no_outgoing_edges-_ownedComment.0" annotatedElement="FinalNode-no_outgoing_edges">
          <body>A final node has no outgoing edges.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="FinalNode-no_outgoing_edges-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="ActivityFinalNode" name="ActivityFinalNode" superClass="FinalNode">
      <ownedComment xmi:type="cmof:Comment" xmi:id="ActivityFinalNode-_ownedComment.0" annotatedElement="ActivityFinalNode">
        <body>An activity final node is a final node that stops all flows in an activity.</body>
      </ownedComment>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_edge_inPartition" name="A_edge_inPartition" visibility="private" memberEnd="ActivityPartition-edge ActivityEdge-inPartition"/>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_inPartition_node" name="A_inPartition_node" visibility="private" memberEnd="ActivityNode-inPartition ActivityPartition-node"/>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_subpartition_superPartition" name="A_subpartition_superPartition" visibility="private" memberEnd="ActivityPartition-subpartition ActivityPartition-superPartition"/>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_represents_activityPartition" name="A_represents_activityPartition" visibility="private" memberEnd="ActivityPartition-represents A_represents_activityPartition-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_represents_activityPartition-_ownedEnd.0" type="ActivityPartition" upper="*" lower="0" owningAssociation="A_represents_activityPartition" association="A_represents_activityPartition"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_activityEdge_guard" name="A_activityEdge_guard" visibility="private" memberEnd="A_activityEdge_guard-_ownedEnd.0 ActivityEdge-guard">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_activityEdge_guard-_ownedEnd.0" type="ActivityEdge" lower="0" owningAssociation="A_activityEdge_guard" association="A_activityEdge_guard"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_decisionInput_decisionNode" name="A_decisionInput_decisionNode" visibility="private" memberEnd="DecisionNode-decisionInput A_decisionInput_decisionNode-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_decisionInput_decisionNode-_ownedEnd.0" type="DecisionNode" upper="*" lower="0" owningAssociation="A_decisionInput_decisionNode" association="A_decisionInput_decisionNode"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_containedEdge_inGroup" name="A_containedEdge_inGroup" visibility="private" memberEnd="ActivityGroup-containedEdge ActivityEdge-inGroup" isDerived="true"/>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_partition_activity" name="A_partition_activity" visibility="private" memberEnd="Activity-partition A_partition_activity-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_partition_activity-_ownedEnd.0" type="Activity" lower="0" owningAssociation="A_partition_activity" association="A_partition_activity"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="JoinNode" name="JoinNode" superClass="ControlNode">
      <ownedComment xmi:type="cmof:Comment" xmi:id="JoinNode-_ownedComment.0" annotatedElement="JoinNode">
        <body>A join node is a control node that synchronizes multiple flows.</body>
      </ownedComment>
      <ownedComment xmi:type="cmof:Comment" xmi:id="JoinNode-_ownedComment.1" annotatedElement="JoinNode">
        <body>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.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="JoinNode-one_outgoing_edge" name="one_outgoing_edge" constrainedElement="JoinNode" namespace="JoinNode">
        <ownedComment xmi:type="cmof:Comment" xmi:id="JoinNode-one_outgoing_edge-_ownedComment.0" annotatedElement="JoinNode-one_outgoing_edge">
          <body>A join node has one outgoing edge.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="JoinNode-one_outgoing_edge-_specification">
          <language>OCL</language>
          <body>self.outgoing->size() = 1</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="JoinNode-incoming_object_flow" name="incoming_object_flow" constrainedElement="JoinNode" namespace="JoinNode">
        <ownedComment xmi:type="cmof:Comment" xmi:id="JoinNode-incoming_object_flow-_ownedComment.0" annotatedElement="JoinNode-incoming_object_flow">
          <body>If a join node has an incoming object flow, it must have an outgoing object flow, otherwise, it must have an outgoing control flow.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="JoinNode-incoming_object_flow-_specification">
          <language>OCL</language>
          <body>(self.incoming.select(e | e.isTypeOf(ObjectFlow)->notEmpty() implies&#xD;&#xA;  self.outgoing.isTypeOf(ObjectFlow)) and&#xD;&#xA;    (self.incoming.select(e | e.isTypeOf(ObjectFlow)->empty() implies&#xD;&#xA;      self.outgoing.isTypeOf(ControlFlow))</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="JoinNode-isCombineDuplicate" name="isCombineDuplicate" type="Boolean" default="true">
        <ownedComment xmi:type="cmof:Comment" xmi:id="JoinNode-isCombineDuplicate-_ownedComment.0" annotatedElement="JoinNode-isCombineDuplicate">
          <body>Tells whether tokens having objects with the same identity are combined into one by the join.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="JoinNode-joinSpec" name="joinSpec" type="ValueSpecification" isComposite="true" subsettedProperty="Element-ownedElement" association="A_joinSpec_joinNode">
        <ownedComment xmi:type="cmof:Comment" xmi:id="JoinNode-joinSpec-_ownedComment.0" annotatedElement="JoinNode-joinSpec">
          <body>A specification giving the conditions under which the join with emit a token. Default is &quot;and&quot;.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="DataStoreNode" name="DataStoreNode" superClass="CentralBufferNode">
      <ownedComment xmi:type="cmof:Comment" xmi:id="DataStoreNode-_ownedComment.0" annotatedElement="DataStoreNode">
        <body>A data store node is a central buffer node for non-transient information.</body>
      </ownedComment>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="ObjectFlow" name="ObjectFlow" superClass="ActivityEdge">
      <ownedComment xmi:type="cmof:Comment" xmi:id="ObjectFlow-_ownedComment.0" annotatedElement="ObjectFlow">
        <body>An object flow is an activity edge that can have objects or data passing along it.</body>
      </ownedComment>
      <ownedComment xmi:type="cmof:Comment" xmi:id="ObjectFlow-_ownedComment.1" annotatedElement="ObjectFlow">
        <body>Object flows have support for multicast/receive, token selection from object nodes, and transformation of tokens.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ObjectFlow-no_actions" name="no_actions" constrainedElement="ObjectFlow" namespace="ObjectFlow">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ObjectFlow-no_actions-_ownedComment.0" annotatedElement="ObjectFlow-no_actions">
          <body>Object flows may not have actions at either end.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ObjectFlow-no_actions-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ObjectFlow-compatible_types" name="compatible_types" constrainedElement="ObjectFlow" namespace="ObjectFlow">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ObjectFlow-compatible_types-_ownedComment.0" annotatedElement="ObjectFlow-compatible_types">
          <body>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.&#xD;
</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ObjectFlow-compatible_types-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ObjectFlow-same_upper_bounds" name="same_upper_bounds" constrainedElement="ObjectFlow" namespace="ObjectFlow">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ObjectFlow-same_upper_bounds-_ownedComment.0" annotatedElement="ObjectFlow-same_upper_bounds">
          <body>Object nodes connected by an object flow, with optionally intervening control nodes, must have the same upper bounds.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ObjectFlow-same_upper_bounds-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ObjectFlow-target" name="target" constrainedElement="ObjectFlow" namespace="ObjectFlow">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ObjectFlow-target-_ownedComment.0" annotatedElement="ObjectFlow-target">
          <body>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.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ObjectFlow-target-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ObjectFlow-transformation_behaviour" name="transformation_behaviour" constrainedElement="ObjectFlow" namespace="ObjectFlow">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ObjectFlow-transformation_behaviour-_ownedComment.0" annotatedElement="ObjectFlow-transformation_behaviour">
          <body>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.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ObjectFlow-transformation_behaviour-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ObjectFlow-selection_behaviour" name="selection_behaviour" constrainedElement="ObjectFlow" namespace="ObjectFlow">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ObjectFlow-selection_behaviour-_ownedComment.0" annotatedElement="ObjectFlow-selection_behaviour">
          <body>An object flow may have a selection behavior only if has an object node as a source.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ObjectFlow-selection_behaviour-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ObjectFlow-input_and_output_parameter" name="input_and_output_parameter" constrainedElement="ObjectFlow" namespace="ObjectFlow">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ObjectFlow-input_and_output_parameter-_ownedComment.0" annotatedElement="ObjectFlow-input_and_output_parameter">
          <body>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.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ObjectFlow-input_and_output_parameter-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ObjectFlow-is_multicast_or_is_multireceive" name="is_multicast_or_is_multireceive" constrainedElement="ObjectFlow" namespace="ObjectFlow">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ObjectFlow-is_multicast_or_is_multireceive-_ownedComment.0" annotatedElement="ObjectFlow-is_multicast_or_is_multireceive">
          <body>isMulticast and isMultireceive cannot both be true.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ObjectFlow-is_multicast_or_is_multireceive-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ObjectFlow-isMulticast" name="isMulticast" type="Boolean" default="false">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ObjectFlow-isMulticast-_ownedComment.0" annotatedElement="ObjectFlow-isMulticast">
          <body>Tells whether the objects in the flow are passed by multicasting.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ObjectFlow-isMultireceive" name="isMultireceive" type="Boolean" default="false">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ObjectFlow-isMultireceive-_ownedComment.0" annotatedElement="ObjectFlow-isMultireceive">
          <body>Tells whether the objects in the flow are gathered from respondents to multicasting.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ObjectFlow-transformation" name="transformation" type="Behavior" lower="0" association="A_transformation_objectFlow">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ObjectFlow-transformation-_ownedComment.0" annotatedElement="ObjectFlow-transformation">
          <body>Changes or replaces data tokens flowing along edge.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ObjectFlow-selection" name="selection" type="Behavior" lower="0" association="A_selection_objectFlow">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ObjectFlow-selection-_ownedComment.0" annotatedElement="ObjectFlow-selection">
          <body>Selects tokens from a source object node.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="ActivityEdge" name="ActivityEdge" isAbstract="true" superClass="RedefinableElement">
      <ownedComment xmi:type="cmof:Comment" xmi:id="ActivityEdge-_ownedComment.0" annotatedElement="ActivityEdge">
        <body>An activity edge is an abstract class for directed connections between two activity nodes.</body>
      </ownedComment>
      <ownedComment xmi:type="cmof:Comment" xmi:id="ActivityEdge-_ownedComment.1" annotatedElement="ActivityEdge">
        <body>Activity edges can be contained in interruptible regions.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ActivityEdge-source_and_target" name="source_and_target" constrainedElement="ActivityEdge" namespace="ActivityEdge">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ActivityEdge-source_and_target-_ownedComment.0" annotatedElement="ActivityEdge-source_and_target">
          <body>The source and target of an edge must be in the same activity as the edge.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ActivityEdge-source_and_target-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ActivityEdge-owned" name="owned" constrainedElement="ActivityEdge" namespace="ActivityEdge">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ActivityEdge-owned-_ownedComment.0" annotatedElement="ActivityEdge-owned">
          <body>Activity edges may be owned only by activities or groups.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ActivityEdge-owned-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ActivityEdge-activity" name="activity" type="Activity" lower="0" subsettedProperty="Element-owner" association="A_activity_edge">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ActivityEdge-activity-_ownedComment.0" annotatedElement="ActivityEdge-activity">
          <body>Activity containing the edge.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ActivityEdge-source" name="source" type="ActivityNode" association="A_outgoing_source.1">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ActivityEdge-source-_ownedComment.0" annotatedElement="ActivityEdge-source">
          <body>Node from which tokens are taken when they traverse the edge.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ActivityEdge-target" name="target" type="ActivityNode" association="A_target_incoming">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ActivityEdge-target-_ownedComment.0" annotatedElement="ActivityEdge-target">
          <body>Node to which tokens are put when they traverse the edge.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ActivityEdge-redefinedEdge" name="redefinedEdge" type="ActivityEdge" upper="*" lower="0" subsettedProperty="RedefinableElement-redefinedElement" association="A_redefinedEdge_activityEdge">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ActivityEdge-redefinedEdge-_ownedComment.0" annotatedElement="ActivityEdge-redefinedEdge">
          <body>Inherited edges replaced by this edge in a specialization of the activity.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ActivityEdge-inPartition" name="inPartition" type="ActivityPartition" upper="*" lower="0" subsettedProperty="ActivityEdge-inGroup" association="A_edge_inPartition">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ActivityEdge-inPartition-_ownedComment.0" annotatedElement="ActivityEdge-inPartition">
          <body>Partitions containing the edge.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ActivityEdge-guard" name="guard" type="ValueSpecification" isComposite="true" subsettedProperty="Element-ownedElement" association="A_activityEdge_guard">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ActivityEdge-guard-_ownedComment.0" annotatedElement="ActivityEdge-guard">
          <body>Specification evaluated at runtime to determine if the edge can be traversed.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ActivityEdge-inGroup" name="inGroup" type="ActivityGroup" upper="*" lower="0" isReadOnly="true" isDerived="true" isDerivedUnion="true" association="A_containedEdge_inGroup">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ActivityEdge-inGroup-_ownedComment.0" annotatedElement="ActivityEdge-inGroup">
          <body>Groups containing the edge.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ActivityEdge-weight" name="weight" type="ValueSpecification" isComposite="true" subsettedProperty="Element-ownedElement" association="A_weight_activityEdge">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ActivityEdge-weight-_ownedComment.0" annotatedElement="ActivityEdge-weight">
          <body>Number of tokens consumed from the source node on each traversal.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ActivityEdge-interrupts" name="interrupts" type="InterruptibleActivityRegion" lower="0" association="A_interruptingEdge_interrupts">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ActivityEdge-interrupts-_ownedComment.0" annotatedElement="ActivityEdge-interrupts">
          <body>Region that the edge can interrupt.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="ObjectNode" name="ObjectNode" isAbstract="true" superClass="ActivityNode TypedElement">
      <ownedComment xmi:type="cmof:Comment" xmi:id="ObjectNode-_ownedComment.0" annotatedElement="ObjectNode">
        <body>An object node is an abstract activity node that is part of defining object flow in an activity.</body>
      </ownedComment>
      <ownedComment xmi:type="cmof:Comment" xmi:id="ObjectNode-_ownedComment.1" annotatedElement="ObjectNode">
        <body>Object nodes have support for token selection, limitation on the number of tokens, specifying the state required for tokens, and carrying control values.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ObjectNode-object_flow_edges" name="object_flow_edges" constrainedElement="ObjectNode" namespace="ObjectNode">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ObjectNode-object_flow_edges-_ownedComment.0" annotatedElement="ObjectNode-object_flow_edges">
          <body>All edges coming into or going out of object nodes must be object flow edges.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ObjectNode-object_flow_edges-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ObjectNode-not_unique" name="not_unique" constrainedElement="ObjectNode" namespace="ObjectNode">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ObjectNode-not_unique-_ownedComment.0" annotatedElement="ObjectNode-not_unique">
          <body>Object nodes are not unique typed elements</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ObjectNode-not_unique-_specification">
          <language>OCL</language>
          <body>isUnique = false</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ObjectNode-selection_behavior" name="selection_behavior" constrainedElement="ObjectNode" namespace="ObjectNode">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ObjectNode-selection_behavior-_ownedComment.0" annotatedElement="ObjectNode-selection_behavior">
          <body>If an object node has a selection behavior, then the ordering of the object node is ordered, and vice versa.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ObjectNode-selection_behavior-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ObjectNode-input_output_parameter" name="input_output_parameter" constrainedElement="ObjectNode" namespace="ObjectNode">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ObjectNode-input_output_parameter-_ownedComment.0" annotatedElement="ObjectNode-input_output_parameter">
          <body>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.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ObjectNode-input_output_parameter-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ObjectNode-ordering" name="ordering" type="ObjectNodeOrderingKind" default="FIFO">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ObjectNode-ordering-_ownedComment.0" annotatedElement="ObjectNode-ordering">
          <body>Tells whether and how the tokens in the object node are ordered for selection to traverse edges outgoing from the object node.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ObjectNode-isControlType" name="isControlType" type="Boolean" default="false">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ObjectNode-isControlType-_ownedComment.0" annotatedElement="ObjectNode-isControlType">
          <body>Tells whether the type of the object node is to be treated as control.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ObjectNode-upperBound" name="upperBound" type="ValueSpecification" isComposite="true" subsettedProperty="Element-ownedElement" association="A_upperBound_objectNode">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ObjectNode-upperBound-_ownedComment.0" annotatedElement="ObjectNode-upperBound">
          <body>The maximum number of tokens allowed in the node. Objects cannot flow into the node if the upper bound is reached.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ObjectNode-inState" name="inState" type="State" upper="*" lower="0" association="A_inState_objectNode">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ObjectNode-inState-_ownedComment.0" annotatedElement="ObjectNode-inState">
          <body>The required states of the object available at this point in the activity.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ObjectNode-selection" name="selection" type="Behavior" lower="0" association="A_selection_objectNode">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ObjectNode-selection-_ownedComment.0" annotatedElement="ObjectNode-selection">
          <body>Selects tokens for outgoing edges.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="ParameterSet" name="ParameterSet" superClass="NamedElement">
      <ownedComment xmi:type="cmof:Comment" xmi:id="ParameterSet-_ownedComment.0" annotatedElement="ParameterSet">
        <body>A parameter set is an element that provides alternative sets of inputs or outputs that a behavior may use.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ParameterSet-same_parameterized_entity" name="same_parameterized_entity" constrainedElement="ParameterSet" namespace="ParameterSet">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ParameterSet-same_parameterized_entity-_ownedComment.0" annotatedElement="ParameterSet-same_parameterized_entity">
          <body>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.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ParameterSet-same_parameterized_entity-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ParameterSet-input" name="input" constrainedElement="ParameterSet" namespace="ParameterSet">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ParameterSet-input-_ownedComment.0" annotatedElement="ParameterSet-input">
          <body>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.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ParameterSet-input-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ParameterSet-two_parameter_sets" name="two_parameter_sets" constrainedElement="ParameterSet" namespace="ParameterSet">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ParameterSet-two_parameter_sets-_ownedComment.0" annotatedElement="ParameterSet-two_parameter_sets">
          <body>Two parameter sets cannot have exactly the same set of parameters.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ParameterSet-two_parameter_sets-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ParameterSet-parameter" name="parameter" type="Parameter" upper="*" association="A_parameterSet_parameter">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ParameterSet-parameter-_ownedComment.0" annotatedElement="ParameterSet-parameter">
          <body>Parameters in the parameter set.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ParameterSet-condition" name="condition" type="Constraint" upper="*" lower="0" isComposite="true" subsettedProperty="Element-ownedElement" association="A_condition_parameterSet">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ParameterSet-condition-_ownedComment.0" annotatedElement="ParameterSet-condition">
          <body>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.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="Parameter" name="Parameter" superClass="TypedElement MultiplicityElement">
      <ownedComment xmi:type="cmof:Comment" xmi:id="Parameter-_ownedComment.0" annotatedElement="Parameter">
        <body>A parameter is a specification of an argument used to pass information into or out of an invocation of a behavioral feature.</body>
      </ownedComment>
      <ownedComment xmi:type="cmof:Comment" xmi:id="Parameter-_ownedComment.1" annotatedElement="Parameter">
        <body>Parameters have support for streaming, exceptions, and parameter sets.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Parameter-stream_and_exception" name="stream_and_exception" constrainedElement="Parameter" namespace="Parameter">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Parameter-stream_and_exception-_ownedComment.0" annotatedElement="Parameter-stream_and_exception">
          <body>A parameter cannot be a stream and exception at the same time.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Parameter-stream_and_exception-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Parameter-not_exception" name="not_exception" constrainedElement="Parameter" namespace="Parameter">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Parameter-not_exception-_ownedComment.0" annotatedElement="Parameter-not_exception">
          <body>An input parameter cannot be an exception.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Parameter-not_exception-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Parameter-reentrant_behaviors" name="reentrant_behaviors" constrainedElement="Parameter" namespace="Parameter">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Parameter-reentrant_behaviors-_ownedComment.0" annotatedElement="Parameter-reentrant_behaviors">
          <body>Reentrant behaviors cannot have stream parameters.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Parameter-reentrant_behaviors-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Parameter-in_and_out" name="in_and_out" constrainedElement="Parameter" namespace="Parameter">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Parameter-in_and_out-_ownedComment.0" annotatedElement="Parameter-in_and_out">
          <body>Only in and inout parameters may have a delete effect. Only out, inout, and return parameters may have a create effect.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Parameter-in_and_out-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Parameter-direction" name="direction" type="ParameterDirectionKind" default="in">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Parameter-direction-_ownedComment.0" annotatedElement="Parameter-direction">
          <body>Indicates whether a parameter is being sent into or out of a behavioral element.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Parameter-default" name="default" type="String" lower="0" isDerived="true">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Parameter-default-_ownedComment.0" annotatedElement="Parameter-default">
          <body>Specifies a String that represents a value to be used when no argument is supplied for the Parameter.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Parameter-defaultValue" name="defaultValue" type="ValueSpecification" lower="0" isComposite="true" subsettedProperty="Element-ownedElement" association="A_defaultValue_owningParameter">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Parameter-defaultValue-_ownedComment.0" annotatedElement="Parameter-defaultValue">
          <body>Specifies a ValueSpecification that represents a value to be used when no argument is supplied for the Parameter.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Parameter-operation" name="operation" type="Operation" lower="0" subsettedProperty="NamedElement-namespace" association="A_ownedParameter_operation">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Parameter-operation-_ownedComment.0" annotatedElement="Parameter-operation">
          <body>References the Operation owning this parameter.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Parameter-isException" name="isException" type="Boolean" default="false">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Parameter-isException-_ownedComment.0" annotatedElement="Parameter-isException">
          <body>Tells whether an output parameter may emit a value to the exclusion of the other outputs.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Parameter-isStream" name="isStream" type="Boolean" default="false">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Parameter-isStream-_ownedComment.0" annotatedElement="Parameter-isStream">
          <body>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.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Parameter-effect" name="effect" type="ParameterEffectKind" lower="0">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Parameter-effect-_ownedComment.0" annotatedElement="Parameter-effect">
          <body>Specifies the effect that the owner of the parameter has on values passed in or out of the parameter.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Parameter-parameterSet" name="parameterSet" type="ParameterSet" upper="*" lower="0" association="A_parameterSet_parameter">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Parameter-parameterSet-_ownedComment.0" annotatedElement="Parameter-parameterSet">
          <body>The parameter sets containing the parameter. See ParameterSet.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="InterruptibleActivityRegion" name="InterruptibleActivityRegion" superClass="ActivityGroup">
      <ownedComment xmi:type="cmof:Comment" xmi:id="InterruptibleActivityRegion-_ownedComment.0" annotatedElement="InterruptibleActivityRegion">
        <body>An interruptible activity region is an activity group that supports termination of tokens flowing in the portions of an activity.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="InterruptibleActivityRegion-interrupting_edges" name="interrupting_edges" constrainedElement="InterruptibleActivityRegion" namespace="InterruptibleActivityRegion">
        <ownedComment xmi:type="cmof:Comment" xmi:id="InterruptibleActivityRegion-interrupting_edges-_ownedComment.0" annotatedElement="InterruptibleActivityRegion-interrupting_edges">
          <body>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.&#xD;
</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="InterruptibleActivityRegion-interrupting_edges-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="InterruptibleActivityRegion-interruptingEdge" name="interruptingEdge" type="ActivityEdge" upper="*" lower="0" association="A_interruptingEdge_interrupts">
        <ownedComment xmi:type="cmof:Comment" xmi:id="InterruptibleActivityRegion-interruptingEdge-_ownedComment.0" annotatedElement="InterruptibleActivityRegion-interruptingEdge">
          <body>The edges leaving the region that will abort other tokens flowing in the region.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="InterruptibleActivityRegion-node" name="node" type="ActivityNode" upper="*" lower="0" subsettedProperty="ActivityGroup-containedNode" association="A_inInterruptibleRegion_node">
        <ownedComment xmi:type="cmof:Comment" xmi:id="InterruptibleActivityRegion-node-_ownedComment.0" annotatedElement="InterruptibleActivityRegion-node">
          <body>Nodes immediately contained in the group.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="BehavioralFeature" name="BehavioralFeature" isAbstract="true" superClass="Feature Namespace">
      <ownedComment xmi:type="cmof:Comment" xmi:id="BehavioralFeature-_ownedComment.0" annotatedElement="BehavioralFeature">
        <body>A behavioral feature is a feature of a classifier that specifies an aspect of the behavior of its instances.</body>
      </ownedComment>
      <ownedComment xmi:type="cmof:Comment" xmi:id="BehavioralFeature-_ownedComment.1" annotatedElement="BehavioralFeature">
        <body>A behavioral feature is implemented (realized) by a behavior. A behavioral feature specifies that a classifier will respond to a designated request by invoking its implementing method.</body>
      </ownedComment>
      <ownedComment xmi:type="cmof:Comment" xmi:id="BehavioralFeature-_ownedComment.2" annotatedElement="BehavioralFeature">
        <body>A behavioral feature owns zero or more parameter sets.</body>
      </ownedComment>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="BehavioralFeature-ownedParameter" name="ownedParameter" type="Parameter" isOrdered="true" upper="*" lower="0" isComposite="true" subsettedProperty="Namespace-ownedMember" association="A_ownedParameter_ownerFormalParam">
        <ownedComment xmi:type="cmof:Comment" xmi:id="BehavioralFeature-ownedParameter-_ownedComment.0" annotatedElement="BehavioralFeature-ownedParameter">
          <body>Specifies the ordered set of formal parameters of this BehavioralFeature.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="BehavioralFeature-isAbstract" name="isAbstract" type="Boolean" default="false">
        <ownedComment xmi:type="cmof:Comment" xmi:id="BehavioralFeature-isAbstract-_ownedComment.0" annotatedElement="BehavioralFeature-isAbstract">
          <body>If true, then the behavioral feature does not have an implementation, and one must be supplied by a more specific element. If false, the behavioral feature must have an implementation in the classifier or one must be inherited from a more general element.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="BehavioralFeature-method" name="method" type="Behavior" upper="*" lower="0" association="A_method_specification">
        <ownedComment xmi:type="cmof:Comment" xmi:id="BehavioralFeature-method-_ownedComment.0" annotatedElement="BehavioralFeature-method">
          <body>A behavioral description that implements the behavioral feature. There may be at most one behavior for a particular pairing of a classifier (as owner of the behavior) and a behavioral feature (as specification of the behavior).</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="BehavioralFeature-concurrency" name="concurrency" type="CallConcurrencyKind" default="sequential">
        <ownedComment xmi:type="cmof:Comment" xmi:id="BehavioralFeature-concurrency-_ownedComment.0" annotatedElement="BehavioralFeature-concurrency">
          <body>Specifies the semantics of concurrent calls to the same passive instance (i.e., an instance originating from a class with isActive being false). Active instances control access to their own behavioral features.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="BehavioralFeature-raisedException" name="raisedException" type="Type" upper="*" lower="0" association="A_raisedException_behavioralFeature">
        <ownedComment xmi:type="cmof:Comment" xmi:id="BehavioralFeature-raisedException-_ownedComment.0" annotatedElement="BehavioralFeature-raisedException">
          <body>References the Types representing exceptions that may be raised during an invocation of this feature.</body>
        </ownedComment>
        <ownedComment xmi:type="cmof:Comment" xmi:id="BehavioralFeature-raisedException-_ownedComment.1" annotatedElement="BehavioralFeature-raisedException">
          <body>The signals that the behavioral feature raises as exceptions.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="BehavioralFeature-ownedParameterSet" name="ownedParameterSet" type="ParameterSet" upper="*" lower="0" isComposite="true" subsettedProperty="Namespace-ownedMember" association="A_ownedParameterSet_behavioralFeature">
        <ownedComment xmi:type="cmof:Comment" xmi:id="BehavioralFeature-ownedParameterSet-_ownedComment.0" annotatedElement="BehavioralFeature-ownedParameterSet">
          <body>The ParameterSets owned by this BehavioralFeature.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="BehavioralFeature-isDistinguishableFrom" name="isDistinguishableFrom" class="BehavioralFeature" isQuery="true" redefinedOperation="NamedElement-isDistinguishableFrom" bodyCondition="BehavioralFeature-isDistinguishableFrom-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="BehavioralFeature-isDistinguishableFrom-_ownedComment.0" annotatedElement="BehavioralFeature-isDistinguishableFrom">
          <body>The query isDistinguishableFrom() determines whether two BehavioralFeatures may coexist in the same Namespace. It specifies that they have to have different signatures.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="BehavioralFeature-isDistinguishableFrom-spec" name="spec" constrainedElement="BehavioralFeature-isDistinguishableFrom" namespace="BehavioralFeature-isDistinguishableFrom">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="BehavioralFeature-isDistinguishableFrom-spec-_specification">
            <language>OCL</language>
            <body>result = if n.oclIsKindOf(BehavioralFeature)&#xA;then&#xA;  if ns.getNamesOfMember(self)->intersection(ns.getNamesOfMember(n))->notEmpty()&#xA;  then Set{}->including(self)->including(n)->isUnique(bf | bf.ownedParameter->collect(type))&#xA;  else true&#xA;  endif&#xA;else true&#xA;endif</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="BehavioralFeature-isDistinguishableFrom-_ownedParameter.0" type="Boolean" direction="return"/>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="BehavioralFeature-isDistinguishableFrom-n" name="n" type="NamedElement"/>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="BehavioralFeature-isDistinguishableFrom-ns" name="ns" type="Namespace"/>
      </ownedOperation>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="Behavior" name="Behavior" isAbstract="true" superClass="Class">
      <ownedComment xmi:type="cmof:Comment" xmi:id="Behavior-_ownedComment.0" annotatedElement="Behavior">
        <body>Behavior is a specification of how its context classifier changes state over time. This specification may be either a definition of possible behavior execution or emergent behavior, or a selective illustration of an interesting subset of possible executions. The latter form is typically used for capturing examples, such as a trace of a particular execution.</body>
      </ownedComment>
      <ownedComment xmi:type="cmof:Comment" xmi:id="Behavior-_ownedComment.1" annotatedElement="Behavior">
        <body>A behavior owns zero or more parameter sets.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Behavior-parameters_match" name="parameters_match" constrainedElement="Behavior" namespace="Behavior">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Behavior-parameters_match-_ownedComment.0" annotatedElement="Behavior-parameters_match">
          <body>The parameters of the behavior must match the parameters of the implemented behavioral feature.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Behavior-parameters_match-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Behavior-feature_of_context_classifier" name="feature_of_context_classifier" constrainedElement="Behavior" namespace="Behavior">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Behavior-feature_of_context_classifier-_ownedComment.0" annotatedElement="Behavior-feature_of_context_classifier">
          <body>The implemented behavioral feature must be a feature (possibly inherited) of the context classifier of the behavior.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Behavior-feature_of_context_classifier-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Behavior-must_realize" name="must_realize" constrainedElement="Behavior" namespace="Behavior">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Behavior-must_realize-_ownedComment.0" annotatedElement="Behavior-must_realize">
          <body>If the implemented behavioral feature has been redefined in the ancestors of the owner of the behavior, then the behavior must realize the latest redefining behavioral feature.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Behavior-must_realize-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Behavior-most_one_behaviour" name="most_one_behaviour" constrainedElement="Behavior" namespace="Behavior">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Behavior-most_one_behaviour-_ownedComment.0" annotatedElement="Behavior-most_one_behaviour">
          <body>There may be at most one behavior for a given pairing of classifier (as owner of the behavior) and behavioral feature (as specification of the behavior).</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Behavior-most_one_behaviour-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Behavior-isReentrant" name="isReentrant" type="Boolean" default="false">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Behavior-isReentrant-_ownedComment.0" annotatedElement="Behavior-isReentrant">
          <body>Tells whether the behavior can be invoked while it is still executing from a previous invocation.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Behavior-redefinedBehavior" name="redefinedBehavior" type="Behavior" upper="*" lower="0" subsettedProperty="RedefinableElement-redefinedElement" association="A_redefinedBehavior_behavior">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Behavior-redefinedBehavior-_ownedComment.0" annotatedElement="Behavior-redefinedBehavior">
          <body>References a behavior that this behavior redefines. A subtype of Behavior may redefine any other subtype of Behavior. If the behavior implements a behavioral feature, it replaces the redefined behavior. If the behavior is a classifier behavior, it extends the redefined behavior.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Behavior-specification" name="specification" type="BehavioralFeature" lower="0" association="A_method_specification">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Behavior-specification-_ownedComment.0" annotatedElement="Behavior-specification">
          <body>Designates a behavioral feature that the behavior implements. The behavioral feature must be owned by the classifier that owns the behavior or be inherited by it. The parameters of the behavioral feature and the implementing behavior must match. If a behavior does not have a specification, it is directly associated with a classifier (i.e., it is the behavior of the classifier as a whole).</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Behavior-ownedParameter" name="ownedParameter" type="Parameter" isOrdered="true" upper="*" lower="0" isComposite="true" subsettedProperty="Namespace-ownedMember" association="A_behavior_ownedParameter">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Behavior-ownedParameter-_ownedComment.0" annotatedElement="Behavior-ownedParameter">
          <body>References a list of parameters to the behavior which describes the order and type of arguments that can be given when the behavior is invoked and of the values which will be returned when the behavior completes its execution.&#xD;
</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Behavior-context" name="context" type="BehavioredClassifier" lower="0" isReadOnly="true" isDerived="true" subsettedProperty="RedefinableElement-redefinitionContext" association="A_context_behavior">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Behavior-context-_ownedComment.0" annotatedElement="Behavior-context">
          <body>The classifier that is the context for the execution of the behavior. If the behavior is owned by a BehavioredClassifier, that classifier is the context. Otherwise, the context is the first BehavioredClassifier reached by following the chain of owner relationships. For example, following this algorithm, the context of an entry action in a state machine is the classifier that owns the state machine. The features of the context classifier as well as the elements visible to the context classifier are visible to the behavior.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Behavior-precondition" name="precondition" type="Constraint" upper="*" lower="0" isComposite="true" subsettedProperty="Namespace-ownedRule" association="A_precondition_behavior">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Behavior-precondition-_ownedComment.0" annotatedElement="Behavior-precondition">
          <body>An optional set of Constraints specifying what must be fulfilled when the behavior is invoked.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Behavior-postcondition" name="postcondition" type="Constraint" upper="*" lower="0" isComposite="true" subsettedProperty="Namespace-ownedRule" association="A_postcondition_behavior">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Behavior-postcondition-_ownedComment.0" annotatedElement="Behavior-postcondition">
          <body>An optional set of Constraints specifying what is fulfilled after the execution of the behavior is completed, if its precondition was fulfilled before its invocation.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Behavior-ownedParameterSet" name="ownedParameterSet" type="ParameterSet" upper="*" lower="0" isComposite="true" subsettedProperty="Namespace-ownedMember" association="A_ownedParameterSet_behavior">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Behavior-ownedParameterSet-_ownedComment.0" annotatedElement="Behavior-ownedParameterSet">
          <body>The ParameterSets owned by this Behavior.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="Pin" name="Pin" superClass="MultiplicityElement ObjectNode">
      <ownedComment xmi:type="cmof:Comment" xmi:id="Pin-_ownedComment.0" annotatedElement="Pin">
        <body>A pin is a typed element and multiplicity element that provides values to actions and accept result values from them.</body>
      </ownedComment>
      <ownedComment xmi:type="cmof:Comment" xmi:id="Pin-_ownedComment.1" annotatedElement="Pin">
        <body>A pin is an object node for inputs and outputs to actions.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Pin-control_pins" name="control_pins" constrainedElement="Pin" namespace="Pin">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Pin-control_pins-_ownedComment.0" annotatedElement="Pin-control_pins">
          <body>Control pins have a control type</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Pin-control_pins-_specification">
          <language>OCL</language>
          <body>isControl implies isControlType</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Pin-isControl" name="isControl" type="Boolean" default="false">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Pin-isControl-_ownedComment.0" annotatedElement="Pin-isControl">
          <body>Tells whether the pins provide data to the actions, or just controls when it executes it.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Enumeration" xmi:id="ObjectNodeOrderingKind" name="ObjectNodeOrderingKind" visibility="private">
      <ownedComment xmi:type="cmof:Comment" xmi:id="ObjectNodeOrderingKind-_ownedComment.0" annotatedElement="ObjectNodeOrderingKind">
        <body>ObjectNodeOrderingKind is an enumeration indicating queuing order within a node.</body>
      </ownedComment>
      <ownedLiteral xmi:type="cmof:EnumerationLiteral" xmi:id="ObjectNodeOrderingKind-unordered" name="unordered" enumeration="ObjectNodeOrderingKind">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ObjectNodeOrderingKind-unordered-_ownedComment.0" annotatedElement="ObjectNodeOrderingKind-unordered">
          <body>Indicates that object node tokens are unordered.</body>
        </ownedComment>
      </ownedLiteral>
      <ownedLiteral xmi:type="cmof:EnumerationLiteral" xmi:id="ObjectNodeOrderingKind-ordered" name="ordered" enumeration="ObjectNodeOrderingKind">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ObjectNodeOrderingKind-ordered-_ownedComment.0" annotatedElement="ObjectNodeOrderingKind-ordered">
          <body>Indicates that object node tokens are ordered.</body>
        </ownedComment>
      </ownedLiteral>
      <ownedLiteral xmi:type="cmof:EnumerationLiteral" xmi:id="ObjectNodeOrderingKind-LIFO" name="LIFO" enumeration="ObjectNodeOrderingKind">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ObjectNodeOrderingKind-LIFO-_ownedComment.0" annotatedElement="ObjectNodeOrderingKind-LIFO">
          <body>Indicates that object node tokens are queued in a last in, first out manner.</body>
        </ownedComment>
      </ownedLiteral>
      <ownedLiteral xmi:type="cmof:EnumerationLiteral" xmi:id="ObjectNodeOrderingKind-FIFO" name="FIFO" enumeration="ObjectNodeOrderingKind">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ObjectNodeOrderingKind-FIFO-_ownedComment.0" annotatedElement="ObjectNodeOrderingKind-FIFO">
          <body>Indicates that object node tokens are queued in a first in, first out manner.</body>
        </ownedComment>
      </ownedLiteral>
    </ownedMember>
    <ownedMember xmi:type="cmof:Enumeration" xmi:id="ParameterEffectKind" name="ParameterEffectKind" visibility="private">
      <ownedComment xmi:type="cmof:Comment" xmi:id="ParameterEffectKind-_ownedComment.0" annotatedElement="ParameterEffectKind">
        <body>The datatype ParameterEffectKind is an enumeration that indicates the effect of a behavior on values passed in or out of its parameters.</body>
      </ownedComment>
      <ownedLiteral xmi:type="cmof:EnumerationLiteral" xmi:id="ParameterEffectKind-create" name="create" enumeration="ParameterEffectKind">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ParameterEffectKind-create-_ownedComment.0" annotatedElement="ParameterEffectKind-create">
          <body>Indicates that the behavior creates values.</body>
        </ownedComment>
      </ownedLiteral>
      <ownedLiteral xmi:type="cmof:EnumerationLiteral" xmi:id="ParameterEffectKind-read" name="read" enumeration="ParameterEffectKind">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ParameterEffectKind-read-_ownedComment.0" annotatedElement="ParameterEffectKind-read">
          <body>Indicates that the behavior reads values.</body>
        </ownedComment>
      </ownedLiteral>
      <ownedLiteral xmi:type="cmof:EnumerationLiteral" xmi:id="ParameterEffectKind-update" name="update" enumeration="ParameterEffectKind">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ParameterEffectKind-update-_ownedComment.0" annotatedElement="ParameterEffectKind-update">
          <body>Indicates that the behavior updates values.</body>
        </ownedComment>
      </ownedLiteral>
      <ownedLiteral xmi:type="cmof:EnumerationLiteral" xmi:id="ParameterEffectKind-delete" name="delete" enumeration="ParameterEffectKind">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ParameterEffectKind-delete-_ownedComment.0" annotatedElement="ParameterEffectKind-delete">
          <body>Indicates that the behavior deletes values.</body>
        </ownedComment>
      </ownedLiteral>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_weight_activityEdge" name="A_weight_activityEdge" visibility="private" memberEnd="ActivityEdge-weight A_weight_activityEdge-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_weight_activityEdge-_ownedEnd.0" type="ActivityEdge" lower="0" owningAssociation="A_weight_activityEdge" association="A_weight_activityEdge"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_upperBound_objectNode" name="A_upperBound_objectNode" visibility="private" memberEnd="ObjectNode-upperBound A_upperBound_objectNode-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_upperBound_objectNode-_ownedEnd.0" type="ObjectNode" lower="0" owningAssociation="A_upperBound_objectNode" association="A_upperBound_objectNode"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_inState_objectNode" name="A_inState_objectNode" visibility="private" memberEnd="ObjectNode-inState A_inState_objectNode-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_inState_objectNode-_ownedEnd.0" type="ObjectNode" upper="*" lower="0" owningAssociation="A_inState_objectNode" association="A_inState_objectNode"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_parameterSet_parameter" name="A_parameterSet_parameter" visibility="private" memberEnd="Parameter-parameterSet ParameterSet-parameter"/>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_transformation_objectFlow" name="A_transformation_objectFlow" visibility="private" memberEnd="ObjectFlow-transformation A_transformation_objectFlow-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_transformation_objectFlow-_ownedEnd.0" type="ObjectFlow" upper="*" lower="0" owningAssociation="A_transformation_objectFlow" association="A_transformation_objectFlow"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_action_localPrecondition" name="A_action_localPrecondition" visibility="private" memberEnd="A_action_localPrecondition-_ownedEnd.0 Action-localPrecondition">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_action_localPrecondition-_ownedEnd.0" type="Action" lower="0" owningAssociation="A_action_localPrecondition" association="A_action_localPrecondition"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_action_localPostcondition" name="A_action_localPostcondition" visibility="private" memberEnd="A_action_localPostcondition-_ownedEnd.0 Action-localPostcondition">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_action_localPostcondition-_ownedEnd.0" type="Action" lower="0" owningAssociation="A_action_localPostcondition" association="A_action_localPostcondition"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_interruptingEdge_interrupts" name="A_interruptingEdge_interrupts" visibility="private" memberEnd="InterruptibleActivityRegion-interruptingEdge ActivityEdge-interrupts"/>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_inInterruptibleRegion_node" name="A_inInterruptibleRegion_node" visibility="private" memberEnd="ActivityNode-inInterruptibleRegion InterruptibleActivityRegion-node"/>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_selection_objectFlow" name="A_selection_objectFlow" visibility="private" memberEnd="ObjectFlow-selection A_selection_objectFlow-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_selection_objectFlow-_ownedEnd.0" type="ObjectFlow" upper="*" lower="0" owningAssociation="A_selection_objectFlow" association="A_selection_objectFlow"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_selection_objectNode" name="A_selection_objectNode" visibility="private" memberEnd="ObjectNode-selection A_selection_objectNode-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_selection_objectNode-_ownedEnd.0" type="ObjectNode" upper="*" lower="0" owningAssociation="A_selection_objectNode" association="A_selection_objectNode"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_condition_parameterSet" name="A_condition_parameterSet" visibility="private" memberEnd="ParameterSet-condition A_condition_parameterSet-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_condition_parameterSet-_ownedEnd.0" type="ParameterSet" lower="0" owningAssociation="A_condition_parameterSet" association="A_condition_parameterSet"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_ownedParameterSet_behavioralFeature" name="A_ownedParameterSet_behavioralFeature" visibility="private" memberEnd="BehavioralFeature-ownedParameterSet A_ownedParameterSet_behavioralFeature-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_ownedParameterSet_behavioralFeature-_ownedEnd.0" type="BehavioralFeature" lower="0" owningAssociation="A_ownedParameterSet_behavioralFeature" association="A_ownedParameterSet_behavioralFeature"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_ownedParameterSet_behavior" name="A_ownedParameterSet_behavior" visibility="private" memberEnd="Behavior-ownedParameterSet A_ownedParameterSet_behavior-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_ownedParameterSet_behavior-_ownedEnd.0" type="Behavior" lower="0" owningAssociation="A_ownedParameterSet_behavior" association="A_ownedParameterSet_behavior"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_joinSpec_joinNode" name="A_joinSpec_joinNode" visibility="private" memberEnd="JoinNode-joinSpec A_joinSpec_joinNode-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_joinSpec_joinNode-_ownedEnd.0" type="JoinNode" lower="0" owningAssociation="A_joinSpec_joinNode" association="A_joinSpec_joinNode"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="GeneralizationSet" name="GeneralizationSet" superClass="PackageableElement">
      <ownedComment xmi:type="cmof:Comment" xmi:id="GeneralizationSet-_ownedComment.0" annotatedElement="GeneralizationSet">
        <body>A generalization set is a packageable element whose instances define collections of subsets of generalization relationships.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="GeneralizationSet-generalization_same_classifier" name="generalization_same_classifier" constrainedElement="GeneralizationSet" namespace="GeneralizationSet">
        <ownedComment xmi:type="cmof:Comment" xmi:id="GeneralizationSet-generalization_same_classifier-_ownedComment.0" annotatedElement="GeneralizationSet-generalization_same_classifier">
          <body>Every Generalization associated with a particular GeneralizationSet must have the same general Classifier.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="GeneralizationSet-generalization_same_classifier-_specification">
          <language>OCL</language>
          <body>generalization->collect(g | g.general)->asSet()->size() &lt;= 1</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="GeneralizationSet-maps_to_generalization_set" name="maps_to_generalization_set" constrainedElement="GeneralizationSet" namespace="GeneralizationSet">
        <ownedComment xmi:type="cmof:Comment" xmi:id="GeneralizationSet-maps_to_generalization_set-_ownedComment.0" annotatedElement="GeneralizationSet-maps_to_generalization_set">
          <body>The Classifier that maps to a GeneralizationSet may neither be a specific nor a general Classifier in any of the Generalization relationships defined for that GeneralizationSet. In other words, a power type may not be an instance of itself nor may its instances be its subclasses.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="GeneralizationSet-maps_to_generalization_set-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="GeneralizationSet-isCovering" name="isCovering" type="Boolean" default="false">
        <ownedComment xmi:type="cmof:Comment" xmi:id="GeneralizationSet-isCovering-_ownedComment.0" annotatedElement="GeneralizationSet-isCovering">
          <body>Indicates (via the associated Generalizations) whether or not the set of specific Classifiers are covering for a particular general classifier. When isCovering is true, every instance of a particular general Classifier is also an instance of at least one of its specific Classifiers for the GeneralizationSet. When isCovering is false, there are one or more instances of the particular general Classifier that are not instances of at least one of its specific Classifiers defined for the GeneralizationSet.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="GeneralizationSet-isDisjoint" name="isDisjoint" type="Boolean" default="false">
        <ownedComment xmi:type="cmof:Comment" xmi:id="GeneralizationSet-isDisjoint-_ownedComment.0" annotatedElement="GeneralizationSet-isDisjoint">
          <body>Indicates whether or not the set of specific Classifiers in a Generalization relationship have instance in common. If isDisjoint is true, the specific Classifiers for a particular GeneralizationSet have no members in common; that is, their intersection is empty. If isDisjoint is false, the specific Classifiers in a particular GeneralizationSet have one or more members in common; that is, their intersection is not empty. For example, Person could have two Generalization relationships, each with the different specific Classifier: Manager or Staff. This would be disjoint because every instance of Person must either be a Manager or Staff. In contrast, Person could have two Generalization relationships involving two specific (and non-covering) Classifiers: Sales Person and Manager. This GeneralizationSet would not be disjoint because there are instances of Person which can be a Sales Person and a Manager.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="GeneralizationSet-powertype" name="powertype" type="Classifier" lower="0" association="A_powertypeExtent_powertype">
        <ownedComment xmi:type="cmof:Comment" xmi:id="GeneralizationSet-powertype-_ownedComment.0" annotatedElement="GeneralizationSet-powertype">
          <body>Designates the Classifier that is defined as the power type for the associated GeneralizationSet.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="GeneralizationSet-generalization" name="generalization" type="Generalization" upper="*" lower="0" association="A_generalizationSet_generalization">
        <ownedComment xmi:type="cmof:Comment" xmi:id="GeneralizationSet-generalization-_ownedComment.0" annotatedElement="GeneralizationSet-generalization">
          <body>Designates the instances of Generalization which are members of a given GeneralizationSet.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="Classifier" name="Classifier" isAbstract="true" superClass="RedefinableElement Type Namespace">
      <ownedComment xmi:type="cmof:Comment" xmi:id="Classifier-_ownedComment.0" annotatedElement="Classifier">
        <body>A classifier is a classification of instances - it describes a set of instances that have features in common. A classifier can specify a generalization hierarchy by referencing its general classifiers.</body>
      </ownedComment>
      <ownedComment xmi:type="cmof:Comment" xmi:id="Classifier-_ownedComment.1" annotatedElement="Classifier">
        <body>A classifier has the capability to own collaboration uses. These collaboration uses link a collaboration with the classifier to give a description of the workings of the classifier.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Classifier-no_cycles_in_generalization" name="no_cycles_in_generalization" constrainedElement="Classifier" namespace="Classifier">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Classifier-no_cycles_in_generalization-_ownedComment.0" annotatedElement="Classifier-no_cycles_in_generalization">
          <body>Generalization hierarchies must be directed and acyclical. A classifier can not be both a transitively general and transitively specific classifier of the same classifier.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Classifier-no_cycles_in_generalization-_specification">
          <language>OCL</language>
          <body>not self.allParents()->includes(self)</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Classifier-generalization_hierarchies" name="generalization_hierarchies" constrainedElement="Classifier" namespace="Classifier">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Classifier-generalization_hierarchies-_ownedComment.0" annotatedElement="Classifier-generalization_hierarchies">
          <body>Generalization hierarchies must be directed and acyclical. A classifier can not be both a transitively general and transitively specific classifier of the same classifier.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Classifier-generalization_hierarchies-_specification">
          <language>OCL</language>
          <body>not self.allParents()->includes(self)</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Classifier-specialize_type" name="specialize_type" constrainedElement="Classifier" namespace="Classifier">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Classifier-specialize_type-_ownedComment.0" annotatedElement="Classifier-specialize_type">
          <body>A classifier may only specialize classifiers of a valid type.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Classifier-specialize_type-_specification">
          <language>OCL</language>
          <body>self.parents()->forAll(c | self.maySpecializeType(c))</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Classifier-maps_to_generalization_set" name="maps_to_generalization_set" constrainedElement="Classifier" namespace="Classifier">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Classifier-maps_to_generalization_set-_ownedComment.0" annotatedElement="Classifier-maps_to_generalization_set">
          <body>The Classifier that maps to a GeneralizationSet may neither be a specific nor a general Classifier in any of the Generalization relationships defined for that GeneralizationSet. In other words, a power type may not be an instance of itself nor may its instances also be its subclasses.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Classifier-maps_to_generalization_set-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Classifier-isAbstract" name="isAbstract" type="Boolean" default="false">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Classifier-isAbstract-_ownedComment.0" annotatedElement="Classifier-isAbstract">
          <body>If true, the Classifier does not provide a complete declaration and can typically not be instantiated. An abstract classifier is intended to be used by other classifiers e.g. as the target of general metarelationships or generalization relationships.&#xD;
</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Classifier-generalization" name="generalization" type="Generalization" upper="*" lower="0" isComposite="true" subsettedProperty="Element-ownedElement" association="A_generalization_specific">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Classifier-generalization-_ownedComment.0" annotatedElement="Classifier-generalization">
          <body>Specifies the Generalization relationships for this Classifier. These Generalizations navigaten to more general classifiers in the generalization hierarchy.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Classifier-feature" name="feature" type="Feature" upper="*" lower="0" isReadOnly="true" isDerived="true" isDerivedUnion="true" subsettedProperty="Namespace-member" association="A_feature_featuringClassifier">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Classifier-feature-_ownedComment.0" annotatedElement="Classifier-feature">
          <body>Note that there may be members of the Classifier that are of the type Feature but are not included in this association, e.g. inherited features.</body>
        </ownedComment>
        <ownedComment xmi:type="cmof:Comment" xmi:id="Classifier-feature-_ownedComment.1" annotatedElement="Classifier-feature">
          <body>Specifies each feature defined in the classifier.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Classifier-inheritedMember" name="inheritedMember" type="NamedElement" upper="*" lower="0" isReadOnly="true" isDerived="true" subsettedProperty="Namespace-member" association="A_inheritedMember_classifier">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Classifier-inheritedMember-_ownedComment.0" annotatedElement="Classifier-inheritedMember">
          <body>Specifies all elements inherited by this classifier from the general classifiers.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Classifier-redefinedClassifier" name="redefinedClassifier" type="Classifier" upper="*" lower="0" subsettedProperty="RedefinableElement-redefinedElement" association="A_redefinedClassifier_classifier">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Classifier-redefinedClassifier-_ownedComment.0" annotatedElement="Classifier-redefinedClassifier">
          <body>References the Classifiers that are redefined by this Classifier.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Classifier-general" name="general" type="Classifier" upper="*" lower="0" isDerived="true" association="A_general_classifier">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Classifier-general-_ownedComment.0" annotatedElement="Classifier-general">
          <body>References the general classifier in the Generalization relationship.</body>
        </ownedComment>
        <ownedComment xmi:type="cmof:Comment" xmi:id="Classifier-general-_ownedComment.1" annotatedElement="Classifier-general">
          <body>Specifies the general Classifiers for this Classifier.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Classifier-substitution" name="substitution" type="Substitution" upper="*" lower="0" isComposite="true" subsettedProperty="Element-ownedElement NamedElement-clientDependency" association="A_substitution_substitutingClassifier">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Classifier-substitution-_ownedComment.0" annotatedElement="Classifier-substitution">
          <body>References the substitutions that are owned by this Classifier.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Classifier-attribute" name="attribute" type="Property" upper="*" lower="0" isReadOnly="true" isDerived="true" isDerivedUnion="true" subsettedProperty="Classifier-feature" association="A_attribute_classifier">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Classifier-attribute-_ownedComment.0" annotatedElement="Classifier-attribute">
          <body>Refers to all of the Properties that are direct (i.e. not inherited or imported) attributes of the classifier.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Classifier-powertypeExtent" name="powertypeExtent" type="GeneralizationSet" upper="*" lower="0" association="A_powertypeExtent_powertype">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Classifier-powertypeExtent-_ownedComment.0" annotatedElement="Classifier-powertypeExtent">
          <body>Designates the GeneralizationSet of which the associated Classifier is a power type.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="Classifier-general.1" name="general" class="Classifier" isQuery="true" bodyCondition="Classifier-general.1-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Classifier-general.1-_ownedComment.0" annotatedElement="Classifier-general.1">
          <body>The general classifiers are the classifiers referenced by the generalization relationships.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="Classifier-general.1-spec" name="spec" constrainedElement="Classifier-general.1 Classifier-general" namespace="Classifier-general.1">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="Classifier-general.1-spec-_specification">
            <language>OCL</language>
            <body>result = self.parents()</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="Classifier-general.1-_ownedParameter.0" type="Classifier" upper="*" lower="0" direction="return"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="Classifier-inheritedMember.1" name="inheritedMember" class="Classifier" isQuery="true" bodyCondition="Classifier-inheritedMember.1-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Classifier-inheritedMember.1-_ownedComment.0" annotatedElement="Classifier-inheritedMember.1">
          <body>The inheritedMember association is derived by inheriting the inheritable members of the parents.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="Classifier-inheritedMember.1-spec" name="spec" constrainedElement="Classifier-inheritedMember.1 Classifier-inheritedMember" namespace="Classifier-inheritedMember.1">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="Classifier-inheritedMember.1-spec-_specification">
            <language>OCL</language>
            <body>result = self.inherit(self.parents()->collect(p | p.inheritableMembers(self))</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="Classifier-inheritedMember.1-_ownedParameter.0" type="NamedElement" upper="*" lower="0" direction="return"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="Classifier-allFeatures" name="allFeatures" class="Classifier" isQuery="true" bodyCondition="Classifier-allFeatures-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Classifier-allFeatures-_ownedComment.0" annotatedElement="Classifier-allFeatures">
          <body>The query allFeatures() gives all of the features in the namespace of the classifier. In general, through mechanisms such as inheritance, this will be a larger set than feature.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="Classifier-allFeatures-spec" name="spec" constrainedElement="Classifier-allFeatures" namespace="Classifier-allFeatures">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="Classifier-allFeatures-spec-_specification">
            <language>OCL</language>
            <body>result = member->select(oclIsKindOf(Feature))</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="Classifier-allFeatures-_ownedParameter.0" type="Feature" upper="*" lower="0" direction="return"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="Classifier-parents" name="parents" class="Classifier" isQuery="true" bodyCondition="Classifier-parents-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Classifier-parents-_ownedComment.0" annotatedElement="Classifier-parents">
          <body>The query parents() gives all of the immediate ancestors of a generalized Classifier.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="Classifier-parents-spec" name="spec" constrainedElement="Classifier-parents" namespace="Classifier-parents">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="Classifier-parents-spec-_specification">
            <language>OCL</language>
            <body>result = generalization.general</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="Classifier-parents-_ownedParameter.0" type="Classifier" upper="*" lower="0" direction="return"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="Classifier-inheritableMembers" name="inheritableMembers" class="Classifier" isQuery="true" precondition="Classifier-inheritableMembers-_ownedRule.0" postcondition="Classifier-inheritableMembers-_ownedRule.0" bodyCondition="Classifier-inheritableMembers-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Classifier-inheritableMembers-_ownedComment.0" annotatedElement="Classifier-inheritableMembers">
          <body>The query inheritableMembers() gives all of the members of a classifier that may be inherited in one of its descendants, subject to whatever visibility restrictions apply.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="Classifier-inheritableMembers-_ownedRule.0" constrainedElement="Classifier-inheritableMembers" namespace="Classifier-inheritableMembers">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="Classifier-inheritableMembers-_ownedRule.0-_specification">
            <language>OCL</language>
            <body>c.allParents()->includes(self)</body>
          </specification>
        </ownedRule>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="Classifier-inheritableMembers-spec" name="spec" constrainedElement="Classifier-inheritableMembers" namespace="Classifier-inheritableMembers">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="Classifier-inheritableMembers-spec-_specification">
            <language>OCL</language>
            <body>result = member->select(m | c.hasVisibilityOf(m))</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="Classifier-inheritableMembers-_ownedParameter.0" type="NamedElement" upper="*" lower="0" direction="return"/>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="Classifier-inheritableMembers-c" name="c" type="Classifier"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="Classifier-hasVisibilityOf" name="hasVisibilityOf" class="Classifier" isQuery="true" precondition="Classifier-hasVisibilityOf-_ownedRule.0" bodyCondition="Classifier-hasVisibilityOf-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Classifier-hasVisibilityOf-_ownedComment.0" annotatedElement="Classifier-hasVisibilityOf">
          <body>The query hasVisibilityOf() determines whether a named element is visible in the classifier. By default all are visible. It is only called when the argument is something owned by a parent.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="Classifier-hasVisibilityOf-_ownedRule.0" constrainedElement="Classifier-hasVisibilityOf" namespace="Classifier-hasVisibilityOf">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="Classifier-hasVisibilityOf-_ownedRule.0-_specification">
            <language>OCL</language>
            <body>self.allParents()->collect(c | c.member)->includes(n)</body>
          </specification>
        </ownedRule>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="Classifier-hasVisibilityOf-spec" name="spec" constrainedElement="Classifier-hasVisibilityOf" namespace="Classifier-hasVisibilityOf">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="Classifier-hasVisibilityOf-spec-_specification">
            <language>OCL</language>
            <body>result = if (self.inheritedMember->includes(n)) then (n.visibility &lt;> #private) else true</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="Classifier-hasVisibilityOf-_ownedParameter.0" type="Boolean" direction="return"/>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="Classifier-hasVisibilityOf-n" name="n" type="NamedElement"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="Classifier-conformsTo" name="conformsTo" class="Classifier" isQuery="true" redefinedOperation="Type-conformsTo" bodyCondition="Classifier-conformsTo-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Classifier-conformsTo-_ownedComment.0" annotatedElement="Classifier-conformsTo">
          <body>The query conformsTo() gives true for a classifier that defines a type that conforms to another. This is used, for example, in the specification of signature conformance for operations.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="Classifier-conformsTo-spec" name="spec" constrainedElement="Classifier-conformsTo" namespace="Classifier-conformsTo">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="Classifier-conformsTo-spec-_specification">
            <language>OCL</language>
            <body>result = (self=other) or (self.allParents()->includes(other))</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="Classifier-conformsTo-_ownedParameter.0" type="Boolean" direction="return"/>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="Classifier-conformsTo-other" name="other" type="Classifier"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="Classifier-inherit" name="inherit" class="Classifier" isQuery="true" bodyCondition="Classifier-inherit-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Classifier-inherit-_ownedComment.0" annotatedElement="Classifier-inherit">
          <body>The inherit operation is overridden to exclude redefined properties.</body>
        </ownedComment>
        <ownedComment xmi:type="cmof:Comment" xmi:id="Classifier-inherit-_ownedComment.1" annotatedElement="Classifier-inherit">
          <body>The query inherit() defines how to inherit a set of elements. Here the operation is defined to inherit them all. It is intended to be redefined in circumstances where inheritance is affected by redefinition.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="Classifier-inherit-spec" name="spec" constrainedElement="Classifier-inherit" namespace="Classifier-inherit">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="Classifier-inherit-spec-_specification">
            <language>OCL</language>
            <body>result = inhs</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="Classifier-inherit-_ownedParameter.0" type="NamedElement" upper="*" lower="0" direction="return"/>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="Classifier-inherit-inhs" name="inhs" type="NamedElement" upper="*" lower="0"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="Classifier-maySpecializeType" name="maySpecializeType" class="Classifier" isQuery="true" bodyCondition="Classifier-maySpecializeType-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Classifier-maySpecializeType-_ownedComment.0" annotatedElement="Classifier-maySpecializeType">
          <body>The query maySpecializeType() determines whether this classifier may have a generalization relationship to classifiers of the specified type. By default a classifier may specialize classifiers of the same or a more general type. It is intended to be redefined by classifiers that have different specialization constraints.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="Classifier-maySpecializeType-spec" name="spec" constrainedElement="Classifier-maySpecializeType" namespace="Classifier-maySpecializeType">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="Classifier-maySpecializeType-spec-_specification">
            <language>OCL</language>
            <body>result = self.oclIsKindOf(c.oclType)</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="Classifier-maySpecializeType-_ownedParameter.0" type="Boolean" direction="return"/>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="Classifier-maySpecializeType-c" name="c" type="Classifier"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="Classifier-allParents" name="allParents" class="Classifier" isQuery="true" bodyCondition="Classifier-allParents-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Classifier-allParents-_ownedComment.0" annotatedElement="Classifier-allParents">
          <body>The query allParents() gives all of the direct and indirect ancestors of a generalized Classifier.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="Classifier-allParents-spec" name="spec" constrainedElement="Classifier-allParents" namespace="Classifier-allParents">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="Classifier-allParents-spec-_specification">
            <language>OCL</language>
            <body>result = self.parents()->union(self.parents()->collect(p | p.allParents())</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="Classifier-allParents-_ownedParameter.0" type="Classifier" upper="*" lower="0" direction="return"/>
      </ownedOperation>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="Generalization" name="Generalization" superClass="DirectedRelationship">
      <ownedComment xmi:type="cmof:Comment" xmi:id="Generalization-_ownedComment.0" annotatedElement="Generalization">
        <body>A generalization is a taxonomic relationship between a more general classifier and a more specific classifier. Each instance of the specific classifier is also an indirect instance of the general classifier. Thus, the specific classifier inherits the features of the more general classifier.</body>
      </ownedComment>
      <ownedComment xmi:type="cmof:Comment" xmi:id="Generalization-_ownedComment.1" annotatedElement="Generalization">
        <body>A generalization relates a specific classifier to a more general classifier, and is owned by the specific classifier.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Generalization-generalization_same_classifier" name="generalization_same_classifier" constrainedElement="Generalization" namespace="Generalization">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Generalization-generalization_same_classifier-_ownedComment.0" annotatedElement="Generalization-generalization_same_classifier">
          <body>Every Generalization associated with a given GeneralizationSet must have the same general Classifier. That is, all Generalizations for a particular GeneralizationSet must have the same superclass.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Generalization-generalization_same_classifier-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Generalization-isSubstitutable" name="isSubstitutable" type="Boolean" lower="0">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Generalization-isSubstitutable-_ownedComment.0" annotatedElement="Generalization-isSubstitutable">
          <body>Indicates whether the specific classifier can be used wherever the general classifier can be used. If true, the execution traces of the specific classifier will be a superset of the execution traces of the general classifier.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Generalization-specific" name="specific" type="Classifier" subsettedProperty="DirectedRelationship-source Element-owner" association="A_generalization_specific">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Generalization-specific-_ownedComment.0" annotatedElement="Generalization-specific">
          <body>References the specializing classifier in the Generalization relationship.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Generalization-general" name="general" type="Classifier" subsettedProperty="DirectedRelationship-target" association="A_general_generalization">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Generalization-general-_ownedComment.0" annotatedElement="Generalization-general">
          <body>References the general classifier in the Generalization relationship.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Generalization-generalizationSet" name="generalizationSet" type="GeneralizationSet" upper="*" lower="0" association="A_generalizationSet_generalization">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Generalization-generalizationSet-_ownedComment.0" annotatedElement="Generalization-generalizationSet">
          <body>Designates a set in which instances of Generalization is considered members.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_powertypeExtent_powertype" name="A_powertypeExtent_powertype" visibility="private" memberEnd="Classifier-powertypeExtent GeneralizationSet-powertype"/>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_generalizationSet_generalization" name="A_generalizationSet_generalization" visibility="private" memberEnd="Generalization-generalizationSet GeneralizationSet-generalization"/>
    <ownedMember xmi:type="cmof:Class" xmi:id="Variable" name="Variable" superClass="TypedElement MultiplicityElement">
      <ownedComment xmi:type="cmof:Comment" xmi:id="Variable-_ownedComment.0" annotatedElement="Variable">
        <body>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.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Variable-owned" name="owned" constrainedElement="Variable" namespace="Variable">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Variable-owned-_ownedComment.0" annotatedElement="Variable-owned">
          <body>A variable is owned by a StructuredNode or Activity, but not both.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Variable-owned-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Variable-scope" name="scope" type="StructuredActivityNode" lower="0" subsettedProperty="NamedElement-namespace" association="A_scope_variable">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Variable-scope-_ownedComment.0" annotatedElement="Variable-scope">
          <body>A structured activity node that owns the variable.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Variable-activityScope" name="activityScope" type="Activity" lower="0" subsettedProperty="NamedElement-namespace" association="A_variable_activityScope">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Variable-activityScope-_ownedComment.0" annotatedElement="Variable-activityScope">
          <body>An activity that owns the variable.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="Variable-isAccessibleBy" name="isAccessibleBy" class="Variable" isQuery="true" bodyCondition="Variable-isAccessibleBy-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Variable-isAccessibleBy-_ownedComment.0" annotatedElement="Variable-isAccessibleBy">
          <body>The isAccessibleBy() operation is not defined in standard UML. Implementations should define it to specify which actions can access a variable.&#xD;
</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="Variable-isAccessibleBy-spec" name="spec" constrainedElement="Variable-isAccessibleBy" namespace="Variable-isAccessibleBy">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="Variable-isAccessibleBy-spec-_specification">
            <language>OCL</language>
            <body>result = true</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="Variable-isAccessibleBy-_ownedParameter.0" type="Boolean" direction="return"/>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="Variable-isAccessibleBy-a" name="a" type="Action"/>
      </ownedOperation>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="StructuredActivityNode" name="StructuredActivityNode" superClass="ActivityGroup ExecutableNode Namespace">
      <ownedComment xmi:type="cmof:Comment" xmi:id="StructuredActivityNode-_ownedComment.0" annotatedElement="StructuredActivityNode">
        <body>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.</body>
      </ownedComment>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="StructuredActivityNode-variable" name="variable" type="Variable" upper="*" lower="0" isComposite="true" subsettedProperty="Namespace-ownedMember" association="A_scope_variable">
        <ownedComment xmi:type="cmof:Comment" xmi:id="StructuredActivityNode-variable-_ownedComment.0" annotatedElement="StructuredActivityNode-variable">
          <body>A variable defined in the scope of the structured activity node. It has no value and may not be accessed</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="StructuredActivityNode-node" name="node" type="ActivityNode" upper="*" lower="0" isComposite="true" subsettedProperty="ActivityGroup-containedNode" association="A_node_inStructuredNode">
        <ownedComment xmi:type="cmof:Comment" xmi:id="StructuredActivityNode-node-_ownedComment.0" annotatedElement="StructuredActivityNode-node">
          <body>Nodes immediately contained in the group.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="StructuredActivityNode-activity" name="activity" type="Activity" lower="0" redefinedProperty="ActivityNode-activity ActivityGroup-inActivity" association="A_activity_structuredNode">
        <ownedComment xmi:type="cmof:Comment" xmi:id="StructuredActivityNode-activity-_ownedComment.0" annotatedElement="StructuredActivityNode-activity">
          <body>Activity immediately containing the node.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="ConditionalNode" name="ConditionalNode" superClass="StructuredActivityNode">
      <ownedComment xmi:type="cmof:Comment" xmi:id="ConditionalNode-_ownedComment.0" annotatedElement="ConditionalNode">
        <body>A conditional node is a structured activity node that represents an exclusive choice among some number of alternatives.</body>
      </ownedComment>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ConditionalNode-isDeterminate" name="isDeterminate" type="Boolean" default="false">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ConditionalNode-isDeterminate-_ownedComment.0" annotatedElement="ConditionalNode-isDeterminate">
          <body>If true, the modeler asserts that at most one test will succeed.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ConditionalNode-isAssured" name="isAssured" type="Boolean" default="false">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ConditionalNode-isAssured-_ownedComment.0" annotatedElement="ConditionalNode-isAssured">
          <body>If true, the modeler asserts that at least one test will succeed.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ConditionalNode-clause" name="clause" type="Clause" upper="*" isComposite="true" subsettedProperty="Element-ownedElement" association="A_clause_conditionalNode">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ConditionalNode-clause-_ownedComment.0" annotatedElement="ConditionalNode-clause">
          <body>Set of clauses composing the conditional.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="LoopNode" name="LoopNode" superClass="StructuredActivityNode">
      <ownedComment xmi:type="cmof:Comment" xmi:id="LoopNode-_ownedComment.0" annotatedElement="LoopNode">
        <body>A loop node is a structured activity node that represents a loop with setup, test, and body sections.</body>
      </ownedComment>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="LoopNode-isTestedFirst" name="isTestedFirst" type="Boolean" default="false">
        <ownedComment xmi:type="cmof:Comment" xmi:id="LoopNode-isTestedFirst-_ownedComment.0" annotatedElement="LoopNode-isTestedFirst">
          <body>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.
</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="LoopNode-bodyPart" name="bodyPart" type="ExecutableNode" upper="*" lower="0" association="A_loopNode_bodyPart">
        <ownedComment xmi:type="cmof:Comment" xmi:id="LoopNode-bodyPart-_ownedComment.0" annotatedElement="LoopNode-bodyPart">
          <body>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.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="LoopNode-setupPart" name="setupPart" type="ExecutableNode" upper="*" lower="0" association="A_loopNode_setupPart">
        <ownedComment xmi:type="cmof:Comment" xmi:id="LoopNode-setupPart-_ownedComment.0" annotatedElement="LoopNode-setupPart">
          <body>The set of nodes and edges that initialize values or perform other setup computations for the loop.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="LoopNode-decider" name="decider" type="OutputPin" association="A_decider_loopNode">
        <ownedComment xmi:type="cmof:Comment" xmi:id="LoopNode-decider-_ownedComment.0" annotatedElement="LoopNode-decider">
          <body>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.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="LoopNode-test" name="test" type="ExecutableNode" upper="*" lower="0" association="A_test_loopNode">
        <ownedComment xmi:type="cmof:Comment" xmi:id="LoopNode-test-_ownedComment.0" annotatedElement="LoopNode-test">
          <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.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="Clause" name="Clause" superClass="Element">
      <ownedComment xmi:type="cmof:Comment" xmi:id="Clause-_ownedComment.0" annotatedElement="Clause">
        <body>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.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Clause-decider_output" name="decider_output" constrainedElement="Clause" namespace="Clause">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Clause-decider_output-_ownedComment.0" annotatedElement="Clause-decider_output">
          <body>The decider output pin must be for the test body or a node contained by the test body as a structured node.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Clause-decider_output-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Clause-test" name="test" type="ExecutableNode" upper="*" lower="0" association="A_clause_test">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Clause-test-_ownedComment.0" annotatedElement="Clause-test">
          <body>A nested activity fragment with a designated output pin that specifies the result of the test.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Clause-body" name="body" type="ExecutableNode" upper="*" lower="0" association="A_clause_body">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Clause-body-_ownedComment.0" annotatedElement="Clause-body">
          <body>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.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Clause-predecessorClause" name="predecessorClause" type="Clause" upper="*" lower="0" association="A_predecessorClause_successorClause">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Clause-predecessorClause-_ownedComment.0" annotatedElement="Clause-predecessorClause">
          <body>A set of clauses whose tests must all evaluate false before the current clause can be tested.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Clause-successorClause" name="successorClause" type="Clause" upper="*" lower="0" association="A_predecessorClause_successorClause">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Clause-successorClause-_ownedComment.0" annotatedElement="Clause-successorClause">
          <body>A set of clauses which may not be tested unless the current clause tests false.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Clause-decider" name="decider" type="OutputPin" association="A_decider_clause">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Clause-decider-_ownedComment.0" annotatedElement="Clause-decider">
          <body>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.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="Activity" name="Activity" superClass="Behavior">
      <ownedComment xmi:type="cmof:Comment" xmi:id="Activity-_ownedComment.0" annotatedElement="Activity">
        <body>An activity is the specification of parameterized behavior as the coordinated sequencing of subordinate units whose individual elements are actions.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Activity-no_supergroups" name="no_supergroups" constrainedElement="Activity" namespace="Activity">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Activity-no_supergroups-_ownedComment.0" annotatedElement="Activity-no_supergroups">
          <body>The groups of an activity have no supergroups.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Activity-no_supergroups-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Activity-activity_parameter_node" name="activity_parameter_node" constrainedElement="Activity" namespace="Activity">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Activity-activity_parameter_node-_ownedComment.0" annotatedElement="Activity-activity_parameter_node">
          <body>The nodes of the activity must include one ActivityParameterNode for each parameter.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Activity-activity_parameter_node-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Activity-autonomous" name="autonomous" constrainedElement="Activity" namespace="Activity">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Activity-autonomous-_ownedComment.0" annotatedElement="Activity-autonomous">
          <body>An activity cannot be autonomous and have a classifier or behavioral feature context at the same time.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Activity-autonomous-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Activity-isReadOnly" name="isReadOnly" type="Boolean" default="false">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Activity-isReadOnly-_ownedComment.0" annotatedElement="Activity-isReadOnly">
          <body>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).</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Activity-edge" name="edge" type="ActivityEdge" upper="*" lower="0" isComposite="true" subsettedProperty="Element-ownedElement" association="A_activity_edge">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Activity-edge-_ownedComment.0" annotatedElement="Activity-edge">
          <body>Edges expressing flow between nodes of the activity.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Activity-partition" name="partition" type="ActivityPartition" upper="*" lower="0" subsettedProperty="Activity-group" association="A_partition_activity">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Activity-partition-_ownedComment.0" annotatedElement="Activity-partition">
          <body>Top-level partitions in the activity.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Activity-isSingleExecution" name="isSingleExecution" type="Boolean" default="false">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Activity-isSingleExecution-_ownedComment.0" annotatedElement="Activity-isSingleExecution">
          <body>If true, all invocations of the activity are handled by the same execution.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Activity-structuredNode" name="structuredNode" type="StructuredActivityNode" upper="*" lower="0" isReadOnly="true" isDerived="true" isComposite="true" subsettedProperty="Activity-node Activity-group" association="A_activity_structuredNode">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Activity-structuredNode-_ownedComment.0" annotatedElement="Activity-structuredNode">
          <body>Top-level structured nodes in the activity.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Activity-variable" name="variable" type="Variable" upper="*" lower="0" isComposite="true" subsettedProperty="Namespace-ownedMember" association="A_variable_activityScope">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Activity-variable-_ownedComment.0" annotatedElement="Activity-variable">
          <body>Top-level variables in the activity.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Activity-group" name="group" type="ActivityGroup" upper="*" lower="0" isComposite="true" subsettedProperty="Element-ownedElement" association="A_group_inActivity">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Activity-group-_ownedComment.0" annotatedElement="Activity-group">
          <body>Top-level groups in the activity.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Activity-node" name="node" type="ActivityNode" upper="*" lower="0" isComposite="true" subsettedProperty="Element-ownedElement" association="A_node_activity">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Activity-node-_ownedComment.0" annotatedElement="Activity-node">
          <body>Nodes coordinated by the activity.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="ActivityNode" name="ActivityNode" isAbstract="true" superClass="RedefinableElement">
      <ownedComment xmi:type="cmof:Comment" xmi:id="ActivityNode-_ownedComment.0" annotatedElement="ActivityNode">
        <body>ActivityNode is an abstract class for points in the flow of an activity connected by edges.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ActivityNode-owned" name="owned" constrainedElement="ActivityNode" namespace="ActivityNode">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ActivityNode-owned-_ownedComment.0" annotatedElement="ActivityNode-owned">
          <body>Activity nodes can only be owned by activities or groups.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ActivityNode-owned-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ActivityNode-owned_structured_node" name="owned_structured_node" constrainedElement="ActivityNode" namespace="ActivityNode">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ActivityNode-owned_structured_node-_ownedComment.0" annotatedElement="ActivityNode-owned_structured_node">
          <body>Activity nodes may be owned by at most one structured node.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ActivityNode-owned_structured_node-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ActivityNode-outgoing" name="outgoing" type="ActivityEdge" upper="*" lower="0" association="A_outgoing_source.1">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ActivityNode-outgoing-_ownedComment.0" annotatedElement="ActivityNode-outgoing">
          <body>Edges that have the node as source.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ActivityNode-incoming" name="incoming" type="ActivityEdge" upper="*" lower="0" association="A_target_incoming">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ActivityNode-incoming-_ownedComment.0" annotatedElement="ActivityNode-incoming">
          <body>Edges that have the node as target.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ActivityNode-redefinedNode" name="redefinedNode" type="ActivityNode" upper="*" lower="0" subsettedProperty="RedefinableElement-redefinedElement" association="A_redefinedNode_activityNode">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ActivityNode-redefinedNode-_ownedComment.0" annotatedElement="ActivityNode-redefinedNode">
          <body>Inherited nodes replaced by this node in a specialization of the activity.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ActivityNode-inPartition" name="inPartition" type="ActivityPartition" upper="*" lower="0" subsettedProperty="ActivityNode-inGroup" association="A_inPartition_node">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ActivityNode-inPartition-_ownedComment.0" annotatedElement="ActivityNode-inPartition">
          <body>Partitions containing the node.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ActivityNode-inInterruptibleRegion" name="inInterruptibleRegion" type="InterruptibleActivityRegion" upper="*" lower="0" subsettedProperty="ActivityNode-inGroup" association="A_inInterruptibleRegion_node">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ActivityNode-inInterruptibleRegion-_ownedComment.0" annotatedElement="ActivityNode-inInterruptibleRegion">
          <body>Interruptible regions containing the node.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ActivityNode-inStructuredNode" name="inStructuredNode" type="StructuredActivityNode" lower="0" subsettedProperty="ActivityNode-inGroup" association="A_node_inStructuredNode">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ActivityNode-inStructuredNode-_ownedComment.0" annotatedElement="ActivityNode-inStructuredNode">
          <body>Structured activity node containing the node.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ActivityNode-inGroup" name="inGroup" type="ActivityGroup" upper="*" lower="0" isReadOnly="true" isDerived="true" isDerivedUnion="true" association="A_containedNode_inGroup">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ActivityNode-inGroup-_ownedComment.0" annotatedElement="ActivityNode-inGroup">
          <body>Groups containing the node.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ActivityNode-activity" name="activity" type="Activity" lower="0" subsettedProperty="Element-owner" association="A_node_activity">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ActivityNode-activity-_ownedComment.0" annotatedElement="ActivityNode-activity">
          <body>Activity containing the node.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="ExecutableNode" name="ExecutableNode" isAbstract="true" superClass="ActivityNode">
      <ownedComment xmi:type="cmof:Comment" xmi:id="ExecutableNode-_ownedComment.0" annotatedElement="ExecutableNode">
        <body>An executable node is an abstract class for activity nodes that may be executed. It is used as an attachment point for exception handlers.</body>
      </ownedComment>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="SequenceNode" name="SequenceNode" superClass="StructuredActivityNode">
      <ownedComment xmi:type="cmof:Comment" xmi:id="SequenceNode-_ownedComment.0" annotatedElement="SequenceNode">
        <body>A sequence node is a structured activity node that executes its actions in order.</body>
      </ownedComment>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="SequenceNode-executableNode" name="executableNode" type="ExecutableNode" isOrdered="true" upper="*" lower="0" isComposite="true" redefinedProperty="StructuredActivityNode-node" association="A_executableNode_sequenceNode">
        <ownedComment xmi:type="cmof:Comment" xmi:id="SequenceNode-executableNode-_ownedComment.0" annotatedElement="SequenceNode-executableNode">
          <body>An ordered set of executable nodes.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="Action" name="Action" isAbstract="true" superClass="ExecutableNode">
      <ownedComment xmi:type="cmof:Comment" xmi:id="Action-_ownedComment.0" annotatedElement="Action">
        <body>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.</body>
      </ownedComment>
      <ownedComment xmi:type="cmof:Comment" xmi:id="Action-_ownedComment.1" annotatedElement="Action">
        <body>An action represents a single step within an activity, that is, one that is not further decomposed within the activity.</body>
      </ownedComment>
      <ownedComment xmi:type="cmof:Comment" xmi:id="Action-_ownedComment.2" annotatedElement="Action">
        <body>An action has pre- and post-conditions.</body>
      </ownedComment>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Action-output" name="output" type="OutputPin" isOrdered="true" upper="*" lower="0" isReadOnly="true" isDerived="true" isDerivedUnion="true" isComposite="true" subsettedProperty="Element-ownedElement" association="A_action_output">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Action-output-_ownedComment.0" annotatedElement="Action-output">
          <body>The ordered set of output pins connected to the Action. The action places its results onto pins in this set.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Action-input" name="input" type="InputPin" isOrdered="true" upper="*" lower="0" isReadOnly="true" isDerived="true" isDerivedUnion="true" isComposite="true" subsettedProperty="Element-ownedElement" association="A_action_input">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Action-input-_ownedComment.0" annotatedElement="Action-input">
          <body>The ordered set of input pins connected to the Action. These are among the total set of inputs.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Action-context" name="context" type="Classifier" lower="0" isReadOnly="true" isDerived="true" association="A_context_action">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Action-context-_ownedComment.0" annotatedElement="Action-context">
          <body>The classifier that owns the behavior of which this action is a part.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Action-localPrecondition" name="localPrecondition" type="Constraint" upper="*" lower="0" isComposite="true" subsettedProperty="Element-ownedElement" association="A_action_localPrecondition">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Action-localPrecondition-_ownedComment.0" annotatedElement="Action-localPrecondition">
          <body>Constraint that must be satisfied when execution is started.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Action-localPostcondition" name="localPostcondition" type="Constraint" upper="*" lower="0" isComposite="true" subsettedProperty="Element-ownedElement" association="A_action_localPostcondition">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Action-localPostcondition-_ownedComment.0" annotatedElement="Action-localPostcondition">
          <body>Constraint that must be satisfied when executed is completed.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="ActivityGroup" name="ActivityGroup" isAbstract="true" superClass="Element">
      <ownedComment xmi:type="cmof:Comment" xmi:id="ActivityGroup-_ownedComment.0" annotatedElement="ActivityGroup">
        <body>ActivityGroup is an abstract class for defining sets of nodes and edges in an activity.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ActivityGroup-nodes_and_edges" name="nodes_and_edges" constrainedElement="ActivityGroup" namespace="ActivityGroup">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ActivityGroup-nodes_and_edges-_ownedComment.0" annotatedElement="ActivityGroup-nodes_and_edges">
          <body>All nodes and edges of the group must be in the same activity as the group.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ActivityGroup-nodes_and_edges-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ActivityGroup-not_contained" name="not_contained" constrainedElement="ActivityGroup" namespace="ActivityGroup">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ActivityGroup-not_contained-_ownedComment.0" annotatedElement="ActivityGroup-not_contained">
          <body>No node or edge in a group may be contained by its subgroups or its containing groups, transitively.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ActivityGroup-not_contained-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="ActivityGroup-group_owned" name="group_owned" constrainedElement="ActivityGroup" namespace="ActivityGroup">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ActivityGroup-group_owned-_ownedComment.0" annotatedElement="ActivityGroup-group_owned">
          <body>Groups may only be owned by activities or groups.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="ActivityGroup-group_owned-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ActivityGroup-subgroup" name="subgroup" type="ActivityGroup" upper="*" lower="0" isReadOnly="true" isDerived="true" isDerivedUnion="true" isComposite="true" subsettedProperty="Element-ownedElement" association="A_subgroup_superGroup">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ActivityGroup-subgroup-_ownedComment.0" annotatedElement="ActivityGroup-subgroup">
          <body>Groups immediately contained in the group.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ActivityGroup-superGroup" name="superGroup" type="ActivityGroup" lower="0" isReadOnly="true" isDerived="true" isDerivedUnion="true" subsettedProperty="Element-owner" association="A_subgroup_superGroup">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ActivityGroup-superGroup-_ownedComment.0" annotatedElement="ActivityGroup-superGroup">
          <body>Group immediately containing the group.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ActivityGroup-containedEdge" name="containedEdge" type="ActivityEdge" upper="*" lower="0" isReadOnly="true" isDerived="true" isDerivedUnion="true" association="A_containedEdge_inGroup">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ActivityGroup-containedEdge-_ownedComment.0" annotatedElement="ActivityGroup-containedEdge">
          <body>Edges immediately contained in the group.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ActivityGroup-containedNode" name="containedNode" type="ActivityNode" upper="*" lower="0" isReadOnly="true" isDerived="true" isDerivedUnion="true" association="A_containedNode_inGroup">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ActivityGroup-containedNode-_ownedComment.0" annotatedElement="ActivityGroup-containedNode">
          <body>Nodes immediately contained in the group.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="ActivityGroup-inActivity" name="inActivity" type="Activity" lower="0" subsettedProperty="Element-owner" association="A_group_inActivity">
        <ownedComment xmi:type="cmof:Comment" xmi:id="ActivityGroup-inActivity-_ownedComment.0" annotatedElement="ActivityGroup-inActivity">
          <body>Activity containing the group.</body>
        </ownedComment>
      </ownedAttribute>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="InputPin" name="InputPin" superClass="Pin">
      <ownedComment xmi:type="cmof:Comment" xmi:id="InputPin-_ownedComment.0" annotatedElement="InputPin">
        <body>An input pin is a pin that holds input values to be consumed by an action.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="InputPin-outgoing_edges_structured_only" name="outgoing_edges_structured_only" constrainedElement="InputPin" namespace="InputPin">
        <ownedComment xmi:type="cmof:Comment" xmi:id="InputPin-outgoing_edges_structured_only-_ownedComment.0" annotatedElement="InputPin-outgoing_edges_structured_only">
          <body>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.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="InputPin-outgoing_edges_structured_only-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="OutputPin" name="OutputPin" superClass="Pin">
      <ownedComment xmi:type="cmof:Comment" xmi:id="OutputPin-_ownedComment.0" annotatedElement="OutputPin">
        <body>An output pin is a pin that holds output values produced by an action.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="OutputPin-incoming_edges_structured_only" name="incoming_edges_structured_only" constrainedElement="OutputPin" namespace="OutputPin">
        <ownedComment xmi:type="cmof:Comment" xmi:id="OutputPin-incoming_edges_structured_only-_ownedComment.0" annotatedElement="OutputPin-incoming_edges_structured_only">
          <body>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.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="OutputPin-incoming_edges_structured_only-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_scope_variable" name="A_scope_variable" visibility="private" memberEnd="Variable-scope StructuredActivityNode-variable"/>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_node_inStructuredNode" name="A_node_inStructuredNode" visibility="private" memberEnd="StructuredActivityNode-node ActivityNode-inStructuredNode"/>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_clause_test" name="A_clause_test" visibility="private" memberEnd="A_clause_test-_ownedEnd.0 Clause-test">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_clause_test-_ownedEnd.0" type="Clause" lower="0" owningAssociation="A_clause_test" association="A_clause_test"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_clause_body" name="A_clause_body" visibility="private" memberEnd="A_clause_body-_ownedEnd.0 Clause-body">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_clause_body-_ownedEnd.0" type="Clause" lower="0" owningAssociation="A_clause_body" association="A_clause_body"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_predecessorClause_successorClause" name="A_predecessorClause_successorClause" visibility="private" memberEnd="Clause-predecessorClause Clause-successorClause"/>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_loopNode_bodyPart" name="A_loopNode_bodyPart" visibility="private" memberEnd="A_loopNode_bodyPart-_ownedEnd.0 LoopNode-bodyPart">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_loopNode_bodyPart-_ownedEnd.0" type="LoopNode" lower="0" owningAssociation="A_loopNode_bodyPart" association="A_loopNode_bodyPart"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_loopNode_setupPart" name="A_loopNode_setupPart" visibility="private" memberEnd="A_loopNode_setupPart-_ownedEnd.0 LoopNode-setupPart">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_loopNode_setupPart-_ownedEnd.0" type="LoopNode" lower="0" owningAssociation="A_loopNode_setupPart" association="A_loopNode_setupPart"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_clause_conditionalNode" name="A_clause_conditionalNode" visibility="private" memberEnd="ConditionalNode-clause A_clause_conditionalNode-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_clause_conditionalNode-_ownedEnd.0" type="ConditionalNode" owningAssociation="A_clause_conditionalNode" association="A_clause_conditionalNode"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_decider_clause" name="A_decider_clause" visibility="private" memberEnd="Clause-decider A_decider_clause-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_decider_clause-_ownedEnd.0" type="Clause" lower="0" owningAssociation="A_decider_clause" association="A_decider_clause"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_decider_loopNode" name="A_decider_loopNode" visibility="private" memberEnd="LoopNode-decider A_decider_loopNode-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_decider_loopNode-_ownedEnd.0" type="LoopNode" lower="0" owningAssociation="A_decider_loopNode" association="A_decider_loopNode"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_test_loopNode" name="A_test_loopNode" visibility="private" memberEnd="LoopNode-test A_test_loopNode-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_test_loopNode-_ownedEnd.0" type="LoopNode" lower="0" owningAssociation="A_test_loopNode" association="A_test_loopNode"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_activity_structuredNode" name="A_activity_structuredNode" visibility="private" memberEnd="StructuredActivityNode-activity Activity-structuredNode"/>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_variable_activityScope" name="A_variable_activityScope" visibility="private" memberEnd="Activity-variable Variable-activityScope"/>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_executableNode_sequenceNode" name="A_executableNode_sequenceNode" visibility="private" memberEnd="SequenceNode-executableNode A_executableNode_sequenceNode-_ownedEnd.0">
      <ownedEnd xmi:type="cmof:Property" xmi:id="A_executableNode_sequenceNode-_ownedEnd.0" type="SequenceNode" lower="0" owningAssociation="A_executableNode_sequenceNode" association="A_executableNode_sequenceNode"/>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_containedNode_inGroup" name="A_containedNode_inGroup" visibility="private" memberEnd="ActivityGroup-containedNode ActivityNode-inGroup"/>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_group_inActivity" name="A_group_inActivity" visibility="private" memberEnd="Activity-group ActivityGroup-inActivity"/>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_node_activity" name="A_node_activity" visibility="private" memberEnd="Activity-node ActivityNode-activity"/>
    <ownedMember xmi:type="cmof:Class" xmi:id="AssociationClass" name="AssociationClass" superClass="Association Class">
      <ownedComment xmi:type="cmof:Comment" xmi:id="AssociationClass-_ownedComment.0" annotatedElement="AssociationClass">
        <body>A model element that has both association and class properties. An AssociationClass can be seen as an association that also has class properties, or as a class that also has association properties. It not only connects a set of classifiers but also defines a set of features that belong to the relationship itself and not to any of the classifiers.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="AssociationClass-cannot_be_defined" name="cannot_be_defined" constrainedElement="AssociationClass" namespace="AssociationClass">
        <ownedComment xmi:type="cmof:Comment" xmi:id="AssociationClass-cannot_be_defined-_ownedComment.0" annotatedElement="AssociationClass-cannot_be_defined">
          <body>An AssociationClass cannot be defined between itself and something else.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="AssociationClass-cannot_be_defined-_specification">
          <language>OCL</language>
          <body>self.endType->excludes(self) and self.endType>collect(et|et.allparents()->excludes(self))</body>
        </specification>
      </ownedRule>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="AssociationClass-allConnections" name="allConnections" class="AssociationClass" isQuery="true" bodyCondition="AssociationClass-allConnections-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="AssociationClass-allConnections-_ownedComment.0" annotatedElement="AssociationClass-allConnections">
          <body>The operation allConnections results in the set of all AssociationEnds of the Association.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="AssociationClass-allConnections-spec" name="spec" constrainedElement="AssociationClass-allConnections" namespace="AssociationClass-allConnections">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="AssociationClass-allConnections-spec-_specification">
            <language>OCL</language>
            <body>result = memberEnd->union ( self.parents ()->collect (p | p.allConnections () )</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="AssociationClass-allConnections-_ownedParameter.0" type="Property" upper="*" lower="2" direction="return"/>
      </ownedOperation>
    </ownedMember>
    <ownedMember xmi:type="cmof:Class" xmi:id="Property" name="Property" superClass="ConnectableElement StructuralFeature">
      <ownedComment xmi:type="cmof:Comment" xmi:id="Property-_ownedComment.0" annotatedElement="Property">
        <body>A property is a structural feature of a classifier that characterizes instances of the classifier. A property related by ownedAttribute to a classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the class to a value or set of values of the type of the attribute. A property related by memberEnd or its specializations to an association represents an end of the association. The type of the property is the type of the end of the association.</body>
      </ownedComment>
      <ownedComment xmi:type="cmof:Comment" xmi:id="Property-_ownedComment.1" annotatedElement="Property">
        <body>A property represents a set of instances that are owned by a containing classifier instance.</body>
      </ownedComment>
      <ownedComment xmi:type="cmof:Comment" xmi:id="Property-_ownedComment.2" annotatedElement="Property">
        <body>Property represents a declared state of one or more instances in terms of a named relationship to a value or values. When a property is an attribute of a classifier, the value or values are related to the instance of the classifier by being held in slots of the instance. When a property is an association end, the value or values are related to the instance or instances at the other end(s) of the association. The range of valid values represented by the property can be controlled by setting the property's type.</body>
      </ownedComment>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Property-multiplicity_of_composite" name="multiplicity_of_composite" constrainedElement="Property" namespace="Property">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Property-multiplicity_of_composite-_ownedComment.0" annotatedElement="Property-multiplicity_of_composite">
          <body>A multiplicity of a composite aggregation must not have an upper bound greater than 1.</body>
        </ownedComment>
        <ownedComment xmi:type="cmof:Comment" xmi:id="Property-multiplicity_of_composite-_ownedComment.1" annotatedElement="Property-multiplicity_of_composite">
          <body>A multiplicity on an aggregate end of a composite aggregation must not have an upper bound greater than 1.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Property-multiplicity_of_composite-_specification">
          <language>OCL</language>
          <body>isComposite implies (upperBound()->isEmpty() or upperBound() &lt;= 1)</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Property-subsetting_context_conforms" name="subsetting_context_conforms" constrainedElement="Property" namespace="Property">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Property-subsetting_context_conforms-_ownedComment.0" annotatedElement="Property-subsetting_context_conforms">
          <body>Subsetting may only occur when the context of the subsetting property conforms to the context of the subsetted property.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Property-subsetting_context_conforms-_specification">
          <language>OCL</language>
          <body>self.subsettedProperty->notEmpty() implies&#xA;  (self.subsettingContext()->notEmpty() and self.subsettingContext()->forAll (sc |&#xA;    self.subsettedProperty->forAll(sp |&#xA;      sp.subsettingContext()->exists(c | sc.conformsTo(c)))))</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Property-redefined_property_inherited" name="redefined_property_inherited" constrainedElement="Property" namespace="Property">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Property-redefined_property_inherited-_ownedComment.0" annotatedElement="Property-redefined_property_inherited">
          <body>A redefined property must be inherited from a more general classifier containing the redefining property.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Property-redefined_property_inherited-_specification">
          <language>OCL</language>
          <body>if (redefinedProperty->notEmpty()) then&#xD;&#xA;  (redefinitionContext->notEmpty() and&#xD;&#xA;      redefinedProperty->forAll(rp|&#xD;&#xA;        ((redefinitionContext->collect(fc|&#xD;&#xA;          fc.allParents()))->asSet())->collect(c| c.allFeatures())->asSet()->includes(rp))</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Property-subsetting_rules" name="subsetting_rules" constrainedElement="Property" namespace="Property">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Property-subsetting_rules-_ownedComment.0" annotatedElement="Property-subsetting_rules">
          <body>A subsetting property may strengthen the type of the subsetted property, and its upper bound may be less.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Property-subsetting_rules-_specification">
          <language>OCL</language>
          <body>self.subsettedProperty->forAll(sp |&#xA;  self.type.conformsTo(sp.type) and&#xA;    ((self.upperBound()->notEmpty() and sp.upperBound()->notEmpty()) implies&#xA;      self.upperBound()&lt;=sp.upperBound() ))</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Property-navigable_readonly" name="navigable_readonly" constrainedElement="Property" namespace="Property">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Property-navigable_readonly-_ownedComment.0" annotatedElement="Property-navigable_readonly">
          <body>Only a navigable property can be marked as readOnly.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Property-navigable_readonly-_specification">
          <language>OCL</language>
          <body>isReadOnly implies isNavigable()</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Property-derived_union_is_derived" name="derived_union_is_derived" constrainedElement="Property" namespace="Property">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Property-derived_union_is_derived-_ownedComment.0" annotatedElement="Property-derived_union_is_derived">
          <body>A derived union is derived.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Property-derived_union_is_derived-_specification">
          <language>OCL</language>
          <body>isDerivedUnion implies isDerived</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Property-derived_union_is_read_only" name="derived_union_is_read_only" constrainedElement="Property" namespace="Property">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Property-derived_union_is_read_only-_ownedComment.0" annotatedElement="Property-derived_union_is_read_only">
          <body>A derived union is read only.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Property-derived_union_is_read_only-_specification">
          <language>OCL</language>
          <body>isDerivedUnion implies isReadOnly</body>
        </specification>
      </ownedRule>
      <ownedRule xmi:type="cmof:Constraint" xmi:id="Property-subsetted_property_names" name="subsetted_property_names" constrainedElement="Property" namespace="Property">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Property-subsetted_property_names-_ownedComment.0" annotatedElement="Property-subsetted_property_names">
          <body>A property may not subset a property with the same name.</body>
        </ownedComment>
        <specification xmi:type="cmof:OpaqueExpression" xmi:id="Property-subsetted_property_names-_specification">
          <language>OCL</language>
          <body>true</body>
        </specification>
      </ownedRule>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Property-isDerived" name="isDerived" type="Boolean" default="false">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Property-isDerived-_ownedComment.0" annotatedElement="Property-isDerived">
          <body>If isDerived is true, the value of the attribute is derived from information elsewhere.</body>
        </ownedComment>
        <ownedComment xmi:type="cmof:Comment" xmi:id="Property-isDerived-_ownedComment.1" annotatedElement="Property-isDerived">
          <body>Specifies whether the Property is derived, i.e., whether its value or values can be computed from other information.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Property-isReadOnly" name="isReadOnly" type="Boolean" default="false" redefinedProperty="StructuralFeature-isReadOnly">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Property-isReadOnly-_ownedComment.0" annotatedElement="Property-isReadOnly">
          <body>If isReadOnly is true, the attribute may not be written to after initialization.</body>
        </ownedComment>
        <ownedComment xmi:type="cmof:Comment" xmi:id="Property-isReadOnly-_ownedComment.1" annotatedElement="Property-isReadOnly">
          <body>If true, the attribute may only be read, and not written.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Property-isDerivedUnion" name="isDerivedUnion" type="Boolean" default="false">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Property-isDerivedUnion-_ownedComment.0" annotatedElement="Property-isDerivedUnion">
          <body>Specifies whether the property is derived as the union of all of the properties that are constrained to subset it.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Property-default" name="default" type="String" lower="0" isDerived="true">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Property-default-_ownedComment.0" annotatedElement="Property-default">
          <body>Specifies a String that represents a value to be used when no argument is supplied for the Property.</body>
        </ownedComment>
        <ownedComment xmi:type="cmof:Comment" xmi:id="Property-default-_ownedComment.1" annotatedElement="Property-default">
          <body>A String that is evaluated to give a default value for the Property when an object of the owning Classifier is instantiated.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Property-aggregation" name="aggregation" type="AggregationKind" default="none">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Property-aggregation-_ownedComment.0" annotatedElement="Property-aggregation">
          <body>Specifies the kind of aggregation that applies to the Property.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Property-isComposite" name="isComposite" type="Boolean" isDerived="true" default="false">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Property-isComposite-_ownedComment.0" annotatedElement="Property-isComposite">
          <body>If isComposite is true, the object containing the attribute is a container for the object or value contained in the attribute.</body>
        </ownedComment>
        <ownedComment xmi:type="cmof:Comment" xmi:id="Property-isComposite-_ownedComment.1" annotatedElement="Property-isComposite">
          <body>This is a derived value, indicating whether the aggregation of the Property is composite or not.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Property-class" name="class" type="Class" lower="0" subsettedProperty="NamedElement-namespace Feature-featuringClassifier A_attribute_classifier-classifier" association="A_ownedAttribute_class">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Property-class-_ownedComment.0" annotatedElement="Property-class">
          <body>References the Class that owns the Property.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Property-redefinedProperty" name="redefinedProperty" type="Property" upper="*" lower="0" subsettedProperty="RedefinableElement-redefinedElement" association="A_redefinedProperty_property">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Property-redefinedProperty-_ownedComment.0" annotatedElement="Property-redefinedProperty">
          <body>References the properties that are redefined by this property.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Property-owningAssociation" name="owningAssociation" type="Association" lower="0" subsettedProperty="Property-association NamedElement-namespace Feature-featuringClassifier" association="A_ownedEnd_owningAssociation">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Property-owningAssociation-_ownedComment.0" annotatedElement="Property-owningAssociation">
          <body>References the owning association of this property, if any.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Property-datatype" name="datatype" type="DataType" lower="0" subsettedProperty="NamedElement-namespace Feature-featuringClassifier A_attribute_classifier-classifier" association="A_ownedAttribute_datatype">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Property-datatype-_ownedComment.0" annotatedElement="Property-datatype">
          <body>The DataType that owns this Property.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Property-defaultValue" name="defaultValue" type="ValueSpecification" lower="0" isComposite="true" subsettedProperty="Element-ownedElement" association="A_defaultValue_owningProperty">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Property-defaultValue-_ownedComment.0" annotatedElement="Property-defaultValue">
          <body>A ValueSpecification that is evaluated to give a default value for the Property when an object of the owning Classifier is instantiated.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Property-opposite" name="opposite" type="Property" lower="0" isDerived="true" association="A_opposite_property">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Property-opposite-_ownedComment.0" annotatedElement="Property-opposite">
          <body>In the case where the property is one navigable end of a binary association with both ends navigable, this gives the other end.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Property-subsettedProperty" name="subsettedProperty" type="Property" upper="*" lower="0" association="A_subsettedProperty_property">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Property-subsettedProperty-_ownedComment.0" annotatedElement="Property-subsettedProperty">
          <body>References the properties of which this property is constrained to be a subset.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Property-association" name="association" type="Association" lower="0" association="A_memberEnd_association">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Property-association-_ownedComment.0" annotatedElement="Property-association">
          <body>References the association of which this property is a member, if any.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Property-qualifier" name="qualifier" type="Property" isOrdered="true" upper="*" lower="0" isComposite="true" subsettedProperty="Element-ownedElement" association="A_qualifier_associationEnd">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Property-qualifier-_ownedComment.0" annotatedElement="Property-qualifier">
          <body>An optional list of ordered qualifier attributes for the end. If the list is empty, then the Association is not qualified.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedAttribute xmi:type="cmof:Property" xmi:id="Property-associationEnd" name="associationEnd" type="Property" lower="0" subsettedProperty="Element-owner" association="A_qualifier_associationEnd">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Property-associationEnd-_ownedComment.0" annotatedElement="Property-associationEnd">
          <body>Designates the optional association end that owns a qualifier attribute.</body>
        </ownedComment>
      </ownedAttribute>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="Property-isAttribute" name="isAttribute" class="Property" isQuery="true" bodyCondition="Property-isAttribute-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Property-isAttribute-_ownedComment.0" annotatedElement="Property-isAttribute">
          <body>The query isAttribute() is true if the Property is defined as an attribute of some classifier.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="Property-isAttribute-spec" name="spec" constrainedElement="Property-isAttribute" namespace="Property-isAttribute">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="Property-isAttribute-spec-_specification">
            <language>OCL</language>
            <body>result = Classifier.allInstances->exists(c | c.attribute->includes(p))</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="Property-isAttribute-_ownedParameter.0" type="Boolean" direction="return"/>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="Property-isAttribute-p" name="p" type="Property"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="Property-opposite.1" name="opposite" class="Property" isQuery="true" bodyCondition="Property-opposite.1-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Property-opposite.1-_ownedComment.0" annotatedElement="Property-opposite.1">
          <body>If this property is owned by a class, associated with a binary association, and the other end of the association is also owned by a class, then opposite gives the other end.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="Property-opposite.1-spec" name="spec" constrainedElement="Property-opposite.1 Property-opposite" namespace="Property-opposite.1">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="Property-opposite.1-spec-_specification">
            <language>OCL</language>
            <body>result = if owningAssociation->isEmpty() and association.memberEnd->size() = 2&#xA;  then&#xA;    let otherEnd = (association.memberEnd - self)->any() in&#xA;      if otherEnd.owningAssociation->isEmpty() then otherEnd else Set{} endif&#xA;    else Set {}&#xA;    endif</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="Property-opposite.1-_ownedParameter.0" type="Property" direction="return"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="Property-isComposite.1" name="isComposite" class="Property" isQuery="true" bodyCondition="Property-isComposite.1-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Property-isComposite.1-_ownedComment.0" annotatedElement="Property-isComposite.1">
          <body>The value of isComposite is true only if aggregation is composite.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="Property-isComposite.1-spec" name="spec" constrainedElement="Property-isComposite.1 Property-isComposite" namespace="Property-isComposite.1">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="Property-isComposite.1-spec-_specification">
            <language>OCL</language>
            <body>result = (self.aggregation = #composite)</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="Property-isComposite.1-_ownedParameter.0" type="Boolean" direction="return"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="Property-isConsistentWith" name="isConsistentWith" class="Property" isQuery="true" precondition="Property-isConsistentWith-_ownedRule.0" redefinedOperation="RedefinableElement-isConsistentWith" bodyCondition="Property-isConsistentWith-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Property-isConsistentWith-_ownedComment.0" annotatedElement="Property-isConsistentWith">
          <body>The query isConsistentWith() specifies, for any two Properties in a context in which redefinition is possible, whether redefinition would be logically consistent. A redefining property is consistent with a redefined property if the type of the redefining property conforms to the type of the redefined property, the multiplicity of the redefining property (if specified) is contained in the multiplicity of the redefined property, and the redefining property is derived if the redefined property is derived.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="Property-isConsistentWith-_ownedRule.0" constrainedElement="Property-isConsistentWith" namespace="Property-isConsistentWith">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="Property-isConsistentWith-_ownedRule.0-_specification">
            <language>OCL</language>
            <body>redefinee.isRedefinitionContextValid(self)</body>
          </specification>
        </ownedRule>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="Property-isConsistentWith-spec" name="spec" constrainedElement="Property-isConsistentWith" namespace="Property-isConsistentWith">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="Property-isConsistentWith-spec-_specification">
            <language>OCL</language>
            <body>result = redefinee.oclIsKindOf(Property) and &#xA;  let prop : Property = redefinee.oclAsType(Property) in &#xA;  (prop.type.conformsTo(self.type) and &#xA;  ((prop.lowerBound()->notEmpty() and self.lowerBound()->notEmpty()) implies prop.lowerBound() >= self.lowerBound()) and &#xA;  ((prop.upperBound()->notEmpty() and self.upperBound()->notEmpty()) implies prop.lowerBound() &lt;= self.lowerBound()) and &#xA;  (self.isDerived implies prop.isDerived) and&#xA;  (self.isComposite implies prop.isComposite))</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="Property-isConsistentWith-_ownedParameter.0" type="Boolean" direction="return"/>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="Property-isConsistentWith-redefinee" name="redefinee" type="RedefinableElement"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="Property-subsettingContext" name="subsettingContext" class="Property" isQuery="true" bodyCondition="Property-subsettingContext-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Property-subsettingContext-_ownedComment.0" annotatedElement="Property-subsettingContext">
          <body>The query subsettingContext() gives the context for subsetting a property. It consists, in the case of an attribute, of the corresponding classifier, and in the case of an association end, all of the classifiers at the other ends.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="Property-subsettingContext-spec" name="spec" constrainedElement="Property-subsettingContext" namespace="Property-subsettingContext">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="Property-subsettingContext-spec-_specification">
            <language>OCL</language>
            <body>result = if association->notEmpty()&#xA;then association.endType-type&#xA;else if classifier->notEmpty() then Set{classifier} else Set{} endif&#xA;endif</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="Property-subsettingContext-_ownedParameter.0" type="Type" upper="*" lower="0" direction="return"/>
      </ownedOperation>
      <ownedOperation xmi:type="cmof:Operation" xmi:id="Property-isNavigable" name="isNavigable" class="Property" isQuery="true" bodyCondition="Property-isNavigable-spec">
        <ownedComment xmi:type="cmof:Comment" xmi:id="Property-isNavigable-_ownedComment.0" annotatedElement="Property-isNavigable">
          <body>The query isNavigable() indicates whether it is possible to navigate across the property.</body>
        </ownedComment>
        <ownedRule xmi:type="cmof:Constraint" xmi:id="Property-isNavigable-spec" name="spec" constrainedElement="Property-isNavigable" namespace="Property-isNavigable">
          <specification xmi:type="cmof:OpaqueExpression" xmi:id="Property-isNavigable-spec-_specification">
            <language>OCL</language>
            <body>result = not classifier->isEmpty() or association.owningAssociation.navigableOwnedEnd->includes(self)</body>
          </specification>
        </ownedRule>
        <ownedParameter xmi:type="cmof:Parameter" xmi:id="Property-isNavigable-_ownedParameter.0" type="Boolean" direction="return"/>
      </ownedOperation>
    </ownedMember>
    <ownedMember xmi:type="cmof:Association" xmi:id="A_qualifier_associationEnd" name="A_qualifier_associationEnd" visibility="private" memberEnd="Property-qualifier Property-associationEnd"/>
  </cmof:Package>
  <cmof:Tag xmi:id="_1" name="org.omg.xmi.nsPrefix" value="uml" element="_0"/>
  <cmof:Tag xmi:id="_2" name="org.omg.xmi.nsURI" value="http://schema.omg.org/spec/UML/2.1.1/uml.xml" element="_0"/>
  <cmof:Tag xmi:id="_3" name="org.omg.xmi.schemaType" value="http://www.w3.org/2001/XMLSchema#integer" element="Integer"/>
  <cmof:Tag xmi:id="_4" name="org.omg.xmi.schemaType" value="http://www.w3.org/2001/XMLSchema#boolean" element="Boolean"/>
</xmi:XMI>
