java.lang.Object | +--com.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.
Constructor Summary | |
---|---|
OfferPriceAccessBean() constructor | |
OfferPriceAccessBean(javax.ejb.EJBObject o) constructor | |
OfferPriceAccessBean(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 |
findByOffer(java.lang.Long arg0)
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[] arg0,
java.lang.String arg1) |
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 provides access to the OFFERPRICE.COMPAREPRICE column of DB2 type DECIMAL(20 5). |
void |
setComparePrice(java.lang.String newValue) This method provides access to the OFFERPRICE.COMPAREPRICE column of DB2 type DECIMAL(20 5). |
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 provides access to the OFFERPRICE.PRICE column of DB2 type DECIMAL(20 5) NOT NULL. |
void |
setPrice(java.lang.String newValue) This method provides access to the OFFERPRICE.PRICE column of DB2 type DECIMAL(20 5) NOT NULL. |
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
o
- javax.ejb.EJBObjectjava.rmi.RemoteException
public OfferPriceAccessBean(java.lang.Long arg0, java.lang.String arg1, java.math.BigDecimal arg2) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
arg0
- java.lang.Longarg1
- java.lang.Stringarg2
- java.math.BigDecimaljavax.ejb.CreateException
java.rmi.RemoteException
javax.naming.NamingException
Method Detail |
---|
public java.util.Enumeration findByOffer(java.lang.Long arg0) 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 = ?
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException
public void setInitKey_offerId(java.lang.String newValue)
Set the primary key for this object
newValue
- java.lang.Stringpublic void setInitKey_currency(java.lang.String newValue)
Set the primary key for this object
newValue
- java.lang.Stringprotected java.lang.String defaultJNDIName()
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.naming.NamingException
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).
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
getComparePrice
in interface
OfferPriceAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setComparePrice(java.lang.String newValue)
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.
setComparePrice
in interface
OfferPriceAccessBeanData
newValue
- Stringpublic void setComparePrice(java.math.BigDecimal newValue)
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.
newValue
- java.math.BigDecimalpublic 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.
getOfferId
in interface
OfferPriceAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
getCurrency
in interface
OfferPriceAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
getPrice
in interface
OfferPriceAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setPrice(java.lang.String newValue)
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.
setPrice
in interface
OfferPriceAccessBeanData
newValue
- Stringpublic void setPrice(java.math.BigDecimal newValue)
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.
newValue
- java.math.BigDecimalpublic java.util.Enumeration findByOffersAndCurrency(java.lang.Long[] arg0, java.lang.String arg1) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException