com.ibm.commerce.catalog.objects
Class ListPriceAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
        |
        +--com.ibm.commerce.catalog.objects.ListPriceAccessBean
All Implemented Interfaces:
ListPriceAccessBeanData

public class ListPriceAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements ListPriceAccessBeanData

Each row of this table represents a ListPrice in a particular currency for a CatalogEntry. This table is &l

See Also:
Serialized Form

Constructor Summary
ListPriceAccessBean()
          constructor
ListPriceAccessBean(javax.ejb.EJBObject o)
          constructor
ListPriceAccessBean(java.lang.Long arg0, java.lang.String arg1, java.math.BigDecimal arg2)
          constructor
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
protected  java.lang.String defaultJNDIName()
           
 java.util.Enumeration findByCatalogEntry(java.lang.Long arg0)
          Finds the list price with the catalog entry ID.
 java.lang.String getCurrency()
          This method provides access to the LISTPRICE.CURRENCY column of DB2 type CHAR(3) NOT NULL.
 java.lang.String getListPrice()
          This method provides access to the LISTPRICE.LISTPRICE column of DB2 type DECIMAL(20 5) NOT NULL.
 java.math.BigDecimal getListPriceInEJBType()
          This method provides access to the LISTPRICE.LISTPRICE column of DB2 type DECIMAL(20 5) NOT NULL.
 java.lang.String getOid()
          This method provides access to the LISTPRICE.OID column of DB2 type VARCHAR(64).
protected  void instantiateEJB()
           
protected  boolean instantiateEJBByPrimaryKey()
           
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setInitKey_catalogEntryReferenceNumber(java.lang.String newValue)
          Set the primary key for this object
 void setInitKey_currency(java.lang.String newValue)
          Set the primary key for this object
 void setListPrice(java.math.BigDecimal newValue)
          This method provides access to the LISTPRICE.LISTPRICE column of DB2 type DECIMAL(20 5) NOT NULL.
 void setListPrice(java.lang.String newValue)
          This method provides access to the LISTPRICE.LISTPRICE column of DB2 type DECIMAL(20 5) NOT NULL.
 void setOid(java.lang.String newValue)
          This method provides access to the LISTPRICE.OID column of DB2 type VARCHAR(64).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListPriceAccessBean

public ListPriceAccessBean()
constructor

ListPriceAccessBean

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

ListPriceAccessBean

public ListPriceAccessBean(java.lang.Long arg0,
                           java.lang.String arg1,
                           java.math.BigDecimal arg2)
                    throws javax.ejb.CreateException,
                           java.rmi.RemoteException,
                           javax.naming.NamingException
constructor
Parameters:
arg0 - java.lang.Long
arg1 - java.lang.String
arg2 - java.math.BigDecimal
Throws:
javax.ejb.CreateException
java.rmi.RemoteException
javax.naming.NamingException
Method Detail

findByCatalogEntry

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

Finds the list price with the catalog entry ID.

SQL:
SELECT CATENTRY_ID, CURRENCY, LISTPRICE, OID FROM LISTPRICE WHERE catentry_id = catentryId

Returns:
java.util.Enumeration
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

setInitKey_catalogEntryReferenceNumber

public void setInitKey_catalogEntryReferenceNumber(java.lang.String newValue)

Set the primary key for this object

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

setInitKey_currency

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

getListPrice

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

This method provides access to the LISTPRICE.LISTPRICE column of DB2 type DECIMAL(20 5) NOT NULL.

The following is a description of this column:

The amount of the ListPrice.

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

getListPriceInEJBType

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

This method provides access to the LISTPRICE.LISTPRICE column of DB2 type DECIMAL(20 5) NOT NULL.

The following is a description of this column:

The amount of the ListPrice.

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

setListPrice

public void setListPrice(java.lang.String newValue)

This method provides access to the LISTPRICE.LISTPRICE column of DB2 type DECIMAL(20 5) NOT NULL.

The following is a description of this column:

The amount of the ListPrice.

Specified by:
setListPrice in interface ListPriceAccessBeanData
Parameters:
newValue - String
Returns:
void

setListPrice

public void setListPrice(java.math.BigDecimal newValue)

This method provides access to the LISTPRICE.LISTPRICE column of DB2 type DECIMAL(20 5) NOT NULL.

The following is a description of this column:

The amount of the ListPrice.

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

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 LISTPRICE.CURRENCY column of DB2 type CHAR(3) NOT NULL.

The following is a description of this column:

The Currency of the ListPrice. This is a currency code as per ISO 4217 standards.

Specified by:
getCurrency in interface ListPriceAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getOid

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

This method provides access to the LISTPRICE.OID column of DB2 type VARCHAR(64).

The following is a description of this column:

Reserved for IBM internal use.

Specified by:
getOid in interface ListPriceAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setOid

public void setOid(java.lang.String newValue)

This method provides access to the LISTPRICE.OID column of DB2 type VARCHAR(64).

The following is a description of this column:

Reserved for IBM internal use.

Specified by:
setOid in interface ListPriceAccessBeanData
Parameters:
newValue - java.lang.String
Returns:
void