com.ibm.commerce.order.objects
Class OrderAdjustmentTaxExemptAccessBean

java.lang.Object
  com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
      com.ibm.commerce.order.objects.OrderAdjustmentTaxExemptAccessBean
All Implemented Interfaces:
OrderAdjustmentTaxExemptAccessBeanData
Direct Known Subclasses:
OrderAdjustmentTaxExemptDataBeanBase

public class OrderAdjustmentTaxExemptAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements OrderAdjustmentTaxExemptAccessBeanData

Each row of this table indicates that an OrderAdjustment is exempt from taxation of a particular TaxCategory. For example, an &quo This access bean corresponds to the database table 'ORDADJTXEX'.

See Also:
Serialized Form

Constructor Summary
OrderAdjustmentTaxExemptAccessBean()
Zero argument constructor used to initialize the access bean.
OrderAdjustmentTaxExemptAccessBean(javax.ejb.EJBObject o)
constructor
OrderAdjustmentTaxExemptAccessBean(java.lang.Long arg1, java.lang.Integer arg2)
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).
protected java.lang.String defaultJNDIName()
java.util.Enumeration findByOrderAdjustmentIds(java.lang.Long[] orderAdjustmentIds)
java.util.Enumeration findByOrderAdjustmentIdsForUpdate(java.lang.Long[] adjustmentIds)
java.lang.String getOrderAdjustmentId()
This method provides access to the ORDADJTXEX.ORDADJUST_ID column of DB2 type BIGINT NOT NULL.
java.lang.Long getOrderAdjustmentIdInEJBType()
This method provides access to the ORDADJTXEX.ORDADJUST_ID column of DB2 type BIGINT NOT NULL.
java.lang.String getTaxCategoryId()
This method provides access to the ORDADJTXEX.TAXCGRY_ID column of DB2 type INTEGER NOT NULL.
java.lang.Integer getTaxCategoryIdInEJBType()
This method provides access to the ORDADJTXEX.TAXCGRY_ID column of DB2 type INTEGER NOT NULL.
protected void instantiateEJB()
protected boolean instantiateEJBByPrimaryKey()
void refreshCopyHelper()
Load data from the EJBObject.
void setInitKey_orderAdjustmentId(java.lang.String newValue)
Set the primary key for this object
void setInitKey_taxCategoryId(java.lang.String newValue)
Set the primary key for this object
void setOrderAdjustmentId(java.lang.Long newValue)
This method accesses a non-CMP field
void setOrderAdjustmentId(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

OrderAdjustmentTaxExemptAccessBean

public OrderAdjustmentTaxExemptAccessBean()
Zero argument constructor used to initialize the access bean. This constructor corresponds to the following home interface method: public abstract com.ibm.commerce.order.objects.OrderAdjustmentTaxExempt com.ibm.commerce.order.objimpl.OrderAdjustmentTaxExemptHomeBase.findByPrimaryKey(com.ibm.commerce.order.objects.OrderAdjustmentTaxExemptKey) throws java.rmi.RemoteException,javax.ejb.FinderException The home interface method properties need to be set by calling the following setter methods before calling any business methods: setInitKey_orderAdjustmentId( java.lang.Long ) setInitKey_taxCategoryId( java.lang.Integer )

OrderAdjustmentTaxExemptAccessBean

public OrderAdjustmentTaxExemptAccessBean(javax.ejb.EJBObject o)
                                   throws java.rmi.RemoteException
constructor
Parameters:
o - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException

OrderAdjustmentTaxExemptAccessBean

public OrderAdjustmentTaxExemptAccessBean(java.lang.Long arg1,
                                          java.lang.Integer arg2)
                                   throws javax.ejb.CreateException,
                                          java.rmi.RemoteException,
                                          javax.naming.NamingException

Maps to a corresponding ejbCreate method in the home interface of the EJB

Parameters:
arg1 - java.lang.Long Order adjustment identifier
arg2 - java.lang.Integer Tax category identifier
Throws:
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.naming.NamingException
Method Detail

setInitKey_orderAdjustmentId

public void setInitKey_orderAdjustmentId(java.lang.String newValue)

Set the primary key for this object

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

setInitKey_taxCategoryId

public void setInitKey_taxCategoryId(java.lang.String newValue)

Set the primary key for this object

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

defaultJNDIName

protected java.lang.String defaultJNDIName()
Returns:
String

instantiateEJB

protected void instantiateEJB()
                       throws java.rmi.RemoteException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException
Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

instantiateEJBByPrimaryKey

protected boolean instantiateEJBByPrimaryKey()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             javax.naming.NamingException
Returns:
boolean
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.naming.NamingException

commitCopyHelper

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

Update(flush) data to the EJBObject (persistent storage).

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

refreshCopyHelper

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

Load data from the EJBObject.

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getTaxCategoryId

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

This method provides access to the ORDADJTXEX.TAXCGRY_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The TaxCategory.

Specified by:
getTaxCategoryId in interface OrderAdjustmentTaxExemptAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getTaxCategoryIdInEJBType

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

This method provides access to the ORDADJTXEX.TAXCGRY_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The TaxCategory.

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

setTaxCategoryId

public void setTaxCategoryId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setTaxCategoryId in interface OrderAdjustmentTaxExemptAccessBeanData

setTaxCategoryId

public void setTaxCategoryId(java.lang.Integer newValue)
This method accesses a non-CMP field

getOrderAdjustmentId

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

This method provides access to the ORDADJTXEX.ORDADJUST_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The OrderAdjustment.

Specified by:
getOrderAdjustmentId in interface OrderAdjustmentTaxExemptAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getOrderAdjustmentIdInEJBType

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

This method provides access to the ORDADJTXEX.ORDADJUST_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The OrderAdjustment.

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

setOrderAdjustmentId

public void setOrderAdjustmentId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setOrderAdjustmentId in interface OrderAdjustmentTaxExemptAccessBeanData

setOrderAdjustmentId

public void setOrderAdjustmentId(java.lang.Long newValue)
This method accesses a non-CMP field

findByOrderAdjustmentIds

public java.util.Enumeration findByOrderAdjustmentIds(java.lang.Long[] orderAdjustmentIds)
                                               throws javax.naming.NamingException,
                                                      javax.ejb.FinderException,
                                                      java.rmi.RemoteException
Parameters:
orderAdjustmentIds - the orderAdjustmentIds
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

findByOrderAdjustmentIdsForUpdate

public java.util.Enumeration findByOrderAdjustmentIdsForUpdate(java.lang.Long[] adjustmentIds)
                                                        throws javax.naming.NamingException,
                                                               javax.ejb.FinderException,
                                                               java.rmi.RemoteException
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

Feedback