com.ibm.commerce.inventory.objects
Class VendorDescriptionAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractAccessBean
        |
        +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
              |
              +--com.ibm.commerce.inventory.objects.VendorDescriptionAccessBean
All Implemented Interfaces:
java.io.Serializable, VendorDescriptionAccessBeanData

public class VendorDescriptionAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements VendorDescriptionAccessBeanData

This bean provides access to the VENDORDESC table.

The following is a description of this table:

Language-specific information about Vendors.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
VendorDescriptionAccessBean()
          Default constructor.
VendorDescriptionAccessBean(javax.ejb.EJBObject object)
          Creates an access bean for the specified EJB
VendorDescriptionAccessBean(java.lang.Long VendorId, java.lang.Integer LanguageId, java.lang.Integer StAddressId)
          Maps to a corresponding ejbCreate method in the home interface of the EJB
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
 java.util.Enumeration findByStoreentIdAndLanguageIdSortedByVendorName(java.lang.Long StoreentId, java.lang.Integer LanguageId)
          Retrieves language specific information about a vendor with the specified STOREENT_ID and LANGUAGE_ID
The SQL query used to fetch the requested row from the VENDORDESC and VENDORtables is:
SELECT * FROM VENDORDESC T1,VENDOR WHERE VENDOR.VENDOR_ID = T1.VENDOR_ID AND VENDOR.STOREENT_ID = ? AND T1.LANGUAGE_ID = ? ORDER BY T1.VENDORNAME
 java.util.Enumeration findByVendorId(java.lang.Long VendorId)
          Retrieves language specific information about a vendor with the specified VENDOR_ID
The SQL query used to fetch the requested row from the VENDORDESC table is:
SELECT * FROM VENDORDESC T1 WHERE T1.VENDOR_ID = ?
 java.lang.String getDescription()
          This method provides access to the VENDORDESC.DESCRIPTION column of DB2 type VARCHAR(254) NULL.
 java.lang.String getLanguageId()
          This method provides access to the VENDORDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getLanguageIdInEJBType()
          This method provides access to the VENDORDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getLastupdate()
          This method provides access to the VENDORDESC.LASTUPDATE column of DB2 type TIMESTAMP NULL.
 java.sql.Timestamp getLastupdateInEJBType()
          This method provides access to the VENDORDESC.LASTUPDATE column of DB2 type TIMESTAMP NULL.
 java.lang.String getStAddressId()
          This method provides access to the VENDORDESC.STADDRESS_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getStAddressIdInEJBType()
          This method provides access to the VENDORDESC.STADDRESS_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getVendorId()
          This method provides access to the VENDORDESC.VENDOR_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getVendorIdInEJBType()
          This method provides access to the VENDORDESC.VENDOR_ID column of DB2 type BIGINT NOT NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setDescription(java.lang.String aDescription)
          This method provides access to the VENDORDESC.DESCRIPTION column of DB2 type VARCHAR(254) NULL.
 void setInitKey_languageId(java.lang.String aInitKey_languageId)
          Set the primary key for this object
 void setInitKey_vendorId(java.lang.String aInitKey_vendorId)
          Set the primary key for this object
 void setLanguageId(java.lang.Integer aLanguageId)
          This method provides access to the VENDORDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 void setLanguageId(java.lang.String aLanguageId)
          This method provides access to the VENDORDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 void setLastupdate(java.lang.String aLastupdate)
          This method provides access to the VENDORDESC.LASTUPDATE column of DB2 type TIMESTAMP NULL.
 void setLastupdate(java.sql.Timestamp aLastupdate)
          This method provides access to the VENDORDESC.LASTUPDATE column of DB2 type TIMESTAMP NULL.
 void setStAddressId(java.lang.Integer aStAddressId)
          This method provides access to the VENDORDESC.STADDRESS_ID column of DB2 type INTEGER NOT NULL.
 void setStAddressId(java.lang.String aStAddressId)
          This method provides access to the VENDORDESC.STADDRESS_ID column of DB2 type INTEGER NOT NULL.
 void setVendorId(java.lang.Long aVendorId)
          This method provides access to the VENDORDESC.VENDOR_ID column of DB2 type BIGINT NOT NULL.
 void setVendorId(java.lang.String aVendorId)
          This method provides access to the VENDORDESC.VENDOR_ID column of DB2 type BIGINT NOT NULL.
 
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
__getCache, __getCache, __getKey, __setCache, __setCache, __setKey, commitCopyHelper, createAccessBeans, createAccessBeans, instantiateEJBByPrimaryKey, refreshCopyHelper, setEJBRef
 
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
defaultJNDIName, defaultNameServiceType, defaultNameServiceURL, getEJBRef, getGlobalHome, getHome, getInit_GlobalNameServiceTypeName, getInit_GlobalNameServiceURLName, getInit_JNDIName, getInit_NameServiceTypeName, getInit_NameServiceURLName, getInitContext, getInitContext, instantiateEJB, resetEJBRef, resetHomeCache, setInit_GlobalNameServiceTypeName, setInit_GlobalNameServiceURLName, setInit_JNDIName, setInit_NameServiceTypeName, setInit_NameServiceURLName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VendorDescriptionAccessBean

