com.ibm.commerce.common.objects
Class CurrencyFormatDescriptionAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractAccessBean
        |
        +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
              |
              +--com.ibm.commerce.common.objects.CurrencyFormatDescriptionAccessBean
All Implemented Interfaces:
CurrencyFormatDescriptionAccessBeanData, java.io.Serializable

public class CurrencyFormatDescriptionAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements CurrencyFormatDescriptionAccessBeanData

This bean provides access to the CURFMTDESC table.

The following is a description of this table:

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.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
CurrencyFormatDescriptionAccessBean()
          Default constructor.
CurrencyFormatDescriptionAccessBean(javax.ejb.EJBObject ejbObject)
          Creates an access bean for the specified EJB
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
 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) NULL.
 java.lang.String getCurrencyPrefixPositive()
          This method provides access to the CURFMTDESC.CURRENCYPREFIXPOS column of DB2 type VARCHAR(254) NULL.
 java.lang.String getCurrencySuffixNegative()
          This method provides access to the CURFMTDESC.CURRENCYSUFFIXNEG column of DB2 type VARCHAR(254) NULL.
 java.lang.String getCurrencySuffixPositive()
          This method provides access to the CURFMTDESC.CURRENCYSUFFIXPOS column of DB2 type VARCHAR(254) NULL.
 java.lang.String getCurrencySymbol()
          This method provides access to the CURFMTDESC.CURRENCYSYMBOL column of DB2 type VARCHAR(254) NULL.
 java.lang.String getCustomizedCurrencyCode()
          This method provides access to the CURFMTDESC.CUSTOMIZEDCURRSTR column of DB2 type VARCHAR(254) NULL.
 java.lang.String getDescription()
          This method provides access to the CURFMTDESC.DESCRIPTION column of DB2 type VARCHAR(254) NULL.
 java.lang.String getDisplayLocale()
          This method provides access to the CURFMTDESC.DISPLAYLOCALE column of DB2 type CHAR(16) NULL.
 java.lang.String getGroupingCharacter()
          This method provides access to the CURFMTDESC.GROUPINGCHAR column of DB2 type CHAR(1) NULL.
 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) NULL.
 java.lang.String getNumberUsgId()
          This method provides access to the CURFMTDESC.NUMBRUSG_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getNumberUsgIdInEJBType()
          This method provides access to the CURFMTDESC.NUMBRUSG_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getRadixPoint()
          This method provides access to the CURFMTDESC.RADIXPOINT column of DB2 type CHAR(1) NULL.
 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.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setCurrencyPrefixNegative(java.lang.String aCurrencyPrefixNegative)
          This method provides access to the CURFMTDESC.CURRENCYPREFIXNEG column of DB2 type VARCHAR(254) NULL.
 void setCurrencyPrefixPositive(java.lang.String aCurrencyPrefixPositive)
          This method provides access to the CURFMTDESC.CURRENCYPREFIXPOS column of DB2 type VARCHAR(254) NULL.
 void setCurrencySuffixNegative(java.lang.String aCurrencySuffixNegative)
          This method provides access to the CURFMTDESC.CURRENCYSUFFIXNEG column of DB2 type VARCHAR(254) NULL.
 void setCurrencySuffixPositive(java.lang.String aCurrencySuffixPositive)
          This method provides access to the CURFMTDESC.CURRENCYSUFFIXPOS column of DB2 type VARCHAR(254) NULL.
 void setCurrencySymbol(java.lang.String aCurrencySymbol)
          This method provides access to the CURFMTDESC.CURRENCYSYMBOL column of DB2 type VARCHAR(254) NULL.
 void setCustomizedCurrencyCode(java.lang.String aCustomizedCurrencyCode)
          This method provides access to the CURFMTDESC.CUSTOMIZEDCURRSTR column of DB2 type VARCHAR(254) NULL.
 void setDescription(java.lang.String aDescription)
          This method provides access to the CURFMTDESC.DESCRIPTION column of DB2 type VARCHAR(254) NULL.
 void setDisplayLocale(java.lang.String aDisplayLocale)
          This method provides access to the CURFMTDESC.DISPLAYLOCALE column of DB2 type CHAR(16) NULL.
 void setGroupingCharacter(java.lang.String aGroupingCharacter)
          This method provides access to the CURFMTDESC.GROUPINGCHAR column of DB2 type CHAR(1) NULL.
 void setInitKey_currencyCode(java.lang.String aInitKey_currencyCode)
          Set the primary key for this object
 void setInitKey_languageId(java.lang.String aInitKey_languageId)
          Set the primary key for this object
 void setInitKey_numberUsgId(java.lang.String aInitKey_numberUsgId)
          Set the primary key for this object
 void setInitKey_storeEntityId(java.lang.String aInitKey_storeEntityId)
          Set the primary key for this object
 void setNumberPattern(java.lang.String aNumberPattern)
          This method provides access to the CURFMTDESC.NUMBERPATTERN column of DB2 type VARCHAR(254) NULL.
 void setNumberUsgId(java.lang.Integer aNumberUsgId)
          This method provides access to the CURFMTDESC.NUMBRUSG_ID column of DB2 type INTEGER NOT NULL.
 void setNumberUsgId(java.lang.String aNumberUsgId)
          This method provides access to the CURFMTDESC.NUMBRUSG_ID column of DB2 type INTEGER NOT NULL.
 void setRadixPoint(java.lang.String aRadixPoint)
          This method provides access to the CURFMTDESC.RADIXPOINT column of DB2 type CHAR(1) NULL.
 
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
__getCache, __getCache, __getKey, __setCache, __setCache, __setKey, commitCopyHelper, createAccessBeans, createAccessBeans, instantiateEJBByPrimaryKey, refreshCopyHelper, setEJBRef
 
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
defaultJNDIName, defaultNameServiceType, defaultNameServiceURL, getEJBRef, getGlobalHome, getHome, getInit_GlobalNameServiceTypeName, getInit_GlobalNameServiceURLName, getInit_JNDIName, getInit_NameServiceTypeName, getInit_NameServiceURLName, getInitContext, getInitContext, instantiateEJB, resetEJBRef, resetHomeCache, setInit_GlobalNameServiceTypeName, setInit_GlobalNameServiceURLName, setInit_JNDIName, setInit_NameServiceTypeName, setInit_NameServiceURLName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CurrencyFormatDescriptionAccessBean

