com.ibm.commerce.utf.objects
Class RFQProdAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractAccessBean
        |
        +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
              |
              +--com.ibm.commerce.utf.objects.RFQProdAccessBean
All Implemented Interfaces:
RFQProdAccessBeanData, java.io.Serializable

public class RFQProdAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements RFQProdAccessBeanData

This bean provides access to the RFQPROD table.

The following is a description of this table:

RFQ Request and Product relationship table. This table stores information about the products requested in an RFQ.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
RFQProdAccessBean()
          Default constructor.
RFQProdAccessBean(javax.ejb.EJBObject aEJBObject)
          Creates an access bean for the specified EJB.
RFQProdAccessBean(java.lang.Long aProdAccessBean, java.lang.Long aProdAccessBean)
          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 findByCatentryId(java.lang.Long aCatalogEntryId)
          Retrieves the RFQProdAccessBeans that match the specified CatalogEntry.
 java.util.Enumeration findByRFQId(java.lang.Long aRFQId)
          Retrieves the RFQProdAccessBeans of the specified RFQ.
 RFQProdAccessBean findByRFQIdAndCatentryId(java.lang.Long aRFQId, java.lang.Long aCatalogEntryId)
          Creates an access bean with the specified attributes.
 java.lang.String getCatentryId()
          This method provides access to the RFQPROD.CATENTRY_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getCatentryIdInEJBType()
          This method provides access to the RFQPROD.CATENTRY_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getCurrency()
          This method provides access to the RFQPROD.CURRENCY column of DB2 type CHAR(3) NULL.
 java.lang.String getPrice()
          This method provides access to the RFQPROD.PRICE column of DB2 type DECIMAL(20,5) NULL.
 java.math.BigDecimal getPriceInEJBType()
          This method provides access to the RFQPROD.PRICE column of DB2 type DECIMAL(20,5) NULL.
 java.lang.String getQtyUnitId()
          This method provides access to the RFQPROD.QTYUNIT_ID column of DB2 type CHAR(16) NULL.
 java.lang.String getQuantity()
          This method provides access to the RFQPROD.QUANTITY column of DB2 type DOUBLE NULL.
 java.lang.Double getQuantityInEJBType()
          This method provides access to the RFQPROD.QUANTITY column of DB2 type DOUBLE NULL.
 java.lang.String getRFQReferenceNumber()
          This method provides access to the RFQPROD.RFQ_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getRFQReferenceNumberInEJBType()
          This method provides access to the RFQPROD.RFQ_ID column of DB2 type BIGINT NOT NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setCatentryId(java.lang.Long aCatentryId)
          This method provides access to the RFQPROD.CATENTRY_ID column of DB2 type BIGINT NOT NULL.
 void setCatentryId(java.lang.String aCatentryId)
          This method provides access to the RFQPROD.CATENTRY_ID column of DB2 type BIGINT NOT NULL.
 void setCurrency(java.lang.String aCurrency)
          This method provides access to the RFQPROD.CURRENCY column of DB2 type CHAR(3) NULL.
 void setInitKey_catentryId(java.lang.Long aInitKey_catentryId)
          Set the primary key for this object
 void setInitKey_RFQReferenceNumber(java.lang.Long aInitKey_RFQReferenceNumber)
          Set the primary key for this object
 void setPrice(java.math.BigDecimal aPrice)
          This method provides access to the RFQPROD.PRICE column of DB2 type DECIMAL(20,5) NULL.
 void setPrice(java.lang.String aPrice)
          This method provides access to the RFQPROD.PRICE column of DB2 type DECIMAL(20,5) NULL.
 void setQtyUnitId(java.lang.String aQtyUnitId)
          This method provides access to the RFQPROD.QTYUNIT_ID column of DB2 type CHAR(16) NULL.
 void setQuantity(java.lang.Double aQuantity)
          This method provides access to the RFQPROD.QUANTITY column of DB2 type DOUBLE NULL.
 void setQuantity(java.lang.String aQuantity)
          This method provides access to the RFQPROD.QUANTITY column of DB2 type DOUBLE NULL.
 void setRFQReferenceNumber(java.lang.Long aRFQReferenceNumber)
          This method provides access to the RFQPROD.RFQ_ID column of DB2 type BIGINT NOT NULL.
 void setRFQReferenceNumber(java.lang.String aRFQReferenceNumber)
          This method provides access to the RFQPROD.RFQ_ID column of DB2 type BIGINT 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

