java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean | +--com.ibm.commerce.payment.objects.POPurchaseAmountAccessBean
This table is used to keep track of Purchase Amounts by Purchase Order number and by Orders. Entries are created only for Orders against Limited Purchase Order (PO) numbers.
Constructor Summary | |
---|---|
POPurchaseAmountAccessBean() constructor | |
POPurchaseAmountAccessBean(javax.ejb.EJBObject o) constructor | |
POPurchaseAmountAccessBean(java.lang.Long arg0, java.lang.Long arg1,
java.math.BigDecimal arg2) constructor | |
POPurchaseAmountAccessBean(java.lang.Long arg0, java.lang.Long arg1,
java.math.BigDecimal arg2, java.lang.String arg3) constructor |
Method Summary | |
---|---|
void |
commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected
java.lang.String |
defaultJNDIName() |
java.lang.String |
getAmount() This method provides access to the LPOPURAMT.AMOUNT column of DB2 type DECIMAL(20 5) NOT NULL. |
java.math.BigDecimal |
getAmountInEJBType() This method provides access to the LPOPURAMT.AMOUNT column of DB2 type DECIMAL(20 5) NOT NULL. |
java.lang.String |
getBuyerPurchaseOrderId() This method provides access to the LPOPURAMT.BUYERPO_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long |
getBuyerPurchaseOrderIdInEJBType() This method provides access to the LPOPURAMT.BUYERPO_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String |
getCurrency() This method provides access to the LPOPURAMT.SETCCURR column of DB2 type CHAR(3). |
java.lang.String |
getOrderId() This method provides access to the LPOPURAMT.ORDERS_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long |
getOrderIdInEJBType() This method provides access to the LPOPURAMT.ORDERS_ID column of DB2 type BIGINT NOT NULL. |
protected
void |
instantiateEJB() |
protected
boolean |
instantiateEJBByPrimaryKey() |
void |
refreshCopyHelper() Load data from the EJBObject. |
void |
setAmount(java.math.BigDecimal newValue) This method provides access to the LPOPURAMT.AMOUNT column of DB2 type DECIMAL(20 5) NOT NULL. |
void |
setAmount(java.lang.String newValue) This method provides access to the LPOPURAMT.AMOUNT column of DB2 type DECIMAL(20 5) NOT NULL. |
void |
setBuyerPurchaseOrderId(java.lang.Long newValue) This method provides access to the LPOPURAMT.BUYERPO_ID column of DB2 type BIGINT NOT NULL. |
void |
setBuyerPurchaseOrderId(java.lang.String newValue) This method provides access to the LPOPURAMT.BUYERPO_ID column of DB2 type BIGINT NOT NULL. |
void |
setCurrency(java.lang.String newValue) This method provides access to the LPOPURAMT.SETCCURR column of DB2 type CHAR(3). |
void |
setInitKey_buyerPurchaseOrderId(java.lang.String newValue) Set the primary key for this object |
void |
setInitKey_orderId(java.lang.String newValue) Set the primary key for this object |
void |
setOrderId(java.lang.Long newValue) This method provides access to the LPOPURAMT.ORDERS_ID column of DB2 type BIGINT NOT NULL. |
void |
setOrderId(java.lang.String newValue) This method provides access to the LPOPURAMT.ORDERS_ID column of DB2 type BIGINT NOT NULL. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
Constructor Detail |
---|
public POPurchaseAmountAccessBean()
public POPurchaseAmountAccessBean(java.lang.Long arg0, java.lang.Long arg1, java.math.BigDecimal arg2) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
arg0
- java.lang.Longarg1
- java.lang.Longarg2
- java.math.BigDecimaljavax.ejb.CreateException
java.rmi.RemoteException
javax.naming.NamingException
public POPurchaseAmountAccessBean(java.lang.Long arg0, java.lang.Long arg1, java.math.BigDecimal arg2, java.lang.String arg3) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
arg0
- java.lang.Longarg1
- java.lang.Longarg2
- java.math.BigDecimalarg3
- java.lang.Stringjavax.ejb.CreateException
java.rmi.RemoteException
javax.naming.NamingException
public POPurchaseAmountAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
o
- javax.ejb.EJBObjectjava.rmi.RemoteException
Method Detail |
---|
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Update(flush) data to the EJBObject (persistent storage).
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
protected java.lang.String defaultJNDIName()
public java.lang.String getAmount() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the LPOPURAMT.AMOUNT column of DB2 type DECIMAL(20 5) NOT NULL.
The following is a description of this column:
Expected purchase amounts for this Order against this Limited PO. The amount is in the same currency as the Purchase Limit Amount specified in the Limited PO.
getAmount
in interface
POPurchaseAmountAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public java.math.BigDecimal getAmountInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the LPOPURAMT.AMOUNT column of DB2 type DECIMAL(20 5) NOT NULL.
The following is a description of this column:
Expected purchase amounts for this Order against this Limited PO. The amount is in the same currency as the Purchase Limit Amount specified in the Limited PO.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public java.lang.String getBuyerPurchaseOrderId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the LPOPURAMT.BUYERPO_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
ID of the Buyer Purchase Order Number of the Limited PO.
getBuyerPurchaseOrderId
in interface
POPurchaseAmountAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public java.lang.Long getBuyerPurchaseOrderIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the LPOPURAMT.BUYERPO_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
ID of the Buyer Purchase Order Number of the Limited PO.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public java.lang.String getCurrency() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the LPOPURAMT.SETCCURR column of DB2 type CHAR(3).
The following is a description of this column:
Currency of the Amount field. Alphabetic currency code as per ISO 4217.
getCurrency
in interface
POPurchaseAmountAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public java.lang.String getOrderId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the LPOPURAMT.ORDERS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Order ID. Foreign key to the ORDERS table.
getOrderId
in interface
POPurchaseAmountAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public java.lang.Long getOrderIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the LPOPURAMT.ORDERS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Order ID. Foreign key to the ORDERS table.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.naming.NamingException
java.rmi.RemoteException
javax.ejb.CreateException
javax.naming.NamingException
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setAmount(java.lang.String newValue)
This method provides access to the LPOPURAMT.AMOUNT column of DB2 type DECIMAL(20 5) NOT NULL.
The following is a description of this column:
Expected purchase amounts for this Order against this Limited PO. The amount is in the same currency as the Purchase Limit Amount specified in the Limited PO.
setAmount
in interface
POPurchaseAmountAccessBeanData
newValue
- Stringpublic void setAmount(java.math.BigDecimal newValue)
This method provides access to the LPOPURAMT.AMOUNT column of DB2 type DECIMAL(20 5) NOT NULL.
The following is a description of this column:
Expected purchase amounts for this Order against this Limited PO. The amount is in the same currency as the Purchase Limit Amount specified in the Limited PO.
newValue
- java.math.BigDecimalpublic void setBuyerPurchaseOrderId(java.lang.Long newValue)
This method provides access to the LPOPURAMT.BUYERPO_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
ID of the Buyer Purchase Order Number of the Limited PO.
newValue
- java.lang.Longpublic void setBuyerPurchaseOrderId(java.lang.String newValue)
This method provides access to the LPOPURAMT.BUYERPO_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
ID of the Buyer Purchase Order Number of the Limited PO.
setBuyerPurchaseOrderId
in interface
POPurchaseAmountAccessBeanData
newValue
- Stringpublic void setCurrency(java.lang.String newValue)
This method provides access to the LPOPURAMT.SETCCURR column of DB2 type CHAR(3).
The following is a description of this column:
Currency of the Amount field. Alphabetic currency code as per ISO 4217.
setCurrency
in interface
POPurchaseAmountAccessBeanData
newValue
- java.lang.Stringpublic void setInitKey_buyerPurchaseOrderId(java.lang.String newValue)
Set the primary key for this object
newValue
- java.lang.Stringpublic void setInitKey_orderId(java.lang.String newValue)
Set the primary key for this object
newValue
- java.lang.Stringpublic void setOrderId(java.lang.Long newValue)
This method provides access to the LPOPURAMT.ORDERS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Order ID. Foreign key to the ORDERS table.
newValue
- java.lang.Longpublic void setOrderId(java.lang.String newValue)
This method provides access to the LPOPURAMT.ORDERS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Order ID. Foreign key to the ORDERS table.
setOrderId
in interface
POPurchaseAmountAccessBeanData
newValue
- String