public CurrencyFormatDescriptionAccessBean()

Default constructor. Maps to findByPrimaryKey.


CurrencyFormatDescriptionAccessBean

public CurrencyFormatDescriptionAccessBean(javax.ejb.EJBObject ejbObject)
                                    throws java.rmi.RemoteException

Creates an access bean for the specified EJB

Parameters:
ejbObject - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
Method Detail

commitCopyHelper

public void commitCopyHelper()
                      throws java.rmi.RemoteException,
                             javax.ejb.CreateException,
                             javax.ejb.FinderException,
                             javax.naming.NamingException

Update(flush) data to the EJBObject (persistent storage).

Overrides:
commitCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findAll

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

Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findByStoreAndCurrency

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 = ?)

Parameters:
storeEntityId - java.lang.Integer
currency - java.lang.String
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getCurrencyCode

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.

Specified by:
getCurrencyCode in interface CurrencyFormatDescriptionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getCurrencyPrefixNegative

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) NULL.

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.

Specified by:
getCurrencyPrefixNegative in interface CurrencyFormatDescriptionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getCurrencyPrefixPositive

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) NULL.

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.

Specified by:
getCurrencyPrefixPositive in interface CurrencyFormatDescriptionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getCurrencySuffixNegative

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) NULL.

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.

Specified by:
getCurrencySuffixNegative in interface CurrencyFormatDescriptionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getCurrencySuffixPositive

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) NULL.

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.

Specified by:
getCurrencySuffixPositive in interface CurrencyFormatDescriptionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getCurrencySymbol

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) NULL.

The following is a description of this column:

The currency symbol.

Specified by:
getCurrencySymbol in interface CurrencyFormatDescriptionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getCustomizedCurrencyCode

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) NULL.

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.

