【Java开源代码栏目提醒】:网学会员为需要Java开源代码的朋友们搜集整理了TShirt.java相关资料,希望对各位网友有所帮助!
package ejava.ejbch36.tshirt;
import javax.ejb.EJBObject;
import java.rmi.RemoteException;
public interface TShirt extends EJBObject
{
/** Getters for TShirt data **/
public Integer getID() throws RemoteException;
public String getSize() throws RemoteException;
public String getColor() throws RemoteException;
public Integer getItemID() throws RemoteException;
public double getUnitPrice() throws RemoteException;
public String getDesignFront() throws RemoteException;
public String getDesignBack() throws RemoteException;
public String getPictureFront() throws RemoteException;
public String getPictureBack() throws RemoteException;
/** Setters for TShirt data **/
public void setID(Integer shirtID) throws RemoteException;
public void setSize(String size) throws RemoteException;
public void setColor(String color) throws RemoteException;
public void setItemID(Integer itemID) throws RemoteException;
public void setUnitPrice(double unitPrice) throws RemoteException;
public void setDesignFront(String designFront) throws RemoteException;
public void setDesignBack(String designBack) throws RemoteException;
public void setPictureFront(String pictureFront) throws RemoteException;
public void setPictureBack(String pictureBack) throws RemoteException;
/** Read image as bytes given names: PictureFront or PictureBack **/
public byte[] getImageBytes(String imageType) throws RemoteException;
}