1 package edu.rice.rubis.beans; 2 3 import javax.ejb.*; 4 import java.rmi.*; 5 6 11 public interface CommentLocal extends EJBLocalObject { 12 17 public Integer getId(); 18 19 24 public Integer getFromUserId(); 25 26 31 public Integer getToUserId(); 32 33 38 public Integer getItemId(); 39 40 45 public float getRating(); 46 47 52 public String getDate(); 53 54 59 public String getComment(); 60 61 62 68 public void setFromUserId(Integer id); 69 70 76 public void setToUserId(Integer id); 77 78 84 public void setItemId(Integer id); 85 86 91 public void setRating(int rating); 92 93 98 public void setDate(String newDate); 99 100 105 public void setComment(String newComment); 106 107 113 public String printComment(String userName); 114 115 } 116 | Popular Tags |