Skip to main content
summaryrefslogtreecommitdiffstats
blob: 254246db2f8cfdbee29265ffcc92775c52ccefbe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?xml version="1.0" encoding="UTF-8"?>
<Root1>
  <beanModel1 basePackage="org.example" name="Library">
    <bean1 name="Library">
      <attribute1 kind="FIELD" name="name" type="String"/>
      <attribute1 kind="FIELD" name="yearFounded" type="int"/>
      <attribute1 kind="DERIVED" name="yearsOpen" type="int"/>
      <attribute1 kind="LIST" name="books" type="Book"/>
      <attribute1 kind="LIST" name="authors" type="Author"/>
    </bean1>
    <bean1 name="Book">
    	<attribute1 kind="FIELD" name="title" type="String"/>
    	<attribute1 kind="FIELD" name="pages" type="int"/>
    	<attribute1 kind="LIST" name="author" type="Author"/>
    </bean1>
    <bean1 name="Author">
    	<attribute1 kind="FIELD" name="name" type="String"/>
    	<attribute1 kind="LIST" name="books" type="Book"/>
    </bean1>
  </beanModel1>
</Root1>

Back to the top