2 [% WRAPPER diagram.tt2 %]
3 [% WRAPPER layer.tt2 name="Background" %]
4 [% FOREACH table IN schema.get_tables %]
5 [% INCLUDE 'uml-class-start.tt2'
8 visible_operations = 'false'
10 <dia:attribute name="attributes">
11 [% FOREACH field IN table.get_fields;
12 SET type = field.data_type;
13 SET type = "$type($field.size)" IF field.size;
14 INCLUDE "uml-attribute.tt2"
18 value = field.default_value
22 <dia:attribute name="operations"/>
23 <dia:attribute name="template">
24 <dia:boolean val="false"/>
26 <dia:attribute name="templates"/>
27 [% INCLUDE 'uml-class-end.tt2' %]