com.ibm.commerce.taxation.beans
Class OrderTaxDataBean

com.ibm.commerce.taxation.beans.OrderTaxDataBean
All Implemented Interfaces:
Delegator

public class OrderTaxDataBean
implements Delegator

Retrieve order tax information.


Fields inherited from interface com.ibm.commerce.security.Delegator
COPYRIGHT
 
Constructor Summary
OrderTaxDataBean()
           
 
Method Summary
 CommandContext getCommandContext()
          Gets the command context set within this bean.
 java.lang.String getDataBeanKeyNOrdersId()
          Retrieve its primary key.
 java.lang.String getDataBeanKeyNTaxCategoryId()
          Retrieve its primary key.
 Protectable getDelegate()
          Retrieves access control information.
 java.lang.String getLastUpdate()
          Retrieves last update timestamp.
 java.sql.Timestamp getLastUpdateInEJBType()
          Retrieves last update timestamp.
 java.lang.String getOrdersId()
          Retrieves order id.
 java.lang.Long getOrdersIdInEJBType()
          Retrieves order id.
 TypedProperty getRequestProperties()
          Gets the request property set within this bean.
 java.lang.String getTaxAmount()
          Retrieves tax amount.
 java.math.BigDecimal getTaxAmountInEJBType()
          Retrieves tax amount.
 java.lang.String getTaxCategoryId()
          Retrieves tax category id.
 java.lang.Integer getTaxCategoryIdInEJBType()
          Retrieves tax category id.
 void populate()
          Retrieves data from the database.
 void setCommandContext(CommandContext aCommandContext)
          Sets the command context within this bean.
 void setDataBeanKeyNOrdersId(java.lang.String aDataBeanKeyNOrdersId)
          Set its primary key for fetching.
 void setDataBeanKeyNTaxCategoryId(java.lang.String aDataBeanKeyNTaxCategoryId)
          Set its primary key for fetching.
 void setLastUpdate(java.sql.Timestamp aLastUpdate)
          Sets last update timestamp.
 void setOrdersId(java.lang.Long aOrdersId)
          Sets order id.
 void setRequestProperties(TypedProperty aRequestProperties)
          Sets the request property within this bean.
 void setTaxAmount(java.math.BigDecimal aTaxAmount)
          Sets tax amount.
 void setTaxCategoryId(java.lang.Integer aTaxCategoryId)
          Sets tax category id.
 

Constructor Detail

OrderTaxDataBean

public OrderTaxDataBean()
Method Detail

getCommandContext

public CommandContext getCommandContext()

Gets the command context set within this bean.

Returns:
com.ibm.commerce.command.CommandContext

getDataBeanKeyNOrdersId

public java.lang.String getDataBeanKeyNOrdersId()

Retrieve its primary key.

Returns:
java.lang.String

getDataBeanKeyNTaxCategoryId

public java.lang.String getDataBeanKeyNTaxCategoryId()

Retrieve its primary key.

Returns:
java.lang.String

getDelegate

public Protectable getDelegate()
                        throws java.lang.Exception

Retrieves access control information.

Specified by:
getDelegate in interface Delegator
Returns:
com.ibm.commerce.security.Protectable
Throws:
java.lang.Exception - The java.lang.Exception exception

getLastUpdate

public java.lang.String getLastUpdate()
                               throws java.rmi.RemoteException,
                                      javax.ejb.CreateException,
                                      javax.ejb.FinderException,
                                      javax.naming.NamingException

Retrieves last update timestamp.

Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getLastUpdateInEJBType

public java.sql.Timestamp getLastUpdateInEJBType()
                                          throws java.rmi.RemoteException,
                                                 javax.ejb.CreateException,
                                                 javax.ejb.FinderException,
                                                 javax.naming.NamingException

Retrieves last update timestamp.

Returns:
java.sql.Timestamp
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getOrdersId

