<?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" xmi:id="_aHnRQC9vEeme-prEJQaJbA" name="model">
  <eAnnotations xmi:id="_aHnRQC9vEeme-prEJQaJbA0" source="genmymodel">
    <details xmi:id="_aHnRQC9vEeme-prEJQaJbA00" key="uuid" value="_aHnRQC9vEeme-prEJQaJbA"/>
  </eAnnotations>
  <eClassifiers xsi:type="ecore:EClass" xmi:id="_fTUDUBGdEDeIWePbX_M3iA" name="Comprador">
    <eAnnotations xmi:id="_fTUDUBGdEDeIWePbX_M3iA0" source="genmymodel">
      <details xmi:id="_fTUDUBGdEDeIWePbX_M3iA00" key="uuid" value="_fTUDUBGdEDeIWePbX_M3iA"/>
    </eAnnotations>
    <eOperations xmi:id="_yWJJIBGfEDeIWePbX_M3iA" name="Comprar(VIvienda v, Vendedor ven">
      <eAnnotations xmi:id="_yWJJIBGfEDeIWePbX_M3iA0" source="genmymodel">
        <details xmi:id="_yWJJIBGfEDeIWePbX_M3iA00" key="uuid" value="_yWJJIBGfEDeIWePbX_M3iA"/>
      </eAnnotations>
    </eOperations>
    <eOperations xmi:id="_47hhsBGfEDeIWePbX_M3iA" name="ConsultaPrecio(int cod, Vendedor p">
      <eAnnotations xmi:id="_47hhsBGfEDeIWePbX_M3iA0" source="genmymodel">
        <details xmi:id="_47hhsBGfEDeIWePbX_M3iA00" key="uuid" value="_47hhsBGfEDeIWePbX_M3iA"/>
      </eAnnotations>
      <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
    </eOperations>
    <eStructuralFeatures xsi:type="ecore:EAttribute" xmi:id="_CHcwoBGeEDeIWePbX_M3iA" name="nombre">
      <eAnnotations xmi:id="_CHcwoBGeEDeIWePbX_M3iA0" source="genmymodel">
        <details xmi:id="_CHcwoBGeEDeIWePbX_M3iA00" key="uuid" value="_CHcwoBGeEDeIWePbX_M3iA"/>
      </eAnnotations>
      <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    </eStructuralFeatures>
    <eStructuralFeatures xsi:type="ecore:EAttribute" xmi:id="_KgUgERGeEDeIWePbX_M3iA" name="apellidos">
      <eAnnotations xmi:id="_KgUgERGeEDeIWePbX_M3iA0" source="genmymodel">
        <details xmi:id="_KgUgERGeEDeIWePbX_M3iA00" key="uuid" value="_KgUgERGeEDeIWePbX_M3iA"/>
      </eAnnotations>
      <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    </eStructuralFeatures>
    <eStructuralFeatures xsi:type="ecore:EAttribute" xmi:id="_OvufwBGeEDeIWePbX_M3iA" name="dni">
      <eAnnotations xmi:id="_OvufwBGeEDeIWePbX_M3iA0" source="genmymodel">
        <details xmi:id="_OvufwBGeEDeIWePbX_M3iA00" key="uuid" value="_OvufwBGeEDeIWePbX_M3iA"/>
      </eAnnotations>
      <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    </eStructuralFeatures>
    <eStructuralFeatures xsi:type="ecore:EAttribute" xmi:id="_Q86wERGeEDeIWePbX_M3iA" name="saldo">
      <eAnnotations xmi:id="_Q86wERGeEDeIWePbX_M3iA0" source="genmymodel">
        <details xmi:id="_Q86wERGeEDeIWePbX_M3iA00" key="uuid" value="_Q86wERGeEDeIWePbX_M3iA"/>
      </eAnnotations>
      <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
    </eStructuralFeatures>
    <eStructuralFeatures xsi:type="ecore:EReference" xmi:id="_UTO5shGgEDeIWePbX_M3iA" name="vivienda" upperBound="-1" eType="_xWOPIBGdEDeIWePbX_M3iA" containment="true">
      <eAnnotations xmi:id="_UTO5shGgEDeIWePbX_M3iA0" source="genmymodel">
        <details xmi:id="_UTO5shGgEDeIWePbX_M3iA00" key="uuid" value="_UTO5shGgEDeIWePbX_M3iA"/>
      </eAnnotations>
    </eStructuralFeatures>
    <eStructuralFeatures xsi:type="ecore:EReference" xmi:id="_YYrsIhGgEDeIWePbX_M3iA" name="vendedor" upperBound="-1" eType="_wRKrkRGdEDeIWePbX_M3iA" containment="true">
      <eAnnotations xmi:id="_YYrsIhGgEDeIWePbX_M3iA0" source="genmymodel">
        <details xmi:id="_YYrsIhGgEDeIWePbX_M3iA00" key="uuid" value="_YYrsIhGgEDeIWePbX_M3iA"/>
      </eAnnotations>
    </eStructuralFeatures>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" xmi:id="_wRKrkRGdEDeIWePbX_M3iA" name="Vendedor">
    <eAnnotations xmi:id="_wRKrkRGdEDeIWePbX_M3iA0" source="genmymodel">
      <details xmi:id="_wRKrkRGdEDeIWePbX_M3iA00" key="uuid" value="_wRKrkRGdEDeIWePbX_M3iA"/>
    </eAnnotations>
    <eOperations xmi:id="_c8SsIRGeEDeIWePbX_M3iA" name="getVivienda(int codigo" eType="_xWOPIBGdEDeIWePbX_M3iA">
      <eAnnotations xmi:id="_c8SsIRGeEDeIWePbX_M3iA0" source="genmymodel">
        <details xmi:id="_c8SsIRGeEDeIWePbX_M3iA00" key="uuid" value="_c8SsIRGeEDeIWePbX_M3iA"/>
      </eAnnotations>
    </eOperations>
    <eOperations xmi:id="_pQMGsBGeEDeIWePbX_M3iA" name="vender(Vivienda v">
      <eAnnotations xmi:id="_pQMGsBGeEDeIWePbX_M3iA0" source="genmymodel">
        <details xmi:id="_pQMGsBGeEDeIWePbX_M3iA00" key="uuid" value="_pQMGsBGeEDeIWePbX_M3iA"/>
      </eAnnotations>
    </eOperations>
    <eStructuralFeatures xsi:type="ecore:EAttribute" xmi:id="_XLqKQBGeEDeIWePbX_M3iA" name="nombre">
      <eAnnotations xmi:id="_XLqKQBGeEDeIWePbX_M3iA0" source="genmymodel">
        <details xmi:id="_XLqKQBGeEDeIWePbX_M3iA00" key="uuid" value="_XLqKQBGeEDeIWePbX_M3iA"/>
      </eAnnotations>
      <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    </eStructuralFeatures>
    <eStructuralFeatures xsi:type="ecore:EAttribute" xmi:id="_XLqxUBGeEDeIWePbX_M3iA" name="apellidos">
      <eAnnotations xmi:id="_XLqxUBGeEDeIWePbX_M3iA0" source="genmymodel">
        <details xmi:id="_XLqxUBGeEDeIWePbX_M3iA00" key="uuid" value="_XLqxUBGeEDeIWePbX_M3iA"/>
      </eAnnotations>
      <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    </eStructuralFeatures>
    <eStructuralFeatures xsi:type="ecore:EAttribute" xmi:id="_XLqxURGeEDeIWePbX_M3iA" name="dni">
      <eAnnotations xmi:id="_XLqxURGeEDeIWePbX_M3iA0" source="genmymodel">
        <details xmi:id="_XLqxURGeEDeIWePbX_M3iA00" key="uuid" value="_XLqxURGeEDeIWePbX_M3iA"/>
      </eAnnotations>
      <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    </eStructuralFeatures>
    <eStructuralFeatures xsi:type="ecore:EAttribute" xmi:id="_XLqxUhGeEDeIWePbX_M3iA" name="saldo">
      <eAnnotations xmi:id="_XLqxUhGeEDeIWePbX_M3iA0" source="genmymodel">
        <details xmi:id="_XLqxUhGeEDeIWePbX_M3iA00" key="uuid" value="_XLqxUhGeEDeIWePbX_M3iA"/>
      </eAnnotations>
      <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
    </eStructuralFeatures>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" xmi:id="_xWOPIBGdEDeIWePbX_M3iA" name="Vivienda">
    <eAnnotations xmi:id="_xWOPIBGdEDeIWePbX_M3iA0" source="genmymodel">
      <details xmi:id="_xWOPIBGdEDeIWePbX_M3iA00" key="uuid" value="_xWOPIBGdEDeIWePbX_M3iA"/>
    </eAnnotations>
    <eStructuralFeatures xsi:type="ecore:EAttribute" xmi:id="_trZGsBGeEDeIWePbX_M3iA" name="codigo">
      <eAnnotations xmi:id="_trZGsBGeEDeIWePbX_M3iA0" source="genmymodel">
        <details xmi:id="_trZGsBGeEDeIWePbX_M3iA00" key="uuid" value="_trZGsBGeEDeIWePbX_M3iA"/>
      </eAnnotations>
      <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
    </eStructuralFeatures>
    <eStructuralFeatures xsi:type="ecore:EAttribute" xmi:id="_v0x1EBGeEDeIWePbX_M3iA" name="direccion">
      <eAnnotations xmi:id="_v0x1EBGeEDeIWePbX_M3iA0" source="genmymodel">
        <details xmi:id="_v0x1EBGeEDeIWePbX_M3iA00" key="uuid" value="_v0x1EBGeEDeIWePbX_M3iA"/>
      </eAnnotations>
      <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    </eStructuralFeatures>
    <eStructuralFeatures xsi:type="ecore:EAttribute" xmi:id="_xi5jwBGeEDeIWePbX_M3iA" name="ocupado">
      <eAnnotations xmi:id="_xi5jwBGeEDeIWePbX_M3iA0" source="genmymodel">
        <details xmi:id="_xi5jwBGeEDeIWePbX_M3iA00" key="uuid" value="_xi5jwBGeEDeIWePbX_M3iA"/>
      </eAnnotations>
      <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
    </eStructuralFeatures>
    <eStructuralFeatures xsi:type="ecore:EAttribute" xmi:id="_zfKcIRGeEDeIWePbX_M3iA" name="precioCompra">
      <eAnnotations xmi:id="_zfKcIRGeEDeIWePbX_M3iA0" source="genmymodel">
        <details xmi:id="_zfKcIRGeEDeIWePbX_M3iA00" key="uuid" value="_zfKcIRGeEDeIWePbX_M3iA"/>
      </eAnnotations>
      <eType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
    </eStructuralFeatures>
  </eClassifiers>
