1 package edu.rice.rubis.beans; 2 3 import javax.ejb.*; 4 import java.rmi.*; 5 6 11 public interface OldItem extends EJBObject { 12 19 public Integer getId() throws RemoteException; 20 21 28 public String getName() throws RemoteException; 29 30 37 public String getDescription() throws RemoteException; 38 39 46 public float getInitialPrice() throws RemoteException; 47 48 55 public int getQuantity() throws RemoteException; 56 57 64 public float getReservePrice() throws RemoteException; 65 66 73 public float getBuyNow() throws RemoteException; 74 75 82 public float getMaxBid() throws RemoteException; 83 84 91 public int getNbOfBids() throws RemoteException; 92 93 100 public String getStartDate() throws RemoteException; 101 102 109 public String getEndDate() throws RemoteException; 110 111 118 public Integer getSellerId() throws RemoteException; 119 120 127 public Integer getCategoryId() throws RemoteException; 128 129 137 public String getSellerNickname() throws RemoteException; 138 139 146 public String getCategoryName() throws RemoteException; 147 148 149 156 public void setId(Integer newId) throws RemoteException; 157 158 165 public void setName(String newName) throws RemoteException; 166 167 174 public void setDescription(String newDescription) throws RemoteException; 175 176 183 public void setInitialPrice(float newInitialPrice) throws RemoteException; 184 185 192 public void setQuantity(int qty) throws RemoteException; 193 194 201 public void setReservePrice(float newReservePrice) throws RemoteException; 202 203 210 public void setBuyNow(float newBuyNow) throws RemoteException; 211 212 219 public void setMaxBid(float newMaxBid) throws RemoteException; 220 221 228 public void setNbOfBids(int newNbOfBids) throws RemoteException; 229 230 236 public void addOneBid() throws RemoteException; 237 238 245 public void setStartDate(String newDate) throws RemoteException; 246 247 254 public void setEndDate(String newDate) throws RemoteException; 255 256 264 public void setSellerId(Integer id) throws RemoteException; 265 266 274 public void setCategoryId(Integer id) throws RemoteException; 275 } 276 | Popular Tags |