com.ibm.commerce.utf.objects
Class RFQProdAccessBean

java.lang.Object
  AbstractEntityAccessBean
      com.ibm.commerce.utf.objects.RFQProdAccessBean
All Implemented Interfaces:
RFQProdAccessBeanData

public class RFQProdAccessBean
extends AbstractEntityAccessBean
implements RFQProdAccessBeanData

RFQ Request and Product relationship table. This table stores information about the products requested in an RFQ. This access bean corresponds to the database table 'RFQPROD'. RFQProdAccessBean

See Also:
Serialized Form

Constructor Summary
RFQProdAccessBean()
constructor
RFQProdAccessBean(javax.ejb.EJBObject o)
RFQProdAccessBean
RFQProdAccessBean(java.lang.Long argRFQReferenceNumber, java.lang.Long argCatentryId)
Maps to a corresponding ejbCreate method in the home interface of the EJB
Method Summary
void commitCopyHelper()
commitCopyHelper
java.lang.String defaultJNDIName()
defaultJNDIName
java.util.Enumeration findByCatentryId(java.lang.Long argCatentryId)
Retrieves the RFQProdAccessBeans that match the specified CatalogEntry.
java.util.Enumeration findByRFQAndCategory(java.lang.Long rfqId, java.lang.Long rfqCategoryId)
findByRFQAndCategory
java.util.Enumeration findByRFQAndNullCategory(java.lang.Long rfqId)
findByRFQAndNullCategory
java.util.Enumeration findByRFQId(java.lang.Long argRFQId)
Retrieves the RFQProdAccessBeans of the specified RFQ.
java.util.Enumeration findByRFQIdAndCatentryId(java.lang.Long argRFQId, java.lang.Long argCatentryId)
Creates an access bean with the specified attributes.
RFQProdAccessBean findByRFQProdId(java.lang.Long rfqprodId)
findByRFQProdId
java.lang.String getCatentryId()
This method provides access to the RFQPROD.CATENTRY_ID column of DB2 type BIGINT NOT NULL.
java.lang.Long getCatentryIdInEJBType()
getCatentryIdInEJBType
java.lang.String getChangeable()
Get accessor for persistent attribute: changeable
java.lang.Integer getChangeableInEJBType()
getChangeableInEJBType
java.lang.String getCurrency()
getCurrency
java.lang.String getPrice()
getPrice
java.math.BigDecimal getPriceInEJBType()
getPriceInEJBType
java.lang.String getQtyUnitId()
getQtyUnitId
java.lang.String getQuantity()
getQuantity
java.lang.Double getQuantityInEJBType()
getQuantityInEJBType
java.lang.String getRfqCategryId()
Get accessor for persistent attribute: rfqCategryId
java.lang.Long getRfqCategryIdInEJBType()
getRfqCategryIdInEJBType
java.lang.String getRfqprodId()
getRfqprodId
java.lang.Long getRfqprodIdInEJBType()
getRfqprodIdInEJBType
java.lang.String getRfqProductName()
Get accessor for persistent attribute: rfqProductName
java.lang.String getRFQReferenceNumber()
This method provides access to the RFQPROD.RFQ_ID column of DB2 type BIGINT NOT NULL.
java.lang.Long getRFQReferenceNumberInEJBType()
getRFQReferenceNumberInEJBType
protected void instantiateEJB()
instantiateEJB
protected boolean instantiateEJBByPrimaryKey()
instantiateEJBByPrimaryKey
void refreshCopyHelper()
refreshCopyHelper
void setCatentryId(java.lang.Long newCatentryId)
This method provides access to the RFQPROD.CATENTRY_ID column of DB2 type BIGINT NOT NULL.
void setCatentryId(java.lang.String newValue)
This method accesses a non-CMP field
void setChangeable(java.lang.Integer newChangeable)
Set accessor for persistent attribute: changeable
void setChangeable(java.lang.String newValue)
This method accesses a non-CMP field
void setCurrency(java.lang.String newValue)
This method accesses a non-CMP field
void setInitKey_rfqprodId(java.lang.Long newValue)
setInitKey_rfqprodId
void setPrice(java.math.BigDecimal newValue)
This method accesses a non-CMP field
void setPrice(java.lang.String newValue)
This method accesses a non-CMP field
void setQtyUnitId(java.lang.String newValue)
This method accesses a non-CMP field
void setQuantity(java.lang.Double newValue)
This method accesses a non-CMP field
void setQuantity(java.lang.String newValue)
This method accesses a non-CMP field
void setRfqCategryId(java.lang.Long newRfqCategryId)
Set accessor for persistent attribute: rfqCategryId
void setRfqCategryId(java.lang.String newValue)
This method accesses a non-CMP field
void setRfqprodId(java.lang.Long newValue)
This method accesses a non-CMP field
void setRfqprodId(java.lang.String newValue)
This method accesses a non-CMP field
void setRfqProductName(java.lang.String newRfqProductName)
Set accessor for persistent attribute: rfqProductName
void setRFQReferenceNumber(java.lang.Long newRFQReferenceNumber)
This method provides access to the RFQPROD.RFQ_ID column of DB2 type BIGINT NOT NULL.
void setRFQReferenceNumber(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

RFQProdAccessBean

public RFQProdAccessBean()
constructor

RFQProdAccessBean

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

RFQProdAccessBean

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

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

Parameters:
argRFQReferenceNumber - 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
javax.ejb.FinderException
Method Detail

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
javax.ejb.FinderException
javax.naming.NamingException

setCatentryId

public void setCatentryId(java.lang.Long newCatentryId)

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:
newCatentryId - java.lang.Long
Returns:
void

getQtyUnitId

public java.lang.String getQtyUnitId()
                              throws java.rmi.RemoteException,
                                     javax.ejb.CreateException,
                                     javax.ejb.FinderException,
                                     javax.naming.NamingException
getQtyUnitId
Specified by:
getQtyUnitId in interface RFQProdAccessBeanData
Returns:
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setQtyUnitId

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

getQuantity

public java.lang.String getQuantity()
                             throws java.rmi.RemoteException,
                                    javax.ejb.CreateException,
                                    javax.ejb.FinderException,
                                    javax.naming.NamingException
getQuantity
Specified by:
getQuantity in interface RFQProdAccessBeanData
Returns:
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setQuantity

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

getPrice

public java.lang.String getPrice()
                          throws java.rmi.RemoteException,
                                 javax.ejb.CreateException,
                                 javax.ejb.FinderException,
                                 javax.naming.NamingException
getPrice
Specified by:
getPrice in interface RFQProdAccessBeanData
Returns:
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setPrice

public void setPrice(java.math.BigDecimal newValue)
This method accesses a non-CMP field

getRfqProductName

public java.lang.String getRfqProductName()
                                   throws java.rmi.RemoteException,
                                          javax.ejb.CreateException,
                                          javax.ejb.FinderException,
                                          javax.naming.NamingException
Get accessor for persistent attribute: rfqProductName
Specified by:
getRfqProductName in interface RFQProdAccessBeanData
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setRfqProductName

public void setRfqProductName(java.lang.String newRfqProductName)
Set accessor for persistent attribute: rfqProductName
Specified by:
setRfqProductName in interface RFQProdAccessBeanData

getCurrency

public java.lang.String getCurrency()
                             throws java.rmi.RemoteException,
                                    javax.ejb.CreateException,
                                    javax.ejb.FinderException,
                                    javax.naming.NamingException
getCurrency
Specified by:
getCurrency in interface RFQProdAccessBeanData
Returns:
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setCurrency

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

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
javax.ejb.FinderException
javax.naming.NamingException

setRFQReferenceNumber

public void setRFQReferenceNumber(java.lang.Long newRFQReferenceNumber)

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:
newRFQReferenceNumber - java.lang.Long
Returns:
void

getRfqCategryId

public java.lang.String getRfqCategryId()
                                 throws java.rmi.RemoteException,
                                        javax.ejb.CreateException,
                                        javax.ejb.FinderException,
                                        javax.naming.NamingException
Get accessor for persistent attribute: rfqCategryId
Specified by:
getRfqCategryId in interface RFQProdAccessBeanData
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setRfqCategryId

public void setRfqCategryId(java.lang.Long newRfqCategryId)
Set accessor for persistent attribute: rfqCategryId

getRfqprodId

public java.lang.String getRfqprodId()
                              throws java.rmi.RemoteException,
                                     javax.ejb.CreateException,
                                     javax.ejb.FinderException,
                                     javax.naming.NamingException
getRfqprodId
Specified by:
getRfqprodId in interface RFQProdAccessBeanData
Returns:
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setRfqprodId

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

getChangeable

public java.lang.String getChangeable()
                               throws java.rmi.RemoteException,
                                      javax.ejb.CreateException,
                                      javax.ejb.FinderException,
                                      javax.naming.NamingException
Get accessor for persistent attribute: changeable
Specified by:
getChangeable in interface RFQProdAccessBeanData
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setChangeable

public void setChangeable(java.lang.Integer newChangeable)
Set accessor for persistent attribute: changeable

setInitKey_rfqprodId

public void setInitKey_rfqprodId(java.lang.Long newValue)
setInitKey_rfqprodId

Set the primary key for this object

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

defaultJNDIName

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

instantiateEJB

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

instantiateEJBByPrimaryKey

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

refreshCopyHelper

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

commitCopyHelper

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

findByRFQIdAndCatentryId

public java.util.Enumeration findByRFQIdAndCatentryId(java.lang.Long argRFQId,
                                                      java.lang.Long argCatentryId)
                                               throws javax.naming.NamingException,
                                                      javax.ejb.FinderException,
                                                      java.rmi.RemoteException

Creates an access bean with the specified attributes.

Parameters:
argRFQId - the RFQ ID
argCatentryId - 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

findByCatentryId

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

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:
argCatentryId - 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

findByRFQId

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

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:
argRFQId - 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

findByRFQProdId

public RFQProdAccessBean findByRFQProdId(java.lang.Long rfqprodId)
                                  throws javax.naming.NamingException,
                                         javax.ejb.FinderException,
                                         java.rmi.RemoteException
findByRFQProdId
Returns:
Throws:
javax.naming.NamingException
javax.ejb.FinderException
java.rmi.RemoteException

getCatentryIdInEJBType

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

setCatentryId

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

getQuantityInEJBType

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

setQuantity

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

getPriceInEJBType

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

setPrice

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

getRFQReferenceNumberInEJBType

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

setRFQReferenceNumber

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

getRfqCategryIdInEJBType

public java.lang.Long getRfqCategryIdInEJBType()
                                        throws java.rmi.RemoteException,
                                               javax.ejb.CreateException,
                                               javax.ejb.FinderException,
                                               javax.naming.NamingException
getRfqCategryIdInEJBType
Returns:
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setRfqCategryId

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

getRfqprodIdInEJBType

public java.lang.Long getRfqprodIdInEJBType()
                                     throws java.rmi.RemoteException,
                                            javax.ejb.CreateException,
                                            javax.ejb.FinderException,
                                            javax.naming.NamingException
getRfqprodIdInEJBType
Returns:
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setRfqprodId

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

getChangeableInEJBType

public java.lang.Integer getChangeableInEJBType()
                                         throws java.rmi.RemoteException,
                                                javax.ejb.CreateException,
                                                javax.ejb.FinderException,
                                                javax.naming.NamingException
getChangeableInEJBType
Returns:
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setChangeable

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

findByRFQAndCategory

public java.util.Enumeration findByRFQAndCategory(java.lang.Long rfqId,
                                                  java.lang.Long rfqCategoryId)
                                           throws javax.naming.NamingException,
                                                  javax.ejb.FinderException,
                                                  java.rmi.RemoteException
findByRFQAndCategory
Returns:
Throws:
javax.naming.NamingException
javax.ejb.FinderException
java.rmi.RemoteException

findByRFQAndNullCategory

public java.util.Enumeration findByRFQAndNullCategory(java.lang.Long rfqId)
                                               throws javax.naming.NamingException,
                                                      javax.ejb.FinderException,
                                                      java.rmi.RemoteException
findByRFQAndNullCategory
Returns:
Throws:
javax.naming.NamingException
javax.ejb.FinderException
java.rmi.RemoteException

Feedback