java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.common.objects.CurrencyAccessBean
The table contains information about the different national currencies. The currency alphabetic and numeric codes are derived from the ISO 4217 standard. This access bean corresponds to the database table 'SETCURR'.
Constructor Summary | |
CurrencyAccessBean() Zero argument constructor used to initialize the access bean. |
|
CurrencyAccessBean(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 CurrencyAccessBeans |
java.util.Enumeration | findByNumericCurrencyCode(java.lang.Integer aCurrencyCode) Retrieves all CurrencyAccessBeans according to the search criteria |
CurrencyAccessBean | findByStoreEntityAndLanguage(java.lang.Integer storeEntityId, java.lang.Integer languageId) Retrieves all CurrencyAccessBeans according to the search criteria |
java.lang.String | getCurrencyCode() This method provides access to the SETCURR.SETCCURR column of DB2 type CHAR(3) NOT NULL. |
java.lang.String | getCurrencyExponent() This method provides access to the SETCURR.SETCEXP column of DB2 type INTEGER NOT NULL. |
java.lang.Integer | getCurrencyExponentInEJBType() This method provides access to the SETCURR.SETCEXP column of DB2 type INTEGER NOT NULL. |
CurrencyDescriptionAccessBean | getDescription(java.lang.Integer languageId, java.lang.Integer storeId) Return CurrencyDescriptionAccessBean by languageId and storeId |
java.lang.String | getNote() This method provides access to the SETCURR.SETCNOTE column of DB2 type VARCHAR(40). |
java.lang.String | getNumericCurrencyCode() This method provides access to the SETCURR.SETCCODE column of DB2 type INTEGER NOT NULL. |
java.lang.Integer | getNumericCurrencyCodeInEJBType() This method provides access to the SETCURR.SETCCODE column of DB2 type INTEGER NOT NULL. |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() Load data from the EJBObject. |
void | setCurrencyExponent(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setCurrencyExponent(java.lang.String newValue) This method accesses a non-CMP field |
void | setInitKey_currencyCode(java.lang.String newValue) Set the primary key for this object |
void | setNote(java.lang.String newValue) This method accesses a non-CMP field |
void | setNumericCurrencyCode(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setNumericCurrencyCode(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 CurrencyAccessBean()
public CurrencyAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
Method Detail |
public CurrencyAccessBean findByStoreEntityAndLanguage(java.lang.Integer storeEntityId, java.lang.Integer languageId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all CurrencyAccessBeans according to the search criteria
The SQL query used to fetch the requested row from the SETCURR table is:
SELECT * FROM SETCURR T1 WHERE T1.SETCCURR = (SELECT STORELANG.SETCCURR FROM STORELANG WHERE STORELANG.STOREENT_ID = ? AND STORELANG.LANGUAGE_ID = ?)
public java.util.Enumeration findAll() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all CurrencyAccessBeans
The SQL query used to fetch the requested row from the SETCURR table is:
SELECT * FROM SETCURR T1 WHERE 1 = 1
public java.util.Enumeration findByNumericCurrencyCode(java.lang.Integer aCurrencyCode) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all CurrencyAccessBeans according to the search criteria
The SQL query used to fetch the requested row from the SETCURR table is:
SELECT * FROM SETCURR T1 WHERE T1.SETCCODE = ?
public void setInitKey_currencyCode(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 getNumericCurrencyCode() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the SETCURR.SETCCODE column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Numeric currency code as per ISO 4217.
public java.lang.Integer getNumericCurrencyCodeInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the SETCURR.SETCCODE column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Numeric currency code as per ISO 4217.
public void setNumericCurrencyCode(java.lang.String newValue)
public void setNumericCurrencyCode(java.lang.Integer newValue)
public java.lang.String getNote() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the SETCURR.SETCNOTE column of DB2 type VARCHAR(40).
The following is a description of this column:
Customizable. This column is not translated. The translatable text describing the currency in this table are stored in the SETCURRDSC table.
public void setNote(java.lang.String newValue)
public java.lang.String getCurrencyCode() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the SETCURR.SETCCURR column of DB2 type CHAR(3) NOT NULL.
The following is a description of this column:
Alphabetic currency code as per ISO 4217. This is the primary key.
public java.lang.String getCurrencyExponent() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the SETCURR.SETCEXP column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Exponent (power of 10). The exponential value by which a sub-unit of the currency (such as cents) is multiplied to get the main currency unit. For example, you would multiply the number of cents by 10 to the power -2 to get the number of dollars.
public java.lang.Integer getCurrencyExponentInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the SETCURR.SETCEXP column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Exponent (power of 10). The exponential value by which a sub-unit of the currency (such as cents) is multiplied to get the main currency unit. For example, you would multiply the number of cents by 10 to the power -2 to get the number of dollars.
public void setCurrencyExponent(java.lang.String newValue)
public void setCurrencyExponent(java.lang.Integer newValue)
public CurrencyDescriptionAccessBean getDescription(java.lang.Integer languageId, java.lang.Integer storeId) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
Return CurrencyDescriptionAccessBean by languageId and storeId
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.