First operations

 

Introduction

In this section, you will find an example of how to use Objecteering in a project, illustrating the different features one by one.

 

The example used is a simple model of a bank account.

 

 

Importing the "First steps" project

A first steps project is delivered as standard with Objecteering XMI.  To import this project into your project, simply carry out the operations shown in the screenshot below.

 

Importing the first steps project

 

Steps:

1.    Right-click on your project's root package to open its context menu, and then run the "MDA Components\XMI\Import" command.  The import window then appears.

2.    The first steps project XMI file is located in $OBJING_PATH/mdaplugs/XMI/[XMI_version_number]/examples/First steps.xmi.  $OBJING_PATH corresponds to the Objecteering installation directory.  Enter this path in the dedicated field.

 

Note:      You can configure the Objecteering XMI import and export paths in relation to your $(GenRoot) (which itself is defined in the "Directories" Objecteering Modeler parameter set).
For example: $(GenRoot)/XMI

 

The imported model then appears in the Objecteering explorer.

 

The newly imported first steps project

 

 

Exporting a model

From the first steps project that you have just imported, you can now either export the entire model or else export only a part of it.  In both cases, the procedure is the same – simply select a package and run the export command.

 

The following screenshot shows an example of an export.

 

Exporting a part of the model

 

Steps:

1.    Right-click on your project's root package to open its context menu and then run the "MDA Components\XMI\Export" command. The export window then appears.

2.    Indicate the location where you want to generate the XMI file.