Skip to main content
Figure 4 | BMC Bioinformatics

Figure 4

From: The MOLGENIS toolkit: rapid prototyping of biosoftware at the push of a button

Figure 4

Example generator. MOLGENIS generators are implemented as templates. This example shows the generator for a database component (A). This template is applied to each <entity> in the model to generate many complete DataMappers that would otherwise need to be written by hand. (B) shows an example of the generated source files, in this case for <entity name="Experiment"> as described in Figure 1. The command $Name(entity) translates to the name of the entity (“Experiment”) and command ${csv($entity.Fields, x)} means that command ‘x’ is applied to each field of the entity and returned as a comma separated string (csv).

Back to article page