KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > jonas > jtests > beans > relation > rcycle > PersonLocal


1 // PersonLocal.java
2

3 package org.objectweb.jonas.jtests.beans.relation.rcycle;
4
5 import java.util.Collection JavaDoc;
6
7 import javax.ejb.EJBLocalObject JavaDoc;
8
9
10 /**
11  * Person local interface
12  * @author H.Joanin
13  */

14 public interface PersonLocal extends EJBLocalObject JavaDoc {
15
16     Integer JavaDoc getId();
17
18     String JavaDoc getName();
19     void setName(String JavaDoc name);
20
21     int getSex();
22     void setSex(int sex);
23
24     PersonLocal getSpouse();
25     void setSpouse(PersonLocal spouse);
26
27     Collection JavaDoc getParents();
28     void setParents(Collection JavaDoc parents);
29
30     Collection JavaDoc getChildren();
31     void setChildren(Collection JavaDoc parents);
32
33     PersonLocal getGuardian();
34     void setGuardian(PersonLocal guardian);
35
36     Collection JavaDoc getGuardianOf();
37     void setGuardianOf(Collection JavaDoc guardianOf);
38
39 }
40
Popular Tags