1 26 27 33 package olstore.entity; 34 35 import javax.ejb.EntityBean; 36 37 import olstore.entity.UserLocal; 38 39 76 77 public abstract class FriendBean implements EntityBean { 78 79 84 public java.lang.String ejbCreate(UserLocal user) 85 throws javax.ejb.CreateException { 86 return null; 87 } 88 89 93 public void ejbPostCreate(UserLocal user) throws javax.ejb.CreateException { 94 setUser (user); 95 } 96 97 117 118 public abstract UserLocal getUser (); 119 120 127 128 public abstract void setUser (UserLocal User); 129 130 142 public abstract java.lang.Integer getId(); 143 144 151 public abstract void setId(java.lang.Integer friendId); 152 153 154 155 } 156 | Popular Tags |