kbd{font-family:"Droid Sans Mono","DejaVu Sans Mono",monospace;display:inline-block;color:rgba(0,0,0,.8);font-size:.65em;line-height:1.45;background:#f7f7f7;border:1pxsolid#ccc;-webkit-border-radius:3px;border-radius:3px;-webkit-box-shadow:01px0rgba(0,0,0,.2),000.1emwhiteinset;box-shadow:01px0rgba(0,0,0,.2),000.1em#fffinset;margin:0.15em;padding:.2em.5em;vertical-align:middle;position:relative;top:-.1em;white-space:nowrap}
<p>This introduction talks about the work of the author and others, but without bibliographic references. Currently, it is just meant as background to better understand the technical documentation in the sections to follow.
Maybe it could be developed into a more serious paper later.</p>
</div>
</td>
</tr>
</table>
</div>
<divclass="paragraph">
<p>The overall motivation for the work on data catalogs for simulation is to make easier to develop and perform computer simulations in quite complex and <em>data rich</em> domains like building physics, transportation, and all kinds of urban infrastructure.</p>
<p>A good part of computer science was and is driven by the motivation to make it easier to develop computer programs of all sorts.
"Higher" programming languages were invented to make programs human readable and soon special constructs for <em>functional programming</em> (computation without side effects) and <em>structured programming</em> (computation without go to statements) were introduced to help programmers writing and understanding ever growing programs.
Then, between 1962 and 1967, program language Simula was developed especially to deal with the challenges of simulating systems comprising of many different types of objects.
This opened the door to more direct computer representations of real world objects, their attributes, relationships and behavior, ultimately leading to <em>object-oriented</em> software development that today is embodied in programming languages like Java, C++, Python, and graphical notations like the Unified Modeling Language (UML).</p>
</div>
<divclass="paragraph">
<p>While these achievements had boosted the productivity of software developers, still the creation of correct, efficient and maintainable programs — including simulations — required a big deal of expert knowledge and experience.
To overcome this bottleneck, starting in the 70s, so called 4th generation languages entered the stage.
These languages were tailored to specific tasks like statistics ("S" 1976, "R" being its successor), database programming (SQL 1979), or simulation (MATLAB around 1979, Mathematica 1988, Modellica 1999) to name a few.
By sacrificing generality, these special languages become more accessible to domain experts, not just trained software developers.
To flatten the learning curve even more, formal <em>graphical</em> languages for special purposes were invented, e.g. Simulink for block diagram simulation models in 1984, Entity-Relationship-Diagrams for data modeling in 1976, UML for object-oriented systems design in the 1990s, or graphical languages to specify business and also scientific workflows around 2000.</p>
</div>
<divclass="paragraph">
<p>This very short history on technologies for development of software in general, and simulations in particular, shall illuminate the tools at our disposal:</p>
</div>
<divclass="ulist">
<ul>
<li>
<p>general purpose programming languages that combine structured, functional and object-oriented approaches to enable the creation of big, modular software systems, often called "programming in the large"</p>
</li>
<li>
<p>formal textual domain specific languages (DSLs) dedicated to solve specific tasks with ease</p>
</li>
<li>
<p>formal graphical DSLs.</p>
</li>
</ul>
</div>
<divclass="exampleblock">
<divclass="content">
<divclass="paragraph">
<p>Note that DSLs more tend to describe <em>what</em> shall be achieved by a computation instead of describing in detail, <em>how</em> to achieve it.
Therefore, DSLs usually look more like a model than like an algorithm.</p>
</div>
</div>
</div>
<divclass="paragraph">
<p>Now back to the task at hand.</p>
</div>
<divclass="paragraph">
<p>Some domains deal with a few types of simple objects to be simulated.
Take the building blocks of an electric circuit as an example.
The algorithms to simulate these correctly and efficiently may be quite complex — the model elements usually can be described by very few parameters like resistance or capacity.
More complex domains like (regenerative) energy systems or building physics deal with more complex objects to be simulated, e.g. PV modules or layered walls of buildings, often coming in different types and configurations, and dozens of possibly interdependent parameters.</p>
<p>The above problem of navigating huge parameter spaces and assembling complex simulation models popped up as the author worked on the diagram editor for <strong>INSEL</strong>, a simulation language and runtime environment developed for renewable energy systems simulation.
To make existing catalogs on weather data, solar panels and inverter modules accessible to the modeler, special dialogs were added to the INSEL user interface that allowed browsing through the catalogs.
Using this browsers, the modeler would choose a weather station, panel or inverter to parameterize a corresponding INSEL block.
However, there are some severe disadvantages with this approach:</p>
</div>
<divclass="olist arabic">
<olclass="arabic">
<li>
<p>Data catalogs were stored in a proprietary data format on disk within the INSEL application distribution, meaning they could not used independently from INSEL by other interested parties (systems or users).</p>
</li>
<li>
<p>The catalogs have to be maintained by editing text files manually.</p>
</li>
<li>
<p>While INSEL modeler could browse the catalogs, searching and sorting were not supported.</p>
</li>
<li>
<p>Development of Java Swing UIs for the different kind of catalogs is time consuming as is their maintenance, e.g. if a catalog data format were to change.</p>
</li>
<li>
<p>Putting UIs to handle big amounts of data into a diagram editor is not very user friendly.</p>
</li>
</ol>
</div>
<divclass="paragraph">
<p>From 2013 to 2016, the simulation platform <strong>SimStadt</strong> was developed to make specific modeling and simulation workflows accessible to experts in urban planning and energy systems.
Using INSEL and other simulators under the hood, the usage of 3D city data, provided as CityGML files, was a core requirement of this project.</p>
</div>
<divclass="paragraph">
<p>To enable simulation of, say, the heating demand of a district, geometric building data had to be enriched with data on building physics and usage.
To do so, existing informations about building physics and usage — often only available as informal typologies or tables — had to be provided to the SimStadt user on an abstract level, e.g. to choose between refurbishment scenarios.
At the same time, concrete building configurations and parameter sets had to be injected into the simulation models to obtain the desired results.</p>
</div>
<divclass="paragraph">
<p>Again, we implemented data catalogs to fulfill these requirements, but compared to the quite simple catalogs used in INSEL, the data models for building materials, window, wall and roof types as well as the typologies of buildings, households, usage patterns, and so on were more intricate.
They had to be created iteratively in collaboration with domain experts.
In this situation, manual coding data formats and access with a general programming language would have led to relatively long iteration cycles and high communication effort between programmer and domain expert.
Instead, we decided to use a DSL for data modeling and use code generation whenever possible.
Since SimStadt was developed within the Java eco-system we followed this standard approach:<supclass="footnote">[<aid="_footnoteref_1"class="footnote"href="#_footnotedef_1"title="View footnote.">1</a>]</sup></p>
</div>
<divclass="olist arabic">
<olclass="arabic">
<li>
<p>Developer and domain expert create a first version of the data model as XML Schema Definition (our DSL).</p>
</li>
<li>
<p>For plausibility checks use any standard XML editor to create example data conforming to the XSD.</p>
</li>
<li>
<p>With JAXB, the Java Architecture for XML Binding, Java code is generated to read our XML catalogs into Java objects that, in turn, can be accessed by SimStadt workflows to generate and parameterize simulations.</p>
</li>
<li>
<p>If required, developer and domain expert go back to step one to refine data model and catalog data.</p>
</li>
</ol>
</div>
<divclass="paragraph">
<p>After the data model for building physics catalogs had matured, we developed an extra application for convenient creation and maintenance of building physics data catalogs separate from SimStadt.
It was developed in Java with a user interface written in JavaFX and was well received by domain expert users.</p>
</div>
<divclass="paragraph">
<p>However, as a different catalog — this time for building usages — had to be created, it was quite difficult to reuse the XML schema and application code from the building physics catalog: The usage catalog data model was "pressed" into a form similar to the building physics catalog data model, and the UI code was "over-engineered" to accommodate both catalog’s requirements.</p>
</div>
</div>
<divclass="sect2">
<h3id="truelow-code-development-of-data-catalogs"><aclass="anchor"href="#truelow-code-development-of-data-catalogs"></a>Low-Code-Development of Data Catalogs</h3>
<divclass="paragraph">
<p>From INSEL and SimStadt we learned, that manual and automatic construction and parameterization of complex simulation models with many types of interrelated objects should be supported be the means of domain specific data catalogs.</p>
</div>
<divclass="paragraph">
<p>Close collaboration with domain experts in designing and implementing these catalogs in short development cycles is desirable.</p>
</div>
<divclass="paragraph">
<p>Data catalogs and the software for their creation, maintenance and deployment should be independent of any specific simulation software, (a) to be reusable and (b) not to overload simulation applications.</p>
</div>
<divclass="paragraph">
<p>In SimStadt, catalog development was partly facilitated by a textual DSL for data modeling (XML schema language) and automatic generation of Java code from it.
On the other hand, user interfaces and generation and parameterization of simulations from templates within SimStadt workflows had still to be coded manually hindering the routinely creation of new catalogs.</p>
</div>
<divclass="paragraph">
<p>Now, in 2020, several developments in different projects provide an opportunity to re-think the topic of data catalogs for simulations, namely:</p>
</div>
<divclass="olist arabic">
<olclass="arabic">
<li>
<p>Plans for a new Urban Simulation Platform at Concordia University, Montreal.</p>
</li>
<li>
<p>New implementation of INSEL user interface based on the Eclipse application framework and Eclipse-Sirius diagram editors.</p>
</li>
<li>
<p>Enhancement of existing building physics and usage catalogs from SimStadt and their adaptation to new regions.</p>
</li>
<li>
<p>Development of a new comprehensive catalog of electric systems components to be used in SimStadt as well as in Concordia’s Urban Simulation Platform.</p>
</li>
</ol>
</div>
<divclass="exampleblock">
<divclass="content">
<divclass="paragraph">
<p>In what follows, the new technology stack used to implement (4) is documented in detail.
It uses four technologies to replace manual coding by code generation from models:</p>
</div>
<divclass="ulist">
<ul>
<li>
<p><em>Ecore</em> to model the catalog’s data and generate Java classes and persistence layer from it.</p>
</li>
<li>
<p><em>EMF Forms</em> for modeling and generating tables, forms and buttons to <strong>c</strong>reate, <strong>r</strong>ead, <strong>u</strong>pdate, and <strong>d</strong>elete data (CRUD).</p>
</li>
<li>
<p><em>E4</em>, the Eclipse way of modeling the application user interface itself, e.g. the placement and behavior of views, editors, toolbars, menus, and more.</p>
</li>
<li>
<p>A template engine called <em>Handlebars</em> to generate fully parameterized simulation models from textual templates without programming.</p>
</li>
</ul>
</div>
<divclass="paragraph">
<p>The new technology stack is rooted in the Eclipse application framework and eco-system.<supclass="footnote">[<aid="_footnoteref_2"class="footnote"href="#_footnotedef_2"title="View footnote.">2</a>]</sup>
Its main advantage is the possibility to implement CRUD applications like data catalogs and their underlying data models with no or very view lines of handwritten code (<em>low-code-development</em>).</p>
</div>
</div>
</div>
<divclass="paragraph">
<p>Plans are to use the same approach also for implementation of (3).
Since task (2) and maybe (1) will use Eclipse, too, close integration of data catalogs and simulation environments seems feasible.
E.g., a user could drag an electric system component from a catalog onto an INSEL block for parametrization.</p>
</div>
<divclass="paragraph">
<p>The Eclipse application framework offers:</p>
</div>
<divclass="ulist">
<ul>
<li>
<p>OSGI plug-in mechanism and UI framework for integrating applications and services</p>
</li>
<li>
<p><em>E4</em> application model to declaratively describe user interface’s structure</p>
</li>
<li>
<p>General notion of <em>project</em> with specific file types, help system, preferences etc.</p>
</li>
<li>
<p>IDE support for important general purpose languages like Java, <ahref="https://marketplace.eclipse.org/content/pydev-python-ide-eclipse">Python</a>, Ruby, C, Fortran, C++</p>
</li>
<li>
<p>Support for creating textual and graphical DSLs (<ahref="https://www.eclipse.org/Xtext">XText</a>, <ahref="https://www.eclipse.org/sirius">Sirius</a>)</p>
</li>
<li>
<p>Industry proven DSLs and code generators for data models and form based UIs via the <ahref="https://www.eclipse.org/modeling/emf"><em>Eclipse Modeling Framework</em></a> (EMF) providing:</p>
<divclass="ulist">
<ul>
<li>
<p><ahref="https://www.eclipse.org/ecoretools"><em>Ecore</em></a> for model driven generation of Java classes and persistence layers for XML or data bases</p>
</li>
<li>
<p><ahref="https://eclipsesource.com/blogs/tutorials/emf-forms-view-model-elements"><em>EMF Forms</em></a> for describing and generating form based UIs</p>
</li>
<li>
<p>Mechanisms to adapt or extend data models and forms to special needs (e.g., we added quantities — that is numbers <em>with</em> units — to Ecore and EMF Forms, a feature very important for data catalogs)</p>
</li>
</ul>
</div>
</li>
<li>
<p>Rich open source eco-system with lots of plugins and projects important for an urban simulation platform:</p>
<divclass="ulist">
<ul>
<li>
<p>model server for distributed access and work on Ecore models, including model comparison and migration (<ahref="https://projects.eclipse.org/projects/modeling.emf.cdo">CDO</a>, <ahref="https://www.eclipse.org/emf/compare">EMFCompare</a>)</p>
</li>
<li>
<p>a <ahref="https://pyecore.readthedocs.io/en/latest">Python implementation of Ecore</a></p>
</li>
<li>
<p>GIS: storage, processing, and visualization of geographical data (list of projects under the umbrella <ahref="https://projects.eclipse.org/projects/locationtech">LocationTech</a>, e.g. user-friendly desktop internet GIS <ahref="http://udig.refractions.net">uDig</a>)</p>
</li>
<li>
<p>workbench for traffic simulation (<ahref="https://www.eclipse.org/sumo">SUMO</a>)</p>
<p>45+ projects in the area of <ahref="https://iot.eclipse.org">IoT</a></p>
</li>
<li>
<p>…​</p>
</li>
</ul>
</div>
</li>
</ul>
</div>
<divclass="paragraph">
<p>As always, all that glitters is not gold. When we go through the details below, some bugs and inconsistencies, typical for open source projects of this age and size, have to be addressed.</p>
</div>
<divstyle="page-break-after: always;"></div>
</div>
</div>
</div>
<divclass="sect1">
<h2id="truehow-to-implement-data-catalogs-with-eclipse"><aclass="anchor"href="#truehow-to-implement-data-catalogs-with-eclipse"></a>How to Implement Data Catalogs with Eclipse</h2>
<divclass="sectionbody">
<divclass="paragraph">
<p>To build a new data catalog from scratch, we first have to understand some basics about Eclipse, and then install the correct Eclipse package.
Thereafter, we can model our data with Ecore considering some best practices, followed by the generation of Java classes and user interface (UI).
We, then, will add some plug-ins to "pimp" our Eclipse installation, (a) to enable deployment of data catalog applications, and (b) to add units and quantities to the mix.
Some hints on special modeling problems and versioning data catalogs conclude this how-to guide.</p>
<p><ahref="https://en.wikipedia.org/wiki/Eclipse_(software)">Eclipse</a> was originally developed by IBM and became Open Source in 2001.
It is best known for its Integrated Development Environments (<em>Eclipse IDEs</em>), not only for Java, but also for C++, Python and many other programming languages.
These IDEs are created on top of the Eclipse Rich Client Platform (Eclipse RCP), an application framework and plug-in system based on Java and OSGi.
Eclipse RCP is foundation of a plethora of general-purpose applications, too.</p>
</div>
<divclass="paragraph">
<p>First time users of Eclipse better understand the following concepts.</p>
</div>
<divclass="paragraph">
<divclass="title">Eclipse Packages</div>
<p>An Eclipse package is an Eclipse distribution dedicated to a specific type of task.<supclass="footnote">[<aid="_footnoteref_3"class="footnote"href="#_footnotedef_3"title="View footnote.">3</a>]</sup>
A list of packages is available at <ahref="https://www.eclipse.org/downloads/packages/">eclipse.org</a>.
Beside others it contains <em>Eclipse IDE for Java Developers</em>, <em>Eclipse IDE for Scientific Computing</em>, and the package we will use: <em>Eclipse Modeling Tools</em>.
Note that third parties offer many other packages, e.g. <em>GAMA</em> for multi-agent-simulation or <em>Obeo Designer Community</em> for creating Sirius diagram editors, both noted above.</p>
</div>
<divclass="admonitionblock note">
<table>
<tr>
<tdclass="icon">
<iclass="fa icon-note"title="Note"></i>
</td>
<tdclass="content">
<divclass="paragraph">
<p>Several Eclipse packages can be installed side by side, even different releases of the same package. Multiple Eclipse installations can run at the same time, each on its own <em>workspace</em> (see below).</p>
</div>
</td>
</tr>
</table>
</div>
<divclass="paragraph">
<divclass="title">Plug-ins / Features</div>
<p>An installed Eclipse package consists of a runtime core and a bunch of additional plug-ins.
Technically, a plug-in is just a special kind of Java archive (JAR file) that uses and can be used by other plug-ins with regard to OSGi specifications.
Groups of plug-ins that belong together are called a <em>feature</em>.</p>
</div>
<divclass="paragraph">
<p>Often, a user will add plug-ins or features to an Eclipse installation to add new capabilities.
E.g. writing this documentation within my Eclipse IDE is facilitated by the plug-in <ahref="https://marketplace.eclipse.org/content/asciidoctor-editor">Asciidoctor Editor</a>.
Plug-ins can easily be installed via main menu command <code>Help → Eclipse Marketplace…​</code> or <code>Help → Install New Software…​</code>.
Some plug-ins may be self-made like our plug-in <code>de.hftstuttgart.units</code> that enables Ecore to deal with quantities.
These may be provided via <em>Git</em> or as download and have to be added to an Eclipse installation manually.</p>
</div>
<divclass="paragraph">
<divclass="title">Git</div>
<p><ahref="https://git-scm.com">Git</a> is the industry standard for collaborative work on, and versioning of, source code and any other kind of textual data. Collaborative development of data catalogs benefits massively from using Git, and Git support is built into <em>Eclipse Modeling Tools</em>, the Eclipse package we will use.
However, if Eclipse needs to connect to a Git server that uses SSH protocol (not HTTPS with password), access configuration is more involved and may be dependent on your operating system.</p>
</div>
<divclass="paragraph">
<p>Some users, anyway, prefer to use Git from the command line or with one of the client application listed <ahref="https://git-scm.com/downloads/guis">here</a>, e.g. <ahref="https://tortoisegit.org">TortoiseGit</a> for Windows.</p>
</div>
<divclass="paragraph">
<p>While it is required to get Git working at some point, we won’t refer to it in this document and, for now, do not cover the installation of Git on your machine or configuration of Git in Eclipse.</p>
</div>
<divclass="paragraph">
<divclass="title">Workspaces</div>
<p>When you start a new Eclipse installation for the first time, you are asked to designate a new directory in your file system to store an <em>Eclipse workspace</em>.
Eclipse is always running with exact one workspace open.
As the name implies, a workspace stores everything needed in a given context of work, that is a set of related projects the user is working on as well as meta-data like preference settings, the current status of projects, to do lists, and more.
In case a user wants to work in different contexts, e.g. on different tasks, command <code>File → Switch Workspace</code> allows to create additional workspaces and to switch between them.</p>
</div>
<divclass="admonitionblock note">
<table>
<tr>
<tdclass="icon">
<iclass="fa icon-note"title="Note"></i>
</td>
<tdclass="content">
<divclass="paragraph">
<p>Any plug-in from the original Eclipse package or installed by the user later will be copied into the Eclipse installation directory, <strong>not</strong> in any workspace.
Configuration and current state of plug-ins, on the other hand, are stored in workspaces.</p>
</div>
</td>
</tr>
</table>
</div>
<divclass="paragraph">
<divclass="title">Projects</div>
<p>An Eclipse project is a technical term for a directory that often contains:</p>
</div>
<divclass="ulist">
<ul>
<li>
<p>files of specific types for source code, scripts, XML files or other data</p>
</li>
<li>
<p>build settings, configurations</p>
</li>
<li>
<p>dependency definitions (remember the dependencies between plug-ins above?)</p>
</li>
<li>
<p>other Eclipse projects.</p>
</li>
</ul>
</div>
<divclass="paragraph">
<p>Depending on the plug-ins installed, <code>File → New → Project…​</code> offers many different types of projects that the user can choose from, e.g. Java projects to create Java programs, Ecore modeling projects, or general projects, that simple hold some arbitrary files.<supclass="footnote">[<aid="_footnoteref_4"class="footnote"href="#_footnotedef_4"title="View footnote.">4</a>]</sup></p>
</div>
<divclass="admonitionblock warning">
<table>
<tr>
<tdclass="icon">
<iclass="fa icon-warning"title="Warning"></i>
</td>
<tdclass="content">
<divclass="paragraph">
<p>Files that do not belong to a project are invisible for Eclipse!</p>
</div>
</td>
</tr>
</table>
</div>
<divclass="paragraph">
<p>The projects belonging to a workspace can either be directly stored within the workspace as sub-directories (the default offered to the user when creating a new project), or linked from it, that is the workspace just holds a link to the project directory that lives somewhere in the file system outside of the workspace.
Linking allows to work with the same projects in different workspaces.</p>
</div>
<divclass="paragraph">
<p>While it sometimes makes sense to share or exchange workspaces between users,<supclass="footnote">[<aid="_footnoteref_5"class="footnote"href="#_footnotedef_5"title="View footnote.">5</a>]</sup>, I do not recommend this for now.
Projects, on the other hand, are shared between users most of the time, usually via Git.
In general, I would suggest to store Eclipse projects outside workspaces at dedicated locations in the user’s file system.
That way, we can follow the convention that local Git repositories should all be located under
<p>As a Java IDE, Eclipse runs on 64-bit versions of Windows, Linux, and macOS and requires an according Java Development Kit (JDK), version 1.8 (aka version 8) or higher, to be installed on your machine.
If no such JDK already exists, please download version <strong>11</strong> of OpenJDK for your operating system from <ahref="https://adoptopenjdk.net">AdoptOpenJDK</a>.
Choose <code>HotSpot</code> as Java Virtual Machine.
Installation process is straight forward, but you can also find links to exhaustive instructions for your operating system. Note that different versions of Java can peacefully coexist.</p>
</div>
<divclass="paragraph">
<p>New Java versions appear every six months, so the actual version at the time of writing is 14. Since we stick with an older Eclipse version (see below), install version 11 as advertised! Also, this one is the latest LTE version (long time support).</p>
<p>Now its time to download and install the correct Eclipse package.
Please go to <ahref="https://www.eclipse.org/downloads/packages">Eclipse download page for packages</a>.
On top of this page you may see <em>"Try the Eclipse Installer"</em> or similar.
We won’t follow this advice, since it is not suited for our use-case. We won’t either download the most recent package because releases after <code>2019-12</code> come with a bug that prevents the user from editing data in table cells within the generated UI.</p>
</div>
<divclass="admonitionblock caution">
<table>
<tr>
<tdclass="icon">
<iclass="fa icon-caution"title="Caution"></i>
</td>
<tdclass="content">
<divclass="title">Download version 2019-12 (4.14) only!</div>
<divclass="paragraph">
<p>Due to a bug in recent versions, make sure not to download the actual version, but the older version 2019-12 (4.14)!</p>
</div>
</td>
</tr>
</table>
</div>
<divclass="paragraph">
<p>To do so, click the link depicted by the red arrow below.</p>
<divclass="title">Figure 1. Eclipse packages download page with links to older releases</div>
</div>
<divclass="paragraph">
<p>A similar download page for all the packages appears, but this time for version <code>2019-12</code>. Now look for package <em>Eclipse Modeling Tools</em> and follow the link for your operating system on the right:</p>
<divclass="title">Figure 2. Download links for Eclipse Modeling Tools package</div>
</div>
<divclass="paragraph">
<p>Finally, you can click on <code>Download</code> and wait for the 400 something MB package to arrive.</p>
</div>
<divclass="admonitionblock note">
<table>
<tr>
<tdclass="icon">
<iclass="fa icon-note"title="Note"></i>
</td>
<tdclass="content">
<divclass="paragraph">
<p>Depending on the operating system, several security dialogs have to be acknowledged during installation and first launch of Eclipse.</p>
</div>
</td>
</tr>
</table>
</div>
<divclass="paragraph">
<p>The downloaded installation file contains the application simply named <code>Eclipse</code> ready to be copied into <code>Applications</code> on macOS or be installed in <code>Programs</code> on Windows.
Since you may add other Eclipse packages later, I suggest to rename the application to something more significant like <code>EclipseModeling</code>.</p>
</div>
<divclass="paragraph">
<p>After installation has finished launch Eclipse for the first time and you will see the dialog for choosing a new empty directory as its workspace pop up.</p>
<divclass="title">Figure 3. Initial Dialog to Choose a Workspace Directory</div>
</div>
<divclass="paragraph">
<p>Again, more workspaces might come into existence later, so replace the proposed generic directory path and name with a more specific one, e.g.<code>EclipseModelingWS</code>.
The Eclipse main window appears with a Welcome Screen open.
It contains links to exhaustive documentation on concept, features and usage of Eclipse that might be of interest later, especially:</p>
<p>For now, you can dismiss the welcome screen. It can be opened anytime by executing <code>Help → Welcome</code></p>
</div>
</div>
<divclass="sect2">
<h3id="truemodeling-data-catalogs-for-simulation-with-ecore"><aclass="anchor"href="#truemodeling-data-catalogs-for-simulation-with-ecore"></a>Modeling Data Catalogs for Simulation with Ecore</h3>
<divclass="paragraph">
<p>Now you should see the initial layout of Eclipse with <em>Model Explorer</em> and <em>Outline</em> on the left and a big empty editing area with <em>Properties</em> view below to the right.</p>
</div>
<divclass="paragraph">
<p>Since we will use Ecore diagrams for data modeling, create your first Ecore modeling project now:</p>
</div>
<divclass="olist arabic">
<olclass="arabic">
<li>
<p>Execute <code>File → New → Ecore Modeling Project</code> from main menu — not <code>Modeling Project</code>!</p>
</li>
<li>
<p>Name it <code>project.first</code> and click <code>Next ></code></p>
</li>
<li>
<p>Uncheck <code>Use Default Location</code> so that the new project is <strong>not</strong> stored in the workspace, but a different directory you choose, then click <code>Next ></code></p>
</li>
<li>
<p>Provide <code>datacatalog</code> as main Java package name and click <code>Finish</code>.</p>
</li>
</ol>
</div>
<divclass="paragraph">
<p>Eclipse should look like below with an new empty graphical Ecore diagram editor opened.
The diagram is automatically named <code>datacatalog</code> after the package name for the Java classes that will be generated from it (provided above).
The <em>Model Explorer</em> shows the contents of the new Ecore modeling project.</p>
<divclass="title">Figure 4. New Ecore Modeling Project</div>
</div>
<divclass="paragraph">
<p>To get your feet wet, do this:</p>
</div>
<divclass="olist arabic">
<olclass="arabic">
<li>
<p>Drag a <em>Class</em> from the palette on the right onto the editor’s canvas: it will materialize as a rectangle labeled <code>NewEClass1</code>.</p>
</li>
<li>
<p>The class symbol was selected initially, so you can see its attributes in the <em>Properties</em> view.</p>
</li>
<li>
<p>In there replace <code>NewEClass1</code> by <code>EnergyComponentsCatalog</code> to rename the class.</p>
</li>
<li>
<p>Click anywhere on the canvas and notice that the class symbol is deselected and the toolbar at the top adapts accordingly.</p>
</li>
<li>
<p>In the toolbar change <code>100%</code> to <code>75%</code> to scale the diagram</p>
</li>
<li>
<p>Execute <code>File → Save</code> and model and diagram are saved.</p>
</li>
<li>
<p>Close diagram editor <code>datacatalog</code> by closing its tab.</p>
</li>
<li>
<p>Reopen saved diagram by double click on entry <code>datacatalog</code> in the <em>Model Explorer</em>.</p>
</li>
</ol>
</div>
<divclass="paragraph">
<p>Technically, everything is in place now to begin modeling the data that the projected catalog shall contain.
Except …​ understanding the basics of object-oriented modeling would be helpful.
This is why developers should support domain experts at this stage.</p>
</div>
<divclass="paragraph">
<divclass="title">Model Data with Class Diagrams</div>
<p>Ecore diagrams are simplified UML class diagrams.
Here some resources on what this is all about:</p>
</div>
<divclass="ulist">
<ul>
<li>
<p><ahref="http://www.cs.toronto.edu/~sme/CSC340F/slides/11-objects.pdf">Toronto Lecture on Object Oriented Modeling</a></p>
</li>
<li>
<p><ahref="http://agilemodeling.com/artifacts/classDiagram.htm">UML 2 Class Diagrams: An Agile Introduction</a></p>
</li>
<li>
<p><ahref="https://www.amazon.de/UML-Classroom-Einführung-objektorientierte-Modellierung-ebook/dp/B00AIBE1QA/ref=sr_1_2?__mk_de_DE=ÅMÅŽÕÑ&dchild=1&keywords=UML&qid=1585854599&sr=8-2">UML @ Classroom: Eine Einführung in die objektorientierte Modellierung (German Book)</a></p>
</li>
</ul>
</div>
<divclass="admonitionblock tip">
<table>
<tr>
<tdclass="icon">
<iclass="fa icon-tip"title="Tip"></i>
</td>
<tdclass="content">
<divclass="paragraph">
<p>Beginners are strongly encouraged to read the first two resources. The first one contains a gentle introduction, especially suited for domain experts. The second one can also serve as reference.</p>
</div>
</td>
</tr>
</table>
</div>
<divclass="paragraph">
<p>We will touch central object oriented concepts <em>Class</em>, <em>Object</em>, <em>Attribute</em>, <em>Association</em>, <em>Composition</em>, and <em>Multiplicity</em> in an example below, but work through above sources to get a deeper understanding and enhance your modeling skills.</p>
</div>
<divclass="paragraph">
<p>Note that the sources differentiate between <em>conceptual</em> and <em>detailed</em> models.
In principle we go for detailed models, since only these contain enough information to generate code.
Having said this, it is usually a good idea to have two or three conceptual iterations at a white board to agree on the broad approach before going too much into detail.
But even if one starts with Ecore models right away, these also can be adapted any time to follow a new train of thought.</p>
</div>
<divclass="paragraph">
<p>See here the essential and typical structure of a data catalog in a class diagram.
Instead of artificial example classes like <em>Foo</em> and <em>Bar</em> it shows classes from an existing catalog, albeit in a very condensed form.</p>
<divclass="title">Figure 5. Principle Structure of a Data Catalog</div>
</div>
<divclass="paragraph">
<p>The diagram models four types of technical components whose data shall be stored in the catalog for later use, e.g. for parameterization of simulation models: <em>Boiler</em>, <em>CombinedHeatPower</em>, <em>SolarPanel</em>, and <em>Inverter</em>.</p>
</div>
<divclass="paragraph">
<p>The catalog itself is represented by class <em>EnergyComponentsCatalog</em>.
Unlike dozens, hundreds, or even thousands of objects to be cataloged — Boilers, Inverters etc. — there will be just exactly <strong>one</strong> catalog object in the data representing the catalog itself.
Its "singularity" is not visible in the class diagram, but an <em>Ecore</em> convention requires that all objects must form a composition hierarchy with only one root object.</p>
</div>
<divclass="paragraph">
<divclass="title">Composition</div>
<p>If, in the domain, one object is composed of others, this is expressed by a special kind of association called <em>composition</em>.
Compositions are depicted as a link with a diamond shape attached to the containing object. In the <em>Boiler</em> case said link translates to: The <em>EnergyComponentsCatalog</em> contains — or is composed of — zero or more (<code>0..*</code>) boiler objects stored in a list named <code>boilers</code>.</p>
</div>
<divclass="admonitionblock important">
<table>
<tr>
<tdclass="icon">
<iclass="fa icon-important"title="Important"></i>
</td>
<tdclass="content">
<divclass="paragraph">
<p>Note that class names — despite the fact that they model a set of similar objects — are always written in <em>singular</em>! They are written in <ahref="https://en.wikipedia.org/wiki/Camel_case">Camel case notation</a> starting with an upper case letter. Associations and attributes are written the same way, but starting with a lower case letter. Names for list-like associations and attributes usually are written in plural form.</p>
</div>
</td>
</tr>
</table>
</div>
<divclass="paragraph">
<divclass="title">Inheritance</div>
<p>Besides composition of <strong>objects</strong>, the model above shows another completely different kind of hierarchy: the inheritance hierarchy between <strong>classes</strong>.
Whenever classes of objects share the same attributes or associations, we don’t like to repeat ourselves by adding that attribute or relation to all classes again and again.
Instead, we create a <em>super class</em> to define common attributes and associations and connect it to <em>sub classes</em> that will automatically <em>inherit</em> all the features of their super class.</p>
</div>
<divclass="paragraph">
<p>In our example above, common to all four energy components are attributes <code>modelName</code> and <code>revisionYear</code>, thus these are modeled by class <code>EnergyComponent</code> that is directly or indirectly a super class of <em>Boiler</em>, <em>CombinedHeatPower</em>, <em>SolarPanel</em>, and <em>Inverter</em>.
Similar, <em>Boiler</em> and <em>CombinedHeatPower</em> share attribute <code>installedThermalPower</code> factored out by class <em>ChemicalEnergyDevice</em>.</p>
</div>
<divclass="paragraph">
<divclass="title">Associations</div>
<p>You probably noticed a fifth type of objects contained in the catalog, namely <code>Manufacturer</code> objects stored in list <code>manufactureres</code>.
<p><em>Exp</em>: “I’d like to store a component’s manufacturer. Shall I add a String attribute <code>manufacturerName</code> to all classes like <em>Boiler</em>, <em>Inverter</em> and so on to store the manufacturer’s name?”</p>
</div>
<divclass="paragraph">
<p><em>Dev</em> shudders: “Well, what do you mean by "…​ and so on"?”</p>
</div>
<divclass="paragraph">
<p><em>Exp</em>: “Basically, I mean all energy components.”</p>
</div>
<divclass="paragraph">
<p><em>Dev</em>: “Fine. We already have a class representing all those energy components, brilliantly named <em>EnergyComponent</em>. Thus, we can define <code>manfacturerName</code> there, following one of Developer’s holy principles: "<em>DRY</em> — Don’t repeat yourself!"
By the way: Is the name all you want to know about manufacturers?”</p>
</div>
<divclass="paragraph">
<p><em>Exp</em>: “Mhm, maybe we need to know if they are still in business …​”</p>
</div>
<divclass="paragraph">
<p><em>Dev</em>: “…​ or even since when they were out of business, if at all …​”</p>
</div>
<divclass="paragraph">
<p><em>Exp</em>: “…​ and the country or region they are active.”</p>
</div>
<divclass="paragraph">
<p><em>Dev</em>: “Ok, so it’s not just the name — we need a class <code>Manufacturer</code> to model all these information.”</p>
</div>
<divclass="paragraph">
<p><em>Exp</em> sighs.</p>
</div>
<divclass="paragraph">
<p><em>Dev</em>: “Come on, its not that hard to add a class to our data model, isn’t it?”</p>
</div>
<divclass="paragraph">
<p><em>Exp</em>: “Ok, but how can we express what components a manufacturer produces?”</p>
</div>
<divclass="paragraph">
<p><em>Dev</em>: “Wasn’t it the other way around? I thought, you just wanted to know the manufacturer of a component?”</p>
</div>
<divclass="paragraph">
<p><em>Exp</em>: “What is the difference?”</p>
</div>
<divclass="paragraph">
<p><em>Dev</em>: “In data modeling, it is the difference between a uni-directional and a bi-directional association.”</p>
<p><em>Dev</em>: “Let’s put it that way: The difference between a link with an arrow on one side or on both sides.”</p>
</div>
<divclass="paragraph">
<p><em>Exp</em>: “Ok. We don’t need a list of components per manufacturer, but simply a reference from the component to its manufacturer.”</p>
</div>
<divclass="paragraph">
<p><em>Dev</em>: “Fine, then in Ecore please create a simple reference from class <code>EnergyComponent</code> to class <code>Manufacturer</code>, maybe named <code>producedBy</code>.”</p>
</div>
<divclass="paragraph">
<p><em>Exp</em>: “I will try this and get back to you.”</p>
</div>
<divclass="paragraph">
<p><em>Dev</em>: “Fine …​ good meeting.”</p>
</div>
</div>
</div>
<divclass="paragraph">
<p>Observe in our data model, reference <code>producedBy</code> points <em>from</em><code>EnergyComponent</code><em>to</em><code>Manufacturer</code> making it uni-directional reference.
One can simply query the manufacturer of a product, but not so the other way around.
With a bi-directional reference both queries would be available.</p>
</div>
<divclass="paragraph">
<p>Observe also the annotations <code>0..*</code> and <code>1..1</code> near class <code>Manufacturer</code>.
These are <em>multiplicities</em> of associations: An <code>EnergyComponentsCatalog</code> contains zero, one, or many objects of class <code>Manufacturer</code> and an <code>EnergyComponent</code> must reference exactly one manufacturer — not less, not more.</p>
<p>To recapitulate: Our example data catalog already exhibits all four types of relations provided by Ecore.
You find these in the Ecore editor’s palette shown here.
To create a relation between a sub class and a super class use tool <code>SuperType</code>.
Use the other tools to create an association between classes, may it be a simple (uni-directional) reference, a bi-directional reference, or a composition.</p>
</div>
</div>
</div>
<divclass="paragraph">
<divclass="title">Attributes and Enumerations</div>
<p>Obviously, attributes are central in data modeling.
Create one by dragging it from the palette onto our one and only class so far: <code>EnergyComponentsCatalog</code>.
The class symbol will turn red to indicate an error.
Hover with the mouse pointer over the new attribute and a tooltip with a more or less helpful error message will appear.
The error is caused in that no data type was set for the new attribute.
Data types for attributes can be integer or float numbers, strings, dates, booleans, and more.
To get rid of the error:</p>
</div>
<divclass="olist arabic">
<olclass="arabic">
<li>
<p>If not already selected, select new attribute by clicking at it in the editor.</p>
</li>
<li>
<p>In view <em>Properties</em> find <code>EType</code> and click button <code>…​</code> to see a quite long list of available data types.</p>
</li>
<li>
<p>Choose <code>EString [java.lang:String]</code> from the list and the error is gone.</p>
<divclass="title">Figure 7. Class with Attribute</div>
</div>
<divclass="paragraph">
<p>Change the attribute’s name to <code>author</code> and the class should look like shown here.</p>
</div>
<divclass="paragraph">
<p>Most data types to choose from begin with an <strong>E</strong> like in <strong>E</strong>core. These are simply Ecore enabled variants of the respective Java types, thus, choose EInt for an int, EFloat for a 32 bit floating point number, EDouble for a 64 bit one, and so on.</p>
</div>
<divclass="paragraph">
<p>Ecore allows to introduce new data types. We employ this feature later to enable data model with physical units and quantities.</p>
</div>
</div>
</div>
<divclass="paragraph">
<p>There exists one other means to define the values an attribute can take, namely enumerations of distinct names. Take <em>Monday</em>, <em>Tuesday</em>, <em>Wednesday</em>, …​ as a typical example for representing weekdays.
In our example data model you’ll find one <em>Enumeration</em> named <code>BoilerType</code> with values <code>LowTemperature</code> and <code>Condensing</code>.</p>
</div>
<divclass="paragraph">
<divclass="title">Homework</div>
<p>The next section deals with generation of Java code from data models. To have more to play with, please implement our example model in Ecore now.</p>
<p>To do this, there is one more thing to know about classes: the difference between ordinary classes and abstract classes.
'Ordinary class' doesn’t sound nice, therefore, classes that are not abstract are called <em>concrete</em> classes.
Our example diagram depicts abstract classes with letter <strong>A</strong> while concrete classes are labeled with <strong>C</strong>. You add abstract classes to a model with a special palette tool shown here.</p>
</div>
<divclass="paragraph">
<p>The thing is: Objects can be created for concrete classes only!</p>
</div>
<divclass="paragraph">
<p>In our example, it makes no sense to create an object from class <em>EnergyComponent</em>, because there is not such a thing like an energy component <em>per se</em>.
Therefore, this class is <em>abstract</em>.
It is true that an inverter <em>is</em> an energy component, thus inheriting all its features, but it was <em>created</em> as <em>Inverter</em>, not as <em>EnergyComponent</em>.</p>
</div>
<divclass="paragraph">
<p>Super classes will be abstract most of the time.
So my advice is: Model a super class as abstract class unless you convince yourself that there are real objects in the domain that belong to the super class but, at the same time, do not belong to any of its sub classes.</p>
</div>
<divclass="paragraph">
<p>In the Ecore editor properties view, you can specify if a class is abstract or not, simply by toggling check box <code>Abstract</code>.</p>
</div>
</div>
</div>
<divclass="admonitionblock tip">
<table>
<tr>
<tdclass="icon">
<iclass="fa icon-tip"title="Tip"></i>
</td>
<tdclass="content">
<divclass="paragraph">
<p>An exhaustive user manual for Ecore diagram editor is available. Execute <code>Help → Welcome</code> and follow link <code>Learn how to use the diagram editor</code>.</p>
</div>
</td>
</tr>
</table>
</div>
<divclass="admonitionblock tip">
<table>
<tr>
<tdclass="icon">
<iclass="fa icon-tip"title="Tip"></i>
</td>
<tdclass="content">
<divclass="paragraph">
<p>If Ecore models get bigger, you may find it more convenient to work with a form based UI instead of, or in addition to, the diagram editor.
Open this kind of editor via command <code>Open With → Ecore Editor</code> from the context menu over entry <code>datacatalog.ecore</code> in the <em>Model Explorer</em> view.
Note that Eclipse synchronizes different editors of the same content automatically.</p>
</div>
</td>
</tr>
</table>
</div>
</div>
<divclass="sect2">
<h3id="truegeneration-of-java-code-from-data-model"><aclass="anchor"href="#truegeneration-of-java-code-from-data-model"></a>Generation of Java Code from Data Model</h3>
<divclass="paragraph">
<p>TBD</p>
</div>
<divclass="paragraph">
<p>Let us bring the data model to life, that is, generate program code from it that can be used to create, edit and delete concrete data objects of the classes modeled in computers.</p>
</div>
<divclass="paragraph">
<p>I would like to tell you that this is done with one click but, actually, you need two or three:</p>
</div>
<divclass="olist arabic">
<olclass="arabic">
<li>
<p>Make sure, all files are saved by ..</p>
</li>
<li>
<p>Open the context menu of Ecore editor showing the model and perform <code>Gerenerate → Model Code</code></p>
</li>
<li>
<p><code>Gerenerate → Edit Code</code> (Do not execute <code>Gerenerate →Editor Code</code> — we do not need this).</p>
</li>
</ol>
</div>
<divclass="paragraph">
<divclass="title">Development Cycle</div>
<p>Creation — Recreation</p>
</div>
<divclass="paragraph">
<p>Custom code marked with <code>@generated NOT</code> in <code>de.hftstuttgart.energycomponents.provider</code> in project <code>de.hftstuttgart.energycomponents.edit</code></p>
</div>
</div>
<divclass="sect2">
<h3id="truegeneration-and-tweaking-of-ui"><aclass="anchor"href="#truegeneration-and-tweaking-of-ui"></a>Generation and Tweaking of UI</h3>
<divclass="paragraph">
<p>If there are many types of entities, their tables may be ordered hierarchical in the user interface to simplify user access. Probably, this hierarchy will be different from aggregation and inheritance hierarchies present in the Ecore model. We get to this later when we create a UI model for the data catalog.</p>
<h3id="truerun-and-deploy-the-demo-data-catalog-application"><aclass="anchor"href="#truerun-and-deploy-the-demo-data-catalog-application"></a>Run and Deploy the Demo Data Catalog Application</h3>
<divclass="paragraph">
<divclass="title">Run from Eclipse IDE</div>
<p>TBD</p>
</div>
<divclass="paragraph">
<divclass="title">Install Maven Support</div>
<p>We are going to create a complete Eclipse desktop application from generated code.
We also want to deploy this application for Linux, macOS and Windows operating systems.
Eclipse offers several approaches for compiling and deploying such an application, traditionally with <em>Ant</em> scripts.</p>
</div>
<divclass="paragraph">
<p>Creation and maintenance of these scripts turned out to be tedious and error prone.
For quite some years now, the proposed — and mostly supported — method for building Eclipse applications is to use <em>Maven</em> build system, more specifically, a couple of Maven plug-ins, subsumed under the name <em>Tycho</em>.</p>
</div>
<divclass="paragraph">
<p>Many Eclipse platforms have Maven support <ahref="https://www.eclipse.org/m2e/"><em>M2Eclipse</em></a> already built in, not so our <em>Eclipse Modeling Tools</em>.
But don’t worry: Installation of required Eclipse feature is easy and straight forward.
And, by the way, you will acquire the indispensable skill of how to install new plug-ins/features to Eclipse.</p>
</div>
<divclass="paragraph">
<p>First, tell your Eclipse installation where to look for the new software.
Execute <code>Help → Install new Software…​</code> to invoke dialog <em>Available Software</em> and press <code>Add…​</code>.
<divclass="title">Figure 10. Choose features to install</div>
</div>
<divclass="paragraph">
<p>Check the items to install like shown above and confirm all following questions about licenses and security concerns.
After download is complete — it can take a few minutes — restart Eclipse.
Verify that Maven version 3.6.3 or above is now installed in <code>Window → Preferences…​</code> (or <code>Eclipse → Preferences…​</code> on macOS) under <code>Maven → Installations</code>.</p>
<divclass="title">"Mavenize" our Projects for Deployment</div>
<p><strong>TBD</strong></p>
</div>
</div>
<divclass="sect2">
<h3id="trueadd-units-to-the-mix"><aclass="anchor"href="#trueadd-units-to-the-mix"></a>Add Units to the Mix</h3>
<divclass="paragraph">
<p><strong>TBD</strong></p>
</div>
<divclass="paragraph">
<p>As mentioned earlier, data catalogs for simulations should be able to represent quantities, not just bare integer and real numbers.</p>
</div>
<divclass="paragraph">
<p>using Indrya, the reference implementation for Units of Measurement in Java (JSR 385)</p>
</div>
<divclass="paragraph">
<p>To this end, the author has created two Eclipse plug-in projects providing this feature to be used by Ecore and EMF Forms.</p>
</div>
<divclass="paragraph">
<p>Third-party libraries like Indrya, usually, are not distributed as plug-ins, but <em>Tycho</em> can wrap them automatically as OSGi plug-ins that can added directly to our application.</p>
</div>
<divclass="paragraph">
<p>Another plug-in, created by the author connects the Ecore and Indrya. We will compile it from source code, simply by importing the projects.</p>
</div>
<divclass="olist arabic">
<olclass="arabic">
<li>
<p>Copy to file system …​</p>
</li>
<li>
<p>Import project but <strong>not</strong> copying it in the workspace (just linking)</p>
</li>
</ol>
</div>
</div>
<divclass="sect2">
<h3id="trueecore-solutions-for-specific-modeling-problems"><aclass="anchor"href="#trueecore-solutions-for-specific-modeling-problems"></a>Ecore Solutions for Specific Modeling Problems</h3>
<divclass="olist arabic">
<olclass="arabic">
<li>
<p>How to Represent Parameterized Functions</p>
</li>
</ol>
</div>
<divclass="paragraph">
<p><strong>TBD</strong></p>
</div>
<divclass="olist arabic">
<olclass="arabic">
<li>
<p>How to Model Derived References and Attributes</p>
</li>
</ol>
</div>
<divclass="paragraph">
<p><strong>TBD</strong></p>
</div>
<divclass="paragraph">
<p>We haven’t used derived references or attributes by now. But if one has to implement some by providing a getter, it is necessary to return an unmodifiable list like BasicEList.UnmodifiableEList or EcoreUtil.unmodifiableList(…​) instead of EList as described here: <ahref="https://www.ntnu.no/wiki/plugins/servlet/mobile?contentId=112269388#content/view/112269388"class="bare">https://www.ntnu.no/wiki/plugins/servlet/mobile?contentId=112269388#content/view/112269388</a> .</p>
</div>
</div>
<divclass="sect2">
<h3id="trueversioning-and-collaboration"><aclass="anchor"href="#trueversioning-and-collaboration"></a>Versioning and Collaboration</h3>
<divclass="title">Add Ecore data model to a third-party Java application</div>
<p><strong>TBD</strong></p>
</div>
<divclass="paragraph">
<divclass="title">Load XML Data Catalog and Access Corresponding Java Objects in Code</div>
<p><strong>TBD</strong></p>
</div>
<divclass="paragraph">
<divclass="title">Access from Python?</div>
<p><strong>TBD</strong></p>
</div>
</div>
<divclass="sect2">
<h3id="truecreate-insel-models-with-handlebars-templates"><aclass="anchor"href="#truecreate-insel-models-with-handlebars-templates"></a>Create Insel Models with Handlebars Templates</h3>
<divclass="paragraph">
<p>Handlebar templates to access data catalogs and create/parameterize textual simulation models.</p>
</div>
<divclass="paragraph">
<divclass="title">Parameterization of blocks</div>
<p><strong>TBD</strong></p>
</div>
<divclass="paragraph">
<divclass="title">Creation of submodels, e.g. computing parameterized functions</div>
<p><strong>TBD</strong></p>
</div>
</div>
</div>
</div>
</div>
<divid="footnotes">
<hr>
<divclass="footnote"id="_footnotedef_1">
<ahref="#_footnoteref_1">1</a>. A similar approach is in use to standardize extensions to CityGML via so called application domain extensions (ADE) like the energy ADE for exchanging energy related data.
</div>
<divclass="footnote"id="_footnotedef_2">
<ahref="#_footnoteref_2">2</a>. A comparable, but completely different approach would be to combine several web applications and services via portal software in web browsers.
</div>
<divclass="footnote"id="_footnotedef_3">
<ahref="#_footnoteref_3">3</a>. The notion of an Eclipse package has nothing to do with Java packages.
</div>
<divclass="footnote"id="_footnotedef_4">
<ahref="#_footnoteref_4">4</a>. Projects possess one or more <em>natures</em> used to define a project’s principal type.
</div>
<divclass="footnote"id="_footnotedef_5">
<ahref="#_footnoteref_5">5</a>. Or even work on the same workspace provided in the cloud, see <ahref="https://www.eclipse.org/che/technology/">Eclipse Che</a>.
</div>
<divclass="footnote"id="_footnotedef_6">
<ahref="#_footnoteref_6">6</a>. AdoptOpenJDK recently joined the Eclipse foundation and soon will change its name to <em>Adoptium</em> for legal reasons.