|
||||||||
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.OrderTaxAccessBean
This bean provides access to the ORDTAX table.
The following is a description of this table:
Each row of this table represents the total of the tax amounts of a particular TaxCategory for all the OrderItems in an Order.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
OrderTaxAccessBean()
Default constructor. |
|
OrderTaxAccessBean(javax.ejb.EJBObject ejbObject)
Maps to a corresponding ejbCreate method in the home interface of the EJB |
|
OrderTaxAccessBean(java.lang.Long aOrderId,
java.math.BigDecimal aTaxAmount,
java.lang.Integer aTaxCategoryId)
Maps to a corresponding ejbCreate method in the home interface of the EJB |
|
OrderTaxAccessBean(java.lang.Long aOrderId,
java.math.BigDecimal aTaxAmount,
java.lang.Integer aTaxCategoryId,
java.sql.Timestamp aLastUpdateTime)
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 |
findByOrder(java.lang.Long orderId)
Retrieves all the tax information for the indicated order. |
java.util.Enumeration |
findByOrderForUpdate(java.lang.Long orderId)
Retrieves all the tax information for the indicated order. |
java.lang.String |
getLastUpdate()
This method provides access to the ORDTAX.LASTUPDATE column of DB2 type TIMESTAMP NULL. |
java.sql.Timestamp |
getLastUpdateInEJBType()
This method provides access to the ORDTAX.LASTUPDATE column of DB2 type TIMESTAMP NULL. |
java.lang.String |
getOrdersId()
This method provides access to the ORDTAX.ORDERS_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long |
getOrdersIdInEJBType()
This method provides access to the ORDTAX.ORDERS_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String |
getTaxAmount()
This method provides access to the ORDTAX.TAXAMOUNT column of DB2 type DECIMAL(20,5) NOT NULL. |
java.math.BigDecimal |
getTaxAmountInEJBType()
This method provides access to the ORDTAX.TAXAMOUNT column of DB2 type DECIMAL(20,5) NOT NULL. |
java.lang.String |
getTaxCategoryId()
This method provides access to the ORDTAX.TAXCGRY_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getTaxCategoryIdInEJBType()
This method provides access to the ORDTAX.TAXCGRY_ID column of DB2 type INTEGER NOT NULL. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setInitKey_nOrdersId(java.lang.String aInitKey_nOrdersId)
Set the primary key for this object |
void |
setInitKey_nTaxCategoryId(java.lang.String aInitKey_nTaxCategoryId)
Set the primary key for this object |
void |
setLastUpdate(java.lang.String aLastUpdate)
This method provides access to the ORDTAX.LASTUPDATE column of DB2 type TIMESTAMP NULL. |
void |
setLastUpdate(java.sql.Timestamp aLastUpdate)
This method provides access to the ORDTAX.LASTUPDATE column of DB2 type TIMESTAMP NULL. |
void |
setOrdersId(java.lang.Long aOrdersId)
This method provides access to the ORDTAX.ORDERS_ID column of DB2 type BIGINT NOT NULL. |
void |
setOrdersId(java.lang.String aOrdersId)
This method provides access to the ORDTAX.ORDERS_ID column of DB2 type BIGINT NOT NULL. |
void |
setTaxAmount(java.math.BigDecimal aTaxAmount)
This method provides access to the ORDTAX.TAXAMOUNT column of DB2 type DECIMAL(20,5) NOT NULL. |
void |
setTaxAmount(java.lang.String aTaxAmount)
This method provides access to the ORDTAX.TAXAMOUNT column of DB2 type DECIMAL(20,5) NOT NULL. |
void |
setTaxCategoryId(java.lang.Integer aTaxCategoryId)
This method provides access to the ORDTAX.TAXCGRY_ID column of DB2 type INTEGER NOT NULL. |
void |
setTaxCategoryId(java.lang.String aTaxCategoryId)
This method provides access to the ORDTAX.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 OrderTaxAccessBean()
Default constructor. Maps to findByPrimaryKey.
public OrderTaxAccessBean(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 OrderTaxAccessBean(java.lang.Long aOrderId, java.math.BigDecimal aTaxAmount, java.lang.Integer aTaxCategoryId) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
Maps to a corresponding ejbCreate method in the home interface of the EJB
aOrderId
- The ID of the order.aTaxAmount
- The tax amount in the currency of the order.aTaxCategoryId
- The ID of the Tax category.javax.ejb.CreateException
- The javax.ejb.CreateException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic OrderTaxAccessBean(java.lang.Long aOrderId, java.math.BigDecimal aTaxAmount, java.lang.Integer aTaxCategoryId, java.sql.Timestamp aLastUpdateTime) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
Maps to a corresponding ejbCreate method in the home interface of the EJB
aOrderId
- The ID of the order.aTaxAmount
- The tax amount in the currency of the order.aTaxCategoryId
- The ID of the Tax category.aLastUpdateTime
- The time of the last update.javax.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 findByOrder(java.lang.Long orderId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the tax information for the indicated order.
The SQL query used to fetch all the required rows from the ORDTAX table is:
SELECT * FROM ORDTAX T1 WHERE (T1.ORDERS_ID = ?)
orderId
- The ID of the order.public java.util.Enumeration findByOrderForUpdate(java.lang.Long orderId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the tax information for the indicated order.
The SQL query used to fetch all the required rows from the ORDTAX table is:
SELECT * FROM ORDTAX T1 WHERE (T1.ORDERS_ID = ?) for update
orderId
- The ID of the order.public java.lang.String getLastUpdate() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORDTAX.LASTUPDATE column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
The time this information was most recently updated.
getLastUpdate
in interface OrderTaxAccessBeanData
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.sql.Timestamp getLastUpdateInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORDTAX.LASTUPDATE column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
The time this information was most recently updated.
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 getOrdersId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORDTAX.ORDERS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The Order.
getOrdersId
in interface OrderTaxAccessBeanData
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 getOrdersIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORDTAX.ORDERS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The Order.
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 ORDTAX.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 Order (ORDERS.CURRENCY).
getTaxAmount
in interface OrderTaxAccessBeanData
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 ORDTAX.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 Order (ORDERS.CURRENCY).
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 ORDTAX.TAXCGRY_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The TaxCategory.
getTaxCategoryId
in interface OrderTaxAccessBeanData
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 ORDTAX.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_nOrdersId(java.lang.String aInitKey_nOrdersId)
Set the primary key for this object
aInitKey_nOrdersId
- java.lang.Stringpublic void setInitKey_nTaxCategoryId(java.lang.String aInitKey_nTaxCategoryId)
Set the primary key for this object
aInitKey_nTaxCategoryId
- java.lang.Stringpublic void setLastUpdate(java.lang.String aLastUpdate)
This method provides access to the ORDTAX.LASTUPDATE column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
The time this information was most recently updated.
setLastUpdate
in interface OrderTaxAccessBeanData
aLastUpdate
- java.lang.Stringpublic void setLastUpdate(java.sql.Timestamp aLastUpdate)
This method provides access to the ORDTAX.LASTUPDATE column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
The time this information was most recently updated.
aLastUpdate
- java.sql.Timestamppublic void setOrdersId(java.lang.Long aOrdersId)
This method provides access to the ORDTAX.ORDERS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The Order.
aOrdersId
- java.lang.Longpublic void setOrdersId(java.lang.String aOrdersId)
This method provides access to the ORDTAX.ORDERS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The Order.
setOrdersId
in interface OrderTaxAccessBeanData
aOrdersId
- java.lang.Stringpublic void setTaxAmount(java.math.BigDecimal aTaxAmount)
This method provides access to the ORDTAX.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 Order (ORDERS.CURRENCY).
aTaxAmount
- java.math.BigDecimalpublic void setTaxAmount(java.lang.String aTaxAmount)
This method provides access to the ORDTAX.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 Order (ORDERS.CURRENCY).
setTaxAmount
in interface OrderTaxAccessBeanData
aTaxAmount
- java.lang.Stringpublic void setTaxCategoryId(java.lang.Integer aTaxCategoryId)
This method provides access to the ORDTAX.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 ORDTAX.TAXCGRY_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The TaxCategory.
setTaxCategoryId
in interface OrderTaxAccessBeanData
aTaxCategoryId
- java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |