com.ibm.commerce.fulfillment.objects
Class ShippingModeDescriptionAccessBean

java.lang.Object
  com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
      com.ibm.commerce.fulfillment.objects.ShippingModeDescriptionAccessBean
All Implemented Interfaces:
ShippingModeDescriptionAccessBeanData

public class ShippingModeDescriptionAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements ShippingModeDescriptionAccessBeanData

Each row of this table contains language-dependent information about a ShippingMode. This access bean corresponds to the database table 'SHPMODEDSC'.

See Also:
Serialized Form

Constructor Summary
ShippingModeDescriptionAccessBean()
Zero argument constructor used to initialize the access bean.
ShippingModeDescriptionAccessBean(java.lang.Integer aShipModeId, java.lang.Integer aLangId, java.lang.String aDescription)
ShippingModeDescriptionAccessBean(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 ShippingModeDescriptionAccessBeans. The SQL query used to fetch all the required rows from the SHPMODEDSC table is:
SELECT * FROM SHPMODEDSC T1 WHERE 1 = 1
java.lang.String getDescription()
This method provides access to the SHPMODEDSC.DESCRIPTION column of DB2 type VARCHAR(254).
java.lang.String getField1()
This method provides access to the SHPMODEDSC.FIELD1 column of DB2 type VARCHAR(254).
java.lang.String getField2()
This method provides access to the SHPMODEDSC.FIELD2 column of DB2 type VARCHAR(254).
java.lang.String getLanguageId()
This method provides access to the SHPMODEDSC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
java.lang.Integer getLanguageIdInEJBType()
This method provides access to the SHPMODEDSC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
java.lang.String getShipModeId()
This method provides access to the SHPMODEDSC.SHIPMODE_ID column of DB2 type INTEGER NOT NULL.
java.lang.Integer getShipModeIdInEJBType()
This method provides access to the SHPMODEDSC.SHIPMODE_ID column of DB2 type INTEGER NOT NULL.
protected void instantiateEJB()
protected boolean instantiateEJBByPrimaryKey()
void refreshCopyHelper()
Load data from the EJBObject.
void setDescription(java.lang.String newValue)
This method accesses a non-CMP field
void setField1(java.lang.String newValue)
This method accesses a non-CMP field
void setField2(java.lang.String newValue)
This method accesses a non-CMP field
void setInitKey_languageId(java.lang.String newValue)
Set the primary key for this object
void setInitKey_shipModeId(java.lang.String 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

ShippingModeDescriptionAccessBean

public ShippingModeDescriptionAccessBean()
Zero argument constructor used to initialize the access bean. This constructor corresponds to the following home interface method: public abstract com.ibm.commerce.fulfillment.objects.ShippingModeDescription com.ibm.commerce.fulfillment.objimpl.ShippingModeDescriptionHomeBase.findByPrimaryKey(com.ibm.commerce.fulfillment.objects.ShippingModeDescriptionKey) 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_languageId( java.lang.Integer ) setInitKey_shipModeId( java.lang.Integer )

ShippingModeDescriptionAccessBean

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

ShippingModeDescriptionAccessBean

public ShippingModeDescriptionAccessBean(java.lang.Integer aShipModeId,
                                         java.lang.Integer aLangId,
                                         java.lang.String aDescription)
                                  throws javax.naming.NamingException,
                                         javax.ejb.CreateException,
                                         java.rmi.RemoteException,
                                         javax.ejb.FinderException
Method Detail

findAll

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

Retrieves all ShippingModeDescriptionAccessBeans.
The SQL query used to fetch all the required rows from the
SHPMODEDSC table is:
SELECT * FROM SHPMODEDSC T1 WHERE 1 = 1

Returns:
An Enumeration of all the ShippingModeDescriptionAccessBeans representing rows that match the search criteria.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

setInitKey_languageId

public void setInitKey_languageId(java.lang.String newValue)

Set the primary key for this object

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

setInitKey_shipModeId

public void setInitKey_shipModeId(java.lang.String newValue)

Set the primary key for this object

Parameters:
newValue - java.lang.String
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

getDescription

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

This method provides access to the SHPMODEDSC.DESCRIPTION column of DB2 type VARCHAR(254).

The following is a description of this column:

A brief description of the ShippingMode, suitable for display to a customer for selection.

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

setDescription

public void setDescription(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setDescription in interface ShippingModeDescriptionAccessBeanData

getLanguageId

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

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

The following is a description of this column:

The Language. For a list of language components, see the LANGUAGE table.

Specified by:
getLanguageId in interface ShippingModeDescriptionAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getLanguageIdInEJBType

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

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

The following is a description of this column:

The Language. For a list of language components, see the LANGUAGE table.

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

getField2

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

This method provides access to the SHPMODEDSC.FIELD2 column of DB2 type VARCHAR(254).

The following is a description of this column:

Customizable.

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

setField2

public void setField2(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setField2 in interface ShippingModeDescriptionAccessBeanData

getField1

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

This method provides access to the SHPMODEDSC.FIELD1 column of DB2 type VARCHAR(254).

The following is a description of this column:

Customizable.

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

setField1

public void setField1(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setField1 in interface ShippingModeDescriptionAccessBeanData

getShipModeId

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

This method provides access to the SHPMODEDSC.SHIPMODE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The ShippingMode.

Specified by:
getShipModeId in interface ShippingModeDescriptionAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getShipModeIdInEJBType

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

This method provides access to the SHPMODEDSC.SHIPMODE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The ShippingMode.

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

Feedback