java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.catalog.objects.ListPriceAccessBean
Each row of this table represents a ListPrice in a particular currency for a CatalogEntry. This access bean corresponds to the database table 'LISTPRICE'.
Constructor Summary | |
ListPriceAccessBean() Zero argument constructor used to initialize the access bean. |
|
ListPriceAccessBean(javax.ejb.EJBObject o) constructor |
|
ListPriceAccessBean(java.lang.Long arg1, java.lang.String arg2, java.math.BigDecimal arg3) 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 | findByCatalogEntry(java.lang.Long catentryId) 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 accesses a non-CMP field |
void | setListPrice(java.lang.String newValue) This method accesses a non-CMP field |
void | setOid(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 |
public ListPriceAccessBean()
public ListPriceAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public ListPriceAccessBean(java.lang.Long arg1, java.lang.String arg2, java.math.BigDecimal arg3) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
Maps to a corresponding ejbCreate method in the home interface of the EJB. Creates an access to the list price according to the catalog entry reference number, arg2, and list price.
Method Detail |
public java.util.Enumeration findByCatalogEntry(java.lang.Long catentryId) 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
public void setInitKey_catalogEntryReferenceNumber(java.lang.String newValue)
Set the primary key for this object
public void setInitKey_currency(java.lang.String newValue)
Set the primary key for this object
protected java.lang.String defaultJNDIName()
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.naming.NamingException
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Update(flush) data to the EJBObject (persistent storage).
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
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.
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.
public void setListPrice(java.lang.String newValue)
public void setListPrice(java.math.BigDecimal newValue)
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.
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.
public void setOid(java.lang.String newValue)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.