fsm
StateMachine
run
initializeModel
ownedStates
initialState
ownedTransitions
currentState
unprocessedString
consummedString
producedString
State
step
inputString
owningFSM
outgoingTransitions
incomingTransitions
Transition
fire
source
target
input
output
NamedElement
name
FSMSystem
main
initialize
args
ownedStateMachines
ownedBuffer
Buffer
initialize
enqueue
v
dequeue
inputs
outputs
initialValue
currentValues
<?xml version="1.0" encoding="ASCII"?>
<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="fsm" nsURI="http://org.gemoc.sample.legacyfsm.xsfsm.xsfsm/fsm/" nsPrefix="fsm">
  <eAnnotations source="http://www.eclipse.org/OCL/Import">
    <details key="ecore" value="http://www.eclipse.org/emf/2002/Ecore"/>
  </eAnnotations>
  <eClassifiers xsi:type="ecore:EClass" name="StateMachine" eSuperTypes="//NamedElement">
    <eOperations name="run">
      <eAnnotations source="aspect"/>
    </eOperations>
    <eOperations name="initializeModel">
      <eAnnotations source="aspect"/>
    </eOperations>
    <eStructuralFeatures xsi:type="ecore:EReference" name="ownedStates" upperBound="-1" eType="//State" containment="true" eOpposite="//State/owningFSM"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="initialState" lowerBound="1" eType="//State"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="ownedTransitions" upperBound="-1" eType="//Transition" containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="currentState" unique="false" eType="//State">
      <eAnnotations source="aspect"/>
    </eStructuralFeatures>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="unprocessedString" unique="false">
      <eAnnotations source="aspect"/>
      <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    </eStructuralFeatures>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="consummedString" unique="false">
      <eAnnotations source="aspect"/>
      <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    </eStructuralFeatures>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="producedString" unique="false">
      <eAnnotations source="aspect"/>
      <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    </eStructuralFeatures>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="State" eSuperTypes="//NamedElement">
    <eOperations name="step">
      <eAnnotations source="aspect"/>
      <eParameters name="inputString">
        <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
      </eParameters>
    </eOperations>
    <eStructuralFeatures xsi:type="ecore:EReference" name="owningFSM" lowerBound="1" eType="//StateMachine" eOpposite="//StateMachine/ownedStates"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="outgoingTransitions" upperBound="-1" eType="//Transition" eOpposite="//Transition/source"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="incomingTransitions" upperBound="-1" eType="//Transition" eOpposite="//Transition/target"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Transition" eSuperTypes="//NamedElement">
    <eOperations name="fire">
      <eAnnotations source="aspect"/>
    </eOperations>
    <eStructuralFeatures xsi:type="ecore:EReference" name="source" lowerBound="1" eType="//State" eOpposite="//State/outgoingTransitions"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="target" lowerBound="1" eType="//State" eOpposite="//State/incomingTransitions"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="input">
      <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    </eStructuralFeatures>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="output">
      <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    </eStructuralFeatures>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="NamedElement" abstract="true">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1">
      <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    </eStructuralFeatures>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="FSMSystem" eSuperTypes="//NamedElement">
    <eOperations name="main">
      <eAnnotations source="aspect"/>
    </eOperations>
    <eOperations name="initialize">
      <eAnnotations source="aspect"/>
      <eParameters name="args" upperBound="-1">
        <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
      </eParameters>
    </eOperations>
    <eStructuralFeatures xsi:type="ecore:EReference" name="ownedStateMachines" upperBound="-1" eType="//StateMachine" containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="ownedBuffer" upperBound="-1" eType="//Buffer" containment="true"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Buffer" eSuperTypes="//NamedElement">
    <eOperations name="initialize">
      <eAnnotations source="aspect"/>
    </eOperations>
    <eOperations name="enqueue">
      <eAnnotations source="aspect"/>
      <eParameters name="v">
        <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
      </eParameters>
    </eOperations>
    <eOperations name="dequeue">
      <eAnnotations source="aspect"/>
      <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    </eOperations>
    <eStructuralFeatures xsi:type="ecore:EReference" name="inputs" upperBound="-1" eType="//StateMachine"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="outputs" upperBound="-1" eType="//StateMachine"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="initialValue" unique="false" upperBound="-1">
      <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    </eStructuralFeatures>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="currentValues" unique="false" upperBound="-1">
      <eAnnotations source="aspect"/>
      <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    </eStructuralFeatures>
  </eClassifiers>
