java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.order.objects.OfferPriceAccessBean
Each row of this table represents a price in a currency for an Offer. This access bean corresponds to the database table 'OFFERPRICE'.
Constructor Summary | |
OfferPriceAccessBean() Zero argument constructor used to initialize the access bean. |
|
OfferPriceAccessBean(javax.ejb.EJBObject o) constructor |
|
OfferPriceAccessBean(java.lang.Long arg1, java.lang.String arg2, java.math.BigDecimal arg3) Creates an access bean with the specified attributes. |
Method Summary | |
void | commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected java.lang.String | defaultJNDIName() |
java.util.Enumeration | findByOffer(java.lang.Long offerId)
Retrieves all prices for an offer.
The SQL query used to fetch all the required rows from the OFFERPRICE table is: SELECT * FROM OFFERPRICE T1 WHERE T1.OFFER_ID = ? |
java.util.Enumeration | findByOffersAndCurrency(java.lang.Long[] offerIds, java.lang.String currency) |
java.lang.String | getComparePrice() This method provides access to the OFFERPRICE.COMPAREPRICE column of DB2 type DECIMAL(20 5). |
java.math.BigDecimal | getComparePriceInEJBType() This method provides access to the OFFERPRICE.COMPAREPRICE column of DB2 type DECIMAL(20 5). |
java.lang.String | getCurrency() This method provides access to the OFFERPRICE.CURRENCY column of DB2 type CHAR(3) NOT NULL. |
java.lang.String | getOfferId() This method provides access to the OFFERPRICE.OFFER_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getOfferIdInEJBType() This method provides access to the OFFERPRICE.OFFER_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String | getPrice() This method provides access to the OFFERPRICE.PRICE column of DB2 type DECIMAL(20 5) NOT NULL. |
java.math.BigDecimal | getPriceInEJBType() This method provides access to the OFFERPRICE.PRICE column of DB2 type DECIMAL(20 5) NOT NULL. |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() Load data from the EJBObject. |
void | setComparePrice(java.math.BigDecimal newValue) This method accesses a non-CMP field |
void | setComparePrice(java.lang.String newValue) This method accesses a non-CMP field |
void | setInitKey_currency(java.lang.String newValue) Set the primary key for this object |
void | setInitKey_offerId(java.lang.String newValue) Set the primary key for this object |
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public OfferPriceAccessBean()
public OfferPriceAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public OfferPriceAccessBean(java.lang.Long arg1, java.lang.String arg2, java.math.BigDecimal arg3) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
Creates an access bean with the specified attributes.
Method Detail |
public java.util.Enumeration findByOffer(java.lang.Long offerId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all prices for an offer.
The SQL query used to fetch all the required rows from the OFFERPRICE table is:
SELECT * FROM OFFERPRICE T1 WHERE T1.OFFER_ID = ?
public void setInitKey_offerId(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 getComparePrice() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the OFFERPRICE.COMPAREPRICE column of DB2 type DECIMAL(20 5).
The following is a description of this column:
Reserved for IBM internal use.
public java.math.BigDecimal getComparePriceInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the OFFERPRICE.COMPAREPRICE column of DB2 type DECIMAL(20 5).
The following is a description of this column:
Reserved for IBM internal use.
public void setComparePrice(java.lang.String newValue)
public void setComparePrice(java.math.BigDecimal newValue)
public java.lang.String getOfferId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the OFFERPRICE.OFFER_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The Offer.
public java.lang.Long getOfferIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the OFFERPRICE.OFFER_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The Offer.
public java.lang.String getCurrency() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the OFFERPRICE.CURRENCY column of DB2 type CHAR(3) NOT NULL.
The following is a description of this column:
The currency of the price. This is a currency code as per ISO 4217 standards.
public java.lang.String getPrice() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the OFFERPRICE.PRICE column of DB2 type DECIMAL(20 5) NOT NULL.
The following is a description of this column:
The price for the nominal quantity (see CATENTSHIP.NOMINALQUANTITY) of the product referred to by the Offer.
public java.math.BigDecimal getPriceInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the OFFERPRICE.PRICE column of DB2 type DECIMAL(20 5) NOT NULL.
The following is a description of this column:
The price for the nominal quantity (see CATENTSHIP.NOMINALQUANTITY) of the product referred to by the Offer.
public void setPrice(java.lang.String newValue)
public void setPrice(java.math.BigDecimal newValue)
public java.util.Enumeration findByOffersAndCurrency(java.lang.Long[] offerIds, java.lang.String currency) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.