CarRentalModel
CarRental
customer
agencies
crafts
mainAgency
Customer
identifier
lastname
surname
bestellungen
Order
orderDate
price
craft
customer
Agency
street
place
zip
VipCustomer
discount
Craft
vin
charge
licenseNo
rentBy
Motorcycle
cm3
Automobile
isCabrio
<?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="CarRentalModel"
    nsURI="http://www.eclipse.org/emf/henshin/examples/oo2rdb/CarRentalModel" nsPrefix="CarRentalModel">
  <eClassifiers xsi:type="ecore:EClass" name="CarRental">
    <eStructuralFeatures xsi:type="ecore:EReference" name="customer" upperBound="-1"
        eType="#//Customer" containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="agencies" lowerBound="1"
        upperBound="-1" eType="#//Agency" containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="crafts" lowerBound="1"
        upperBound="-1" eType="#//Craft" containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="mainAgency" lowerBound="1"
        eType="#//Agency"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Customer">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="identifier" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
        iD="true"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="lastname" lowerBound="1"
        eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="surname" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="bestellungen" lowerBound="1"
        upperBound="-1" eType="#//Order" containment="true" eOpposite="#//Order/customer"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Order">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="orderDate" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDate"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="price" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFloat"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="craft" lowerBound="1" eType="#//Craft"
        eOpposite="#//Craft/rentBy"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="customer" lowerBound="1"
        eType="#//Customer" eOpposite="#//Customer/bestellungen"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Agency">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="street" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="place" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="zip" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="VipCustomer" eSuperTypes="#//Customer">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="discount" lowerBound="1"
        eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFloat"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Craft" abstract="true">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="vin" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"
        iD="true"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="charge" lowerBound="1"
        eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFloat"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="licenseNo" lowerBound="1"
        eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="rentBy" upperBound="-1"
        eType="#//Order" eOpposite="#//Order/craft"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Motorcycle" eSuperTypes="#//Craft">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="cm3" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Automobile" eSuperTypes="#//Craft">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="isCabrio" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
  </eClassifiers>
</ecore:EPackage>

