《J2EE企业级应用开发》一书的配套源代码
源代码在线查看: itemlocal.java
package com.j2eeapp.cdstore.storage;
import javax.ejb.*;
public interface ItemLocal extends EJBLocalObject
{
/**
* @J2EE_METHOD -- getItemId
*/
public String getItemId ();
/**
* @J2EE_METHOD -- getProduct
*/
public ProductLocal getProduct ();
/**
* @J2EE_METHOD -- setProduct
*/
public void setProduct (ProductLocal newProduct) ;
/**
* @J2EE_METHOD -- getUnitPrice
*/
public float getUnitPrice ();
/**
* @J2EE_METHOD -- setUnitPrice
*/
public void setUnitPrice (float newUnitPrice) ;
/**
* @J2EE_METHOD -- getSupplier
*/
public SupplierLocal getSupplier ();
/**
* @J2EE_METHOD -- setSupplier
*/
public void setSupplier (SupplierLocal newSupplier) ;
/**
* @J2EE_METHOD -- getAttr
*/
public String getAttr ();
/**
* @J2EE_METHOD -- setAttr
*/
public void setAttr (String newAttr) ;
public String getImageLocation ();
/**
* @J2EE_METHOD -- setAttr
*/
public void setImageLocation (String imageLocation ) ;
}