5.2.2.1. Package
<package> is the highest element inside the model xml tree and may contain multiple <object> elements. The number of <package> elements in <model> is not limited. It can thus be used to group your objects, which allows MetaFactory to execute group specific code instructions.
1<model>
2 ...
3
4 <package name="yourModelPackageA">
5 0 or more <metadata></metadata>
6 0 or more <object name="yourModelObject01">
7 </package>
8 <package name="yourModelPackageB">
9 0 or more <metadata></metadata>
10 0 or more <object name="yourModelObject01">
11 </package>
12
13 ...
14</model>
Attributes
Name |
Details |
Required |
---|---|---|
name |
Name of the package. Must be unique. |
mandatory |
Sub elements
Name |
Details |
Number |
---|---|---|
This element can contain properties that are specific to the package. |
0 .. n |
|
Objects define the data entities in the MetaFactory model. They live inside the package in which they are defined. |
0 .. n |