com.ibm.commerce.taxation.objects
Class TaxTypeAccessBean

java.lang.Object
  com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
      com.ibm.commerce.taxation.objects.TaxTypeAccessBean
All Implemented Interfaces:
TaxTypeAccessBeanData

public class TaxTypeAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements TaxTypeAccessBeanData

This table represents a TaxType. For example, sales tax and shipping tax are two types of taxes. This access bean corresponds to the database table 'TAXTYPE'.

See Also:
Serialized Form

Constructor Summary
TaxTypeAccessBean()
Zero argument constructor used to initialize the access bean.
TaxTypeAccessBean(javax.ejb.EJBObject o)
constructor
Method Summary
void commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage).
protected java.lang.String defaultJNDIName()
java.util.Enumeration findAll()
Retrieves all the tax types.
java.lang.String getSequence()
This method accesses a non-CMP field
java.lang.Double getSequenceInEJBType()
This method accesses a non-CMP field
java.lang.String getTaxCodeSchemeId()
This method accesses a non-CMP field
java.lang.Integer getTaxCodeSchemeIdInEJBType()
This method accesses a non-CMP field
java.lang.String getTaxTypeId()
This method accesses a non-CMP field
java.lang.Integer getTaxTypeIdInEJBType()
This method accesses a non-CMP field
protected void instantiateEJB()
protected boolean instantiateEJBByPrimaryKey()
void refreshCopyHelper()
Load data from the EJBObject.
void setInitKey_nTaxTypeId(java.lang.String newValue)
Set the primary key for this object
void setSequence(java.lang.Double newValue)
This method accesses a non-CMP field
void setSequence(java.lang.String newValue)
This method accesses a non-CMP field
void setTaxCodeSchemeId(java.lang.Integer newValue)
This method accesses a non-CMP field
void setTaxCodeSchemeId(java.lang.String newValue)
This method accesses a non-CMP field
void setTaxTypeId(java.lang.Integer newValue)
This method accesses a non-CMP field
void setTaxTypeId(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

TaxTypeAccessBean

public TaxTypeAccessBean()
Zero argument constructor used to initialize the access bean. This constructor corresponds to the following home interface method: public abstract com.ibm.commerce.taxation.objects.TaxType com.ibm.commerce.taxation.objimpl.TaxTypeHomeBase.findByPrimaryKey(com.ibm.commerce.taxation.objects.TaxTypeKey) 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_nTaxTypeId( java.lang.Integer )

TaxTypeAccessBean

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

findAll

public java.util.Enumeration findAll()
                              throws java.rmi.RemoteException,
                                     javax.ejb.FinderException,
                                     javax.naming.NamingException

Retrieves all the tax types.

The SQL query used to fetch all the required rows from the TAXTYPE table is:

SELECT * FROM TAXTYPE T1 WHERE 1 = 1

Returns:
Enumeration of all the TaxTypeAccessBeans representing rows that match the search criteria.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

setInitKey_nTaxTypeId

public void setInitKey_nTaxTypeId(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

getTaxCodeSchemeId

public java.lang.String getTaxCodeSchemeId()
                                    throws java.rmi.RemoteException,
                                           javax.ejb.CreateException,
                                           javax.ejb.FinderException,
                                           javax.naming.NamingException
This method accesses a non-CMP field
Specified by:
getTaxCodeSchemeId in interface TaxTypeAccessBeanData
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getTaxCodeSchemeIdInEJBType

public java.lang.Integer getTaxCodeSchemeIdInEJBType()
                                              throws java.rmi.RemoteException,
                                                     javax.ejb.CreateException,
                                                     javax.ejb.FinderException,
                                                     javax.naming.NamingException
This method accesses a non-CMP field
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setTaxCodeSchemeId

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

setTaxCodeSchemeId

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

getTaxTypeId

public java.lang.String getTaxTypeId()
                              throws java.rmi.RemoteException,
                                     javax.ejb.CreateException,
                                     javax.ejb.FinderException,
                                     javax.naming.NamingException
This method accesses a non-CMP field
Specified by:
getTaxTypeId in interface TaxTypeAccessBeanData
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getTaxTypeIdInEJBType

public java.lang.Integer getTaxTypeIdInEJBType()
                                        throws java.rmi.RemoteException,
                                               javax.ejb.CreateException,
                                               javax.ejb.FinderException,
                                               javax.naming.NamingException
This method accesses a non-CMP field
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setTaxTypeId

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

setTaxTypeId

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

getSequence

public java.lang.String getSequence()
                             throws java.rmi.RemoteException,
                                    javax.ejb.CreateException,
                                    javax.ejb.FinderException,
                                    javax.naming.NamingException
This method accesses a non-CMP field
Specified by:
getSequence in interface TaxTypeAccessBeanData
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getSequenceInEJBType

public java.lang.Double getSequenceInEJBType()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             javax.ejb.FinderException,
                                             javax.naming.NamingException
This method accesses a non-CMP field
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setSequence

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

setSequence

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

Feedback