com.ibm.commerce.common.objimpl
Class SupportedCurrencyBeanBase

java.lang.Object
  |
  +--com.ibm.commerce.base.objects.ECEntityBean
        |
        +--com.ibm.commerce.common.objimpl.SupportedCurrencyBeanBase

public class SupportedCurrencyBeanBase
extends com.ibm.commerce.base.objects.ECEntityBean

Each row of this table represents an explicitly supported currency for a StoreEntity. A Store implicitly supports all its default currencies (see the STORELANG table), and all currencies supported by its StoreGroup.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
           
 java.lang.String currency
           
 java.lang.Integer storeEntityId
           
 
Constructor Summary
SupportedCurrencyBeanBase()
           
 
Method Summary
 com.ibm.commerce.common.objects.SupportedCurrencyKey ejbCreate(java.lang.Integer aStoreEntityId, java.lang.String aCurrency)
          ejbCreate method for a CMP entity bean
 java.lang.String getCurrency()
          The supported currency.
 java.lang.Integer getStoreEntityId()
          The StoreEntity.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail
public static final java.lang.String COPYRIGHT
See Also:
Constant Field Values

storeEntityId

public java.lang.Integer storeEntityId

currency

public java.lang.String currency
Constructor Detail

SupportedCurrencyBeanBase

public SupportedCurrencyBeanBase()
Method Detail

getCurrency

public java.lang.String getCurrency()
The supported currency. A Store must be able to accept payment in all its supported currencies.
Returns:
java.lang.String

getStoreEntityId

public java.lang.Integer getStoreEntityId()
The StoreEntity.
Returns:
java.lang.Integer

ejbCreate

public com.ibm.commerce.common.objects.SupportedCurrencyKey ejbCreate(java.lang.Integer aStoreEntityId,
                                                                      java.lang.String aCurrency)
                                                               throws javax.ejb.CreateException,
                                                                      javax.ejb.FinderException,
                                                                      javax.naming.NamingException
ejbCreate method for a CMP entity bean
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException