1 package edu.rice.rubis.beans; 2 3 import javax.ejb.*; 4 import java.rmi.*; 5 6 11 public interface Comment extends EJBObject { 12 18 public Integer getId() throws RemoteException; 19 20 26 public Integer getFromUserId() throws RemoteException; 27 28 34 public Integer getToUserId() throws RemoteException; 35 36 42 public Integer getItemId() throws RemoteException; 43 44 50 public float getRating() throws RemoteException; 51 52 58 public String getDate() throws RemoteException; 59 60 66 public String getComment() throws RemoteException; 67 68 69 76 public void setFromUserId(Integer id) throws RemoteException; 77 78 85 public void setToUserId(Integer id) throws RemoteException; 86 87 94 public void setItemId(Integer id) throws RemoteException; 95 96 102 public void setRating(int rating) throws RemoteException; 103 104 110 public void setDate(String newDate) throws RemoteException; 111 112 118 public void setComment(String newComment) throws RemoteException; 119 120 127 public String printComment(String userName) throws RemoteException; 128 129 } 130 | Popular Tags |