Code snippets
Iterate over all entities defined in the model
#foreach( $e in $model.allEntites )
...
#endIterate over entity attributes
#foreach( $attribute in $entity.attributes )
...
#end
#foreach( $attribute in $entity.keyAttributes)
...
#end
#foreach( $attribute in $entity.nonKeyAttributes)
...
#endIterate over entity links
#foreach( $link in $entity.links )
...
#end
Execute a ".vm" file located in a model folder
Get the class of an object
Generate a file only once
Maps of lists
Last updated