com.ibm.commerce.common.objects
Class CurrencyCounterValueListAccessBean

java.lang.Object
  com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
      com.ibm.commerce.common.objects.CurrencyCounterValueListAccessBean
All Implemented Interfaces:
CurrencyCounterValueListAccessBeanData

public class CurrencyCounterValueListAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements CurrencyCounterValueListAccessBeanData

Each row of this table represents a CounterCurrencyPair. The primary use of this information is for &quo This access bean corresponds to the database table 'CURCVLIST'.

See Also:
Serialized Form

Constructor Summary
CurrencyCounterValueListAccessBean()
Zero argument constructor used to initialize the access bean.
CurrencyCounterValueListAccessBean(javax.ejb.EJBObject o)
constructor
Method Summary
void commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage).
protected java.lang.String defaultJNDIName()
java.util.Enumeration findAll()
Retrieves all CurrencyCounterValueListAccessBeans
java.lang.String getCounterValueCurrency()
This method provides access to the CURCVLIST.COUNTERVALUECURR column of DB2 type CHAR(3) NOT NULL.
java.lang.String getCurrency()
This method provides access to the CURCVLIST.CURRSTR column of DB2 type CHAR(3) NOT NULL.
java.lang.Integer getDisplaySequence()
This method provides access to the CURCVLIST.DISPLAYSEQ column of DB2 type FLOAT NOT NULL.
java.lang.Integer getStoreEntityId()
This method provides access to the CURCVLIST.STOREENT_ID column of DB2 type INTEGER NOT NULL.
protected void instantiateEJB()
protected boolean instantiateEJBByPrimaryKey()
void refreshCopyHelper()
Load data from the EJBObject.
void setInitKey_counterValueCurrency(java.lang.String newValue)
Set the primary key for this object
void setInitKey_currency(java.lang.String newValue)
Set the primary key for this object
void setInitKey_displaySequence(java.lang.Integer newValue)
Set the primary key for this object
void setInitKey_storeEntityId(java.lang.Integer newValue)
Set the primary key for this object
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

CurrencyCounterValueListAccessBean

public CurrencyCounterValueListAccessBean()
Zero argument constructor used to initialize the access bean. This constructor corresponds to the following home interface method: public abstract com.ibm.commerce.common.objects.CurrencyCounterValueList com.ibm.commerce.common.objimpl.CurrencyCounterValueListHomeBase.findByPrimaryKey(com.ibm.commerce.common.objects.CurrencyCounterValueListKey) throws java.rmi.RemoteException,javax.ejb.FinderException The home interface method properties need to be set by calling the following setter methods before calling any business methods: setInitKey_counterValueCurrency( java.lang.String ) setInitKey_currency( java.lang.String ) setInitKey_displaySequence( java.lang.Integer ) setInitKey_storeEntityId( java.lang.Integer )

CurrencyCounterValueListAccessBean

public CurrencyCounterValueListAccessBean(javax.ejb.EJBObject o)
                                   throws java.rmi.RemoteException
constructor
Parameters:
o - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException
Method Detail

findAll

public java.util.Enumeration findAll()
                              throws java.rmi.RemoteException,
                                     javax.ejb.FinderException,
                                     javax.naming.NamingException

Retrieves all CurrencyCounterValueListAccessBeans

The SQL query used to fetch the requested row from the CURCVLIST table is:

SELECT * FROM CURCVLIST T1 WHERE 1 = 1 ORDER BY T1.DISPLAYSEQ

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

setInitKey_counterValueCurrency

public void setInitKey_counterValueCurrency(java.lang.String newValue)

Set the primary key for this object

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

setInitKey_currency

public void setInitKey_currency(java.lang.String newValue)

Set the primary key for this object

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

setInitKey_displaySequence

public void setInitKey_displaySequence(java.lang.Integer newValue)

Set the primary key for this object

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

setInitKey_storeEntityId

public void setInitKey_storeEntityId(java.lang.Integer newValue)

Set the primary key for this object

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

defaultJNDIName

protected java.lang.String defaultJNDIName()
Returns:
String

instantiateEJB

protected void instantiateEJB()
                       throws java.rmi.RemoteException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException
Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

instantiateEJBByPrimaryKey

protected boolean instantiateEJBByPrimaryKey()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             javax.naming.NamingException
Returns:
boolean
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.naming.NamingException

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

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

refreshCopyHelper

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

Load data from the EJBObject.

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getDisplaySequence

public java.lang.Integer getDisplaySequence()
                                     throws java.rmi.RemoteException,
                                            javax.ejb.CreateException,
                                            javax.ejb.FinderException,
                                            javax.naming.NamingException

This method provides access to the CURCVLIST.DISPLAYSEQ column of DB2 type FLOAT NOT NULL.

The following is a description of this column:

Counter value amounts, one for each counter value currency, are displayed in ascending sequence of DISPLAYSEQ.

Specified by:
getDisplaySequence in interface CurrencyCounterValueListAccessBeanData
Returns:
java.lang.Integer
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getCurrency

public java.lang.String getCurrency()
                             throws java.rmi.RemoteException,
                                    javax.ejb.CreateException,
                                    javax.ejb.FinderException,
                                    javax.naming.NamingException

This method provides access to the CURCVLIST.CURRSTR column of DB2 type CHAR(3) NOT NULL.

The following is a description of this column:

The shopping currency (in which customer intends to pay). This is a currency code as per ISO 4217 standards.

Specified by:
getCurrency in interface CurrencyCounterValueListAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getCounterValueCurrency

public java.lang.String getCounterValueCurrency()
                                         throws java.rmi.RemoteException,
                                                javax.ejb.CreateException,
                                                javax.ejb.FinderException,
                                                javax.naming.NamingException

This method provides access to the CURCVLIST.COUNTERVALUECURR column of DB2 type CHAR(3) NOT NULL.

The following is a description of this column:

A counter value currency (ISO 4217 standards code). When &quo

Specified by:
getCounterValueCurrency in interface CurrencyCounterValueListAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getStoreEntityId

public java.lang.Integer getStoreEntityId()
                                   throws java.rmi.RemoteException,
                                          javax.ejb.CreateException,
                                          javax.ejb.FinderException,
                                          javax.naming.NamingException

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

The following is a description of this column:

The StoreEntity this CounterCurrencyPair is part of. The complete list of counter value currencies for a Store includes CounterCurrencyPairs from both the Store and its StoreGroup.

Specified by:
getStoreEntityId in interface CurrencyCounterValueListAccessBeanData
Returns:
java.lang.Integer
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

Feedback