Commit 5d8d3d22 authored by Philip Makedonski's avatar Philip Makedonski
Browse files

* added implementation for getPermittedComponents, moved value up to parameter, #213

parent 770219a2
Loading
Loading
Loading
Loading
+19 −4
Original line number Diff line number Diff line
@@ -134,6 +134,8 @@
  <eClassifiers xsi:type="ecore:EClass" name="Parameter" abstract="true" eSuperTypes="#//NamedElement">
    <eStructuralFeatures xsi:type="ecore:EReference" name="dataType" lowerBound="1"
        eType="#//DataType"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="value" eType="#//DataUse"
        containment="true"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="SimpleDataType" eSuperTypes="#//DataType">
    <eOperations name="allConstraints" upperBound="-1" eType="#//Constraint">
@@ -243,10 +245,7 @@
    <eStructuralFeatures xsi:type="ecore:EReference" name="formalParameter" upperBound="-1"
        eType="#//FormalParameter" containment="true"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="FormalParameter" eSuperTypes="#//Parameter">
    <eStructuralFeatures xsi:type="ecore:EReference" name="value" eType="#//DataUse"
        containment="true"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="FormalParameter" eSuperTypes="#//Parameter"/>
  <eClassifiers xsi:type="ecore:EClass" name="Function" eSuperTypes="#//Action">
    <eStructuralFeatures xsi:type="ecore:EReference" name="returnType" lowerBound="1"
        eType="#//DataType"/>
@@ -431,6 +430,14 @@
        <details key="nullFree" value="false"/>
      </eAnnotations>
    </eOperations>
    <eOperations name="getPermittedComponents" upperBound="-1" eType="#//ComponentInstance">
      <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot">
        <details key="body" value="&#xA;&#x9;&#x9;&#x9;&#x9;OrderedSet(ComponentInstance){}&#xA;&#x9;&#x9;&#x9;"/>
      </eAnnotations>
      <eAnnotations source="http://www.eclipse.org/OCL/Collection">
        <details key="nullFree" value="false"/>
      </eAnnotations>
    </eOperations>
    <eStructuralFeatures xsi:type="ecore:EReference" name="testObjective" ordered="false"
        upperBound="-1" eType="#//TestObjective"/>
  </eClassifiers>
@@ -597,6 +604,14 @@
        <details key="nullFree" value="false"/>
      </eAnnotations>
    </eOperations>
    <eOperations name="getPermittedComponents" upperBound="-1" eType="#//ComponentInstance">
      <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot">
        <details key="body" value="&#xA;&#x9;&#x9;&#x9;&#x9;OrderedSet(ComponentInstance){}&#xA;          &#x9;&#x9;&#x9;->includingAll(self.block.behaviour->first()->select(oclIsKindOf(Interaction)).oclAsType(Interaction).target.targetGate.component)&#xA;          &#x9;&#x9;&#x9;->includingAll(self.block.behaviour->first()->select(oclIsKindOf(Quiescence)).oclAsType(Quiescence).effectiveComponent())&#xA;          &#x9;&#x9;&#x9;->includingAll(self.block.behaviour->first()->select(oclIsKindOf(TimeOut)).oclAsType(TimeOut).effectiveComponent())&#xA;&#x9;&#x9;&#x9;"/>
      </eAnnotations>
      <eAnnotations source="http://www.eclipse.org/OCL/Collection">
        <details key="nullFree" value="false"/>
      </eAnnotations>
    </eOperations>
    <eStructuralFeatures xsi:type="ecore:EReference" name="block" lowerBound="1" upperBound="-1"
        eType="#//Block" containment="true"/>
  </eClassifiers>