accounting
Order
validateUnitAmount
diagnosticChain
context
id
project
deliverables
invoices
paymentOffset
pricePerUnit
Deliverable
dueDate
unitAmount
order
Invoice
id
advisor
order
unitAmount
invoiceDate
state
NamedElement
name
Client
projects
Project
client
orders
liason
Employee
emails
InvoiceState
New
New
Invoiced
Invoiced
Paid
Paid
ClientDatabase
clients
EmployeeDatabase
employees
<?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="accounting" nsURI="http://eclipsesource.com/accounting" nsPrefix="com.eclipsesource.accounting">
  <eClassifiers xsi:type="ecore:EClass" name="Order">
    <eOperations name="validateUnitAmount" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean">
      <eParameters name="diagnosticChain" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDiagnosticChain"/>
      <eParameters name="context">
        <eGenericType eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EMap">
          <eTypeArguments eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject"/>
          <eTypeArguments eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject"/>
        </eGenericType>
      </eParameters>
    </eOperations>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="id" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
        iD="true"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="project" lowerBound="1"
        eType="#//Project" eOpposite="#//Project/orders"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="deliverables" upperBound="-1"
        eType="#//Deliverable" containment="true" eOpposite="#//Deliverable/order"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="invoices" upperBound="-1"
        eType="#//Invoice" containment="true" eOpposite="#//Invoice/order"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="paymentOffset" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="pricePerUnit" lowerBound="1"
        eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Deliverable">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="dueDate" lowerBound="1"
        eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDate"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="unitAmount" lowerBound="1"
        eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="order" lowerBound="1" eType="#//Order"
        eOpposite="#//Order/deliverables"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Invoice">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="id" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
        iD="true"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="advisor" eType="#//Employee"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="order" lowerBound="1" eType="#//Order"
        eOpposite="#//Order/invoices"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="unitAmount" lowerBound="1"
        eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="invoiceDate" lowerBound="1"
        eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDate"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="state" lowerBound="1" eType="#//InvoiceState"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="NamedElement" abstract="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="Client" eSuperTypes="#//NamedElement">
    <eStructuralFeatures xsi:type="ecore:EReference" name="projects" lowerBound="1"
        upperBound="-1" eType="#//Project" containment="true" eOpposite="#//Project/client"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Project" eSuperTypes="#//NamedElement">
    <eStructuralFeatures xsi:type="ecore:EReference" name="client" lowerBound="1"
        eType="#//Client" eOpposite="#//Client/projects"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="orders" upperBound="-1"
        eType="#//Order" containment="true" eOpposite="#//Order/project"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="liason" eType="#//Employee"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Employee" eSuperTypes="#//NamedElement">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="emails" upperBound="-1"
        eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EEnum" name="InvoiceState">
    <eLiterals name="New"/>
    <eLiterals name="Invoiced" value="1"/>
    <eLiterals name="Paid" value="2"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="ClientDatabase">
    <eAnnotations source="org.eclipse.emf.ecp.navigator"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="clients" upperBound="-1"
        eType="#//Client" containment="true"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="EmployeeDatabase">
    <eAnnotations source="org.eclipse.emf.ecp.navigator"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="employees" upperBound="-1"
        eType="#//Employee" containment="true"/>
  </eClassifiers>
</ecore:EPackage>

