|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractAccessBean | +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean | +--com.ibm.commerce.taxation.objects.SubOrderTaxAccessBean
This bean provides access to the SUBORDTAX table.
The following is a description of this table:
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.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
SubOrderTaxAccessBean()
Default constructor. |
|
SubOrderTaxAccessBean(javax.ejb.EJBObject ejbObject)
Maps to a corresponding ejbCreate method in the home interface of the EJB |
|
SubOrderTaxAccessBean(java.lang.Long aOrderTaxAccessBean,
java.math.BigDecimal aOrderTaxAccessBean,
java.lang.Integer aOrderTaxAccessBean)
Maps to a corresponding ejbCreate method in the home interface of the EJB |
Method Summary | |
void |
commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage). |
java.util.Enumeration |
findBySubOrder(java.lang.Long subOrderId)
Retrieves the tax information for the indicated suborder. |
java.lang.String |
getSubOrderId()
This method provides access to the SUBORDTAX.SUBORDER_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long |
getSubOrderIdInEJBType()
This method provides access to the SUBORDTAX.SUBORDER_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String |
getTaxAmount()
This method provides access to the SUBORDTAX.TAXAMOUNT column of DB2 type DECIMAL(20,5) NOT NULL. |
java.math.BigDecimal |
getTaxAmountInEJBType()
This method provides access to the SUBORDTAX.TAXAMOUNT column of DB2 type DECIMAL(20,5) NOT NULL. |
java.lang.String |
getTaxCategoryId()
This method provides access to the SUBORDTAX.TAXCGRY_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getTaxCategoryIdInEJBType()
This method provides access to the SUBORDTAX.TAXCGRY_ID column of DB2 type INTEGER NOT NULL. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setInitKey_nSubOrderId(java.lang.String aInitKey_nSubOrderId)
Set the primary key for this object |
void |
setInitKey_nTaxCategoryId(java.lang.String aInitKey_nTaxCategoryId)
Set the primary key for this object |
void |
setSubOrderId(java.lang.Long aSubOrderId)
This method provides access to the SUBORDTAX.SUBORDER_ID column of DB2 type BIGINT NOT NULL. |
void |
setSubOrderId(java.lang.String aSubOrderId)
This method provides access to the SUBORDTAX.SUBORDER_ID column of DB2 type BIGINT NOT NULL. |
void |
setTaxAmount(java.math.BigDecimal aTaxAmount)
This method provides access to the SUBORDTAX.TAXAMOUNT column of DB2 type DECIMAL(20,5) NOT NULL. |
void |
setTaxAmount(java.lang.String aTaxAmount)
This method provides access to the SUBORDTAX.TAXAMOUNT column of DB2 type DECIMAL(20,5) NOT NULL. |
void |
setTaxCategoryId(java.lang.Integer aTaxCategoryId)
This method provides access to the SUBORDTAX.TAXCGRY_ID column of DB2 type INTEGER NOT NULL. |
void |
setTaxCategoryId(java.lang.String aTaxCategoryId)
This method provides access to the SUBORDTAX.TAXCGRY_ID column of DB2 type INTEGER NOT NULL. |
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean |
__getCache, __getCache, __getKey, __setCache, __setCache, __setKey, commitCopyHelper, createAccessBeans, createAccessBeans, instantiateEJBByPrimaryKey, refreshCopyHelper, setEJBRef |
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
defaultJNDIName, defaultNameServiceType, defaultNameServiceURL, getEJBRef, getGlobalHome, getHome, getInit_GlobalNameServiceTypeName, getInit_GlobalNameServiceURLName, getInit_JNDIName, getInit_NameServiceTypeName, getInit_NameServiceURLName, getInitContext, getInitContext, instantiateEJB, resetEJBRef, resetHomeCache, setInit_GlobalNameServiceTypeName, setInit_GlobalNameServiceURLName, setInit_JNDIName, setInit_NameServiceTypeName, setInit_NameServiceURLName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SubOrderTaxAccessBean()
Default constructor. Maps to findByPrimaryKey.
public SubOrderTaxAccessBean(javax.ejb.EJBObject ejbObject) throws java.rmi.RemoteException
Maps to a corresponding ejbCreate method in the home interface of the EJB
ejbObject
- javax.ejb.EJBObjectjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionpublic SubOrderTaxAccessBean(java.lang.Long aOrderTaxAccessBean, java.math.BigDecimal aOrderTaxAccessBean, java.lang.Integer aOrderTaxAccessBean) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
Maps to a corresponding ejbCreate method in the home interface of the EJB
aOrderTaxAccessBean
- java.lang.LongaOrderTaxAccessBean
- java.math.BigDecimalaOrderTaxAccessBean
- java.lang.Integerjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionMethod 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).
commitCopyHelper
in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.util.Enumeration findBySubOrder(java.lang.Long subOrderId) 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 = ?)
subOrderId
- The ID of the suborder.java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getSubOrderId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the SUBORDTAX.SUBORDER_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The SubOrder.
getSubOrderId
in interface SubOrderTaxAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.Long getSubOrderIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the SUBORDTAX.SUBORDER_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The SubOrder.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getTaxAmount() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the SUBORDTAX.TAXAMOUNT column of DB2 type DECIMAL(20,5) NOT NULL.
The following is a description of this column:
The tax amount in the Currency of the SubOrder (see SUBORDERS.CURRENCY for details).
getTaxAmount
in interface SubOrderTaxAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.math.BigDecimal getTaxAmountInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the SUBORDTAX.TAXAMOUNT column of DB2 type DECIMAL(20,5) NOT NULL.
The following is a description of this column:
The tax amount in the Currency of the SubOrder (see SUBORDERS.CURRENCY for details).
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getTaxCategoryId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the SUBORDTAX.TAXCGRY_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The TaxCategory.
getTaxCategoryId
in interface SubOrderTaxAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.Integer getTaxCategoryIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the SUBORDTAX.TAXCGRY_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The TaxCategory.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
refreshCopyHelper
in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic void setInitKey_nSubOrderId(java.lang.String aInitKey_nSubOrderId)
Set the primary key for this object
aInitKey_nSubOrderId
- java.lang.Stringpublic void setInitKey_nTaxCategoryId(java.lang.String aInitKey_nTaxCategoryId)
Set the primary key for this object
aInitKey_nTaxCategoryId
- java.lang.Stringpublic void setSubOrderId(java.lang.Long aSubOrderId)
This method provides access to the SUBORDTAX.SUBORDER_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The SubOrder.
aSubOrderId
- java.lang.Longpublic void setSubOrderId(java.lang.String aSubOrderId)
This method provides access to the SUBORDTAX.SUBORDER_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The SubOrder.
setSubOrderId
in interface SubOrderTaxAccessBeanData
aSubOrderId
- java.lang.Stringpublic void setTaxAmount(java.math.BigDecimal aTaxAmount)
This method provides access to the SUBORDTAX.TAXAMOUNT column of DB2 type DECIMAL(20,5) NOT NULL.
The following is a description of this column:
The tax amount in the Currency of the SubOrder (see SUBORDERS.CURRENCY for details).
aTaxAmount
- java.math.BigDecimalpublic void setTaxAmount(java.lang.String aTaxAmount)
This method provides access to the SUBORDTAX.TAXAMOUNT column of DB2 type DECIMAL(20,5) NOT NULL.
The following is a description of this column:
The tax amount in the Currency of the SubOrder (see SUBORDERS.CURRENCY for details).
setTaxAmount
in interface SubOrderTaxAccessBeanData
aTaxAmount
- java.lang.Stringpublic void setTaxCategoryId(java.lang.Integer aTaxCategoryId)
This method provides access to the SUBORDTAX.TAXCGRY_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The TaxCategory.
aTaxCategoryId
- java.lang.Integerpublic void setTaxCategoryId(java.lang.String aTaxCategoryId)
This method provides access to the SUBORDTAX.TAXCGRY_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The TaxCategory.
setTaxCategoryId
in interface SubOrderTaxAccessBeanData
aTaxCategoryId
- java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |