com.sun.j2ee.blueprints.inventory.ejb
Class InventoryDAO
java.lang.Object
|
+--com.sun.j2ee.blueprints.inventory.ejb.InventoryDAO
- public class InventoryDAO
- extends java.lang.Object
This class encapsulates all the JDBC calls made by
the InventoryEJB. The actual logic of inserting,
fetching, updating, or deleting the data in
relational database tables to mirror the state of
InventoryEJB is implemented here.
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
InventoryDAO
public InventoryDAO()
throws InventoryDAOException
getItemId
public java.lang.String getItemId()
getQuantity
public int getQuantity()
setItemId
public void setItemId(java.lang.String itemId)
setQuantity
public void setQuantity(int qty)
load
public void load()
throws InventoryDAOException
store
public void store()
throws InventoryDAOException
remove
public void remove()
throws InventoryDAOException
findByPrimaryKey
public java.lang.String findByPrimaryKey()
throws InventoryDAOException
Copyright © 2000 Sun Microsystems Inc. All Rights Reserved.