com.ibm.commerce.fulfillment.objects
Class FulfillmentCenterDescriptionAccessBean

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

public class FulfillmentCenterDescriptionAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements FulfillmentCenterDescriptionAccessBeanData

Each row of this table contains Language-dependent information about a FulfillmentCenter. This access bean corresponds to the database table 'FFMCENTDS'.

See Also:
Serialized Form

Constructor Summary
FulfillmentCenterDescriptionAccessBean()
Zero argument constructor used to initialize the access bean.
FulfillmentCenterDescriptionAccessBean(java.lang.Integer newFfmCenterId, java.lang.Integer newLanguageId)
Creates an access bean with the specified attributes.
FulfillmentCenterDescriptionAccessBean(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 findByFulfillmentCenterId(java.lang.Integer ffmCenterId)
Retrieves the FulfillmentCenterDescriptionAccessBeans of the specified FulfillmentCenter.
java.lang.String getDescription()
This method accesses a non-CMP field
java.lang.String getDisplayName()
This method provides access to the FFMCENTDS.DISPLAYNAME column of DB2 type VARCHAR(80).
java.lang.String getFulfillmentCenterId()
This method provides access to the FFMCENTDS.FFMCENTER_ID column of DB2 type INTEGER NOT NULL.
java.lang.Integer getFulfillmentCenterIdInEJBType()
This method provides access to the FFMCENTDS.FFMCENTER_ID column of DB2 type INTEGER NOT NULL.
java.lang.String getLanguageId()
This method provides access to the FFMCENTDS.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
java.lang.Integer getLanguageIdInEJBType()
This method provides access to the FFMCENTDS.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
java.lang.String getStoreAddressId()
This method provides access to the FFMCENTDS.STADDRESS_ID column of DB2 type INTEGER.
java.lang.Integer getStoreAddressIdInEJBType()
This method provides access to the FFMCENTDS.STADDRESS_ID column of DB2 type INTEGER.
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 setDisplayName(java.lang.String newValue)
This method accesses a non-CMP field
void setFulfillmentCenterId(java.lang.Integer newValue)
This method accesses a non-CMP field
void setFulfillmentCenterId(java.lang.String newValue)
This method accesses a non-CMP field
void setInitKey_fulfillmentCenterId(java.lang.String newValue)
Set the primary key for this object
void setInitKey_languageId(java.lang.String newValue)
Set the primary key for this object
void setLanguageId(java.lang.Integer newValue)
This method accesses a non-CMP field
void setLanguageId(java.lang.String newValue)
This method accesses a non-CMP field
void setStoreAddressId(java.lang.Integer newValue)
This method accesses a non-CMP field
void setStoreAddressId(java.lang.String newValue)
This method accesses a non-CMP field
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

FulfillmentCenterDescriptionAccessBean

public FulfillmentCenterDescriptionAccessBean()
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.FulfillmentCenterDescription com.ibm.commerce.fulfillment.objimpl.FulfillmentCenterDescriptionHomeBase.findByPrimaryKey(com.ibm.commerce.fulfillment.objects.FulfillmentCenterDescriptionKey) 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_fulfillmentCenterId( java.lang.Integer ) setInitKey_languageId( java.lang.Integer )

FulfillmentCenterDescriptionAccessBean

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

FulfillmentCenterDescriptionAccessBean

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

Creates an access bean with the specified attributes.

Parameters:
newFfmCenterId - the FulfillmentCenter ID
newLanguageId - the Language ID
Throws:
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.FinderException
Method Detail

findByFulfillmentCenterId

public java.util.Enumeration findByFulfillmentCenterId(java.lang.Integer ffmCenterId)
                                                throws java.rmi.RemoteException,
                                                       javax.ejb.FinderException,
                                                       javax.naming.NamingException

Retrieves the FulfillmentCenterDescriptionAccessBeans of the specified FulfillmentCenter.

The SQL query used to fetch all the required rows from the FFMCENTDS table is: SELECT * FROM FFMCENTDS T1 WHERE T1.FFMCENTER_ID = ?

Parameters:
ffmCenterId - the FulfillmentCenter ID
Returns:
An Enumeration of all the FulfillmentCenterDescriptionAccessBeans 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_fulfillmentCenterId

public void setInitKey_fulfillmentCenterId(java.lang.String newValue)

Set the primary key for this object

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

setInitKey_languageId

public void setInitKey_languageId(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 accesses a non-CMP field
Specified by:
getDescription in interface FulfillmentCenterDescriptionAccessBeanData
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 FulfillmentCenterDescriptionAccessBeanData

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 FFMCENTDS.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The language for this information. For a list of language components, see the LANGUAGE table.

Specified by:
getLanguageId in interface FulfillmentCenterDescriptionAccessBeanData
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 FFMCENTDS.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The language for this information. 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

setLanguageId

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

setLanguageId

public void setLanguageId(java.lang.Integer newValue)
This method accesses a non-CMP field

getStoreAddressId

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

This method provides access to the FFMCENTDS.STADDRESS_ID column of DB2 type INTEGER.

The following is a description of this column:

The physical location of the FulfillmentCenter.

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

getStoreAddressIdInEJBType

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

This method provides access to the FFMCENTDS.STADDRESS_ID column of DB2 type INTEGER.

The following is a description of this column:

The physical location of the FulfillmentCenter.

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

setStoreAddressId

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

setStoreAddressId

public void setStoreAddressId(java.lang.Integer newValue)
This method accesses a non-CMP field

getFulfillmentCenterId

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

This method provides access to the FFMCENTDS.FFMCENTER_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The FulfillmentCenter.

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

getFulfillmentCenterIdInEJBType

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

This method provides access to the FFMCENTDS.FFMCENTER_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The FulfillmentCenter.

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

setFulfillmentCenterId

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

setFulfillmentCenterId

public void setFulfillmentCenterId(java.lang.Integer newValue)
This method accesses a non-CMP field

getDisplayName

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

This method provides access to the FFMCENTDS.DISPLAYNAME column of DB2 type VARCHAR(80).

The following is a description of this column:

The name of the FulfillmentCenter, suitable for display to a customer.

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

setDisplayName

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

Feedback