{"id":5537,"date":"2015-05-08T15:16:05","date_gmt":"2015-05-08T13:16:05","guid":{"rendered":"http:\/\/blog.wenzlaff.de\/?p=5537"},"modified":"2023-08-20T14:55:10","modified_gmt":"2023-08-20T12:55:10","slug":"wie-kann-ein-be-model-ecore-mit-eclipse-modeling-framework-emf-unter-eclipse-luna-4-4-2-und-texo-generiert-werden","status":"publish","type":"post","link":"http:\/\/blog.wenzlaff.de\/?p=5537","title":{"rendered":"Wie kann ein BE-Model (ecore) mit Eclipse Modeling Framework (EMF) unter Eclipse Luna 4.4.2 und Texo generiert werden?"},"content":{"rendered":"<p>F\u00fcr die meisten Java Projekte braucht man ein BE-Model, das am besten automatisch generiert wird. Wie kann das innerhalb von Eclipse Luna mit dem EMF durchgef\u00fchrt werden?<\/p>\n<p>Wir wollen diese Modell Stuktur erzeugen. Eine Mindmap hat 0-* Zweige:<\/p>\n<p><a href=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/05\/Bildschirmfoto-2015-05-08-um-15.13.21.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/05\/Bildschirmfoto-2015-05-08-um-15.13.21.png\" alt=\"BE\" width=\"612\" height=\"583\" class=\"aligncenter size-full wp-image-5559\" srcset=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/05\/Bildschirmfoto-2015-05-08-um-15.13.21.png 612w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/05\/Bildschirmfoto-2015-05-08-um-15.13.21-300x286.png 300w\" sizes=\"auto, (max-width: 612px) 100vw, 612px\" \/><\/a><\/p>\n<p>Zuerst <a href=\"https:\/\/wiki.eclipse.org\/Texo\/Download_and_Install#*%20Using_Texo_at_runtime_outside_of_Eclipse.2FOSGI\" target=\"_blank\" rel=\"noopener noreferrer\">Texo<\/a> und EMF installieren.<\/p>\n<p>Dann ein neues EMF Projekt anlegen \u00fcber das Men\u00fc: <code>File - New - Other<\/code>:<br \/>\n<a href=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/05\/Bildschirmfoto-2015-05-08-um-13.24.49.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/05\/Bildschirmfoto-2015-05-08-um-13.24.49.png\" alt=\"EMF\" width=\"522\" height=\"458\" class=\"aligncenter size-full wp-image-5538\" srcset=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/05\/Bildschirmfoto-2015-05-08-um-13.24.49.png 522w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/05\/Bildschirmfoto-2015-05-08-um-13.24.49-300x263.png 300w\" sizes=\"auto, (max-width: 522px) 100vw, 522px\" \/><\/a><\/p>\n<p>Nun erstellen wir ein ecore Model \u00fcber das Men\u00fc: <code>File - New - Other - Eclipse Modeling Framework-Ecore<\/code> Model:<\/p>\n<p><a href=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/05\/Bildschirmfoto-2015-05-08-um-13.35.55.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/05\/Bildschirmfoto-2015-05-08-um-13.35.55.png\" alt=\"model\" width=\"525\" height=\"502\" class=\"aligncenter size-full wp-image-5541\" srcset=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/05\/Bildschirmfoto-2015-05-08-um-13.35.55.png 525w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/05\/Bildschirmfoto-2015-05-08-um-13.35.55-300x287.png 300w\" sizes=\"auto, (max-width: 525px) 100vw, 525px\" \/><\/a><\/p>\n<p>So sieht das Projekt nun aus, mit der <code>mindmap.ecore<\/code> Model Datei:<br \/>\n<a href=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/05\/Bildschirmfoto-2015-05-08-um-13.38.03.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/05\/Bildschirmfoto-2015-05-08-um-13.38.03.png\" alt=\"eclipse ecor\" width=\"945\" height=\"311\" class=\"aligncenter size-full wp-image-5542\" srcset=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/05\/Bildschirmfoto-2015-05-08-um-13.38.03.png 945w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/05\/Bildschirmfoto-2015-05-08-um-13.38.03-300x99.png 300w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/05\/Bildschirmfoto-2015-05-08-um-13.38.03-900x296.png 900w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/p>\n<p>Nun erzeugen wir zwei Klassen mit ein paar Attribute \u00fcber <code>New Child - New EClass<\/code> \u00fcber das Kontextmen\u00fc des Models (2.Zeile):<!--more--><\/p>\n<p>Dem Projekt muss noch die <code>Texo nature<\/code> hinzugef\u00fcgt werden \u00fcber Kontextmen\u00fc des Projektes und <code>Configure - Add\/Remove Texo nature<\/code>:<br \/>\n<a href=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/05\/Bildschirmfoto-2015-05-08-um-13.49.00.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/05\/Bildschirmfoto-2015-05-08-um-13.49.00.png\" alt=\"texo nature\" width=\"681\" height=\"342\" class=\"aligncenter size-full wp-image-5544\" srcset=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/05\/Bildschirmfoto-2015-05-08-um-13.49.00.png 681w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/05\/Bildschirmfoto-2015-05-08-um-13.49.00-300x151.png 300w\" sizes=\"auto, (max-width: 681px) 100vw, 681px\" \/><\/a><\/p>\n<p>Und schon kann das Model generiert werden \u00fcber das Kontextmen\u00fc des Models: <code>Texo - Generate JPA Annotated Model Code und Dao<\/code> oder ein anderes gew\u00fcnschtes Model:<br \/>\n<a href=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/05\/Bildschirmfoto-2015-05-08-um-13.49.46.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/05\/Bildschirmfoto-2015-05-08-um-13.49.46.png\" alt=\"generieren\" width=\"629\" height=\"240\" class=\"aligncenter size-full wp-image-5545\" srcset=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/05\/Bildschirmfoto-2015-05-08-um-13.49.46.png 629w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/05\/Bildschirmfoto-2015-05-08-um-13.49.46-300x114.png 300w\" sizes=\"auto, (max-width: 629px) 100vw, 629px\" \/><\/a><\/p>\n<p>Das Ergebnis sind diese Java Klassen:<br \/>\n<a href=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/05\/Bildschirmfoto-2015-05-08-um-13.53.55.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/05\/Bildschirmfoto-2015-05-08-um-13.53.55.png\" alt=\"Java Texo\" width=\"830\" height=\"406\" class=\"aligncenter size-full wp-image-5546\" srcset=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/05\/Bildschirmfoto-2015-05-08-um-13.53.55.png 830w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/05\/Bildschirmfoto-2015-05-08-um-13.53.55-300x147.png 300w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/p>\n<p>Jetzt k\u00f6nnen wir auch noch ein <strong>EMF Generator Model<\/strong> \u00fcber das Kontextmen\u00fc der selektierten <code>mindmap.ecore<\/code> generieren:<br \/>\n<a href=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/05\/Bildschirmfoto-2015-05-08-um-14.06.14.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/05\/Bildschirmfoto-2015-05-08-um-14.06.14.png\" alt=\" EMF Generator Model \" width=\"533\" height=\"503\" class=\"aligncenter size-full wp-image-5550\" srcset=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/05\/Bildschirmfoto-2015-05-08-um-14.06.14.png 533w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/05\/Bildschirmfoto-2015-05-08-um-14.06.14-300x283.png 300w\" sizes=\"auto, (max-width: 533px) 100vw, 533px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/05\/Bildschirmfoto-2015-05-08-um-14.06.48.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/05\/Bildschirmfoto-2015-05-08-um-14.06.48.png\" alt=\" EMF Generator Model erzeuge\" width=\"478\" height=\"440\" class=\"aligncenter size-full wp-image-5551\" srcset=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/05\/Bildschirmfoto-2015-05-08-um-14.06.48.png 478w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/05\/Bildschirmfoto-2015-05-08-um-14.06.48-300x276.png 300w\" sizes=\"auto, (max-width: 478px) 100vw, 478px\" \/><\/a><\/p>\n<p>Jetzt wollen wir das Model kurz testen. Dazu erstellen wir ein weiteres Projekt vom Typ Maven. Wir ersetzen die <code>pom.xml<\/code> durch diese Datei:<\/p>\n<pre class=\"lang:xhtml decode:true \" >&lt;project xmlns=\"http:\/\/maven.apache.org\/POM\/4.0.0\" xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\"\r\n\txsi:schemaLocation=\"http:\/\/maven.apache.org\/POM\/4.0.0 http:\/\/maven.apache.org\/xsd\/maven-4.0.0.xsd\"&gt;\r\n\t&lt;modelVersion&gt;4.0.0&lt;\/modelVersion&gt;\r\n\t&lt;groupId&gt;de.wenzlaff.mindmap&lt;\/groupId&gt;\r\n\t&lt;artifactId&gt;TWMindmapApp&lt;\/artifactId&gt;\r\n\t&lt;version&gt;0.0.1-SNAPSHOT&lt;\/version&gt;\r\n\t&lt;name&gt;TWMindmapApp&lt;\/name&gt;\r\n\r\n\t&lt;dependencies&gt;\r\n\t\t&lt;dependency&gt;\r\n\t\t\t&lt;groupId&gt;org.hibernate&lt;\/groupId&gt;\r\n\t\t\t&lt;artifactId&gt;hibernate-core&lt;\/artifactId&gt;\r\n\t\t\t&lt;version&gt;4.3.5.Final&lt;\/version&gt;\r\n\t\t&lt;\/dependency&gt;\r\n\t\t&lt;!-- Hibernate 4 uses Jboss logging, but older versions slf4j for logging --&gt;\r\n\t\t&lt;dependency&gt;\r\n\t\t\t&lt;groupId&gt;org.slf4j&lt;\/groupId&gt;\r\n\t\t\t&lt;artifactId&gt;slf4j-simple&lt;\/artifactId&gt;\r\n\t\t\t&lt;version&gt;1.7.5&lt;\/version&gt;\r\n\t\t&lt;\/dependency&gt;\r\n\t\t&lt;dependency&gt;\r\n\t\t\t&lt;groupId&gt;mysql&lt;\/groupId&gt;\r\n\t\t\t&lt;artifactId&gt;mysql-connector-java&lt;\/artifactId&gt;\r\n\t\t\t&lt;version&gt;5.0.5&lt;\/version&gt;\r\n\t\t&lt;\/dependency&gt;\r\n\r\n\t\t&lt;!-- Runtime zu den generierten Klassen im src-gen --&gt;\r\n\t\t&lt;dependency&gt;\r\n\t\t\t&lt;groupId&gt;org.eclipse.emf&lt;\/groupId&gt;\r\n\t\t\t&lt;artifactId&gt;org.eclipse.emf.texo&lt;\/artifactId&gt;\r\n\t\t\t&lt;version&gt;0.9.0-v201501182340&lt;\/version&gt;\r\n\t\t&lt;\/dependency&gt;\r\n\t\t&lt;dependency&gt;\r\n\t\t\t&lt;groupId&gt;org.eclipse.emf&lt;\/groupId&gt;\r\n\t\t\t&lt;artifactId&gt;org.eclipse.emf.texo.json&lt;\/artifactId&gt;\r\n\t\t\t&lt;version&gt;0.9.0-v201501182340&lt;\/version&gt;\r\n\t\t&lt;\/dependency&gt;\r\n\t\t&lt;dependency&gt;\r\n\t\t\t&lt;groupId&gt;org.eclipse.emf&lt;\/groupId&gt;\r\n\t\t\t&lt;artifactId&gt;org.eclipse.emf.texo.xml&lt;\/artifactId&gt;\r\n\t\t\t&lt;version&gt;0.9.0-v201501182340&lt;\/version&gt;\r\n\t\t&lt;\/dependency&gt;\r\n\t\t&lt;dependency&gt;\r\n\t\t\t&lt;groupId&gt;org.eclipse.emf&lt;\/groupId&gt;\r\n\t\t\t&lt;artifactId&gt;org.eclipse.emf.texo.datagenerator&lt;\/artifactId&gt;\r\n\t\t\t&lt;version&gt;0.9.0-v201501182340&lt;\/version&gt;\r\n\t\t&lt;\/dependency&gt;\r\n\t\t&lt;dependency&gt;\r\n\t\t\t&lt;groupId&gt;org.eclipse.emf&lt;\/groupId&gt;\r\n\t\t\t&lt;artifactId&gt;org.eclipse.emf.texo.server&lt;\/artifactId&gt;\r\n\t\t\t&lt;version&gt;0.9.0-v201501182340&lt;\/version&gt;\r\n\t\t&lt;\/dependency&gt;\r\n\t\t&lt;dependency&gt;\r\n\t\t\t&lt;groupId&gt;org.eclipse.emf.ecore&lt;\/groupId&gt;\r\n\t\t\t&lt;artifactId&gt;sdo&lt;\/artifactId&gt;\r\n\t\t\t&lt;version&gt;2.3.0-v200706262000&lt;\/version&gt;\r\n\t\t&lt;\/dependency&gt;\r\n\r\n\t&lt;\/dependencies&gt;\r\n\r\n\t&lt;build&gt;\r\n\t\t&lt;finalName&gt;${project.artifactId}&lt;\/finalName&gt;\r\n\r\n\r\n\t\t&lt;sourceDirectory&gt;.&lt;\/sourceDirectory&gt;\r\n\t\t&lt;plugins&gt;\r\n\t\t\t&lt;plugin&gt;\r\n\t\t\t\t&lt;groupId&gt;org.apache.maven.plugins&lt;\/groupId&gt;\r\n\t\t\t\t&lt;artifactId&gt;maven-compiler-plugin&lt;\/artifactId&gt;\r\n\t\t\t\t&lt;configuration&gt;\r\n\t\t\t\t\t&lt;includes&gt;\r\n\t\t\t\t\t\t&lt;include&gt;src\/main\/java\/**\/*.java&lt;\/include&gt;\r\n\t\t\t\t\t\t&lt;include&gt;src-gen\/**\/*.java&lt;\/include&gt;\r\n\t\t\t\t\t&lt;\/includes&gt;\r\n\t\t\t\t&lt;\/configuration&gt;\r\n\t\t\t&lt;\/plugin&gt;\r\n\r\n\t\t\t&lt;plugin&gt;\r\n\t\t\t\t&lt;groupId&gt;org.codehaus.mojo&lt;\/groupId&gt;\r\n\t\t\t\t&lt;artifactId&gt;hibernate3-maven-plugin&lt;\/artifactId&gt;\r\n\t\t\t\t&lt;version&gt;3.0&lt;\/version&gt;\r\n\t\t\t\t&lt;configuration&gt;\r\n\t\t\t\t\t&lt;components&gt;\r\n\t\t\t\t\t\t&lt;component&gt;\r\n\t\t\t\t\t\t\t&lt;name&gt;hbm2ddl&lt;\/name&gt;\r\n\t\t\t\t\t\t\t&lt;implementation&gt;jpaconfiguration&lt;\/implementation&gt;\r\n\t\t\t\t\t\t&lt;\/component&gt;\r\n\t\t\t\t\t&lt;\/components&gt;\r\n\t\t\t\t\t&lt;hibernatetool&gt;\r\n\t\t\t\t\t\t&lt;classpath&gt;\r\n\t\t\t\t\t\t\t&lt;path location=\"${project.basedir}\/src\/main\/java\" \/&gt;\r\n\t\t\t\t\t\t\t&lt;path location=\"${project.basedir}\/src-gen\" \/&gt;\r\n\t\t\t\t\t\t\t&lt;path location=\"${project.build.directory}\/classes\" \/&gt;\r\n\t\t\t\t\t\t\t&lt;path location=\"${project.basedir}\/src\/main\/resources\/META-INF\/\" \/&gt;\r\n\t\t\t\t\t\t&lt;\/classpath&gt;\r\n\t\t\t\t\t\t&lt;jpaconfiguration persistenceunit=\"Configuration\" \/&gt;\r\n\t\t\t\t\t\t&lt;hbm2ddl create=\"true\" export=\"false\" drop=\"true\"\r\n\t\t\t\t\t\t\toutputfilename=\"configuration.sql\" format=\"true\" console=\"true\" \/&gt;\r\n\t\t\t\t\t&lt;\/hibernatetool&gt;\r\n\t\t\t\t&lt;\/configuration&gt;\r\n\t\t\t\t&lt;dependencies&gt;\r\n\t\t\t\t\t&lt;dependency&gt;\r\n\t\t\t\t\t\t&lt;groupId&gt;org.hibernate.javax.persistence&lt;\/groupId&gt;\r\n\t\t\t\t\t\t&lt;artifactId&gt;hibernate-jpa-2.0-api&lt;\/artifactId&gt;\r\n\t\t\t\t\t\t&lt;version&gt;1.0.0.Final&lt;\/version&gt;\r\n\t\t\t\t\t&lt;\/dependency&gt;\r\n\t\t\t\t\t&lt;dependency&gt;\r\n\t\t\t\t\t\t&lt;groupId&gt;org.hibernate&lt;\/groupId&gt;\r\n\t\t\t\t\t\t&lt;artifactId&gt;hibernate-entitymanager&lt;\/artifactId&gt;\r\n\t\t\t\t\t\t&lt;version&gt;3.6.7.Final&lt;\/version&gt;\r\n\t\t\t\t\t&lt;\/dependency&gt;\r\n\t\t\t\t&lt;\/dependencies&gt;\r\n\t\t\t&lt;\/plugin&gt;\r\n\r\n\t\t&lt;\/plugins&gt;\r\n\t&lt;\/build&gt;\r\n&lt;\/project&gt;<\/pre>\n<p>Und stellen in den Properties f\u00fcr das TWMindmapGen in den <code>Texo<\/code> Einstellungen diese Pfade ein, damit in das neue Projekt automatisch generiert wird:<\/p>\n<p><a href=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/05\/Bildschirmfoto-2015-05-08-um-14.32.50.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/05\/Bildschirmfoto-2015-05-08-um-14.32.50.png\" alt=\"Gen einstellungen\" width=\"812\" height=\"535\" class=\"aligncenter size-full wp-image-5553\" srcset=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/05\/Bildschirmfoto-2015-05-08-um-14.32.50.png 812w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/05\/Bildschirmfoto-2015-05-08-um-14.32.50-300x198.png 300w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/p>\n<p>Auch muss das <code>src-gen<\/code> Verzeichnis dem Classpath hinzugef\u00fcgt werden. So sieht nun das Testprogramm <code>Start.java<\/code> und der Workspace aus:<br \/>\n<a href=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/05\/Bildschirmfoto-2015-05-08-um-14.47.58.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/05\/Bildschirmfoto-2015-05-08-um-14.47.58.png\" alt=\"Eclipse Workspace\" width=\"885\" height=\"631\" class=\"aligncenter size-full wp-image-5554\" srcset=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/05\/Bildschirmfoto-2015-05-08-um-14.47.58.png 885w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2015\/05\/Bildschirmfoto-2015-05-08-um-14.47.58-300x214.png 300w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/p>\n<p>Was haben wir bisher erreicht?<\/p>\n<p>Wir haben ein grafisches Model Projekt, das nach jeder \u00c4nderung am Model automatisch in das Anwendungs Maven Projekt das Java BE-Model aktualisiert. <\/p>\n<p>Wir haben ein Projekt vorbereitet, das mit Hibernate (JPA) das BE persistieren k\u00f6nnte. <\/p>\n<p>Wie kann nun noch ein Annotationen Model erzeugt werden und das BE in die Datenbank (MySql) persistiert werden?<\/p>\n<p>Fortsetzung folgt &#8230;<\/p>\n<p>Weitere URLs zum Thema <a href=\"https:\/\/www.vogella.com\/tutorials\/EclipseEMF\/article.html\">EclipseEMF (engl.)<\/a> und <a href=\"https:\/\/wiki.eclipse.org\/Texo\/ORM_JPA_Annotations_Details\" target=\"_blank\" rel=\"noopener\">Texo<\/a> und <a href=\"https:\/\/wiki.eclipse.org\/Texo\/ORM_JPA_Annotations_Details\" target=\"_blank\" rel=\"noopener noreferrer\">JPA Annotationen<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>F\u00fcr die meisten Java Projekte braucht man ein BE-Model, das am besten automatisch generiert wird. Wie kann das innerhalb von Eclipse Luna mit dem EMF durchgef\u00fchrt werden? Wir wollen diese Modell Stuktur erzeugen. Eine Mindmap hat 0-* Zweige: Zuerst Texo und EMF installieren. Dann ein neues EMF Projekt anlegen \u00fcber das Men\u00fc: File &#8211; New &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/blog.wenzlaff.de\/?p=5537\" class=\"more-link\"><span class=\"screen-reader-text\">\u201eWie kann ein BE-Model (ecore) mit Eclipse Modeling Framework (EMF) unter Eclipse Luna 4.4.2 und Texo generiert werden?\u201c <\/span>weiterlesen<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_import_markdown_pro_load_document_selector":0,"_import_markdown_pro_submit_text_textarea":"","footnotes":""},"categories":[220,4,5,79],"tags":[2177,2058,1573,2060,2059,2061],"class_list":["post-5537","post","type-post","status-publish","format-standard","hentry","category-anleitung","category-eclipse","category-java","category-programmierung","tag-eclipse","tag-emf","tag-generieren","tag-jpa","tag-model","tag-texo"],"_links":{"self":[{"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/posts\/5537","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5537"}],"version-history":[{"count":0,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/posts\/5537\/revisions"}],"wp:attachment":[{"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5537"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5537"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5537"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}