wiki:ModuleElement

<module>

The <module> element allows designers to group entities in packages which will show up in the generated documentation (and in future MOLGENIS also in the package structure). Example usage:

<molgenis name="example">
    <module name="module1">
        <description>This is my first module</description>
          <entity name="entity1">
                <field name="f1" type="string" unique="true"/>  
                <field name="f2" type="string"/>
                <field name="f3" type="string"/>
          </entity>
          <entity name="entity2">
                <field name="f1" type="string" unique="true"/>  
                <field name="f2" type="string"/>
                <field name="f3" type="string"/>
          </entity>
       </module>
</molgenis>

Required attributes

  • name="name": globally unique name for this entity (within this blueprint).

No optional attributes

Child elements

  • One or more <entity> elements
  • Zero or one <description> element