RFQProdAccessBean

public RFQProdAccessBean()

Default constructor. Maps to findByPrimaryKey.


RFQProdAccessBean

public RFQProdAccessBean(javax.ejb.EJBObject aEJBObject)
                  throws java.rmi.RemoteException

Creates an access bean for the specified EJB.

Parameters:
aEJBObject - The EJB Object used for the access bean construction.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception

RFQProdAccessBean

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

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

Parameters:
aProdAccessBean - java.lang.Long
aProdAccessBean - java.lang.Long
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
Method Detail

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).

Overrides:
commitCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
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

findByCatentryId

public java.util.Enumeration findByCatentryId(java.lang.Long aCatalogEntryId)
                                       throws java.rmi.RemoteException,
                                              javax.ejb.FinderException,
                                              javax.naming.NamingException

Retrieves the RFQProdAccessBeans that match the specified CatalogEntry.

The SQL query used to fetch all the required row from the RFQ table is:
SELECT * FROM RFQ T1 WHERE
T1.CATENTRY_ID = ?

Parameters:
aCatalogEntryId - the CatalogEntry ID
Returns:
An Enumeration of all the RFQProdAccessBeans 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 - The javax.naming.NamingException exception

findByRFQId

public java.util.Enumeration findByRFQId(java.lang.Long aRFQId)
                                  throws java.rmi.RemoteException,
                                         javax.ejb.FinderException,
                                         javax.naming.NamingException

Retrieves the RFQProdAccessBeans of the specified RFQ.

The SQL query used to fetch all the required row from the RFQ table is:
SELECT * FROM RFQ T1 WHERE
T1.RFQ_ID = ?

Parameters:
aRFQId - the RFQ ID
Returns:
An Enumeration of all the RFQProdAccessBeans 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 - The javax.naming.NamingException exception

findByRFQIdAndCatentryId

public RFQProdAccessBean findByRFQIdAndCatentryId(java.lang.Long aRFQId,
                                                  java.lang.Long aCatalogEntryId)
                                           throws java.rmi.RemoteException,
                                                  javax.ejb.FinderException,
                                                  javax.naming.NamingException

Creates an access bean with the specified attributes.

Parameters:
aRFQId - the RFQ ID
aCatalogEntryId - the CatalogEntry ID
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

getCatentryId

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

This method provides access to the RFQPROD.CATENTRY_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The internal reference number of the CatalogEntry.

Specified by:
getCatentryId in interface RFQProdAccessBeanData
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

getCatentryIdInEJBType

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

This method provides access to the RFQPROD.CATENTRY_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The internal reference number of the CatalogEntry.

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

getCurrency

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

This method provides access to the RFQPROD.CURRENCY column of DB2 type CHAR(3) NULL.

The following is a description of this column:

The type of currency in which the price has been specified. This is a currency code as per ISO 4217 standards.

Specified by:
getCurrency in interface RFQProdAccessBeanData
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

getPrice

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

This method provides access to the RFQPROD.PRICE column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

Requested price for this product.

Specified by:
getPrice in interface RFQProdAccessBeanData
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

getPriceInEJBType

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

This method provides access to the RFQPROD.PRICE column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

Requested price for this product.

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

getQtyUnitId

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

This method provides access to the RFQPROD.QTYUNIT_ID column of DB2 type CHAR(16) NULL.

The following is a description of this column:

Unit of measure for the quantity requested. For example, kilos, tons, or millimeters.

Specified by:
getQtyUnitId in interface RFQProdAccessBeanData
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

getQuantity

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

This method provides access to the RFQPROD.QUANTITY column of DB2 type DOUBLE NULL.

The following is a description of this column:

