1 3 package org.objectweb.jonas.jtests.beans.relation.rcycle; 4 5 import java.util.Collection ; 6 7 import java.rmi.RemoteException ; 8 import javax.ejb.EJBObject ; 9 import javax.ejb.FinderException ; 10 11 12 16 public interface PersonRemote extends EJBObject { 17 18 Integer getId() throws RemoteException ; 19 20 String getName() throws RemoteException ; 21 void setName(String name) throws RemoteException ; 22 23 int getSex() throws RemoteException ; 24 void setSex(int sex) throws RemoteException ; 25 26 Integer retrieveSpouse() throws RemoteException ; 27 void assignSpouse(Integer idSpouse) throws FinderException , RemoteException ; 28 29 Collection retrieveParents() throws RemoteException ; 30 void assignParents(Collection idParents) throws FinderException , RemoteException ; 31 void addInParents(Integer idParents) throws FinderException ,RemoteException ; 32 33 Collection retrieveChildren() throws RemoteException ; 34 void assignChildren(Collection idChildren) throws FinderException , RemoteException ; 35 void addInChildren(Integer idChild) throws FinderException , RemoteException ; 36 Collection retrieveChildrenNames() throws RemoteException ; 37 38 Integer retrieveGuardian() throws RemoteException ; 39 void assignGuardian(Integer idGuardian) throws FinderException , RemoteException ; 40 41 Collection retrieveGuardianOf() throws RemoteException ; 42 void assignInGuardianOf(Collection ids) throws FinderException , RemoteException ; 43 void addInGuardianOf(Integer id) throws FinderException , RemoteException ; 44 45 boolean testCmrNull() throws FinderException , RemoteException ; 46 47 } 48 | Popular Tags |