java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.common.objects.CurrencyConversionAccessBean
Each row of this table represents a rule that can be used to convert a price (stored in the database in a particular currency) to an amount the customer will be charged in a supported shopping currency (a currency in which payment is accepted). This access bean corresponds to the database table 'CURCONVERT'.
Constructor Summary | |
CurrencyConversionAccessBean() Zero argument constructor used to initialize the access bean. |
|
CurrencyConversionAccessBean(javax.ejb.EJBObject o) constructor |
Method Summary | |
void | commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected java.lang.String | defaultJNDIName() |
java.util.Enumeration | findAll() Retrieves all CurrencyConversionAccessBeans |
java.lang.String | getBidirectional() This method provides access to the CURCONVERT.BIDIRECTIONAL column of DB2 type CHAR(1) NOT NULL DEFAULT 'N'. |
java.lang.String | getConversionFactor() This method provides access to the CURCONVERT.FACTOR column of DB2 type DECIMAL(31 20) NOT NULL DEFAULT 1. |
java.math.BigDecimal | getConversionFactorInEJBType() This method provides access to the CURCONVERT.FACTOR column of DB2 type DECIMAL(31 20) NOT NULL DEFAULT 1. |
java.lang.String | getCurrencyConversionId() This method provides access to the CURCONVERT.CURCONVERT_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer | getCurrencyConversionIdInEJBType() This method provides access to the CURCONVERT.CURCONVERT_ID column of DB2 type INTEGER NOT NULL. |
java.lang.String | getFromCurrency() This method provides access to the CURCONVERT.FROMCURR column of DB2 type CHAR(3) NOT NULL. |
java.lang.String | getMultiplyOrDivide() This method provides access to the CURCONVERT.MULTIPLYORDIVIDE column of DB2 type CHAR(1) NOT NULL DEFAULT 'M'. |
java.lang.String | getStoreEntityId() This method provides access to the CURCONVERT.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer | getStoreEntityIdInEJBType() This method provides access to the CURCONVERT.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
java.lang.String | getToCurrency() This method provides access to the CURCONVERT.TOCURR column of DB2 type CHAR(3) NOT NULL. |
java.lang.String | getUpdatable() This method provides access to the CURCONVERT.UPDATABLE column of DB2 type CHAR(1) NOT NULL DEFAULT 'Y'. |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() Load data from the EJBObject. |
void | setBidirectional(java.lang.String newValue) This method accesses a non-CMP field |
void | setConversionFactor(java.math.BigDecimal newValue) This method accesses a non-CMP field |
void | setConversionFactor(java.lang.String newValue) This method accesses a non-CMP field |
void | setCurrencyConversionId(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setCurrencyConversionId(java.lang.String newValue) This method accesses a non-CMP field |
void | setFromCurrency(java.lang.String newValue) This method accesses a non-CMP field |
void | setInitKey_currencyConversionId(java.lang.String newValue) Set the primary key for this object |
void | setMultiplyOrDivide(java.lang.String newValue) This method accesses a non-CMP field |
void | setToCurrency(java.lang.String newValue) This method accesses a non-CMP field |
void | setUpdatable(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 CurrencyConversionAccessBean()
public CurrencyConversionAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
Method Detail |
public java.util.Enumeration findAll() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all CurrencyConversionAccessBeans
The SQL query used to fetch the requested row from the CURCONVERT table is:
SELECT * FROM CURCONVERT T1 WHERE 1 = 1
public void setInitKey_currencyConversionId(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 getToCurrency() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CURCONVERT.TOCURR column of DB2 type CHAR(3) NOT NULL.
The following is a description of this column:
TOCURR is normally the currency in which the customer intends to pay. Amounts in this currency are normally part of an OrderItem, such as a unit price, shipping charge, or tax amount.
public void setToCurrency(java.lang.String newValue)
public java.lang.String getFromCurrency() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CURCONVERT.FROMCURR column of DB2 type CHAR(3) NOT NULL.
The following is a description of this column:
An amount in the FROMCURR currency is normally part of a rule or other information used to determine a price, discount, shipping charge, or similar amount associated with a product offered for sale.
public void setFromCurrency(java.lang.String newValue)
public java.lang.String getBidirectional() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CURCONVERT.BIDIRECTIONAL column of DB2 type CHAR(1) NOT NULL DEFAULT 'N'.
The following is a description of this column:
Indicates whether the rule is bidirectional or unidirectional:&l
public void setBidirectional(java.lang.String newValue)
public java.lang.String getConversionFactor() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CURCONVERT.FACTOR column of DB2 type DECIMAL(31 20) NOT NULL DEFAULT 1.
The following is a description of this column:
The conversion factor. Implicit conversion rules may be derived from explicit rules by combining conversion factors, but no more than one unidirectional rule can be used to derive any particular implicit rule.
public java.math.BigDecimal getConversionFactorInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CURCONVERT.FACTOR column of DB2 type DECIMAL(31 20) NOT NULL DEFAULT 1.
The following is a description of this column:
The conversion factor. Implicit conversion rules may be derived from explicit rules by combining conversion factors, but no more than one unidirectional rule can be used to derive any particular implicit rule.
public void setConversionFactor(java.lang.String newValue)
public void setConversionFactor(java.math.BigDecimal newValue)
public java.lang.String getUpdatable() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CURCONVERT.UPDATABLE column of DB2 type CHAR(1) NOT NULL DEFAULT 'Y'.
The following is a description of this column:
A flag intended to be used by a user interface that manages currency conversion rules. Valid values:&l
public void setUpdatable(java.lang.String newValue)
public java.lang.String getMultiplyOrDivide() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CURCONVERT.MULTIPLYORDIVIDE column of DB2 type CHAR(1) NOT NULL DEFAULT 'M'.
The following is a description of this column:
To convert from FROMCURR to TOCURR:&l
public void setMultiplyOrDivide(java.lang.String newValue)
public java.lang.String getStoreEntityId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CURCONVERT.STOREENT_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The StoreEntity this conversion rule is part of.
public java.lang.Integer getStoreEntityIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CURCONVERT.STOREENT_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The StoreEntity this conversion rule is part of.
public java.lang.String getCurrencyConversionId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CURCONVERT.CURCONVERT_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Generated unique key.
public java.lang.Integer getCurrencyConversionIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CURCONVERT.CURCONVERT_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Generated unique key.
public void setCurrencyConversionId(java.lang.String newValue)
public void setCurrencyConversionId(java.lang.Integer newValue)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.