a)
id name expression cast null datatype
1 activity /activity root NULL NULL
2 title /title string no varchar(200)
3 author /author string yes varchar(100)
4 Year /pub_year number no int(10)
5 text_section /text_section group NULL NULL
6 text_section_name /@name string yes varchar(50)
7 text_block /text_block group NULL Null
8 text string yes text
b)
id group component
1 activity title
2 activity author
3 activity year
4 activity text_section
5 text_section text_section_name
6 text_section text_block
7 text_block text

Table 1: (a) types metamodel table; (b) relation metamodel table.

Back to Article