java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean | +--com.ibm.commerce.taxation.objects.SubOrderTaxAccessBean
Each row of this table specifies the tax amount of a particular TaxCategory for all the OrderItems with the same shipping address as the SubOrder.
Constructor Summary | |
---|---|
SubOrderTaxAccessBean() constructor | |
SubOrderTaxAccessBean(javax.ejb.EJBObject o) constructor | |
SubOrderTaxAccessBean(java.lang.Long arg0, java.math.BigDecimal arg1,
java.lang.Integer arg2) constructor |
Method Summary | |
---|---|
void |
commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected
java.lang.String |
defaultJNDIName() |
java.util.Enumeration |
findBySubOrder(java.lang.Long arg0) Retrieves the tax information for the indicated suborder. |
java.lang.String |
getSubOrderId() This method accesses a non-CMP field |
java.lang.Long |
getSubOrderIdInEJBType() This method accesses a non-CMP field |
java.lang.String |
getTaxAmount() This method accesses a non-CMP field |
java.math.BigDecimal |
getTaxAmountInEJBType() This method accesses a non-CMP field |
java.lang.String |
getTaxCategoryId() This method accesses a non-CMP field |
java.lang.Integer |
getTaxCategoryIdInEJBType() This method accesses a non-CMP field |
protected
void |
instantiateEJB() |
protected
boolean |
instantiateEJBByPrimaryKey() |
void |
refreshCopyHelper() Load data from the EJBObject. |
void |
setInitKey_nSubOrderId(java.lang.String newValue) Set the primary key for this object |
void |
setInitKey_nTaxCategoryId(java.lang.String newValue) Set the primary key for this object |
void |
setSubOrderId(java.lang.Long newValue) This method accesses a non-CMP field |
void |
setSubOrderId(java.lang.String newValue) This method accesses a non-CMP field |
void |
setTaxAmount(java.math.BigDecimal newValue) This method accesses a non-CMP field |
void |
setTaxAmount(java.lang.String newValue) This method accesses a non-CMP field |
void |
setTaxCategoryId(java.lang.Integer newValue) This method accesses a non-CMP field |
void |
setTaxCategoryId(java.lang.String 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 SubOrderTaxAccessBean()
public SubOrderTaxAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
o
- javax.ejb.EJBObjectjava.rmi.RemoteException
public SubOrderTaxAccessBean(java.lang.Long arg0, java.math.BigDecimal arg1, java.lang.Integer arg2) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
arg0
- java.lang.Longarg1
- java.math.BigDecimalarg2
- java.lang.Integerjavax.ejb.CreateException
java.rmi.RemoteException
javax.naming.NamingException
Method Detail |
---|
public java.util.Enumeration findBySubOrder(java.lang.Long arg0) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves the tax information for the indicated suborder.
The SQL query used to fetch all the required rows from the SUBORDTAX table is:
SELECT * FROM SUBORDERTAX T1 WHERE (T1.SUBORDER_ID = ?)
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public void setInitKey_nSubOrderId(java.lang.String newValue)
Set the primary key for this object
newValue
- java.lang.Stringpublic void setInitKey_nTaxCategoryId(java.lang.String newValue)
Set the primary key for this object
newValue
- java.lang.Stringprotected java.lang.String defaultJNDIName()
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 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
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 java.lang.String getTaxCategoryId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
getTaxCategoryId
in interface
SubOrderTaxAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public java.lang.Integer getTaxCategoryIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setTaxCategoryId(java.lang.String newValue)
setTaxCategoryId
in interface
SubOrderTaxAccessBeanData
public void setTaxCategoryId(java.lang.Integer newValue)
public java.lang.String getSubOrderId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
getSubOrderId
in interface
SubOrderTaxAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public java.lang.Long getSubOrderIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setSubOrderId(java.lang.String newValue)
setSubOrderId
in interface
SubOrderTaxAccessBeanData
public void setSubOrderId(java.lang.Long newValue)
public java.lang.String getTaxAmount() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
getTaxAmount
in interface
SubOrderTaxAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public java.math.BigDecimal getTaxAmountInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setTaxAmount(java.lang.String newValue)
setTaxAmount
in interface
SubOrderTaxAccessBeanData
public void setTaxAmount(java.math.BigDecimal newValue)