Quantity requested for this product.

Specified by:
getQuantity in interface RFQProdAccessBeanData
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

getQuantityInEJBType

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

This method provides access to the RFQPROD.QUANTITY column of DB2 type DOUBLE NULL.

The following is a description of this column:

Quantity requested for this product.

Returns:
java.lang.Double
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

getRFQReferenceNumber

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

This method provides access to the RFQPROD.RFQ_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The internal reference number of the RFQ.

Specified by:
getRFQReferenceNumber in interface RFQProdAccessBeanData
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

getRFQReferenceNumberInEJBType

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

This method provides access to the RFQPROD.RFQ_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The internal reference number of the RFQ.

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

refreshCopyHelper

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

Load data from the EJBObject.

Overrides:
refreshCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
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

setCatentryId

public void setCatentryId(java.lang.Long aCatentryId)

This method provides access to the RFQPROD.CATENTRY_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The internal reference number of the CatalogEntry.

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

setCatentryId

public void setCatentryId(java.lang.String aCatentryId)

This method provides access to the RFQPROD.CATENTRY_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The internal reference number of the CatalogEntry.

Specified by:
setCatentryId in interface RFQProdAccessBeanData
Parameters:
aCatentryId - java.lang.String
Returns:
void

setCurrency

public void setCurrency(java.lang.String aCurrency)

This method provides access to the RFQPROD.CURRENCY column of DB2 type CHAR(3) NULL.

The following is a description of this column:

The type of currency in which the price has been specified. This is a currency code as per ISO 4217 standards.

Specified by:
setCurrency in interface RFQProdAccessBeanData
Parameters:
aCurrency - java.lang.String
Returns:
void

setInitKey_catentryId

public void setInitKey_catentryId(java.lang.Long aInitKey_catentryId)

Set the primary key for this object

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

setInitKey_RFQReferenceNumber

public void setInitKey_RFQReferenceNumber(java.lang.Long aInitKey_RFQReferenceNumber)

Set the primary key for this object

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

setPrice

public void setPrice(java.math.BigDecimal aPrice)

This method provides access to the RFQPROD.PRICE column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

Requested price for this product.

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

setPrice

public void setPrice(java.lang.String aPrice)

This method provides access to the RFQPROD.PRICE column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

Requested price for this product.

Specified by:
setPrice in interface RFQProdAccessBeanData
Parameters:
aPrice - java.lang.String
Returns:
void

setQtyUnitId

public void setQtyUnitId(java.lang.String aQtyUnitId)

This method provides access to the RFQPROD.QTYUNIT_ID column of DB2 type CHAR(16) NULL.

The following is a description of this column:

Unit of measure for the quantity requested. For example, kilos, tons, or millimeters.

Specified by:
setQtyUnitId in interface RFQProdAccessBeanData
Parameters:
aQtyUnitId - java.lang.String
Returns:
void

setQuantity

public void setQuantity(java.lang.Double aQuantity)

This method provides access to the RFQPROD.QUANTITY column of DB2 type DOUBLE NULL.

The following is a description of this column:

Quantity requested for this product.

Parameters:
aQuantity - java.lang.Double
Returns:
void

setQuantity

public void setQuantity(java.lang.String aQuantity)

This method provides access to the RFQPROD.QUANTITY column of DB2 type DOUBLE NULL.

The following is a description of this column:

Quantity requested for this product.

Specified by:
setQuantity in interface RFQProdAccessBeanData
Parameters:
aQuantity - java.lang.String
Returns:
void

setRFQReferenceNumber

public void setRFQReferenceNumber(java.lang.Long aRFQReferenceNumber)

This method provides access to the RFQPROD.RFQ_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The internal reference number of the RFQ.

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

setRFQReferenceNumber

public void setRFQReferenceNumber(java.lang.String aRFQReferenceNumber)

This method provides access to the RFQPROD.RFQ_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The internal reference number of the RFQ.

Specified by:
setRFQReferenceNumber in interface RFQProdAccessBeanData
Parameters:
aRFQReferenceNumber - java.lang.String
Returns:
void