Skip to main content
summaryrefslogtreecommitdiffstats
blob: c2367f278ac068e55dc2b6b95728d5890816fa70 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<root>
	<project name="test.beans">
		<beanmodel name="Library" basePackage="base.pkg">
			<bean name="Author" project="foo">
				<attribute name="name" type="String" kind="FIELD"/>
				<attribute name="books" type="Book" kind="LIST"/>
			</bean>
			<bean name="Book">
				<attribute name="title" type="String" kind="FIELD">The book title</attribute>
				<attribute name="pages" type="int" kind="FIELD"/>
				<attribute name="authors" type="Book" kind="LIST"/>
			</bean>
			<bean name="Library">
				<attribute name="name" type="String" kind="FIELD"/>
				<attribute name="yearFounded" type="int" kind="FIELD"/>
				<attribute name="authors" type="Author" kind="LIST"/>
				<attribute name="books" type="Book" kind="LIST"/>
				<attribute name="openSince" type="int" kind="DERIVED"/>
			</bean>
		</beanmodel>    
	</project>
</root>

Back to the top