com.ibm.commerce.common.objects
Class AlternativeLanguageBean

com.ibm.commerce.common.objects.AlternativeLanguageBean

public class AlternativeLanguageBean

This bean provides access to the LANGPAIR table.

The following is a description of this table:

Each row of this table represents an alternative language relationship, for a particular StoreEntity. When information is not available in the requested language, information in the alternative language may be used instead.


Constructor Summary
AlternativeLanguageBean()
           
 
Method Summary
 java.lang.Integer getAlternativeLanguageId()
          This method provides access to the LANGPAIR.LANGUAGE_ID_ALT column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getLanguageId()
          This method provides access to the LANGPAIR.LANGUAGE_ID_ALT column of DB2 type INTEGER NOT NULL.
 java.lang.Double getSequence()
          This method provides access to the LANGPAIR.SEQUENCE column of DB2 type FLOAT NOT NULL.
 java.lang.Integer getStoreEntityId()
          This method provides access to the LANGPAIR.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 void setSequence(java.lang.Double aSequence)
          This method provides access to the LANGPAIR.SEQUENCE column of DB2 type FLOAT NOT NULL.
 

Constructor Detail

AlternativeLanguageBean

public AlternativeLanguageBean()
Method Detail

getAlternativeLanguageId

public java.lang.Integer getAlternativeLanguageId()

This method provides access to the LANGPAIR.LANGUAGE_ID_ALT column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The alternative language.

Returns:
java.lang.Integer

getLanguageId

public java.lang.Integer getLanguageId()

This method provides access to the LANGPAIR.LANGUAGE_ID_ALT column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The alternative language.

Returns:
java.lang.Integer

getSequence

public java.lang.Double getSequence()

This method provides access to the LANGPAIR.SEQUENCE column of DB2 type FLOAT NOT NULL.

The following is a description of this column:

When the requested language is supported (see the STORELANG table) but information is not available in that language, each alternative language is tried in ascending order of SEQUENCE. A Store may override the SEQUENCE specified for its StoreGroup.

Returns:
java.lang.Double

getStoreEntityId

public java.lang.Integer getStoreEntityId()

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

The following is a description of this column:

The StoreEntity this relationship is part of. The alternative language relationships for a store include the alternative language relationships for its StoreGroup.

Returns:
java.lang.Integer

setSequence

public void setSequence(java.lang.Double aSequence)

This method provides access to the LANGPAIR.SEQUENCE column of DB2 type FLOAT NOT NULL.

The following is a description of this column:

When the requested language is supported (see the STORELANG table) but information is not available in that language, each alternative language is tried in ascending order of SEQUENCE. A Store may override the SEQUENCE specified for its StoreGroup.

Parameters:
aSequence - java.lang.Double
Returns:
void