<?xml version="1.0" encoding="UTF-8"?>
<uml:Model xmi:version="2.1" xmlns:xmi="http://schema.omg.org/spec/XMI/2.1" xmlns:uml="http://www.eclipse.org/uml2/3.0.0/UML" xmi:id="_sgDVsDuSEeOea-LKttTgHw" name="Model">
  <ownedComment xmi:id="_Lcz4oDweEeO_lq8yZvLOvA">
    <body>getreport(type)&#xD;
	if Daily &#xD;
		..&#xD;
	if Weekly&#xD;
		...&#xD;
	else:&#xD;
		error</body>
  </ownedComment>
  <packageImport xmi:id="_sgDVsTuSEeOea-LKttTgHw">
    <importedPackage xmi:type="uml:Model" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/>
  </packageImport>
  <packagedElement xmi:type="uml:Class" xmi:id="_uJZ5IDuSEeOea-LKttTgHw" name="Ingredient">
    <generalization xmi:id="__EFcIDuTEeOea-LKttTgHw" general="__DYRgDuTEeOea-LKttTgHw"/>
    <ownedAttribute xmi:id="_OchlwDuUEeOea-LKttTgHw" name="Property1"/>
  </packagedElement>
  <packagedElement xmi:type="uml:Interface" xmi:id="__DYRgDuTEeOea-LKttTgHw" name="Interface1"/>
  <packagedElement xmi:type="uml:Class" xmi:id="_RNTrUDuUEeOea-LKttTgHw" name="Ingredient">
    <ownedAttribute xmi:id="_ZhtKcDuUEeOea-LKttTgHw" name="  name">
      <type xmi:type="uml:PrimitiveType" href="pathmap://UML_METAMODELS/Ecore.metamodel.uml#EString"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_jhOHkDuUEeOea-LKttTgHw" name="  caloricvalue">
      <type xmi:type="uml:PrimitiveType" href="pathmap://UML_METAMODELS/Ecore.metamodel.uml#EInt"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_MusjQDuaEeOea-LKttTgHw" name="meals" type="_8KzFYDuUEeOea-LKttTgHw" association="_MuuYcDuaEeOea-LKttTgHw">
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_MusjQTuaEeOea-LKttTgHw" value="*"/>
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_MusjQjuaEeOea-LKttTgHw" value="1"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_Sf7EIDwgEeO_lq8yZvLOvA" name="receord" type="_Su6X0DwfEeO_lq8yZvLOvA" association="_Sf85UDwgEeO_lq8yZvLOvA">
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_Sf7EITwgEeO_lq8yZvLOvA" value="1"/>
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_Sf7rMDwgEeO_lq8yZvLOvA" value="1"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_5mTpwDwgEeO_lq8yZvLOvA" name="  id">
      <type xmi:type="uml:PrimitiveType" href="pathmap://UML_METAMODELS/Ecore.metamodel.uml#EInt"/>
    </ownedAttribute>
    <ownedOperation xmi:id="_wSJcYDuUEeOea-LKttTgHw" name="getName">
      <ownedParameter xmi:id="_du4jQDuZEeOea-LKttTgHw" direction="return">
        <type xmi:type="uml:PrimitiveType" href="pathmap://UML_METAMODELS/Ecore.metamodel.uml#EString"/>
      </ownedParameter>
    </ownedOperation>
    <ownedOperation xmi:id="_yMN8YDuUEeOea-LKttTgHw" name="getCalories">
      <ownedParameter xmi:id="_gEGuMDuZEeOea-LKttTgHw" direction="return">
        <type xmi:type="uml:PrimitiveType" href="pathmap://UML_METAMODELS/Ecore.metamodel.uml#EInt"/>
      </ownedParameter>
    </ownedOperation>
    <ownedOperation xmi:id="_1-BaEDuUEeOea-LKttTgHw" name="setName"/>
    <ownedOperation xmi:id="_3GNKIDuUEeOea-LKttTgHw" name="setCalories"/>
  </packagedElement>
  <packagedElement xmi:type="uml:PrimitiveType" xmi:id="_W2gvgDuUEeOea-LKttTgHw" name="PrimitiveType1"/>
  <packagedElement xmi:type="uml:Constraint" xmi:id="_XycMQDuUEeOea-LKttTgHw" name="Constraint1">
    <specification xmi:type="uml:LiteralString" xmi:id="_XyczUDuUEeOea-LKttTgHw" value=""/>
  </packagedElement>
  <packagedElement xmi:type="uml:Class" xmi:id="_8KzFYDuUEeOea-LKttTgHw" name="Meals">
    <ownedComment xmi:id="_9Vq3cDwgEeO_lq8yZvLOvA">
      <body>http://www.youtube.com/watch?v=WbzLibDgOkU</body>
    </ownedComment>
    <ownedAttribute xmi:id="__y6bkDuUEeOea-LKttTgHw" name="Name">
      <type xmi:type="uml:PrimitiveType" href="pathmap://UML_METAMODELS/Ecore.metamodel.uml#EString"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_AF63IDuVEeOea-LKttTgHw" name="caloricvalue">
      <type xmi:type="uml:PrimitiveType" href="pathmap://UML_METAMODELS/Ecore.metamodel.uml#EInt"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_AYrbEDuVEeOea-LKttTgHw" name="ingredients" type="_uJZ5IDuSEeOea-LKttTgHw">
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_Q-sVoDuWEeOea-LKttTgHw" value="*"/>
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_Q-kZ0DuWEeOea-LKttTgHw"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_k69RgDwfEeO_lq8yZvLOvA" name="receord" type="_Su6X0DwfEeO_lq8yZvLOvA" association="_k6_twDwfEeO_lq8yZvLOvA">
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_k69RgTwfEeO_lq8yZvLOvA" value="*"/>
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_k69RgjwfEeO_lq8yZvLOvA"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_-RQ9ADwgEeO_lq8yZvLOvA" name=" id">
      <type xmi:type="uml:PrimitiveType" href="pathmap://UML_METAMODELS/Ecore.metamodel.uml#EInt"/>
    </ownedAttribute>
    <ownedOperation xmi:id="_pOfhgDuWEeOea-LKttTgHw" name="getCalories">
      <ownedParameter xmi:id="_Ab1f8DuZEeOea-LKttTgHw" direction="return">
        <type xmi:type="uml:PrimitiveType" href="pathmap://UML_METAMODELS/Ecore.metamodel.uml#EInt"/>
      </ownedParameter>
    </ownedOperation>
    <ownedOperation xmi:id="_pptd4DuWEeOea-LKttTgHw" name="getName">
      <ownedParameter xmi:id="_98r88DuYEeOea-LKttTgHw" direction="return">
        <type xmi:type="uml:PrimitiveType" href="pathmap://UML_METAMODELS/Ecore.metamodel.uml#EString"/>
      </ownedParameter>
    </ownedOperation>
    <ownedOperation xmi:id="_p4mOcDuWEeOea-LKttTgHw" name="getIngredients">
      <ownedParameter xmi:id="_7xFdgDuXEeOea-LKttTgHw" direction="return">
        <type xmi:type="uml:PrimitiveType" href="pathmap://UML_METAMODELS/Ecore.metamodel.uml#EEList"/>
      </ownedParameter>
    </ownedOperation>
    <ownedOperation xmi:id="_qHVOADuWEeOea-LKttTgHw" name="setName"/>
    <ownedOperation xmi:id="_qXtMUDuWEeOea-LKttTgHw" name="setCalories">
      <ownedParameter xmi:id="_xtLvoDuXEeOea-LKttTgHw" direction="return"/>
    </ownedOperation>
    <ownedOperation xmi:id="_qm1NcDuWEeOea-LKttTgHw" name="modyMeal"/>
    <ownedOperation xmi:id="_Qc-TMDuXEeOea-LKttTgHw" name="deleteMeal"/>
    <ownedOperation xmi:id="_SMr9UDuXEeOea-LKttTgHw" name="calculateCalories" visibility="public">
      <ownedParameter xmi:id="_tZaNUDuXEeOea-LKttTgHw" direction="return">
        <type xmi:type="uml:PrimitiveType" href="pathmap://UML_METAMODELS/Ecore.metamodel.uml#EInt"/>
      </ownedParameter>
    </ownedOperation>
    <ownedOperation xmi:id="_oVc5UDuZEeOea-LKttTgHw" name="setIngredients"/>
    <ownedOperation xmi:id="_7qdaMDwdEeO_lq8yZvLOvA" name="`"/>
  </packagedElement>
  <packagedElement xmi:type="uml:Association" xmi:id="_0Foi0DuZEeOea-LKttTgHw"/>
  <packagedElement xmi:type="uml:Association" xmi:id="_MuuYcDuaEeOea-LKttTgHw" name="ingredient_meals_1" memberEnd="_MuuYcTuaEeOea-LKttTgHw _MusjQDuaEeOea-LKttTgHw">
    <ownedEnd xmi:id="_MuuYcTuaEeOea-LKttTgHw" name="ingredient" type="_RNTrUDuUEeOea-LKttTgHw" association="_MuuYcDuaEeOea-LKttTgHw">
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_MuuYcjuaEeOea-LKttTgHw" value="*"/>
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_MuuYczuaEeOea-LKttTgHw" value="1"/>
    </ownedEnd>
  </packagedElement>
  <packagedElement xmi:type="uml:Class" xmi:id="_Su6X0DwfEeO_lq8yZvLOvA" name="Receord">
    <ownedAttribute xmi:id="_aF_TEDwfEeO_lq8yZvLOvA" name="meals []" type="_8KzFYDuUEeOea-LKttTgHw"/>
    <ownedAttribute xmi:id="_ai5RgDwfEeO_lq8yZvLOvA" name="ingredients" type="_RNTrUDuUEeOea-LKttTgHw"/>
    <ownedAttribute xmi:id="_a4kmkDwfEeO_lq8yZvLOvA" name="caloricvalue">
      <type xmi:type="uml:PrimitiveType" href="pathmap://UML_METAMODELS/Ecore.metamodel.uml#EInt"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_bNyBkDwfEeO_lq8yZvLOvA" name="date">
      <type xmi:type="uml:PrimitiveType" href="pathmap://UML_METAMODELS/Ecore.metamodel.uml#EDate"/>
    </ownedAttribute>
    <ownedAttribute xmi:id="_bkwXIDwfEeO_lq8yZvLOvA" name="Property5"/>
    <ownedAttribute xmi:id="_hheQYDwjEeO_lq8yZvLOvA" name="report" type="_xU138DwiEeO_lq8yZvLOvA" association="_hhfegDwjEeO_lq8yZvLOvA">
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_hheQYTwjEeO_lq8yZvLOvA" value="*"/>
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_hheQYjwjEeO_lq8yZvLOvA" value="1"/>
    </ownedAttribute>
    <ownedOperation xmi:id="_Um7pYDwfEeO_lq8yZvLOvA" name="calculatecaloricvalue"/>
    <ownedOperation xmi:id="_U2WlcDwfEeO_lq8yZvLOvA" name="getname"/>
    <ownedOperation xmi:id="_VFtQEDwfEeO_lq8yZvLOvA" name="getingredient"/>
    <ownedOperation xmi:id="_VT3n4DwfEeO_lq8yZvLOvA" name="getcaloricvalue"/>
    <ownedOperation xmi:id="_Vjq-cDwfEeO_lq8yZvLOvA" name="getdate"/>
    <ownedOperation xmi:id="_V1iKgDwfEeO_lq8yZvLOvA" name="addingredient"/>
    <ownedOperation xmi:id="_WFeD8DwfEeO_lq8yZvLOvA" name="addmeal"/>
    <ownedOperation xmi:id="_2rISEDwgEeO_lq8yZvLOvA" name="setDate"/>
  </packagedElement>
  <packagedElement xmi:type="uml:Association" xmi:id="_k6_twDwfEeO_lq8yZvLOvA" name="meals_receord_1" memberEnd="_k6_twTwfEeO_lq8yZvLOvA _k69RgDwfEeO_lq8yZvLOvA">
    <ownedEnd xmi:id="_k6_twTwfEeO_lq8yZvLOvA" name="meals" type="_8KzFYDuUEeOea-LKttTgHw" association="_k6_twDwfEeO_lq8yZvLOvA">
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_k6_twjwfEeO_lq8yZvLOvA" value="1"/>
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_k6_twzwfEeO_lq8yZvLOvA" value="1"/>
    </ownedEnd>
  </packagedElement>
  <packagedElement xmi:type="uml:Association" xmi:id="_Sf85UDwgEeO_lq8yZvLOvA" name="ingredient_receord_1" memberEnd="_Sf9gYDwgEeO_lq8yZvLOvA _Sf7EIDwgEeO_lq8yZvLOvA">
    <ownedEnd xmi:id="_Sf9gYDwgEeO_lq8yZvLOvA" name="ingredient" type="_RNTrUDuUEeOea-LKttTgHw" association="_Sf85UDwgEeO_lq8yZvLOvA">
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_Sf9gYTwgEeO_lq8yZvLOvA" value="*"/>
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_Sf9gYjwgEeO_lq8yZvLOvA"/>
    </ownedEnd>
  </packagedElement>
  <packagedElement xmi:type="uml:Class" xmi:id="_xU138DwiEeO_lq8yZvLOvA" name="Report">
    <ownedAttribute xmi:id="_ZG_-cDwjEeO_lq8yZvLOvA" name="record" type="_Su6X0DwfEeO_lq8yZvLOvA"/>
    <ownedOperation xmi:id="_YqrO0DwjEeO_lq8yZvLOvA" name="getReprot"/>
  </packagedElement>
  <packagedElement xmi:type="uml:Association" xmi:id="_hhfegDwjEeO_lq8yZvLOvA" name="receord_report_1" memberEnd="_hhfegTwjEeO_lq8yZvLOvA _hheQYDwjEeO_lq8yZvLOvA">
    <ownedEnd xmi:id="_hhfegTwjEeO_lq8yZvLOvA" name="receord" type="_Su6X0DwfEeO_lq8yZvLOvA" association="_hhfegDwjEeO_lq8yZvLOvA">
      <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_hhfegjwjEeO_lq8yZvLOvA" value="*"/>
      <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_hhfegzwjEeO_lq8yZvLOvA"/>
    </ownedEnd>
  </packagedElement>
</uml:Model>
