KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > test > ejb > jdo > Manager


1 package test.ejb.jdo;
2
3 import java.util.Vector JavaDoc;
4
5 /**
6  * A simple test class to test for generation of Castor's mapping.xml.
7  *
8  * @castor.class
9  * extends="test.ejb.jdo.Staff"
10  * xml="manager"
11  * @author Dmitri Colebatch (dim@bigpond.net.au)
12  */

13 public class Manager extends Staff
14 {
15     private Vector JavaDoc employees;
16
17     /**
18      * @castor.field collection="vector" type="test.ejb.jdo.Staff"
19      */

20     public Vector JavaDoc getEmployees()
21     {
22         return employees;
23     }
24
25     public void setEmployees(Vector JavaDoc employees)
26     {
27         this.employees = employees;
28     }
29 }
30
Popular Tags