com.ibm.commerce.common.objects
Class CurrencyBean

com.ibm.commerce.common.objects.CurrencyBean
All Implemented Interfaces:
java.io.Serializable

public class CurrencyBean
implements java.io.Serializable

This bean provides access to the SETCURR table.

The following is a description of this table:

The table contains information about the different national currencies. The currency alphabetic and numeric codes are derived from the ISO 4217 standard.

See Also:
Serialized Form

Constructor Summary
CurrencyBean()
           
 
Method Summary
 java.lang.String getCurrencyCode()
          This method provides access to the SETCURR.SETCCODE column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getCurrencyExponent()
          This method provides access to the SETCURR.SETCEXP column of DB2 type INTEGER NOT NULL.
 java.lang.String getNote()
          This method provides access to the SETCURR.SETCNOTE column of DB2 type VARCHAR(40) NULL.
 java.lang.Integer getNumericCurrencyCode()
          This method provides access to the SETCURR.SETCCODE column of DB2 type INTEGER NOT NULL.
 void setCurrencyExponent(java.lang.Integer aCurrencyExponent)
          This method provides access to the SETCURR.SETCEXP column of DB2 type INTEGER NOT NULL.
 void setNote(java.lang.String aNote)
          This method provides access to the SETCURR.SETCNOTE column of DB2 type VARCHAR(40) NULL.
 void setNumericCurrencyCode(java.lang.Integer aNumericCurrencyCode)
          This method provides access to the SETCURR.SETCCODE column of DB2 type INTEGER NOT NULL.
 

Constructor Detail

CurrencyBean

public CurrencyBean()
Method Detail

getCurrencyCode

public java.lang.String getCurrencyCode()

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.

Returns:
java.lang.String

getCurrencyExponent

public java.lang.Integer getCurrencyExponent()

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.

Returns:
java.lang.Integer

getNote

public java.lang.String getNote()

This method provides access to the SETCURR.SETCNOTE column of DB2 type VARCHAR(40) NULL.

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.

Returns:
java.lang.String

getNumericCurrencyCode

public java.lang.Integer getNumericCurrencyCode()

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.

Returns:
java.lang.Integer

setCurrencyExponent

public void setCurrencyExponent(java.lang.Integer aCurrencyExponent)

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.

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

setNote

public void setNote(java.lang.String aNote)

This method provides access to the SETCURR.SETCNOTE column of DB2 type VARCHAR(40) NULL.

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.

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

setNumericCurrencyCode

public void setNumericCurrencyCode(java.lang.Integer aNumericCurrencyCode)

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.

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