java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.common.objects.CurrencyFormatDescriptionAccessBean
Each row of this table represents the Language-dependent part of a currency formatting rule. It describes how to format (for display purposes) a monetary amount in a particular currency, in a particular Language. This access bean corresponds to the database table 'CURFMTDESC'.
Constructor Summary | |
CurrencyFormatDescriptionAccessBean() Zero argument constructor used to initialize the access bean. |
|
CurrencyFormatDescriptionAccessBean(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 CurrencyFormatDescriptionAccessBeans |
java.util.Enumeration | findByStoreAndCurrency(java.lang.Integer storeEntityId, java.lang.String currency) Retrieves all CurrencyFormatDescriptionAccessBeans by storeEntityId and currency |
java.lang.String | getCurrencyCode() This method provides access to the CURFMTDESC.SETCCURR column of DB2 type CHAR(3) NOT NULL. |
java.lang.String | getCurrencyPrefixNegative() This method provides access to the CURFMTDESC.CURRENCYPREFIXNEG column of DB2 type VARCHAR(254). |
java.lang.String | getCurrencyPrefixPositive() This method provides access to the CURFMTDESC.CURRENCYPREFIXPOS column of DB2 type VARCHAR(254). |
java.lang.String | getCurrencySuffixNegative() This method provides access to the CURFMTDESC.CURRENCYSUFFIXNEG column of DB2 type VARCHAR(254). |
java.lang.String | getCurrencySuffixPositive() This method provides access to the CURFMTDESC.CURRENCYSUFFIXPOS column of DB2 type VARCHAR(254). |
java.lang.String | getCurrencySymbol() This method provides access to the CURFMTDESC.CURRENCYSYMBOL column of DB2 type VARCHAR(254). |
java.lang.String | getCustomizedCurrencyCode() This method provides access to the CURFMTDESC.CUSTOMIZEDCURRSTR column of DB2 type VARCHAR(254). |
java.lang.String | getDescription() This method provides access to the CURFMTDESC.DESCRIPTION column of DB2 type VARCHAR(254). |
java.lang.String | getDisplayLocale() This method provides access to the CURFMTDESC.DISPLAYLOCALE column of DB2 type CHAR(16). |
java.lang.String | getGroupingCharacter() This method provides access to the CURFMTDESC.GROUPINGCHAR column of DB2 type CHAR(1). |
java.lang.String | getLanguageId() This method provides access to the CURFMTDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer | getLanguageIdInEJBType() This method provides access to the CURFMTDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.String | getNumberPattern() This method provides access to the CURFMTDESC.NUMBERPATTERN column of DB2 type VARCHAR(254). |
java.lang.String | getNumberUsgId() This method provides access to the CURFMTDESC.NUMBRUSG_ID column of DB2 type INTEGER NOT NULL DEFAULT -1. |
java.lang.Integer | getNumberUsgIdInEJBType() This method provides access to the CURFMTDESC.NUMBRUSG_ID column of DB2 type INTEGER NOT NULL DEFAULT -1. |
java.lang.String | getRadixPoint() This method provides access to the CURFMTDESC.RADIXPOINT column of DB2 type CHAR(1). |
java.lang.String | getStoreEntityId() This method provides access to the CURFMTDESC.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer | getStoreEntityIdInEJBType() This method provides access to the CURFMTDESC.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() Load data from the EJBObject. |
void | setCurrencyPrefixNegative(java.lang.String newValue) This method accesses a non-CMP field |
void | setCurrencyPrefixPositive(java.lang.String newValue) This method accesses a non-CMP field |
void | setCurrencySuffixNegative(java.lang.String newValue) This method accesses a non-CMP field |
void | setCurrencySuffixPositive(java.lang.String newValue) This method accesses a non-CMP field |
void | setCurrencySymbol(java.lang.String newValue) This method accesses a non-CMP field |
void | setCustomizedCurrencyCode(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 | setDisplayLocale(java.lang.String newValue) This method accesses a non-CMP field |
void | setGroupingCharacter(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 | setInitKey_numberUsgId(java.lang.String newValue) Set the primary key for this object |
void | setInitKey_storeEntityId(java.lang.String newValue) Set the primary key for this object |
void | setNumberPattern(java.lang.String newValue) This method accesses a non-CMP field |
void | setNumberUsgId(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setNumberUsgId(java.lang.String newValue) This method accesses a non-CMP field |
void | setRadixPoint(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 CurrencyFormatDescriptionAccessBean()
public CurrencyFormatDescriptionAccessBean(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 CurrencyFormatDescriptionAccessBeans
The SQL query used to fetch the requested row from the CURFMTDESC table is:
SELECT * FROM CURFMTDESC T1 WHERE (1 = 1) ORDER BY T1.STOREENT_ID, T1.SETCCUR
public java.util.Enumeration findByStoreAndCurrency(java.lang.Integer storeEntityId, java.lang.String currency) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all CurrencyFormatDescriptionAccessBeans by storeEntityId and currency
The SQL query used to fetch the requested row from the CURFMTDESC table is:
SELECT * FROM CURFMTDESC T1 WHERE (T1.STOREENT_ID = ? AND T1.SETCCURR = ?)
public void setInitKey_languageId(java.lang.String newValue)
Set the primary key for this object
public void setInitKey_storeEntityId(java.lang.String newValue)
Set the primary key for this object
public void setInitKey_currencyCode(java.lang.String newValue)
Set the primary key for this object
public void setInitKey_numberUsgId(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 CURFMTDESC.DESCRIPTION column of DB2 type VARCHAR(254).
The following is a description of this column:
A description of the currency, suitable for display to customers in a currency selection list.
public void setDescription(java.lang.String newValue)
public java.lang.String getNumberPattern() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CURFMTDESC.NUMBERPATTERN column of DB2 type VARCHAR(254).
The following is a description of this column:
The number pattern to be applied to the NumberFormat object. The number pattern is described in the JDK documentation for the class java.text.DecimalFormat. If this is NULL then the default number pattern of the NumberFormat object is used.
public void setNumberPattern(java.lang.String newValue)
public java.lang.String getCurrencySymbol() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CURFMTDESC.CURRENCYSYMBOL column of DB2 type VARCHAR(254).
The following is a description of this column:
The currency symbol.
public void setCurrencySymbol(java.lang.String newValue)
public java.lang.String getCurrencySuffixNegative() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CURFMTDESC.CURRENCYSUFFIXNEG column of DB2 type VARCHAR(254).
The following is a description of this column:
The suffix to use when the monetary amount is negative. If this field and CURRENCYPREFIXNEG are null then the negativeSuffix of the NumberFormat will be used.
public void setCurrencySuffixNegative(java.lang.String newValue)
public java.lang.String getDisplayLocale() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CURFMTDESC.DISPLAYLOCALE column of DB2 type CHAR(16).
The following is a description of this column:
The Java locale used to create a currency NumberFormat object that is used to do the formatting. If this is NULL then the locale associated with the LANGUAGE_ID (see the LANGUAGE table) is used.
public void setDisplayLocale(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 CURFMTDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The language. 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 CURFMTDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The language. For a list of language components, see the LANGUAGE table.
public java.lang.String getGroupingCharacter() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CURFMTDESC.GROUPINGCHAR column of DB2 type CHAR(1).
The following is a description of this column:
The grouping character used by the NumberFormat object. For example, when formatting dollars for the U.S. English Language this would be the thousands separator. If this is null, then the grouping separator of the currency NumberFormat, associated with the DisplayLocale, will be used.
public void setGroupingCharacter(java.lang.String newValue)
public java.lang.String getNumberUsgId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CURFMTDESC.NUMBRUSG_ID column of DB2 type INTEGER NOT NULL DEFAULT -1.
The following is a description of this column:
This currency formatting rule should be used when formatting monetary amounts for this usage.
public java.lang.Integer getNumberUsgIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CURFMTDESC.NUMBRUSG_ID column of DB2 type INTEGER NOT NULL DEFAULT -1.
The following is a description of this column:
This currency formatting rule should be used when formatting monetary amounts for this usage.
public void setNumberUsgId(java.lang.String newValue)
public void setNumberUsgId(java.lang.Integer newValue)
public java.lang.String getCurrencySuffixPositive() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CURFMTDESC.CURRENCYSUFFIXPOS column of DB2 type VARCHAR(254).
The following is a description of this column:
The suffix to use when the monetary amount is positive. If this field and CURRENCYPREFIXPOS are null then the positiveSuffix of the NumberFormat will be used.
public void setCurrencySuffixPositive(java.lang.String newValue)
public java.lang.String getCustomizedCurrencyCode() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CURFMTDESC.CUSTOMIZEDCURRSTR column of DB2 type VARCHAR(254).
The following is a description of this column:
An alternate currency code. WebSphere Commerce does not use this value. You may supply a value and write your JSP macros to use it.
public void setCustomizedCurrencyCode(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 CURFMTDESC.SETCCURR column of DB2 type CHAR(3) NOT NULL.
The following is a description of this column:
The currency. This is a currency code as per ISO 4217 standards.
public java.lang.String getStoreEntityId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CURFMTDESC.STOREENT_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The StoreEntity this formatting 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 CURFMTDESC.STOREENT_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The StoreEntity this formatting rule is part of.
public java.lang.String getCurrencyPrefixPositive() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CURFMTDESC.CURRENCYPREFIXPOS column of DB2 type VARCHAR(254).
The following is a description of this column:
The prefix to use when the monetary amount is positive. If this field and CURRENCYSUFFIXPOS are null then the positivePrefix of the NumberFormat will be used.
public void setCurrencyPrefixPositive(java.lang.String newValue)
public java.lang.String getRadixPoint() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CURFMTDESC.RADIXPOINT column of DB2 type CHAR(1).
The following is a description of this column:
The radix point for the NumberFormat object. For example, when formatting dollars for the U.S. English Language, this would be the decimal point character. If this is null, then the decimal separator of the currency NumberFormat, associated with the DisplayLocale, will be used.
public void setRadixPoint(java.lang.String newValue)
public java.lang.String getCurrencyPrefixNegative() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CURFMTDESC.CURRENCYPREFIXNEG column of DB2 type VARCHAR(254).
The following is a description of this column:
The prefix to use when the monetary amount is negative. If this field and CURRENCYSUFFIXNEG are null then the negativePrefix of the NumberFormat will be used.
public void setCurrencyPrefixNegative(java.lang.String newValue)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.