com.ibm.commerce.common.objects
Class SupportedLanguageBean

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

public class SupportedLanguageBean
implements java.io.Serializable

This bean provides access to the STORELANG table.

The following is a description of this table:

Each row of this table indicates that a StoreEntity supports a language. A Store also supports all languages supported by its StoreGroup, and must be able to provide information when requested for a supported language. See also the LANGPAIR table.

See Also:
Serialized Form

Constructor Summary
SupportedLanguageBean()
           
 
Method Summary
 java.lang.String getCurrency()
          This method provides access to the STORELANG.SETCCURR column of DB2 type CHAR(3) NULL.
 java.lang.Integer getLanguageId()
          This method provides access to the STORELANG.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getStoreEntityId()
          This method provides access to the STORELANG.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 void setCurrency(java.lang.String aCurrency)
          This method provides access to the STORELANG.SETCCURR column of DB2 type CHAR(3) NULL.
 

Constructor Detail

SupportedLanguageBean

public SupportedLanguageBean()
Method Detail

getCurrency

public java.lang.String getCurrency()

This method provides access to the STORELANG.SETCCURR column of DB2 type CHAR(3) NULL.

The following is a description of this column:

A default currency for customers using the supported Language in a Store. This is a currency code as per ISO 4217 standards. A Store may override the default currency for its StoreGroup by specifying the same language and a different default currency.

Returns:
java.lang.String

getLanguageId

public java.lang.Integer getLanguageId()

This method provides access to the STORELANG.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The language supported by the StoreEntity. For a list of language components, see the LANGUAGE table.

Returns:
java.lang.Integer

getStoreEntityId

public java.lang.Integer getStoreEntityId()

This method provides access to the STORELANG.STOREENT_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The StoreEntity. In addition to its explicitly supported languages, a Store implicitly supports the languages supported by its StoreGroup.

Returns:
java.lang.Integer

setCurrency

public void setCurrency(java.lang.String aCurrency)

This method provides access to the STORELANG.SETCCURR column of DB2 type CHAR(3) NULL.

The following is a description of this column:

A default currency for customers using the supported Language in a Store. This is a currency code as per ISO 4217 standards. A Store may override the default currency for its StoreGroup by specifying the same language and a different default currency.

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