Specified by:
getCustomizedCurrencyCode in interface CurrencyFormatDescriptionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getDescription

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) NULL.

The following is a description of this column:

A description of the currency, suitable for display to customers in a currency selection list.

Specified by:
getDescription in interface CurrencyFormatDescriptionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getDisplayLocale

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) NULL.

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.

Specified by:
getDisplayLocale in interface CurrencyFormatDescriptionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getGroupingCharacter

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) NULL.

The following is a description of this column:

The grouping character used by the NumberFormat object. Refer to CURFMTDESC table: details for more information.

Specified by:
getGroupingCharacter in interface CurrencyFormatDescriptionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getLanguageId

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.

Specified by:
getLanguageId in interface CurrencyFormatDescriptionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getLanguageIdInEJBType

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.

Returns:
java.lang.Integer
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getNumberPattern

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) NULL.

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.

Specified by:
getNumberPattern in interface CurrencyFormatDescriptionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getNumberUsgId

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.

The following is a description of this column:

This currency formatting rule should be used when formatting monetary amounts for this usage.

Specified by:
getNumberUsgId in interface CurrencyFormatDescriptionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getNumberUsgIdInEJBType

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.

The following is a description of this column:

This currency formatting rule should be used when formatting monetary amounts for this usage.

Returns:
java.lang.Integer
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getRadixPoint

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) NULL.

The following is a description of this column:

The radix point for the NumberFormat object. Refer to CURFMTDESC table: details for more information.

Specified by:
getRadixPoint in interface CurrencyFormatDescriptionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getStoreEntityId

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.

Specified by:
getStoreEntityId in interface CurrencyFormatDescriptionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getStoreEntityIdInEJBType

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.

Returns:
java.lang.Integer
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

refreshCopyHelper

public void refreshCopyHelper()
                       throws java.rmi.RemoteException,
                              javax.ejb.CreateException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException

Load data from the EJBObject.

Overrides:
refreshCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

setCurrencyPrefixNegative

public void setCurrencyPrefixNegative(java.lang.String aCurrencyPrefixNegative)

This method provides access to the CURFMTDESC.CURRENCYPREFIXNEG column of DB2 type VARCHAR(254) NULL.

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.

Specified by:
setCurrencyPrefixNegative in interface CurrencyFormatDescriptionAccessBeanData
Parameters:
aCurrencyPrefixNegative - java.lang.String
Returns:
void

setCurrencyPrefixPositive

public void setCurrencyPrefixPositive(java.lang.String aCurrencyPrefixPositive)

This method provides access to the CURFMTDESC.CURRENCYPREFIXPOS column of DB2 type VARCHAR(254) NULL.

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.

Specified by:
setCurrencyPrefixPositive in interface CurrencyFormatDescriptionAccessBeanData
Parameters:
aCurrencyPrefixPositive - java.lang.String
Returns:
void

setCurrencySuffixNegative

public void setCurrencySuffixNegative(java.lang.String aCurrencySuffixNegative)

This method provides access to the CURFMTDESC.CURRENCYSUFFIXNEG column of DB2 type VARCHAR(254) NULL.

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.

Specified by:
setCurrencySuffixNegative in interface CurrencyFormatDescriptionAccessBeanData
Parameters:
aCurrencySuffixNegative - java.lang.String
Returns:
void

setCurrencySuffixPositive

public void setCurrencySuffixPositive(java.lang.String aCurrencySuffixPositive)

This method provides access to the CURFMTDESC.CURRENCYSUFFIXPOS column of DB2 type VARCHAR(254) NULL.

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.

Specified by:
setCurrencySuffixPositive in interface CurrencyFormatDescriptionAccessBeanData
Parameters:
aCurrencySuffixPositive - java.lang.String
Returns:
void

setCurrencySymbol

public void setCurrencySymbol(java.lang.String aCurrencySymbol)

This method provides access to the CURFMTDESC.CURRENCYSYMBOL column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

The currency symbol.

Specified by:
setCurrencySymbol in interface CurrencyFormatDescriptionAccessBeanData
Parameters:
aCurrencySymbol - java.lang.String
Returns:
void

setCustomizedCurrencyCode

