libraryinteractionmodel
Library
availableBooks
authors
clients
Book
isbn
title
author
currentReservation
reservations
Books
items
Authors
items
AuthorShort
self
nationality
name
Client
self
name
email
Clients
items
Reservation
to
client
book
from
ISBN
java.lang.Long
java.lang.Long
Author
books
name
nationality
fullBio
BookShort
self
isbn
title
EMail
java.lang.String
java.lang.String
Reservations
items
<?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="libraryinteractionmodel"
    nsURI="http://libraryinteractionmodel/1.0" nsPrefix="libraryinteractionmodel">
  <eClassifiers xsi:type="ecore:EClass" name="Library">
    <eStructuralFeatures xsi:type="ecore:EReference" name="availableBooks" lowerBound="1"
        eType="#//Books">
      <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
        <details key="documentation" value="All available books. There may be 'hidden' books in the Library which do not show up here,&#xD;&#xA;e.g. books lent in the past (which could show up from authors.books) but are no longer&#xD;&#xA;available to borrow.  If a book is in principle available to borrow but not right now&#xD;&#xA;because somebody else has it, it will still show up in this list though."/>
      </eAnnotations>
    </eStructuralFeatures>
    <eStructuralFeatures xsi:type="ecore:EReference" name="authors" lowerBound="1"
        eType="#//Authors"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="clients" lowerBound="1"
        eType="#//Clients"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Book">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="isbn" lowerBound="1" eType="#//ISBN"
        iD="true"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="title" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="author" lowerBound="1"
        eType="#//AuthorShort" containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="currentReservation" eType="#//Reservation"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="reservations" lowerBound="1"
        eType="#//Reservations"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Books">
    <eStructuralFeatures xsi:type="ecore:EReference" name="items" upperBound="-1"
        eType="#//BookShort" containment="true"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Authors">
    <eStructuralFeatures xsi:type="ecore:EReference" name="items" upperBound="-1"
        eType="#//AuthorShort" containment="true"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="AuthorShort">
    <eStructuralFeatures xsi:type="ecore:EReference" name="self" lowerBound="1" eType="#//Author"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="nationality" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Client">
    <eStructuralFeatures xsi:type="ecore:EReference" name="self" lowerBound="1" eType="#//Client"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="email" lowerBound="1" eType="#//EMail"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Clients">
    <eStructuralFeatures xsi:type="ecore:EReference" name="items" upperBound="-1"
        eType="#//Client" containment="true"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Reservation">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="to" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDate"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="client" lowerBound="1"
        eType="#//Client"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="book" lowerBound="1" eType="#//Book"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="from" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDate"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EDataType" name="ISBN" instanceClassName="java.lang.Long"/>
  <eClassifiers xsi:type="ecore:EClass" name="Author">
    <eStructuralFeatures xsi:type="ecore:EReference" name="books" upperBound="-1"
        eType="#//BookShort" containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="nationality" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="fullBio" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="BookShort">
    <eStructuralFeatures xsi:type="ecore:EReference" name="self" lowerBound="1" eType="#//Book"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="isbn" lowerBound="1" eType="#//ISBN"
        iD="true"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="title" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EDataType" name="EMail" instanceClassName="java.lang.String"/>
  <eClassifiers xsi:type="ecore:EClass" name="Reservations">
    <eStructuralFeatures xsi:type="ecore:EReference" name="items" upperBound="-1"
        eType="#//Reservation" containment="true"/>
  </eClassifiers>
</ecore:EPackage>

