java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.common.objects.CurrencyDescriptionAccessBean
This table stores the text descriptions for each of the currency in the SETCURR table in each of the supported language. This access bean corresponds to the database table 'SETCURRDSC'.
Constructor Summary | |
CurrencyDescriptionAccessBean() Zero argument constructor used to initialize the access bean. |
|
CurrencyDescriptionAccessBean(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 | findByLanguageId(java.lang.Integer aLanguageId) Retrieves all CurrencyDescriptionAccessBeans by language id |
java.lang.String | getCurrencyCode() This method provides access to the SETCURRDSC.SETCCURR column of DB2 type CHAR(3) NOT NULL. |
java.lang.String | getDescription() This method provides access to the SETCURRDSC.DESCRIPTION column of DB2 type VARCHAR(254). |
java.lang.String | getLanguageId() This method provides access to the SETCURRDSC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer | getLanguageIdInEJBType() This method provides access to the SETCURRDSC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL. |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() Load data from the EJBObject. |
void | setCurrencyCode(java.lang.String newValue) This method accesses a non-CMP field |
void | setDescription(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 | setInitKey_languageId(java.lang.String newValue) Set the primary key for this object |
void | setLanguageId(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setLanguageId(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 CurrencyDescriptionAccessBean()
public CurrencyDescriptionAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
Method Detail |
public java.util.Enumeration findByLanguageId(java.lang.Integer aLanguageId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all CurrencyDescriptionAccessBeans by language id
The SQL query used to fetch the requested row from the SETCURRDSC table is:
SELECT * FROM SETCURRDSC T1 WHERE T1.language_id = ?
public void setInitKey_currencyCode(java.lang.String newValue)
Set the primary key for this object
public void setInitKey_languageId(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 getDescription() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the SETCURRDSC.DESCRIPTION column of DB2 type VARCHAR(254).
The following is a description of this column:
The text description of the currency in the language identified by LANGUAGE_ID.
public void setDescription(java.lang.String newValue)
public java.lang.String getLanguageId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the SETCURRDSC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Language ID of the Language. Foreign key that references the LANGUAGE_ID column in the Language table. For a list of language components, see the LANGUAGE table.
public java.lang.Integer getLanguageIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the SETCURRDSC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Language ID of the Language. Foreign key that references the LANGUAGE_ID column in the Language table. For a list of language components, see the LANGUAGE table.
public void setLanguageId(java.lang.String newValue)
public void setLanguageId(java.lang.Integer 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 SETCURRDSC.SETCCURR column of DB2 type CHAR(3) NOT NULL.
The following is a description of this column:
This is a currency code as per ISO 4217 standards. Foreign key that references column SETCCURR in the SETCURR table.
public void setCurrencyCode(java.lang.String newValue)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.