KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > test > jdo > SubChild


1 /*
2  * Copyright (c) 2002 The XDoclet team
3  * All rights reserved.
4  */

5 package test.jdo;
6
7 import java.util.ArrayList JavaDoc;
8 import java.util.List JavaDoc;
9
10 /**
11  * @jdo.persistence-capable
12  * persistence-capable-superclass="test.jdo.SuperChild"
13  *
14  * @author <a HREF="mailto:youremail@yourdomain.com">youremail@yourdomain.com</a>
15  */

16 public class SubChild extends SuperChild {
17     /**
18      * @jdo.field
19      * collection-type="List"
20      * default-fetch-group="true"
21      * element-type="test.jdo.Sub"
22      */

23     private List JavaDoc subParents = new ArrayList JavaDoc();
24
25     /**
26      * @jdo.field
27      * collection-type="List"
28      * element-type="test.jdo.SubChild"
29      */

30     private List JavaDoc friends = new ArrayList JavaDoc();
31 }
32
Popular Tags