statemachine
Vertex
outgoings
State
fullyQualifiedName
name
super
Pseudostate
kind
initial
id
ComplexState
directSubStates
innerTransitions
realInitialStates
region
Transition
id
source
target
Statemachine
transitions
actions
name
Region
realInitialState
states
initial
PseudostateKind
initial
initial
final
final
LabeledTransition
action
Action
name
<?xml version="1.0" encoding="UTF-8"?>
<ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
    name="statemachine" nsURI="http://hsfulda.master.mdd.emf.statemachine" nsPrefix="sm">
  <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore">
    <details key="invocationDelegates" value="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot"/>
    <details key="settingDelegates" value="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot"/>
    <details key="validationDelegates" value="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot"/>
  </eAnnotations>
  <eClassifiers xsi:type="ecore:EClass" name="Vertex" abstract="true">
    <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore">
      <details key="constraints" value="validateOutgoings"/>
    </eAnnotations>
    <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot">
      <details key="validateOutgoings" value="self.outgoings->notEmpty() implies self.outgoings->forAll(v | v.source = self)"/>
    </eAnnotations>
    <eStructuralFeatures xsi:type="ecore:EReference" name="outgoings" ordered="false" upperBound="-1" eType="#//Transition" derived="true"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="State" eSuperTypes="#//Vertex">
    <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore">
      <details key="constraints" value="validateState"/>
    </eAnnotations>
    <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot">
      <details key="validateState" value="self.super->notEmpty() implies self.super.directSubStates()->includes(self)"/>
    </eAnnotations>
    <eOperations name="fullyQualifiedName" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
      <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot">
        <details key="body" value="if self.super->isEmpty() &#xA;&#x9;&#x9;&#x9;&#x9;&#x9;then self.name &#xA;&#x9;&#x9;&#x9;&#x9;&#x9;else self.super.fullyQualifiedName().concat('.').concat(self.name) &#xA;&#x9;&#x9;&#x9;&#x9;  endif"/>
      </eAnnotations>
    </eOperations>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="super" eType="#//ComplexState" derived="true"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Pseudostate" eSuperTypes="#//Vertex">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="kind" eType="#//PseudostateKind" defaultValueLiteral="initial"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="id" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBigInteger"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="ComplexState" eSuperTypes="#//State">
    <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore">
      <details key="constraints" value="validateComplexState"/>
    </eAnnotations>
    <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot">
      <details key="validateComplexState" value="self.super &lt;> self and self.directSubStates()->forAll(s | s.super = self)"/>
    </eAnnotations>
    <eOperations name="directSubStates" ordered="false" upperBound="-1" eType="#//State">
      <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot">
        <details key="body" value="self.region.states->asSet()"/>
      </eAnnotations>
    </eOperations>
    <eOperations name="innerTransitions" ordered="false" upperBound="-1" eType="#//Transition">
      <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot">
        <details key="body" value="self.directSubStates().outgoings->select(t | not t.target.oclIsKindOf(ComplexState) and self.directSubStates()->includes(t.target.oclAsType(State)))->asSet()"/>
      </eAnnotations>
    </eOperations>
    <eOperations name="realInitialStates" ordered="false" upperBound="-1" eType="#//State">
      <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot">
        <details key="body" value="self.region.realInitialState()->asSet()"/>
      </eAnnotations>
    </eOperations>
    <eStructuralFeatures xsi:type="ecore:EReference" name="region" lowerBound="1" upperBound="-1" eType="#//Region" containment="true"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Transition">
    <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore">
      <details key="constraints" value="validateTransition"/>
    </eAnnotations>
    <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot">
      <details key="validateTransition" value="self.source.outgoings->includes(self)"/>
    </eAnnotations>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="id" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBigInteger"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="source" lowerBound="1" eType="#//Vertex"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="target" lowerBound="1" eType="#//Vertex"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Statemachine" eSuperTypes="#//Region">
    <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore">
      <details key="constraints" value="validateInitialTransition"/>
    </eAnnotations>
    <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot">
      <details key="validateInitialTransition" value="self.transitions->notEmpty() and self.transitions->select(t | t.source = self.initial)->notEmpty()"/>
    </eAnnotations>
    <eStructuralFeatures xsi:type="ecore:EReference" name="transitions" ordered="false" upperBound="-1" eType="#//Transition" containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="actions" ordered="false" upperBound="-1" eType="#//Action" containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Region">
    <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore">
      <details key="constraints" value="validateInitial"/>
    </eAnnotations>
    <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot">
      <details key="validateInitial" value="(self.initial.outgoings->notEmpty() and self.initial.outgoings->size() = 1)&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;implies self.states->includes(self.initial.outgoings.target->any(true))"/>
    </eAnnotations>
    <eOperations name="realInitialState" lowerBound="1" eType="#//State">
      <eAnnotations source="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot">
        <details key="body" value="self.initial.outgoings.target->any(true).oclAsType(State)"/>
      </eAnnotations>
    </eOperations>
    <eStructuralFeatures xsi:type="ecore:EReference" name="states" ordered="false" upperBound="-1" eType="#//State" containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="initial" lowerBound="1" eType="#//Pseudostate" containment="true"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EEnum" name="PseudostateKind">
    <eLiterals name="initial"/>
    <eLiterals name="final" value="1"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="LabeledTransition" eSuperTypes="#//Transition">
    <eStructuralFeatures xsi:type="ecore:EReference" name="action" lowerBound="1" eType="#//Action"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Action">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
  </eClassifiers>