public VendorDescriptionAccessBean()

Default constructor. Maps to findByPrimaryKey.


VendorDescriptionAccessBean

public VendorDescriptionAccessBean(javax.ejb.EJBObject object)
                            throws java.rmi.RemoteException

Creates an access bean for the specified EJB

Parameters:
object - - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception

VendorDescriptionAccessBean

public VendorDescriptionAccessBean(java.lang.Long VendorId,
                                   java.lang.Integer LanguageId,
                                   java.lang.Integer StAddressId)
                            throws javax.naming.NamingException,
                                   javax.ejb.CreateException,
                                   java.rmi.RemoteException,
                                   javax.ejb.FinderException

Maps to a corresponding ejbCreate method in the home interface of the EJB

Parameters:
VendorId - - java.lang.Long
LanguageId - - java.lang.Integer
StAddressId - - java.lang.Integer
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
Method Detail

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

Overrides:
commitCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findByStoreentIdAndLanguageIdSortedByVendorName

public java.util.Enumeration findByStoreentIdAndLanguageIdSortedByVendorName(java.lang.Long StoreentId,
                                                                             java.lang.Integer LanguageId)
                                                                      throws java.rmi.RemoteException,
                                                                             javax.ejb.FinderException,
                                                                             javax.naming.NamingException

Retrieves language specific information about a vendor with the specified STOREENT_ID and LANGUAGE_ID
The SQL query used to fetch the requested row from the VENDORDESC and VENDORtables is:
SELECT * FROM VENDORDESC T1,VENDOR WHERE VENDOR.VENDOR_ID = T1.VENDOR_ID AND VENDOR.STOREENT_ID = ? AND T1.LANGUAGE_ID = ? ORDER BY T1.VENDORNAME

Parameters:
StoreentId - - java.lang.Long
LanguageId - - java.lang.Integer
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findByVendorId

public java.util.Enumeration findByVendorId(java.lang.Long VendorId)
                                     throws java.rmi.RemoteException,
                                            javax.ejb.FinderException,
                                            javax.naming.NamingException

Retrieves language specific information about a vendor with the specified VENDOR_ID
The SQL query used to fetch the requested row from the VENDORDESC table is:
SELECT * FROM VENDORDESC T1 WHERE T1.VENDOR_ID = ?

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

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 VENDORDESC.DESCRIPTION column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

Language specific descriptive information about the Vendor.

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

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

The following is a description of this column:

Language ID for this description. For a list of language components, see the LANGUAGE table.

Specified by:
getLanguageId in interface VendorDescriptionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

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

The following is a description of this column:

Language ID for this description. For a list of language components, see the LANGUAGE table.

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

getLastupdate

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