public java.lang.String getOrdersId()
                             throws java.rmi.RemoteException,
                                    javax.ejb.CreateException,
                                    javax.ejb.FinderException,
                                    javax.naming.NamingException

Retrieves order id.

Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getOrdersIdInEJBType

public java.lang.Long getOrdersIdInEJBType()
                                    throws java.rmi.RemoteException,
                                           javax.ejb.CreateException,
                                           javax.ejb.FinderException,
                                           javax.naming.NamingException

Retrieves order id.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getRequestProperties

public TypedProperty getRequestProperties()

Gets the request property set within this bean.

Returns:
com.ibm.commerce.datatype.TypedProperty

getTaxAmount

public java.lang.String getTaxAmount()
                              throws java.rmi.RemoteException,
                                     javax.ejb.CreateException,
                                     javax.ejb.FinderException,
                                     javax.naming.NamingException

Retrieves tax amount.

Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getTaxAmountInEJBType

public java.math.BigDecimal getTaxAmountInEJBType()
                                           throws java.rmi.RemoteException,
                                                  javax.ejb.CreateException,
                                                  javax.ejb.FinderException,
                                                  javax.naming.NamingException

Retrieves tax amount.

Returns:
java.math.BigDecimal
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getTaxCategoryId

public java.lang.String getTaxCategoryId()
                                  throws java.rmi.RemoteException,
                                         javax.ejb.CreateException,
                                         javax.ejb.FinderException,
                                         javax.naming.NamingException

Retrieves tax category id.

Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getTaxCategoryIdInEJBType

public java.lang.Integer getTaxCategoryIdInEJBType()
                                            throws java.rmi.RemoteException,
                                                   javax.ejb.CreateException,
                                                   javax.ejb.FinderException,
                                                   javax.naming.NamingException

Retrieves tax category id.

Returns:
java.lang.Integer
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

populate

public void populate()
              throws java.lang.Exception

Retrieves data from the database.

Returns:
void
Throws:
java.lang.Exception - The java.lang.Exception exception

setCommandContext

public void setCommandContext(CommandContext aCommandContext)

Sets the command context within this bean.

Parameters:
aCommandContext - com.ibm.commerce.command.CommandContext
Returns:
void

setDataBeanKeyNOrdersId

public void setDataBeanKeyNOrdersId(java.lang.String aDataBeanKeyNOrdersId)

Set its primary key for fetching.

Parameters:
aDataBeanKeyNOrdersId - java.lang.String
Returns:
void

setDataBeanKeyNTaxCategoryId

public void setDataBeanKeyNTaxCategoryId(java.lang.String aDataBeanKeyNTaxCategoryId)

Set its primary key for fetching.

Parameters:
aDataBeanKeyNTaxCategoryId - java.lang.String
Returns:
void

setLastUpdate

public void setLastUpdate(java.sql.Timestamp aLastUpdate)

Sets last update timestamp.

Parameters:
aLastUpdate - java.sql.Timestamp
Returns:
void

setOrdersId

public void setOrdersId(java.lang.Long aOrdersId)

Sets order id.

Parameters:
aOrdersId - java.lang.Long
Returns:
void

setRequestProperties

public void setRequestProperties(TypedProperty aRequestProperties)
                          throws javax.ejb.CreateException,
                                 java.rmi.RemoteException,
                                 javax.naming.NamingException,
                                 javax.ejb.FinderException

Sets the request property within this bean.

Parameters:
aRequestProperties - com.ibm.commerce.datatype.TypedProperty
Returns:
void
Throws:
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

setTaxAmount

public void setTaxAmount(java.math.BigDecimal aTaxAmount)

Sets tax amount.

Parameters:
aTaxAmount - java.math.BigDecimal
Returns:
void

setTaxCategoryId

public void setTaxCategoryId(java.lang.Integer aTaxCategoryId)

Sets tax category id.

Parameters:
aTaxCategoryId - java.lang.Integer
Returns:
void