java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.couponredemption.objects.TempCouponItemMapAccessBean
This table stores all of the items from the shopping cart that are applicable to the current coupon for the Coupon Decision Support system. This access bean corresponds to the database table 'TCPITMAP'.
Constructor Summary | |
TempCouponItemMapAccessBean() Zero argument constructor used to initialize the access bean. |
|
TempCouponItemMapAccessBean(javax.ejb.EJBObject o) constructor |
|
TempCouponItemMapAccessBean(java.lang.Long newBcId, java.lang.Long newItemId, java.math.BigDecimal newDiscAmt) Maps to a corresponding ejbCreate method in the home interface of the EJB to create an entry in TCPITMAP table. |
Method Summary | |
void | commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected java.lang.String | defaultJNDIName() |
java.util.Enumeration | findByBcId(java.lang.Long newBcId) This method executes the following SQL script: SELECT T1.ORDERITEMS_ID, T1.CPWALLET_ID, T1.DISCAMT FROM TCPITMAP T1 WHERE (T1.CPWALLET_ID = ?) |
java.lang.Long | getBcId() This method provides access to the TCPITMAP.CPWALLET_ID column of DB2 type BIGINT NOT NULL. |
java.math.BigDecimal | getDiscAmt() This method provides access to the TCPITMAP.DISCAMT column of DB2 type DECIMAL(20 5) NOT NULL. |
java.lang.Long | getItemId() This method provides access to the TCPITMAP.ORDERITEMS_ID column of DB2 type BIGINT NOT NULL. |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() Load data from the EJBObject. |
void | setBcId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setDiscAmt(java.math.BigDecimal newValue) This method accesses a non-CMP field |
void | setInitKey_bcId(java.lang.Long newValue) Set the primary key for this object |
void | setInitKey_itemId(java.lang.Long newValue) Set the primary key for this object |
void | setItemId(java.lang.Long newValue) This method accesses a non-CMP field |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TempCouponItemMapAccessBean()
public TempCouponItemMapAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public TempCouponItemMapAccessBean(java.lang.Long newBcId, java.lang.Long newItemId, java.math.BigDecimal newDiscAmt) throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
Maps to a corresponding ejbCreate method in the home interface of the EJB to create an entry in TCPITMAP table.
Method Detail |
public java.util.Enumeration findByBcId(java.lang.Long newBcId) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException, javax.ejb.FinderException
This method executes the following SQL script: SELECT T1.ORDERITEMS_ID, T1.CPWALLET_ID, T1.DISCAMT FROM TCPITMAP T1 WHERE (T1.CPWALLET_ID = ?)
public void setInitKey_itemId(java.lang.Long newValue)
Set the primary key for this object
public void setInitKey_bcId(java.lang.Long newValue)
Set the primary key for this object
protected java.lang.String defaultJNDIName()
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.naming.NamingException
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Update(flush) data to the EJBObject (persistent storage).
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
public java.lang.Long getItemId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TCPITMAP.ORDERITEMS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Foreign key to ORDERITEMS table. This is a primary key.
public void setItemId(java.lang.Long newValue)
public java.lang.Long getBcId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TCPITMAP.CPWALLET_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Foreign key to CPWALLET table. This is a primary key.
public void setBcId(java.lang.Long newValue)
public java.math.BigDecimal getDiscAmt() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TCPITMAP.DISCAMT column of DB2 type DECIMAL(20 5) NOT NULL.
The following is a description of this column:
The discount amount for this item when this coupon is used.
public void setDiscAmt(java.math.BigDecimal newValue)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.