This method provides access to the VENDORDESC.LASTUPDATE column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Timestamp of last update.

Specified by:
getLastupdate in interface VendorDescriptionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getLastupdateInEJBType

public java.sql.Timestamp getLastupdateInEJBType()
                                          throws java.rmi.RemoteException,
                                                 javax.ejb.CreateException,
                                                 javax.ejb.FinderException,
                                                 javax.naming.NamingException

This method provides access to the VENDORDESC.LASTUPDATE column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Timestamp of last update.

Returns:
java.sql.Timestamp
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getStAddressId

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

This method provides access to the VENDORDESC.STADDRESS_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Refers to address information for this Vendor in the STADDRESS table.

Specified by:
getStAddressId in interface VendorDescriptionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getStAddressIdInEJBType

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

This method provides access to the VENDORDESC.STADDRESS_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Refers to address information for this Vendor in the STADDRESS table.

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

getVendorId

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

This method provides access to the VENDORDESC.VENDOR_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Unique identifier for the Vendor.

Specified by:
getVendorId in interface VendorDescriptionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getVendorIdInEJBType

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

This method provides access to the VENDORDESC.VENDOR_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Unique identifier for the Vendor.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

refreshCopyHelper

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

Load data from the EJBObject.

Overrides:
refreshCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

setDescription

public void setDescription(java.lang.String aDescription)

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

The following is a description of this column:

Language specific descriptive information about the Vendor.

Specified by:
setDescription in interface VendorDescriptionAccessBeanData
Parameters:
aDescription - java.lang.String
Returns:
void

setInitKey_languageId

public void setInitKey_languageId(java.lang.String aInitKey_languageId)

Set the primary key for this object

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

setInitKey_vendorId

public void setInitKey_vendorId(java.lang.String aInitKey_vendorId)

Set the primary key for this object

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

setLanguageId

public void setLanguageId(java.lang.Integer aLanguageId)

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

The following is a description of this column:

Language ID for this description. For a list of language components, see the LANGUAGE table.

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

setLanguageId

public void setLanguageId(java.lang.String aLanguageId)

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

The following is a description of this column:

Language ID for this description. For a list of language components, see the LANGUAGE table.

Specified by:
setLanguageId in interface VendorDescriptionAccessBeanData
Parameters:
aLanguageId - java.lang.String
Returns:
void

setLastupdate

public void setLastupdate(java.lang.String aLastupdate)

This method provides access to the VENDORDESC.LASTUPDATE column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Timestamp of last update.

Specified by:
setLastupdate in interface VendorDescriptionAccessBeanData
Parameters:
aLastupdate - java.lang.String
Returns:
void

setLastupdate

public void setLastupdate(java.sql.Timestamp aLastupdate)

This method provides access to the VENDORDESC.LASTUPDATE column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Timestamp of last update.

Parameters:
aLastupdate - java.sql.Timestamp
Returns:
void

setStAddressId

public void setStAddressId(java.lang.Integer aStAddressId)

This method provides access to the VENDORDESC.STADDRESS_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Refers to address information for this Vendor in the STADDRESS table.

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

setStAddressId

public void setStAddressId(java.lang.String aStAddressId)

This method provides access to the VENDORDESC.STADDRESS_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Refers to address information for this Vendor in the STADDRESS table.

Specified by:
setStAddressId in interface VendorDescriptionAccessBeanData
Parameters:
aStAddressId - java.lang.String
Returns:
void

setVendorId

public void setVendorId(java.lang.Long aVendorId)

This method provides access to the VENDORDESC.VENDOR_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Unique identifier for the Vendor.

Parameters:
aVendorId - java.lang.Long
Returns:
void

setVendorId

public void setVendorId(java.lang.String aVendorId)

This method provides access to the VENDORDESC.VENDOR_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Unique identifier for the Vendor.

Specified by:
setVendorId in interface VendorDescriptionAccessBeanData
Parameters:
aVendorId - java.lang.String
Returns:
void