1 3 package org.objectweb.jonas.jtests.beans.relation.rcycle; 4 5 import java.util.Collection ; 6 7 import javax.ejb.EJBLocalObject ; 8 9 10 14 public interface PersonLocal extends EJBLocalObject { 15 16 Integer getId(); 17 18 String getName(); 19 void setName(String name); 20 21 int getSex(); 22 void setSex(int sex); 23 24 PersonLocal getSpouse(); 25 void setSpouse(PersonLocal spouse); 26 27 Collection getParents(); 28 void setParents(Collection parents); 29 30 Collection getChildren(); 31 void setChildren(Collection parents); 32 33 PersonLocal getGuardian(); 34 void setGuardian(PersonLocal guardian); 35 36 Collection getGuardianOf(); 37 void setGuardianOf(Collection guardianOf); 38 39 } 40 | Popular Tags |