.. ******************************************************************************* * MetaFactory.io R2 * Technical Documentation * * File name : ModRef_Package.rst * Created by : Marnix Bochove (original text) * Updated by : Niels de Nies * * MetaFactory BV Amsterdam ******************************************************************************* .. include:: /inline-images.txt .. include:: /metadata_include.txt Package ======= is the highest element inside the model xml tree and may contain multiple elements. The number of elements in is not limited. It can thus be used to group your objects, which allows MetaFactory to execute group specific code instructions. .. code-block:: xml :caption: structure :name: MR-package :linenos: :emphasize-lines: 4-7 ... 0 or more 0 or more 0 or more 0 or more ... .. rubric:: Attributes .. list-table:: **attributes of ** :widths: 15 70 15 :header-rows: 1 :class: tight-table * - Name - Details - Required * - name - Name of the package. Must be unique. - mandatory .. rubric:: Sub elements .. list-table:: sub elements :widths: 15 70 15 :header-rows: 1 :class: tight-table * - Name - Details - Number * - :ref:`metadata ` - This element can contain properties that are specific to the package. - 0 .. n * - :ref:`object ` - Objects define the data entities in the MetaFactory model. They live inside the package in which they are defined. - 0 .. n