</ecore:EPackage>

{"directed":true,"nodes":[{"nsPrefix":null,"nsURI":null,"name":"model","id":0,"eClass":"EPackage"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Comprador","instanceClass":null,"abstract":false,"id":1,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Vendedor","instanceClass":null,"abstract":false,"id":2,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Vivienda","instanceClass":null,"abstract":false,"id":3,"interface":false,"eClass":"EClass"},{"ordered":true,"upperBound":1,"unique":true,"name":"Comprar(VIvienda v, Vendedor ven","lowerBound":0,"id":4,"many":false,"required":false,"eClass":"EOperation"},{"ordered":true,"upperBound":1,"unique":true,"name":"ConsultaPrecio(int cod, Vendedor p","lowerBound":0,"id":5,"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":"nombre","changeable":true,"lowerBound":0,"iD":false,"id":6,"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":"apellidos","changeable":true,"lowerBound":0,"iD":false,"id":7,"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":"dni","changeable":true,"lowerBound":0,"iD":false,"id":8,"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":"saldo","changeable":true,"lowerBound":0,"iD":false,"id":9,"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":"vivienda","changeable":true,"resolveProxies":true,"lowerBound":0,"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":"vendedor","changeable":true,"resolveProxies":true,"lowerBound":0,"id":11,"derived":false},{"id":12,"eClass":"EGenericType"},{"id":13,"eClass":"EGenericType"},{"id":14,"eClass":"EGenericType"},{"id":15,"eClass":"EGenericType"},{"id":16,"eClass":"EGenericType"},{"id":17,"eClass":"EGenericType"},{"id":18,"eClass":"EGenericType"},{"ordered":true,"upperBound":1,"unique":true,"name":"getVivienda(int codigo","lowerBound":0,"id":19,"many":false,"required":false,"eClass":"EOperation"},{"ordered":true,"upperBound":1,"unique":true,"name":"vender(Vivienda v","lowerBound":0,"id":20,"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":"nombre","changeable":true,"lowerBound":0,"iD":false,"id":21,"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":"apellidos","changeable":true,"lowerBound":0,"iD":false,"id":22,"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":"dni","changeable":true,"lowerBound":0,"iD":false,"id":23,"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":"saldo","changeable":true,"lowerBound":0,"iD":false,"id":24,"derived":false},{"id":25,"eClass":"EGenericType"},{"id":26,"eClass":"EGenericType"},{"id":27,"eClass":"EGenericType"},{"id":28,"eClass":"EGenericType"},{"id":29,"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":"codigo","changeable":true,"lowerBound":0,"iD":false,"id":30,"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":"direccion","changeable":true,"lowerBound":0,"iD":false,"id":31,"derived":false},{"ordered":true,"upperBound":1,"defaultValue":false,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"ocupado","changeable":true,"lowerBound":0,"iD":false,"id":32,"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":"precioCompra","changeable":true,"lowerBound":0,"iD":false,"id":33,"derived":false},{"id":34,"eClass":"EGenericType"},{"id":35,"eClass":"EGenericType"},{"id":36,"eClass":"EGenericType"},{"id":37,"eClass":"EGenericType"}],"links":[{"source":0,"target":1},{"source":0,"target":2},{"source":0,"target":3},{"source":1,"target":0},{"source":1,"target":4},{"source":1,"target":5},{"source":1,"target":6},{"source":1,"target":7},{"source":1,"target":8},{"source":1,"target":9},{"source":1,"target":10},{"source":1,"target":11},{"source":4,"target":1},{"source":5,"target":12},{"source":5,"target":1},{"source":6,"target":13},{"source":6,"target":1},{"source":7,"target":14},{"source":7,"target":1},{"source":8,"target":15},{"source":8,"target":1},{"source":9,"target":16},{"source":9,"target":1},{"source":10,"target":3},{"source":10,"target":17},{"source":10,"target":1},{"source":17,"target":3},{"source":11,"target":2},{"source":11,"target":18},{"source":11,"target":1},{"source":18,"target":2},{"source":2,"target":0},{"source":2,"target":19},{"source":2,"target":20},{"source":2,"target":21},{"source":2,"target":22},{"source":2,"target":23},{"source":2,"target":24},{"source":19,"target":3},{"source":19,"target":25},{"source":19,"target":2},{"source":25,"target":3},{"source":20,"target":2},{"source":21,"target":26},{"source":21,"target":2},{"source":22,"target":27},{"source":22,"target":2},{"source":23,"target":28},{"source":23,"target":2},{"source":24,"target":29},{"source":24,"target":2},{"source":3,"target":0},{"source":3,"target":30},{"source":3,"target":31},{"source":3,"target":32},{"source":3,"target":33},{"source":30,"target":34},{"source":30,"target":3},{"source":31,"target":35},{"source":31,"target":3},{"source":32,"target":36},{"source":32,"target":3},{"source":33,"target":37},{"source":33,"target":3}],"multigraph":true}
model
Comprador
Comprar(VIvienda v, Vendedor ven
ConsultaPrecio(int cod, Vendedor p
nombre
apellidos
dni
saldo
vivienda
vendedor
Vendedor
getVivienda(int codigo
vender(Vivienda v
nombre
apellidos
dni
saldo
Vivienda
codigo
direccion
ocupado
precioCompra