public void setCustomizedCurrencyCode(java.lang.String aCustomizedCurrencyCode)

This method provides access to the CURFMTDESC.CUSTOMIZEDCURRSTR column of DB2 type VARCHAR(254) NULL.

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.

Specified by:
setCustomizedCurrencyCode in interface CurrencyFormatDescriptionAccessBeanData
Parameters:
aCustomizedCurrencyCode - java.lang.String
Returns:
void

setDescription

public void setDescription(java.lang.String aDescription)

This method provides access to the CURFMTDESC.DESCRIPTION column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

A description of the currency, suitable for display to customers in a currency selection list.

Specified by:
setDescription in interface CurrencyFormatDescriptionAccessBeanData
Parameters:
aDescription - java.lang.String
Returns:
void

setDisplayLocale

public void setDisplayLocale(java.lang.String aDisplayLocale)

This method provides access to the CURFMTDESC.DISPLAYLOCALE column of DB2 type CHAR(16) NULL.

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.

Specified by:
setDisplayLocale in interface CurrencyFormatDescriptionAccessBeanData
Parameters:
aDisplayLocale - java.lang.String
Returns:
void

setGroupingCharacter

public void setGroupingCharacter(java.lang.String aGroupingCharacter)

This method provides access to the CURFMTDESC.GROUPINGCHAR column of DB2 type CHAR(1) NULL.

The following is a description of this column:

The grouping character used by the NumberFormat object. Refer to CURFMTDESC table: details for more information.

Specified by:
setGroupingCharacter in interface CurrencyFormatDescriptionAccessBeanData
Parameters:
aGroupingCharacter - java.lang.String
Returns:
void

setInitKey_currencyCode

public void setInitKey_currencyCode(java.lang.String aInitKey_currencyCode)

Set the primary key for this object

Parameters:
aInitKey_currencyCode - java.lang.String
Returns:
void

setInitKey_languageId

public void setInitKey_languageId(java.lang.String aInitKey_languageId)

Set the primary key for this object

Parameters:
aInitKey_languageId - java.lang.String
Returns:
void

setInitKey_numberUsgId

public void setInitKey_numberUsgId(java.lang.String aInitKey_numberUsgId)

Set the primary key for this object

Parameters:
aInitKey_numberUsgId - java.lang.String
Returns:
void

setInitKey_storeEntityId

public void setInitKey_storeEntityId(java.lang.String aInitKey_storeEntityId)

Set the primary key for this object

Parameters:
aInitKey_storeEntityId - java.lang.String
Returns:
void

setNumberPattern

public void setNumberPattern(java.lang.String aNumberPattern)

This method provides access to the CURFMTDESC.NUMBERPATTERN column of DB2 type VARCHAR(254) NULL.

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.

Specified by:
setNumberPattern in interface CurrencyFormatDescriptionAccessBeanData
Parameters:
aNumberPattern - java.lang.String
Returns:
void

setNumberUsgId

public void setNumberUsgId(java.lang.Integer aNumberUsgId)

This method provides access to the CURFMTDESC.NUMBRUSG_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

This currency formatting rule should be used when formatting monetary amounts for this usage.

Parameters:
aNumberUsgId - java.lang.Integer
Returns:
void

setNumberUsgId

public void setNumberUsgId(java.lang.String aNumberUsgId)

This method provides access to the CURFMTDESC.NUMBRUSG_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

This currency formatting rule should be used when formatting monetary amounts for this usage.

Specified by:
setNumberUsgId in interface CurrencyFormatDescriptionAccessBeanData
Parameters:
aNumberUsgId - java.lang.String
Returns:
void

setRadixPoint

public void setRadixPoint(java.lang.String aRadixPoint)

This method provides access to the CURFMTDESC.RADIXPOINT column of DB2 type CHAR(1) NULL.

The following is a description of this column:

The radix point for the NumberFormat object. Refer to CURFMTDESC table: details for more information.

Specified by:
setRadixPoint in interface CurrencyFormatDescriptionAccessBeanData
Parameters:
aRadixPoint - java.lang.String
Returns:
void