BlueXML developer Studio use three different kinds of files:
- an obl file which contains the model. It is a simple xmi file with all the data. An extract of an obl file is shown below:
<?xml version="1.0" encoding="UTF-8"?>
<MMUseCase:Package xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:MMUseCase="http://MMUseCase" xmi:id="_TnQCYKb7Edyg0-Q2ek6f8g" name="crm">
<packageSet xmi:id="_V_-0UKb7Edyg0-Q2ek6f8g" documentation="" name="com">
<packageSet xmi:id="_XPZ00Kb7Edyg0-Q2ek6f8g" name="bluexml">
<packageSet xmi:id="_YWL2sKb7Edyg0-Q2ek6f8g" name="sem">
<packageSet xmi:id="_blBKMKb7Edyg0-Q2ek6f8g" name="crm">
...
<classSet xmi:id="_nYP48KcBEdyjnooseSwyow" documentation="" name="Project"
title="Projet" description="" associations="_-ww3gKcBEdyjnooseSwyow">
<comments xmi:id="_mZTqccjtEdyC9JwX7EOdEA" stereotypes="_yXB5sKcMEdy1ioBnpUnfzA" value="{Projet},name"/>
<metainfo xmi:id="_r8Zu4dWLEdy_g5UDd75T2w" value="VerticalTab" key="visual-component"/>
<attributes xmi:id="_oOVMYKcBEdyjnooseSwyow" documentation="" name="startDate" typ="Date"
title="Date de début" description=""/>
<attributes xmi:id="_okis8KcBEdyjnooseSwyow" documentation="" name="endDate" typ="Date"
title="Date de fin" description=""/>
<attributes xmi:id="_oy_YoKcBEdyjnooseSwyow" documentation="" name="name" typ="String"
title="Nom" description="">
<metainfo xmi:id="_bwh58NPaEdyjn5pDRsG5lg" value="True" key="required"/>
</attributes>
<attributes xmi:id="_pwPEAKcBEdyjnooseSwyow" documentation="" name="description" typ="String"
title="Description" description="">
<metainfo xmi:id="_zkw5IKcBEdyjnooseSwyow" value="30" key="textarea-cols"/>
<metainfo xmi:id="_zkw5IacBEdyjnooseSwyow" value="5" key="textarea-rows"/>
</attributes>
</classSet>
....
</packageSet>
</MMUseCase:Package>
If you double-click on an obl file in the navigator view, it will open the file in the main view:
- an obli file which contains the graphical representation of the model. This file is automatically linked to an obli file which means that a modification of the graphical representation will be automatically reflected on the real model (contained in the obl file). If you double-click on an obli file in the navigator view, it will open the file in the main view:
- a ref file allows to build an overall model. For example, if we want to create a portal which manages customer and accounting, we will need to create two different models. Then, we will create a ref file in which we specify the name of these models. The ref file is a XML file. You can build a ref by hand or use BlueXML Tools menu. This is an extract of a ref file:
<?xml version="1.0" encoding="UTF-8"?>
<files>
<file src="GroupModel.obl"/>
<file src="MyModel.obl"/>
</files>
