<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">
<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>
                                <td>
                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>
                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px; -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
Create Eclipse Ecore (EMF) Models manually
</h3>
<span style="margin-bottom: 10px;">
modified by <a href="http://community.jboss.org/people/adietish">Andre Dietisheim</a> in <i>JBoss Tools</i> - <a href="http://community.jboss.org/docs/DOC-15705">View the full document</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">
<div class="jive-rendered-content"><h1><span style="font-weight: normal;">Forewords</span></h1><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>EMF provides a runtime and tools that allow you to create ecore object models. The starting point is a model definition. It may be created out of a XML Schema (XSD), annotated java classes, etc.  but you will mostly craft one by hand. This document attempts to describe the process involved in the later. It will show you the basic steps to create an ecore model implementation and give you some more advanced hints here and there.</p><div> </div><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>There are a few tutorials available on <a class="jive-link-external-small" href="http://www.eclipse.org/modeling/emf/docs/#tutorials">eclipse.org</a>, the best one (to my eyes's) the one provided by <a class="jive-link-external-small" href="http://www.vogella.de/articles/EclipseEMF/article.html">Lars Vogella</a>.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><h1><span style="font-weight: normal;">Get started, create an EMF Project</span></h1><p>To get started, create an <strong>Empty EMF project</strong>.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><a href="http://community.jboss.org/servlet/JiveServlet/showImage/102-15705-25-5332/new-empty-emf-project.jpg"><span> http://community.jboss.org/servlet/JiveServlet/downloadImage/102-15705-25-5332/449-428/new-empty-emf-project.jpg </span></a></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>You'll get a new project, that's set up to work with the EMF framework.</p><p>What's pops to your eyes is that there's a <strong>model</strong> directory in this project. That´s the folder that will hold the ecore files, the model definitions (not a must but a standard so far).</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><h1><span style="font-weight: normal;">Create a Model Definition</span></h1><p>Create a new <strong>Ecore Model</strong> file to the model folder by selecting it and invoking the new ecore model wizard.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><a href="http://community.jboss.org/servlet/JiveServlet/showImage/102-15705-25-5333/new-ecore-file.jpg"><span> http://community.jboss.org/servlet/JiveServlet/downloadImage/102-15705-25-5333/450-436/new-ecore-file.jpg </span></a></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><h1><span style="font-weight: normal;">Create a Package</span></h1><p>We created an empty ecore model so far. The wizard opened the model in an new editor when all steps were achieved. The ecore file already has an empty, unnamed package. Your task is to give it a name, set its Ns URI and prefix.</p><blockquote class="jive-quote"><ul><li><strong>name</strong>: a simple term (not required to be unique)</li><li><strong>Ns prefix</strong>: ~shoretened 'java package' name (not required to be unique)</li><li><strong>Ns URI</strong>: some real (or bogus) unique URI where the scheme might be found.</li></ul></blockquote><p>Eclipse uses the  <strong>Sample Ecore Model Editor</strong> by default. But there are other editors that you may use. There are text based editors like <a class="jive-link-external-small" href="http://wiki.eclipse.org/Emfatic">Emfatic</a> or <a class="jive-link-external-small" href="http://www.eclipse.org/Xtext/">Xtext</a>. Eclipse <a class="jive-link-external-small" href="http://www.eclipse.org/MoDisco/">Modisco</a> also has a powerful <a class="jive-link-external-small" href="http://wiki.eclipse.org/MoDisco/ModelBrowser">Ecore tree based editor</a>. If you prefer to manipulate diagrams you may use the <a class="jive-link-external-small" href="http://www.eclipse.org/modeling/emft/?project=ecoretools">Ecore Diagram Editor</a> or <a class="jive-link-external-small" href="http://www.soyatec.com/euml2/">eUML2</a>.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><h3><span style="font-weight: normal;">Example: org.eclipse.emf.cdo.ui.defs</span></h3><p>I have a plugin/module in cdo called <strong>org.eclipse.emf.cdo.ui.defs </strong>The Ecore model for it has the following declarations:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><a href="http://community.jboss.org/servlet/JiveServlet/showImage/102-15705-25-5385/cdo-ui-defs.jpg"><span> http://community.jboss.org/servlet/JiveServlet/downloadImage/102-15705-25-5385/450-156/cdo-ui-defs.jpg </span></a></p><blockquote class="jive-quote"><ul><li><strong>name</strong>: defs</li><li><strong>Ns prefix</strong>: cdo.ui.defs</li><li><strong>Ns URI</strong>: <a class="jive-link-external-small" href="http://www.eclipse.org/emf/CDO/ui/defs/1.0.0" target="_blank">http://www.eclipse.org/emf/CDO/ui/defs/1.0.0</a></li></ul></blockquote><h1><span style="font-weight: normal;">Add Classes</span></h1><p>You are now ready to create classes in your package. Select your package and use the context menu to create a new <strong>EClass</strong>. Go to the properties view and set its <strong>Name</strong> to <strong>EditorDef</strong>. You may also create another class called <strong>Def </strong>let EditorDef extend it. You achieve this if you add it to EditorDefs <strong>ESuper Types</strong>.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><a href="http://community.jboss.org/servlet/JiveServlet/showImage/102-15705-25-5388/eclass-properties.jpg"><span> http://community.jboss.org/servlet/JiveServlet/downloadImage/102-15705-25-5388/450-206/eclass-properties.jpg </span></a></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>The classes you created will get generated in a later step. You'll get an interface <strong>EditorDef</strong>.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><a href="http://community.jboss.org/servlet/JiveServlet/showImage/102-15705-25-5389/interface.jpg"><span> http://community.jboss.org/servlet/JiveServlet/downloadImage/102-15705-25-5389/450-114/interface.jpg </span></a></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>And an Implementation <strong>EdiotrDefImpl</strong>.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><a href="http://community.jboss.org/servlet/JiveServlet/showImage/102-15705-25-5390/class.jpg"><span> http://community.jboss.org/servlet/JiveServlet/downloadImage/102-15705-25-5390/450-124/class.jpg </span></a></p><h1><span style="font-weight: normal;">No POJO?</span></h1><p>If you track the supertype hierarchy you'll notice that your ecore classes extend  <a class="jive-link-external-small" href="http://download.eclipse.org/modeling/emf/emf/javadoc/2.5.0/index.html?org/eclipse/emf/ecore/package-summary.html"><strong>EObject</strong></a>. A quick look at the <a class="jive-link-external-small" href="http://download.eclipse.org/modeling/emf/emf/javadoc/2.5.0/org/eclipse/emf/ecore/doc-files/EcoreHierarchy.gif">EObject class diagram</a> may help you get in touch with the classes the EMF runtime provides.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>EObjects offer various capabilities that are not (or at least at high cost) offered with plain POJOs. Extending EObjects in your model classes offers you all these capabilities free of charge:</p><blockquote class="jive-quote"><ul><li><strong>serialization</strong> (XML, XMI, binary, database based persistence, etc.)</li><li><strong>change propagation</strong></li><li><strong> </strong><strong>validation</strong></li><li><strong> </strong><strong>object</strong> <strong>query</strong></li><li><strong> </strong>etc. </li></ul></blockquote><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Furthermore the EMF ecosystem holds plenty of frameworks that extend it in various areas. Using EObject based POJOs allows you to take advantage of all these powerful frameworks.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>A disadvantage is that EMF's pretty invasive. You get all its power, but you mostly have to stick to EObjects. This usually isn't prroblematic in client (aka Eclipse IDE/RCP or other RCP platforms) projects, but might be a problem in server side projects. You may tell the generator <a class="jive-link-external-small" href="http://wiki.eclipse.org/EMF/Recipes#Recipe:_Generating_Pure_API_With_No_Visible_EMF_Dependencies">not to extend EObjects</a>, but you'll loose all benefits the powerful EMF runtime offers to you. Another solution emerged lately with Eclipse <a class="jive-link-external-small" href="http://martintaal.wordpress.com/2010/05/18/introducing-the-texo-project/">Texo</a>. Texo generates plain POJOs and offers a runtime that unleasehes most of the emf runtime capabilities.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><h1><span style="font-weight: normal;">All Ways lead to Rome</span></h1><p>There are usually several ways to get to the desired result (aka generated java code). The best way to find out about them is to trial and error or get deeper knowledge in the <a class="jive-link-external-small" href="http://www.amazon.com/EMF-Eclipse-Modeling-Framework-2nd/dp/0321331885/ref=sr_1_1?ie=UTF8&s=books&qid=1282042712&sr=8-1">Eclipse Modeling Framework book</a>.</p><p>A rule of thumb is to have all referenced classes available in your model definition. This is evident for ecore classes. But if your ecore classes use references to plain java types (that are not part of your ecore model in the strict sense) you'll have to declare those java types in the ecore model. In other words, the ecore model needs to know about all types (ecore or plain java) that are part of your model.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><h3><span style="font-weight: normal;">Example: Use EDataTypes for Java types</span></h3><p>Let's say that my modeled class CDOEditorDefs has a method execute() that throws an ExecutionException. I could add that method by hand but as a matter of taste I prefer to declare that method in my model.</p><p>My model does not know anything about this exception so far, so there's no way to get the correct signature generated out of the box . I'll therefore have  to declare this exception in model. I create a DataType <strong>ExecutionException</strong>.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Create an EDataType:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><a href="http://community.jboss.org/servlet/JiveServlet/showImage/4911/declare-datatype.png"><span> http://community.jboss.org/servlet/JiveServlet/downloadImage/4911/declare-datatype.png </span></a></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="text-align: left; ">Give it an <strong>Instance Type Name</strong> so it won't be generated but my models may use references to it:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><a href="http://community.jboss.org/servlet/JiveServlet/showImage/4913/declare-executionexception.jpg"><span> http://community.jboss.org/servlet/JiveServlet/downloadImage/4913/declare-executionexception.jpg </span></a></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Set the execute method (operation) to <strong>throw the ExecutionException</strong>:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><a href="http://community.jboss.org/servlet/JiveServlet/showImage/4914/declare-throws-executionexception.jpg"><span> http://community.jboss.org/servlet/JiveServlet/downloadImage/4914/declare-throws-executionexception.jpg </span></a></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>The generated method now throws the given Exception:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><a href="http://community.jboss.org/servlet/JiveServlet/showImage/4915/generated-throws-executionexception.jpg"><span> http://community.jboss.org/servlet/JiveServlet/downloadImage/4915/generated-throws-executionexception.jpg </span></a></p><h3><span style="font-weight: normal;">Example: Use EClass for Java Interfaces</span></h3><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>A very common problem is to have modeled (ecore-) classes that shall extend Java Interfaces. Let's say that I want EditorDef (an ecore class) to implement <strong>java.lang.Comparable</strong>.</p><p><strong> </strong> The former example used a EDataType to declare an external type to the ecore model. Interfaces are modeled as supertypes in EMF. EDataTypes cannot be supertypes to ecore classes.I therefore have to declare an <strong>eclass</strong> for my additional interface. <strong>instance type name</strong> will - like in the former example - ensure that no artifact gets generated.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>I declare the <strong>Comparable</strong> Interface:</p><p><a href="http://community.jboss.org/servlet/JiveServlet/showImage/102-15705-25-5391/comparable.jpg"><span> http://community.jboss.org/servlet/JiveServlet/downloadImage/102-15705-25-5391/450-220/comparable.jpg </span></a></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>and add it to the <strong>supertypes</strong> of EditorDef:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><a href="http://community.jboss.org/servlet/JiveServlet/showImage/102-15705-25-6875/comparable-supertype.jpg"><span> http://community.jboss.org/servlet/JiveServlet/downloadImage/102-15705-25-6875/450-220/comparable-supertype.jpg </span></a></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>The (generated) java interface will now <strong>extend</strong> Comparable:</p><p><a href="http://community.jboss.org/servlet/JiveServlet/showImage/102-15705-25-5394/extends-comparable.jpg"><span> http://community.jboss.org/servlet/JiveServlet/downloadImage/102-15705-25-5394/403-147/extends-comparable.jpg </span></a></p><h1><span style="font-weight: normal;">Get prepared to generate code, create a Genmodel</span></h1><p>This is mostly straight forward. Select the ecore file and create a genmodel for it.  Select your ecore file and start a new <strong>EMF Generator Model </strong>wizard. The wizard will allow you to create a so called Generator Model that holds all settings which are important to the code generation process.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><a href="http://community.jboss.org/servlet/JiveServlet/showImage/102-15705-25-5335/new-genmodel.jpg"><span> http://community.jboss.org/servlet/JiveServlet/downloadImage/102-15705-25-5335/450-272/new-genmodel.jpg </span></a></p><div> </div><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>There are 2 settings that might be of interest to you:</p><blockquote class="jive-quote"><p>'<strong>All</strong>' (property group when the package is selected):</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><ul><li><strong>Base Package</strong>: the base package all ecore classes get generated to</li><li><strong>Prefix</strong>: Prefix that the factory- and package-class get</li></ul><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p></blockquote><p><a href="http://community.jboss.org/servlet/JiveServlet/showImage/102-15705-25-5337/edit-genmodel.jpg"><span> http://community.jboss.org/servlet/JiveServlet/downloadImage/102-15705-25-5337/311-251/edit-genmodel.jpg </span></a></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><h3><span style="font-weight: normal;">Example: org.eclipse.emf.cdo.ui.defs</span></h3><blockquote class="jive-quote"><p><strong>Base Package</strong>:  org.eclipse.emf.cdo.ui</p><p><strong>Prefix</strong>: CDOUIDefs</p></blockquote><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Package-class gets <strong>CDOUIDefsPackage</strong>, Factory gets <strong>CDOUIDefsFactory</strong>, etc. All classes get generated to the <strong>package org.eclipse.emf.cdo.ui</strong></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><h2><span style="font-weight: normal;">Set Packages for Implementations and Interfaces, change Class- and Interface Names</span></h2><p><br/>Further modifications you might be interested in are the package names for implementations and interfaces (the defaults creates an 'impl' package where it puts all implementation classes). It can be modified by selecting the '<strong>Package Suffixes</strong>' and selecting the property '<strong>Implementation</strong>'. The same can be achieved for the interfaces package with the property '<strong>Interfaces</strong>'.<br/>The naming of the implementation- and interface-classes may be changed, too. You find those settings if you select the root-node of the tree in the genmodel-editor and choose the '<strong>Model</strong>' property group. You'll find 'Class Name Pattern' and 'Interface Name Pattern' among the available properties. The explanations for the values show up in the statusbar (default is '<strong>{0}impl</strong>' and '<strong>{0}</strong>').</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><a href="http://community.jboss.org/servlet/JiveServlet/showImage/102-15697-11-4849/genmodel-classname-pattern.png"><span> http://community.jboss.org/servlet/JiveServlet/downloadImage/102-15697-11-4849/genmodel-classname-pattern.png </span></a></p><p>Once you're done defining your generator model, you simply need to generate the implementation classes. Select the package you want to generate, right click and select the implementation you want to create. You may choose among the models, the editor, the tests.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><a href="http://community.jboss.org/servlet/JiveServlet/showImage/102-15697-11-4850/genmodel-generate.png"><span> http://community.jboss.org/servlet/JiveServlet/downloadImage/102-15697-11-4850/genmodel-generate.png </span></a></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><h1><span style="font-weight: normal;">Modify the Generated Classes</span></h1><p>Ecore is built to be modified, the basic usage-pattern is to code and generate hand-in-hand. To tell the generator not to override your modifications you need to set the javadoc-annotation to anything different than <strong>@generated</strong>. Good practice says that you should set it to '@generated NOT'. Good practice also tells you to annotate any manually added method by <strong>@ADDED</strong>, but its optional though.<br/>There is another handy usage pattern that allows you to replace the generated code with your hand-written one and get the generated one, too. If you want to have your code instead of the generated one, you annotate accordingly (@generated NOT) and the generator will not override it. If you now create a method that uses the same method signature, append "<strong>Gen</strong>" to the method name and annotate it as if it was generated (@generated), the generator will generate its code into this method instead of the one that it would usually generate to.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><blockquote class="jive-quote"><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><div class="highlight"><span style="color: #408080; font-style: italic">/**<br/></span><span style="color: #408080; font-style: italic"> </span>* @generated NOT<br/> <span style="color: #408080; font-style: italic"> </span><span style="color: #408080; font-style: italic">*/<br/></span><span style="color: #408080; font-style: italic"> </span><span style="color: #008000; font-weight: bold">public</span> <span style="color: #B00040">void</span> <span style="color: #0000FF">setName</span><span style="color: #666666">(</span>String name<span style="color: #666666">)</span> <span style="color: #666666">{<br/></span><span style="color: #666666"> </span>   HANDWRITTEN CODE<br/><span style="color: #666666">}<br/></span><span style="color: #408080; font-style: italic"><br/></span><span style="color: #408080; font-style: italic">/**<br/></span><span style="color: #408080; font-style: italic"> </span><span style="color: #408080; font-style: italic"> </span><span style="color: #408080; font-style: italic">*<br/></span><span style="color: #408080; font-style: italic"> @generated<br/></span><span style="color: #408080; font-style: italic"> </span><span style="color: #408080; font-style: italic">*/<br/></span><span style="color: #408080; font-style: italic"> </span><span style="color: #008000; font-weight: bold">public</span> <span style="color: #B00040">void</span> <span style="color: #0000FF">setNameGen</span><span style="color: #666666">(</span>String name<span style="color: #666666">)</span> <span style="color: #666666">{<br/></span><span style="color: #666666"> </span>    GENERATED CODE gets generated here<br/><span style="color: #666666">}</span></div></blockquote><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>After making your modifications, you simply need to re-generate the Ecore classes. (<em><strong>How?</strong></em>)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><h1>Refactor generated Code and Regenerate</h1><p>The code generator in EMF's is pretty capable when it's up to merge manual code changes in generated code. It respects <strong>@generated </strong>tags and preserves your handwritten code in generated classes.</p><p>If you rename a class in your ecore file though, it won't be able to detect your change. EMF has no clue that you renamed ecore class definitions. It will not be able to detect your java files because they have the old name. It will generate new artifacts and merging will not occur. You could copy your changes manually, but this is pretty cumbersome, there's a better approach to this use case:</p><p>Refactor/rename the generated java classes in a first step. Rename your ecore class definitions in a second step and regenerate afterwards. EMF will detect the preexisting artifacts and merge your manual code changes with the generated content. You will not have to copy your code manually.</p></div>
<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
<p style="margin: 0;">Comment by <a href="http://community.jboss.org/docs/DOC-15705">going to Community</a></p>
        <p style="margin: 0;">Create a new document in JBoss Tools at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=102&containerType=14&container=2128">Community</a></p>
</div></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>