</ecore:EPackage>

{"directed":true,"nodes":[{"nsPrefix":"fsm","nsURI":"http://org.gemoc.sample.legacyfsm.xsfsm.xsfsm/fsm/","name":"fsm","id":0,"eClass":"EPackage"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"StateMachine","instanceClass":null,"abstract":false,"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":"Transition","instanceClass":null,"abstract":false,"id":3,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"NamedElement","instanceClass":null,"abstract":true,"id":4,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"FSMSystem","instanceClass":null,"abstract":false,"id":5,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Buffer","instanceClass":null,"abstract":false,"id":6,"interface":false,"eClass":"EClass"},{"ordered":true,"upperBound":1,"unique":true,"name":"run","lowerBound":0,"id":7,"many":false,"required":false,"eClass":"EOperation"},{"ordered":true,"upperBound":1,"unique":true,"name":"initializeModel","lowerBound":0,"id":8,"many":false,"required":false,"eClass":"EOperation"},{"container":false,"ordered":true,"upperBound":-1,"defaultValue":null,"volatile":false,"many":true,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"ownedStates","changeable":true,"resolveProxies":true,"lowerBound":0,"id":9,"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":"initialState","changeable":true,"resolveProxies":true,"lowerBound":1,"id":10,"derived":false},{"container":false,"ordered":true,"upperBound":-1,"defaultValue":null,"volatile":false,"many":true,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"ownedTransitions","changeable":true,"resolveProxies":true,"lowerBound":0,"id":11,"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":false,"name":"currentState","changeable":true,"resolveProxies":true,"lowerBound":0,"id":12,"derived":false},{"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":false,"name":"unprocessedString","changeable":true,"lowerBound":0,"iD":false,"id":13,"derived":false},{"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":false,"name":"consummedString","changeable":true,"lowerBound":0,"iD":false,"id":14,"derived":false},{"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":false,"name":"producedString","changeable":true,"lowerBound":0,"iD":false,"id":15,"derived":false},{"id":16,"eClass":"EGenericType"},{"id":17,"eClass":"EGenericType"},{"container":true,"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":"owningFSM","changeable":true,"resolveProxies":true,"lowerBound":1,"id":18,"derived":false},{"id":19,"eClass":"EGenericType"},{"id":20,"eClass":"EGenericType"},{"id":21,"eClass":"EGenericType"},{"id":22,"eClass":"EGenericType"},{"id":23,"eClass":"EGenericType"},{"id":24,"eClass":"EGenericType"},{"ordered":true,"upperBound":1,"unique":true,"name":"step","lowerBound":0,"id":25,"many":false,"required":false,"eClass":"EOperation"},{"container":false,"ordered":true,"upperBound":-1,"defaultValue":null,"volatile":false,"many":true,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"outgoingTransitions","changeable":true,"resolveProxies":true,"lowerBound":0,"id":26,"derived":false},{"container":false,"ordered":true,"upperBound":-1,"defaultValue":null,"volatile":false,"many":true,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"incomingTransitions","changeable":true,"resolveProxies":true,"lowerBound":0,"id":27,"derived":false},{"id":28,"eClass":"EGenericType"},{"ordered":true,"upperBound":1,"unique":true,"name":"inputString","lowerBound":0,"id":29,"many":false,"required":false,"eClass":"EParameter"},{"id":30,"eClass":"EGenericType"},{"id":31,"eClass":"EGenericType"},{"id":32,"eClass":"EGenericType"},{"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":33,"derived":false},{"id":34,"eClass":"EGenericType"},{"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":35,"derived":false},{"ordered":true,"upperBound":1,"unique":true,"name":"fire","lowerBound":0,"id":36,"many":false,"required":false,"eClass":"EOperation"},{"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"input","changeable":true,"lowerBound":0,"iD":false,"id":37,"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":"output","changeable":true,"lowerBound":0,"iD":false,"id":38,"derived":false},{"id":39,"eClass":"EGenericType"},{"id":40,"eClass":"EGenericType"},{"id":41,"eClass":"EGenericType"},{"id":42,"eClass":"EGenericType"},{"id":43,"eClass":"EGenericType"},{"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":44,"derived":false},{"id":45,"eClass":"EGenericType"},{"ordered":true,"upperBound":1,"unique":true,"name":"main","lowerBound":0,"id":46,"many":false,"required":false,"eClass":"EOperation"},{"ordered":true,"upperBound":1,"unique":true,"name":"initialize","lowerBound":0,"id":47,"many":false,"required":false,"eClass":"EOperation"},{"container":false,"ordered":true,"upperBound":-1,"defaultValue":null,"volatile":false,"many":true,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"ownedStateMachines","changeable":true,"resolveProxies":true,"lowerBound":0,"id":48,"derived":false},{"container":false,"ordered":true,"upperBound":-1,"defaultValue":null,"volatile":false,"many":true,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"ownedBuffer","changeable":true,"resolveProxies":true,"lowerBound":0,"id":49,"derived":false},{"id":50,"eClass":"EGenericType"},{"ordered":true,"upperBound":-1,"unique":true,"name":"args","lowerBound":0,"id":51,"many":true,"required":false,"eClass":"EParameter"},{"id":52,"eClass":"EGenericType"},{"id":53,"eClass":"EGenericType"},{"id":54,"eClass":"EGenericType"},{"ordered":true,"upperBound":1,"unique":true,"name":"initialize","lowerBound":0,"id":55,"many":false,"required":false,"eClass":"EOperation"},{"ordered":true,"upperBound":1,"unique":true,"name":"enqueue","lowerBound":0,"id":56,"many":false,"required":false,"eClass":"EOperation"},{"ordered":true,"upperBound":1,"unique":true,"name":"dequeue","lowerBound":0,"id":57,"many":false,"required":false,"eClass":"EOperation"},{"container":false,"ordered":true,"upperBound":-1,"defaultValue":null,"volatile":false,"many":true,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"inputs","changeable":true,"resolveProxies":true,"lowerBound":0,"id":58,"derived":false},{"container":false,"ordered":true,"upperBound":-1,"defaultValue":null,"volatile":false,"many":true,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"outputs","changeable":true,"resolveProxies":true,"lowerBound":0,"id":59,"derived":false},{"ordered":true,"upperBound":-1,"defaultValue":null,"volatile":false,"many":true,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":false,"name":"initialValue","changeable":true,"lowerBound":0,"iD":false,"id":60,"derived":false},{"ordered":true,"upperBound":-1,"defaultValue":null,"volatile":false,"many":true,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":false,"name":"currentValues","changeable":true,"lowerBound":0,"iD":false,"id":61,"derived":false},{"id":62,"eClass":"EGenericType"},{"ordered":true,"upperBound":1,"unique":true,"name":"v","lowerBound":0,"id":63,"many":false,"required":false,"eClass":"EParameter"},{"id":64,"eClass":"EGenericType"},{"id":65,"eClass":"EGenericType"},{"id":66,"eClass":"EGenericType"},{"id":67,"eClass":"EGenericType"},{"id":68,"eClass":"EGenericType"},{"id":69,"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":1,"target":0},{"source":1,"target":4},{"source":1,"target":7},{"source":1,"target":8},{"source":1,"target":9},{"source":1,"target":10},{"source":1,"target":11},{"source":1,"target":12},{"source":1,"target":13},{"source":1,"target":14},{"source":1,"target":15},{"source":1,"target":16},{"source":7,"target":1},{"source":8,"target":1},{"source":9,"target":2},{"source":9,"target":17},{"source":9,"target":1},{"source":9,"target":18},{"source":17,"target":2},{"source":10,"target":2},{"source":10,"target":19},{"source":10,"target":1},{"source":19,"target":2},{"source":11,"target":3},{"source":11,"target":20},{"source":11,"target":1},{"source":20,"target":3},{"source":12,"target":2},{"source":12,"target":21},{"source":12,"target":1},{"source":21,"target":2},{"source":13,"target":22},{"source":13,"target":1},{"source":14,"target":23},{"source":14,"target":1},{"source":15,"target":24},{"source":15,"target":1},{"source":16,"target":4},{"source":2,"target":0},{"source":2,"target":4},{"source":2,"target":25},{"source":2,"target":18},{"source":2,"target":26},{"source":2,"target":27},{"source":2,"target":28},{"source":25,"target":2},{"source":25,"target":29},{"source":29,"target":30},{"source":29,"target":25},{"source":18,"target":1},{"source":18,"target":31},{"source":18,"target":2},{"source":18,"target":9},{"source":31,"target":1},{"source":26,"target":3},{"source":26,"target":32},{"source":26,"target":2},{"source":26,"target":33},{"source":32,"target":3},{"source":27,"target":3},{"source":27,"target":34},{"source":27,"target":2},{"source":27,"target":35},{"source":34,"target":3},{"source":28,"target":4},{"source":3,"target":0},{"source":3,"target":4},{"source":3,"target":36},{"source":3,"target":33},{"source":3,"target":35},{"source":3,"target":37},{"source":3,"target":38},{"source":3,"target":39},{"source":36,"target":3},{"source":33,"target":2},{"source":33,"target":40},{"source":33,"target":3},{"source":33,"target":26},{"source":40,"target":2},{"source":35,"target":2},{"source":35,"target":41},{"source":35,"target":3},{"source":35,"target":27},{"source":41,"target":2},{"source":37,"target":42},{"source":37,"target":3},{"source":38,"target":43},{"source":38,"target":3},{"source":39,"target":4},{"source":4,"target":0},{"source":4,"target":44},{"source":44,"target":45},{"source":44,"target":4},{"source":5,"target":0},{"source":5,"target":4},{"source":5,"target":46},{"source":5,"target":47},{"source":5,"target":48},{"source":5,"target":49},{"source":5,"target":50},{"source":46,"target":5},{"source":47,"target":5},{"source":47,"target":51},{"source":51,"target":52},{"source":51,"target":47},{"source":48,"target":1},{"source":48,"target":53},{"source":48,"target":5},{"source":53,"target":1},{"source":49,"target":6},{"source":49,"target":54},{"source":49,"target":5},{"source":54,"target":6},{"source":50,"target":4},{"source":6,"target":0},{"source":6,"target":4},{"source":6,"target":55},{"source":6,"target":56},{"source":6,"target":57},{"source":6,"target":58},{"source":6,"target":59},{"source":6,"target":60},{"source":6,"target":61},{"source":6,"target":62},{"source":55,"target":6},{"source":56,"target":6},{"source":56,"target":63},{"source":63,"target":64},{"source":63,"target":56},{"source":57,"target":65},{"source":57,"target":6},{"source":58,"target":1},{"source":58,"target":66},{"source":58,"target":6},{"source":66,"target":1},{"source":59,"target":1},{"source":59,"target":67},{"source":59,"target":6},{"source":67,"target":1},{"source":60,"target":68},{"source":60,"target":6},{"source":61,"target":69},{"source":61,"target":6},{"source":62,"target":4}],"multigraph":true}