{"directed":true,"nodes":[{"nsPrefix":"libraryinteractionmodel","nsURI":"http://libraryinteractionmodel/1.0","name":"libraryinteractionmodel","id":0,"eClass":"EPackage"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Library","instanceClass":null,"abstract":false,"id":1,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Book","instanceClass":null,"abstract":false,"id":2,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Books","instanceClass":null,"abstract":false,"id":3,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Authors","instanceClass":null,"abstract":false,"id":4,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"AuthorShort","instanceClass":null,"abstract":false,"id":5,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Client","instanceClass":null,"abstract":false,"id":6,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Clients","instanceClass":null,"abstract":false,"id":7,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Reservation","instanceClass":null,"abstract":false,"id":8,"interface":false,"eClass":"EClass"},{"instanceTypeName":"java.lang.Long","defaultValue":null,"instanceClassName":"java.lang.Long","name":"ISBN","instanceClass":"java.lang.Long","id":9,"serializable":true,"eClass":"EDataType"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Author","instanceClass":null,"abstract":false,"id":10,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"BookShort","instanceClass":null,"abstract":false,"id":11,"interface":false,"eClass":"EClass"},{"instanceTypeName":"java.lang.String","defaultValue":null,"instanceClassName":"java.lang.String","name":"EMail","instanceClass":"java.lang.String","id":12,"serializable":true,"eClass":"EDataType"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Reservations","instanceClass":null,"abstract":false,"id":13,"interface":false,"eClass":"EClass"},{"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":"availableBooks","changeable":true,"resolveProxies":true,"lowerBound":1,"id":14,"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":"authors","changeable":true,"resolveProxies":true,"lowerBound":1,"id":15,"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":"clients","changeable":true,"resolveProxies":true,"lowerBound":1,"id":16,"derived":false},{"id":17,"eClass":"EGenericType"},{"id":18,"eClass":"EGenericType"},{"id":19,"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":"isbn","changeable":true,"lowerBound":1,"iD":true,"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":"title","changeable":true,"lowerBound":0,"iD":false,"id":21,"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":"author","changeable":true,"resolveProxies":true,"lowerBound":1,"id":22,"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":"currentReservation","changeable":true,"resolveProxies":true,"lowerBound":0,"id":23,"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":"reservations","changeable":true,"resolveProxies":true,"lowerBound":1,"id":24,"derived":false},{"id":25,"eClass":"EGenericType"},{"id":26,"eClass":"EGenericType"},{"id":27,"eClass":"EGenericType"},{"id":28,"eClass":"EGenericType"},{"id":29,"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":"items","changeable":true,"resolveProxies":true,"lowerBound":0,"id":30,"derived":false},{"id":31,"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":"items","changeable":true,"resolveProxies":true,"lowerBound":0,"id":32,"derived":false},{"id":33,"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":"self","changeable":true,"resolveProxies":true,"lowerBound":1,"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":"nationality","changeable":true,"lowerBound":0,"iD":false,"id":35,"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":"name","changeable":true,"lowerBound":0,"iD":false,"id":36,"derived":false},{"id":37,"eClass":"EGenericType"},{"id":38,"eClass":"EGenericType"},{"id":39,"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":"self","changeable":true,"resolveProxies":true,"lowerBound":1,"id":40,"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":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":"email","changeable":true,"lowerBound":1,"iD":false,"id":42,"derived":false},{"id":43,"eClass":"EGenericType"},{"id":44,"eClass":"EGenericType"},{"id":45,"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":"items","changeable":true,"resolveProxies":true,"lowerBound":0,"id":46,"derived":false},{"id":47,"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":"to","changeable":true,"lowerBound":0,"iD":false,"id":48,"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":"client","changeable":true,"resolveProxies":true,"lowerBound":1,"id":49,"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":"book","changeable":true,"resolveProxies":true,"lowerBound":1,"id":50,"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":"from","changeable":true,"lowerBound":0,"iD":false,"id":51,"derived":false},{"id":52,"eClass":"EGenericType"},{"id":53,"eClass":"EGenericType"},{"id":54,"eClass":"EGenericType"},{"id":55,"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":"books","changeable":true,"resolveProxies":true,"lowerBound":0,"id":56,"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":"name","changeable":true,"lowerBound":0,"iD":false,"id":57,"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":"nationality","changeable":true,"lowerBound":0,"iD":false,"id":58,"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":"fullBio","changeable":true,"lowerBound":0,"iD":false,"id":59,"derived":false},{"id":60,"eClass":"EGenericType"},{"id":61,"eClass":"EGenericType"},{"id":62,"eClass":"EGenericType"},{"id":63,"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":"self","changeable":true,"resolveProxies":true,"lowerBound":1,"id":64,"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":"isbn","changeable":true,"lowerBound":1,"iD":true,"id":65,"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":"title","changeable":true,"lowerBound":0,"iD":false,"id":66,"derived":false},{"id":67,"eClass":"EGenericType"},{"id":68,"eClass":"EGenericType"},{"id":69,"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":"items","changeable":true,"resolveProxies":true,"lowerBound":0,"id":70,"derived":false},{"id":71,"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":0,"target":11},{"source":0,"target":12},{"source":0,"target":13},{"source":1,"target":0},{"source":1,"target":14},{"source":1,"target":15},{"source":1,"target":16},{"source":14,"target":3},{"source":14,"target":17},{"source":14,"target":1},{"source":17,"target":3},{"source":15,"target":4},{"source":15,"target":18},{"source":15,"target":1},{"source":18,"target":4},{"source":16,"target":7},{"source":16,"target":19},{"source":16,"target":1},{"source":19,"target":7},{"source":2,"target":0},{"source":2,"target":20},{"source":2,"target":21},{"source":2,"target":22},{"source":2,"target":23},{"source":2,"target":24},{"source":20,"target":9},{"source":20,"target":25},{"source":20,"target":2},{"source":25,"target":9},{"source":21,"target":26},{"source":21,"target":2},{"source":22,"target":5},{"source":22,"target":27},{"source":22,"target":2},{"source":27,"target":5},{"source":23,"target":8},{"source":23,"target":28},{"source":23,"target":2},{"source":28,"target":8},{"source":24,"target":13},{"source":24,"target":29},{"source":24,"target":2},{"source":29,"target":13},{"source":3,"target":0},{"source":3,"target":30},{"source":30,"target":11},{"source":30,"target":31},{"source":30,"target":3},{"source":31,"target":11},{"source":4,"target":0},{"source":4,"target":32},{"source":32,"target":5},{"source":32,"target":33},{"source":32,"target":4},{"source":33,"target":5},{"source":5,"target":0},{"source":5,"target":34},{"source":5,"target":35},{"source":5,"target":36},{"source":34,"target":10},{"source":34,"target":37},{"source":34,"target":5},{"source":37,"target":10},{"source":35,"target":38},{"source":35,"target":5},{"source":36,"target":39},{"source":36,"target":5},{"source":6,"target":0},{"source":6,"target":40},{"source":6,"target":41},{"source":6,"target":42},{"source":40,"target":6},{"source":40,"target":43},{"source":40,"target":6},{"source":43,"target":6},{"source":41,"target":44},{"source":41,"target":6},{"source":42,"target":12},{"source":42,"target":45},{"source":42,"target":6},{"source":45,"target":12},{"source":7,"target":0},{"source":7,"target":46},{"source":46,"target":6},{"source":46,"target":47},{"source":46,"target":7},{"source":47,"target":6},{"source":8,"target":0},{"source":8,"target":48},{"source":8,"target":49},{"source":8,"target":50},{"source":8,"target":51},{"source":48,"target":52},{"source":48,"target":8},{"source":49,"target":6},{"source":49,"target":53},{"source":49,"target":8},{"source":53,"target":6},{"source":50,"target":2},{"source":50,"target":54},{"source":50,"target":8},{"source":54,"target":2},{"source":51,"target":55},{"source":51,"target":8},{"source":9,"target":0},{"source":10,"target":0},{"source":10,"target":56},{"source":10,"target":57},{"source":10,"target":58},{"source":10,"target":59},{"source":56,"target":11},{"source":56,"target":60},{"source":56,"target":10},{"source":60,"target":11},{"source":57,"target":61},{"source":57,"target":10},{"source":58,"target":62},{"source":58,"target":10},{"source":59,"target":63},{"source":59,"target":10},{"source":11,"target":0},{"source":11,"target":64},{"source":11,"target":65},{"source":11,"target":66},{"source":64,"target":2},{"source":64,"target":67},{"source":64,"target":11},{"source":67,"target":2},{"source":65,"target":9},{"source":65,"target":68},{"source":65,"target":11},{"source":68,"target":9},{"source":66,"target":69},{"source":66,"target":11},{"source":12,"target":0},{"source":13,"target":0},{"source":13,"target":70},{"source":70,"target":8},{"source":70,"target":71},{"source":70,"target":13},{"source":71,"target":8}],"multigraph":true}