{"directed":true,"nodes":[{"nsPrefix":"CarRentalModel","nsURI":"http://www.eclipse.org/emf/henshin/examples/oo2rdb/CarRentalModel","name":"CarRentalModel","id":0,"eClass":"EPackage"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"CarRental","instanceClass":null,"abstract":false,"id":1,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Customer","instanceClass":null,"abstract":false,"id":2,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Order","instanceClass":null,"abstract":false,"id":3,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Agency","instanceClass":null,"abstract":false,"id":4,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"VipCustomer","instanceClass":null,"abstract":false,"id":5,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Craft","instanceClass":null,"abstract":true,"id":6,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Motorcycle","instanceClass":null,"abstract":false,"id":7,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Automobile","instanceClass":null,"abstract":false,"id":8,"interface":false,"eClass":"EClass"},{"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":"customer","changeable":true,"resolveProxies":true,"lowerBound":0,"id":9,"derived":false},{"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":"agencies","changeable":true,"resolveProxies":true,"lowerBound":1,"id":10,"derived":false},{"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":"crafts","changeable":true,"resolveProxies":true,"lowerBound":1,"id":11,"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":"mainAgency","changeable":true,"resolveProxies":true,"lowerBound":1,"id":12,"derived":false},{"id":13,"eClass":"EGenericType"},{"id":14,"eClass":"EGenericType"},{"id":15,"eClass":"EGenericType"},{"id":16,"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":"identifier","changeable":true,"lowerBound":0,"iD":true,"id":17,"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":"lastname","changeable":true,"lowerBound":1,"iD":false,"id":18,"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":"surname","changeable":true,"lowerBound":0,"iD":false,"id":19,"derived":false},{"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":"bestellungen","changeable":true,"resolveProxies":true,"lowerBound":1,"id":20,"derived":false},{"id":21,"eClass":"EGenericType"},{"id":22,"eClass":"EGenericType"},{"id":23,"eClass":"EGenericType"},{"id":24,"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":"customer","changeable":true,"resolveProxies":true,"lowerBound":1,"id":25,"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":"orderDate","changeable":true,"lowerBound":0,"iD":false,"id":26,"derived":false},{"ordered":true,"upperBound":1,"defaultValue":0.0,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"price","changeable":true,"lowerBound":0,"iD":false,"id":27,"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":"craft","changeable":true,"resolveProxies":true,"lowerBound":1,"id":28,"derived":false},{"id":29,"eClass":"EGenericType"},{"id":30,"eClass":"EGenericType"},{"id":31,"eClass":"EGenericType"},{"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":"rentBy","changeable":true,"resolveProxies":true,"lowerBound":0,"id":32,"derived":false},{"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":"street","changeable":true,"lowerBound":0,"iD":false,"id":34,"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":"place","changeable":true,"lowerBound":0,"iD":false,"id":35,"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":"zip","changeable":true,"lowerBound":0,"iD":false,"id":36,"derived":false},{"id":37,"eClass":"EGenericType"},{"id":38,"eClass":"EGenericType"},{"id":39,"eClass":"EGenericType"},{"ordered":true,"upperBound":1,"defaultValue":0.0,"volatile":false,"many":false,"required":true,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"discount","changeable":true,"lowerBound":1,"iD":false,"id":40,"derived":false},{"id":41,"eClass":"EGenericType"},{"id":42,"eClass":"EGenericType"},{"ordered":true,"upperBound":1,"defaultValue":0,"volatile":false,"many":false,"required":true,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"vin","changeable":true,"lowerBound":1,"iD":true,"id":43,"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":"charge","changeable":true,"lowerBound":1,"iD":false,"id":44,"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":"licenseNo","changeable":true,"lowerBound":1,"iD":false,"id":45,"derived":false},{"id":46,"eClass":"EGenericType"},{"id":47,"eClass":"EGenericType"},{"id":48,"eClass":"EGenericType"},{"id":49,"eClass":"EGenericType"},{"ordered":true,"upperBound":1,"defaultValue":0,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"cm3","changeable":true,"lowerBound":0,"iD":false,"id":50,"derived":false},{"id":51,"eClass":"EGenericType"},{"id":52,"eClass":"EGenericType"},{"ordered":true,"upperBound":1,"defaultValue":false,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"isCabrio","changeable":true,"lowerBound":0,"iD":false,"id":53,"derived":false},{"id":54,"eClass":"EGenericType"},{"id":55,"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":1,"target":0},{"source":1,"target":9},{"source":1,"target":10},{"source":1,"target":11},{"source":1,"target":12},{"source":9,"target":2},{"source":9,"target":13},{"source":9,"target":1},{"source":13,"target":2},{"source":10,"target":4},{"source":10,"target":14},{"source":10,"target":1},{"source":14,"target":4},{"source":11,"target":6},{"source":11,"target":15},{"source":11,"target":1},{"source":15,"target":6},{"source":12,"target":4},{"source":12,"target":16},{"source":12,"target":1},{"source":16,"target":4},{"source":2,"target":0},{"source":2,"target":17},{"source":2,"target":18},{"source":2,"target":19},{"source":2,"target":20},{"source":17,"target":21},{"source":17,"target":2},{"source":18,"target":22},{"source":18,"target":2},{"source":19,"target":23},{"source":19,"target":2},{"source":20,"target":3},{"source":20,"target":24},{"source":20,"target":2},{"source":20,"target":25},{"source":24,"target":3},{"source":3,"target":0},{"source":3,"target":26},{"source":3,"target":27},{"source":3,"target":28},{"source":3,"target":25},{"source":26,"target":29},{"source":26,"target":3},{"source":27,"target":30},{"source":27,"target":3},{"source":28,"target":6},{"source":28,"target":31},{"source":28,"target":3},{"source":28,"target":32},{"source":31,"target":6},{"source":25,"target":2},{"source":25,"target":33},{"source":25,"target":3},{"source":25,"target":20},{"source":33,"target":2},{"source":4,"target":0},{"source":4,"target":34},{"source":4,"target":35},{"source":4,"target":36},{"source":34,"target":37},{"source":34,"target":4},{"source":35,"target":38},{"source":35,"target":4},{"source":36,"target":39},{"source":36,"target":4},{"source":5,"target":0},{"source":5,"target":2},{"source":5,"target":40},{"source":5,"target":41},{"source":40,"target":42},{"source":40,"target":5},{"source":41,"target":2},{"source":6,"target":0},{"source":6,"target":43},{"source":6,"target":44},{"source":6,"target":45},{"source":6,"target":32},{"source":43,"target":46},{"source":43,"target":6},{"source":44,"target":47},{"source":44,"target":6},{"source":45,"target":48},{"source":45,"target":6},{"source":32,"target":3},{"source":32,"target":49},{"source":32,"target":6},{"source":32,"target":28},{"source":49,"target":3},{"source":7,"target":0},{"source":7,"target":6},{"source":7,"target":50},{"source":7,"target":51},{"source":50,"target":52},{"source":50,"target":7},{"source":51,"target":6},{"source":8,"target":0},{"source":8,"target":6},{"source":8,"target":53},{"source":8,"target":54},{"source":53,"target":55},{"source":53,"target":8},{"source":54,"target":6}],"multigraph":true}