{"directed":true,"nodes":[{"nsPrefix":"com.eclipsesource.accounting","nsURI":"http://eclipsesource.com/accounting","name":"accounting","id":0,"eClass":"EPackage"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Order","instanceClass":null,"abstract":false,"id":1,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Deliverable","instanceClass":null,"abstract":false,"id":2,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Invoice","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":"Client","instanceClass":null,"abstract":false,"id":5,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Project","instanceClass":null,"abstract":false,"id":6,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Employee","instanceClass":null,"abstract":false,"id":7,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"instanceClassName":null,"name":"InvoiceState","instanceClass":null,"id":8,"serializable":true,"eClass":"EEnum"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"ClientDatabase","instanceClass":null,"abstract":false,"id":9,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"EmployeeDatabase","instanceClass":null,"abstract":false,"id":10,"interface":false,"eClass":"EClass"},{"ordered":true,"upperBound":1,"unique":true,"name":"validateUnitAmount","lowerBound":1,"id":11,"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":"id","changeable":true,"lowerBound":1,"iD":true,"id":12,"derived":false},{"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":"project","changeable":true,"resolveProxies":true,"lowerBound":1,"id":13,"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":"deliverables","changeable":true,"resolveProxies":true,"lowerBound":0,"id":14,"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":"invoices","changeable":true,"resolveProxies":true,"lowerBound":0,"id":15,"derived":false},{"ordered":true,"upperBound":1,"defaultValue":0,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"paymentOffset","changeable":true,"lowerBound":0,"iD":false,"id":16,"derived":false},{"ordered":true,"upperBound":1,"defaultValue":0.0,"volatile":false,"many":false,"required":true,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"pricePerUnit","changeable":true,"lowerBound":1,"iD":false,"id":17,"derived":false},{"id":18,"eClass":"EGenericType"},{"ordered":true,"upperBound":1,"unique":true,"name":"diagnosticChain","lowerBound":0,"id":19,"many":false,"required":false,"eClass":"EParameter"},{"ordered":true,"upperBound":1,"unique":true,"name":"context","lowerBound":0,"id":20,"many":false,"required":false,"eClass":"EParameter"},{"id":21,"eClass":"EGenericType"},{"id":22,"eClass":"EGenericType"},{"id":23,"eClass":"EGenericType"},{"id":24,"eClass":"EGenericType"},{"id":25,"eClass":"EGenericType"},{"id":26,"eClass":"EGenericType"},{"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":"orders","changeable":true,"resolveProxies":true,"lowerBound":0,"id":27,"derived":false},{"id":28,"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":"order","changeable":true,"resolveProxies":true,"lowerBound":1,"id":29,"derived":false},{"id":30,"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":"order","changeable":true,"resolveProxies":true,"lowerBound":1,"id":31,"derived":false},{"id":32,"eClass":"EGenericType"},{"id":33,"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":"dueDate","changeable":true,"lowerBound":1,"iD":false,"id":34,"derived":false},{"ordered":true,"upperBound":1,"defaultValue":0.0,"volatile":false,"many":false,"required":true,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"unitAmount","changeable":true,"lowerBound":1,"iD":false,"id":35,"derived":false},{"id":36,"eClass":"EGenericType"},{"id":37,"eClass":"EGenericType"},{"id":38,"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":"id","changeable":true,"lowerBound":1,"iD":true,"id":39,"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":"advisor","changeable":true,"resolveProxies":true,"lowerBound":0,"id":40,"derived":false},{"ordered":true,"upperBound":1,"defaultValue":0.0,"volatile":false,"many":false,"required":true,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"unitAmount","changeable":true,"lowerBound":1,"iD":false,"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":"invoiceDate","changeable":true,"lowerBound":1,"iD":false,"id":42,"derived":false},{"ordered":true,"upperBound":1,"volatile":false,"many":false,"required":true,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"state","changeable":true,"lowerBound":1,"iD":false,"id":43,"derived":false},{"id":44,"eClass":"EGenericType"},{"id":45,"eClass":"EGenericType"},{"id":46,"eClass":"EGenericType"},{"id":47,"eClass":"EGenericType"},{"id":48,"eClass":"EGenericType"},{"id":49,"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":50,"derived":false},{"id":51,"eClass":"EGenericType"},{"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":"projects","changeable":true,"resolveProxies":true,"lowerBound":1,"id":52,"derived":false},{"id":53,"eClass":"EGenericType"},{"id":54,"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":"client","changeable":true,"resolveProxies":true,"lowerBound":1,"id":55,"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":"liason","changeable":true,"resolveProxies":true,"lowerBound":0,"id":56,"derived":false},{"id":57,"eClass":"EGenericType"},{"id":58,"eClass":"EGenericType"},{"id":59,"eClass":"EGenericType"},{"id":60,"eClass":"EGenericType"},{"ordered":true,"upperBound":-1,"defaultValue":null,"volatile":false,"many":true,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"emails","changeable":true,"lowerBound":0,"iD":false,"id":61,"derived":false},{"id":62,"eClass":"EGenericType"},{"id":63,"eClass":"EGenericType"},{"name":"New","id":64,"value":0,"literal":"New","eClass":"EEnumLiteral"},{"name":"Invoiced","id":65,"value":1,"literal":"Invoiced","eClass":"EEnumLiteral"},{"name":"Paid","id":66,"value":2,"literal":"Paid","eClass":"EEnumLiteral"},{"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":"clients","changeable":true,"resolveProxies":true,"lowerBound":0,"id":67,"derived":false},{"id":68,"eClass":"EGenericType"},{"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":"employees","changeable":true,"resolveProxies":true,"lowerBound":0,"id":69,"derived":false},{"id":70,"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":1,"target":12},{"source":1,"target":13},{"source":1,"target":14},{"source":1,"target":15},{"source":1,"target":16},{"source":1,"target":17},{"source":11,"target":18},{"source":11,"target":1},{"source":11,"target":19},{"source":11,"target":20},{"source":19,"target":21},{"source":19,"target":11},{"source":20,"target":22},{"source":20,"target":11},{"source":22,"target":23},{"source":22,"target":24},{"source":12,"target":25},{"source":12,"target":1},{"source":13,"target":6},{"source":13,"target":26},{"source":13,"target":1},{"source":13,"target":27},{"source":26,"target":6},{"source":14,"target":2},{"source":14,"target":28},{"source":14,"target":1},{"source":14,"target":29},{"source":28,"target":2},{"source":15,"target":3},{"source":15,"target":30},{"source":15,"target":1},{"source":15,"target":31},{"source":30,"target":3},{"source":16,"target":32},{"source":16,"target":1},{"source":17,"target":33},{"source":17,"target":1},{"source":2,"target":0},{"source":2,"target":34},{"source":2,"target":35},{"source":2,"target":29},{"source":34,"target":36},{"source":34,"target":2},{"source":35,"target":37},{"source":35,"target":2},{"source":29,"target":1},{"source":29,"target":38},{"source":29,"target":2},{"source":29,"target":14},{"source":38,"target":1},{"source":3,"target":0},{"source":3,"target":39},{"source":3,"target":40},{"source":3,"target":31},{"source":3,"target":41},{"source":3,"target":42},{"source":3,"target":43},{"source":39,"target":44},{"source":39,"target":3},{"source":40,"target":7},{"source":40,"target":45},{"source":40,"target":3},{"source":45,"target":7},{"source":31,"target":1},{"source":31,"target":46},{"source":31,"target":3},{"source":31,"target":15},{"source":46,"target":1},{"source":41,"target":47},{"source":41,"target":3},{"source":42,"target":48},{"source":42,"target":3},{"source":43,"target":8},{"source":43,"target":49},{"source":43,"target":3},{"source":49,"target":8},{"source":4,"target":0},{"source":4,"target":50},{"source":50,"target":51},{"source":50,"target":4},{"source":5,"target":0},{"source":5,"target":4},{"source":5,"target":52},{"source":5,"target":53},{"source":52,"target":6},{"source":52,"target":54},{"source":52,"target":5},{"source":52,"target":55},{"source":54,"target":6},{"source":53,"target":4},{"source":6,"target":0},{"source":6,"target":4},{"source":6,"target":55},{"source":6,"target":27},{"source":6,"target":56},{"source":6,"target":57},{"source":55,"target":5},{"source":55,"target":58},{"source":55,"target":6},{"source":55,"target":52},{"source":58,"target":5},{"source":27,"target":1},{"source":27,"target":59},{"source":27,"target":6},{"source":27,"target":13},{"source":59,"target":1},{"source":56,"target":7},{"source":56,"target":60},{"source":56,"target":6},{"source":60,"target":7},{"source":57,"target":4},{"source":7,"target":0},{"source":7,"target":4},{"source":7,"target":61},{"source":7,"target":62},{"source":61,"target":63},{"source":61,"target":7},{"source":62,"target":4},{"source":8,"target":0},{"source":8,"target":64},{"source":8,"target":65},{"source":8,"target":66},{"source":64,"target":8},{"source":65,"target":8},{"source":66,"target":8},{"source":9,"target":0},{"source":9,"target":67},{"source":67,"target":5},{"source":67,"target":68},{"source":67,"target":9},{"source":68,"target":5},{"source":10,"target":0},{"source":10,"target":69},{"source":69,"target":7},{"source":69,"target":70},{"source":69,"target":10},{"source":70,"target":7}],"multigraph":true}