</ecore:EPackage>

{"directed":true,"nodes":[{"nsPrefix":"sm","nsURI":"http://hsfulda.master.mdd.emf.statemachine","name":"statemachine","id":0,"eClass":"EPackage"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Vertex","instanceClass":null,"abstract":true,"id":1,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"State","instanceClass":null,"abstract":false,"id":2,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Pseudostate","instanceClass":null,"abstract":false,"id":3,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"ComplexState","instanceClass":null,"abstract":false,"id":4,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Transition","instanceClass":null,"abstract":false,"id":5,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Statemachine","instanceClass":null,"abstract":false,"id":6,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Region","instanceClass":null,"abstract":false,"id":7,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"instanceClassName":null,"name":"PseudostateKind","instanceClass":null,"id":8,"serializable":true,"eClass":"EEnum"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"LabeledTransition","instanceClass":null,"abstract":false,"id":9,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Action","instanceClass":null,"abstract":false,"id":10,"interface":false,"eClass":"EClass"},{"container":false,"ordered":false,"upperBound":-1,"defaultValue":null,"volatile":false,"many":true,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"outgoings","changeable":true,"resolveProxies":true,"lowerBound":0,"id":11,"derived":true},{"id":12,"eClass":"EGenericType"},{"ordered":true,"upperBound":1,"unique":true,"name":"fullyQualifiedName","lowerBound":1,"id":13,"many":false,"required":true,"eClass":"EOperation"},{"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"name","changeable":true,"lowerBound":1,"iD":false,"id":14,"derived":false},{"container":false,"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"super","changeable":true,"resolveProxies":true,"lowerBound":0,"id":15,"derived":true},{"id":16,"eClass":"EGenericType"},{"id":17,"eClass":"EGenericType"},{"id":18,"eClass":"EGenericType"},{"id":19,"eClass":"EGenericType"},{"ordered":true,"upperBound":1,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":"initial","unsettable":false,"transient":false,"unique":true,"name":"kind","changeable":true,"lowerBound":0,"iD":false,"id":20,"derived":false},{"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"id","changeable":true,"lowerBound":0,"iD":false,"id":21,"derived":false},{"id":22,"eClass":"EGenericType"},{"id":23,"eClass":"EGenericType"},{"id":24,"eClass":"EGenericType"},{"ordered":false,"upperBound":-1,"unique":true,"name":"directSubStates","lowerBound":0,"id":25,"many":true,"required":false,"eClass":"EOperation"},{"ordered":false,"upperBound":-1,"unique":true,"name":"innerTransitions","lowerBound":0,"id":26,"many":true,"required":false,"eClass":"EOperation"},{"ordered":false,"upperBound":-1,"unique":true,"name":"realInitialStates","lowerBound":0,"id":27,"many":true,"required":false,"eClass":"EOperation"},{"container":false,"ordered":true,"upperBound":-1,"defaultValue":null,"volatile":false,"many":true,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"region","changeable":true,"resolveProxies":true,"lowerBound":1,"id":28,"derived":false},{"id":29,"eClass":"EGenericType"},{"id":30,"eClass":"EGenericType"},{"id":31,"eClass":"EGenericType"},{"id":32,"eClass":"EGenericType"},{"id":33,"eClass":"EGenericType"},{"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"id","changeable":true,"lowerBound":0,"iD":false,"id":34,"derived":false},{"container":false,"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"source","changeable":true,"resolveProxies":true,"lowerBound":1,"id":35,"derived":false},{"container":false,"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"target","changeable":true,"resolveProxies":true,"lowerBound":1,"id":36,"derived":false},{"id":37,"eClass":"EGenericType"},{"id":38,"eClass":"EGenericType"},{"id":39,"eClass":"EGenericType"},{"container":false,"ordered":false,"upperBound":-1,"defaultValue":null,"volatile":false,"many":true,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"transitions","changeable":true,"resolveProxies":true,"lowerBound":0,"id":40,"derived":false},{"container":false,"ordered":false,"upperBound":-1,"defaultValue":null,"volatile":false,"many":true,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"actions","changeable":true,"resolveProxies":true,"lowerBound":0,"id":41,"derived":false},{"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"name","changeable":true,"lowerBound":1,"iD":false,"id":42,"derived":false},{"id":43,"eClass":"EGenericType"},{"id":44,"eClass":"EGenericType"},{"id":45,"eClass":"EGenericType"},{"id":46,"eClass":"EGenericType"},{"ordered":true,"upperBound":1,"unique":true,"name":"realInitialState","lowerBound":1,"id":47,"many":false,"required":true,"eClass":"EOperation"},{"container":false,"ordered":false,"upperBound":-1,"defaultValue":null,"volatile":false,"many":true,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"states","changeable":true,"resolveProxies":true,"lowerBound":0,"id":48,"derived":false},{"container":false,"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"initial","changeable":true,"resolveProxies":true,"lowerBound":1,"id":49,"derived":false},{"id":50,"eClass":"EGenericType"},{"id":51,"eClass":"EGenericType"},{"id":52,"eClass":"EGenericType"},{"name":"initial","id":53,"value":0,"literal":"initial","eClass":"EEnumLiteral"},{"name":"final","id":54,"value":1,"literal":"final","eClass":"EEnumLiteral"},{"container":false,"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":true,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"action","changeable":true,"resolveProxies":true,"lowerBound":1,"id":55,"derived":false},{"id":56,"eClass":"EGenericType"},{"id":57,"eClass":"EGenericType"},{"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"name","changeable":true,"lowerBound":0,"iD":false,"id":58,"derived":false},{"id":59,"eClass":"EGenericType"}],"links":[{"source":0,"target":1},{"source":0,"target":2},{"source":0,"target":3},{"source":0,"target":4},{"source":0,"target":5},{"source":0,"target":6},{"source":0,"target":7},{"source":0,"target":8},{"source":0,"target":9},{"source":0,"target":10},{"source":1,"target":0},{"source":1,"target":11},{"source":11,"target":5},{"source":11,"target":12},{"source":11,"target":1},{"source":12,"target":5},{"source":2,"target":0},{"source":2,"target":1},{"source":2,"target":13},{"source":2,"target":14},{"source":2,"target":15},{"source":2,"target":16},{"source":13,"target":17},{"source":13,"target":2},{"source":14,"target":18},{"source":14,"target":2},{"source":15,"target":4},{"source":15,"target":19},{"source":15,"target":2},{"source":19,"target":4},{"source":16,"target":1},{"source":3,"target":0},{"source":3,"target":1},{"source":3,"target":20},{"source":3,"target":21},{"source":3,"target":22},{"source":20,"target":8},{"source":20,"target":23},{"source":20,"target":3},{"source":23,"target":8},{"source":21,"target":24},{"source":21,"target":3},{"source":22,"target":1},{"source":4,"target":0},{"source":4,"target":2},{"source":4,"target":25},{"source":4,"target":26},{"source":4,"target":27},{"source":4,"target":28},{"source":4,"target":29},{"source":25,"target":2},{"source":25,"target":30},{"source":25,"target":4},{"source":30,"target":2},{"source":26,"target":5},{"source":26,"target":31},{"source":26,"target":4},{"source":31,"target":5},{"source":27,"target":2},{"source":27,"target":32},{"source":27,"target":4},{"source":32,"target":2},{"source":28,"target":7},{"source":28,"target":33},{"source":28,"target":4},{"source":33,"target":7},{"source":29,"target":2},{"source":5,"target":0},{"source":5,"target":34},{"source":5,"target":35},{"source":5,"target":36},{"source":34,"target":37},{"source":34,"target":5},{"source":35,"target":1},{"source":35,"target":38},{"source":35,"target":5},{"source":38,"target":1},{"source":36,"target":1},{"source":36,"target":39},{"source":36,"target":5},{"source":39,"target":1},{"source":6,"target":0},{"source":6,"target":7},{"source":6,"target":40},{"source":6,"target":41},{"source":6,"target":42},{"source":6,"target":43},{"source":40,"target":5},{"source":40,"target":44},{"source":40,"target":6},{"source":44,"target":5},{"source":41,"target":10},{"source":41,"target":45},{"source":41,"target":6},{"source":45,"target":10},{"source":42,"target":46},{"source":42,"target":6},{"source":43,"target":7},{"source":7,"target":0},{"source":7,"target":47},{"source":7,"target":48},{"source":7,"target":49},{"source":47,"target":2},{"source":47,"target":50},{"source":47,"target":7},{"source":50,"target":2},{"source":48,"target":2},{"source":48,"target":51},{"source":48,"target":7},{"source":51,"target":2},{"source":49,"target":3},{"source":49,"target":52},{"source":49,"target":7},{"source":52,"target":3},{"source":8,"target":0},{"source":8,"target":53},{"source":8,"target":54},{"source":53,"target":8},{"source":54,"target":8},{"source":9,"target":0},{"source":9,"target":5},{"source":9,"target":55},{"source":9,"target":56},{"source":55,"target":10},{"source":55,"target":57},{"source":55,"target":9},{"source":57,"target":10},{"source":56,"target":5},{"source":10,"target":0},{"source":10,"target":58},{"source":58,"target":59},{"source":58,"target":10}],"multigraph":true}