com.ibm.commerce.catalog.objects
Class ProductSetDescriptionAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractAccessBean
        |
        +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
              |
              +--com.ibm.commerce.catalog.objects.ProductSetDescriptionAccessBean
All Implemented Interfaces:
ProductSetDescriptionAccessBeanData, java.io.Serializable

public class ProductSetDescriptionAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements ProductSetDescriptionAccessBeanData

This bean provides access to the PRODSETDSC table.

The following is a description of this table:

This table holds the language-dependent information related to ProductSets.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
ProductSetDescriptionAccessBean()
          Default constructor.
ProductSetDescriptionAccessBean(javax.ejb.EJBObject ProductSetDescriptionEJBObject)
          Constructor to the object that maps to a corresponding ejbCreate method in the home interface of the EJB
ProductSetDescriptionAccessBean(java.lang.Integer anProductSetId, java.lang.Integer anLanguageId)
          Contructor for the object that maps to a corresponding ejbCreate method in the home interface of the EJB.
ProductSetDescriptionAccessBean(java.lang.Integer anProductSetId, java.lang.Integer anLanguageId, java.lang.String astrDescription)
          Contructor for the object that 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.lang.String getDescription()
          This method provides access to the PRODSETDSC.DESCRIPTION column of DB2 type VARCHAR(254) NULL.
 java.lang.String getLanguage_id()
          This method provides access to the PRODSETDSC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getLanguage_idInEJBType()
          This method provides access to the PRODSETDSC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getProductSetId()
          This method provides access to the PRODSETDSC.PRODUCTSET_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getProductSetIdInEJBType()
          This method provides access to the PRODSETDSC.PRODUCTSET_ID column of DB2 type INTEGER NOT NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setDescription(java.lang.String astrDescription)
          This method provides access to the PRODSETDSC.DESCRIPTION column of DB2 type VARCHAR(254) NULL.
 void setInitKey_language_id(java.lang.String aInitKey_language_id)
          Set the primary key for this object
 void setInitKey_productSetId(java.lang.String aInitKey_productSetId)
          Set the primary key for this object
 void setLanguage_id(java.lang.Integer anLanguage_id)
          This method provides access to the PRODSETDSC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 void setLanguage_id(java.lang.String astrLanguage_id)
          This method provides access to the PRODSETDSC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 void setProductSetId(java.lang.Integer anProductSetId)
          This method provides access to the PRODSETDSC.PRODUCTSET_ID column of DB2 type INTEGER NOT NULL.
 void setProductSetId(java.lang.String astrProductSetId)
          This method provides access to the PRODSETDSC.PRODUCTSET_ID column of DB2 type INTEGER 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

ProductSetDescriptionAccessBean

public ProductSetDescriptionAccessBean()

Default constructor. Maps to findByPrimaryKey.


ProductSetDescriptionAccessBean

public ProductSetDescriptionAccessBean(javax.ejb.EJBObject ProductSetDescriptionEJBObject)
                                throws java.rmi.RemoteException

Constructor to the object that maps to a corresponding ejbCreate method in the home interface of the EJB

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

ProductSetDescriptionAccessBean

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

Contructor for the object that maps to a corresponding ejbCreate method in the home interface of the EJB. Creates an access to the ProductSetDescription Access Bean according to the ProductSet reference number and the Language reference number.

Parameters:
anProductSetId - The ProductSet reference number. java.lang.Integer
anLanguageId - The Language reference number. 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

ProductSetDescriptionAccessBean

public ProductSetDescriptionAccessBean(java.lang.Integer anProductSetId,
                                       java.lang.Integer anLanguageId,
                                       java.lang.String astrDescription)
                                throws javax.naming.NamingException,
                                       javax.ejb.CreateException,
                                       java.rmi.RemoteException,
                                       javax.ejb.FinderException

Contructor for the object that maps to a corresponding ejbCreate method in the home interface of the EJB. Creates an access to the ProductSetDescription Access Bean according to the ProductSet reference number, the Language reference number, and the description of the ProductSet.

Parameters:
anProductSetId - The ProductSet reference number. java.lang.Integer
anLanguageId - The Language reference number. java.lang.Integer
astrDescription - The description for the ProductSet java.lang.String
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

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

The following is a description of this column:

The language specific description of the ProductSet.

Specified by:
getDescription in interface ProductSetDescriptionAccessBeanData
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

getLanguage_id

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

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

The following is a description of this column:

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

Specified by:
getLanguage_id in interface ProductSetDescriptionAccessBeanData
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

getLanguage_idInEJBType

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

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

The following is a description of this column:

The Language ID. 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

getProductSetId

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

This method provides access to the PRODSETDSC.PRODUCTSET_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The reference number of the ProductSet.

Specified by:
getProductSetId in interface ProductSetDescriptionAccessBeanData
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

getProductSetIdInEJBType

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

This method provides access to the PRODSETDSC.PRODUCTSET_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The reference number of the ProductSet.

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

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

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

The following is a description of this column:

The language specific description of the ProductSet.

Specified by:
setDescription in interface ProductSetDescriptionAccessBeanData
Parameters:
astrDescription - The description of the ProductSet. java.lang.String
Returns:
void

setInitKey_language_id

public void setInitKey_language_id(java.lang.String aInitKey_language_id)

Set the primary key for this object

Parameters:
aInitKey_language_id - The Language reference number. java.lang.String
Returns:
void

setInitKey_productSetId

public void setInitKey_productSetId(java.lang.String aInitKey_productSetId)

Set the primary key for this object

Parameters:
aInitKey_productSetId - The ProductSet reference number. java.lang.String
Returns:
void

setLanguage_id

public void setLanguage_id(java.lang.Integer anLanguage_id)

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

The following is a description of this column:

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

Parameters:
anLanguage_id - The Language reference number. java.lang.Integer
Returns:
void

setLanguage_id

public void setLanguage_id(java.lang.String astrLanguage_id)

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

The following is a description of this column:

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

Specified by:
setLanguage_id in interface ProductSetDescriptionAccessBeanData
Parameters:
astrLanguage_id - The Language reference number. java.lang.String
Returns:
void

setProductSetId

public void setProductSetId(java.lang.Integer anProductSetId)

This method provides access to the PRODSETDSC.PRODUCTSET_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The reference number of the ProductSet.

Parameters:
anProductSetId - The ProductSet reference number. java.lang.Integer
Returns:
void

setProductSetId

public void setProductSetId(java.lang.String astrProductSetId)

This method provides access to the PRODSETDSC.PRODUCTSET_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The reference number of the ProductSet.

Specified by:
setProductSetId in interface ProductSetDescriptionAccessBeanData
Parameters:
astrProductSetId - The ProductSet reference number. java.lang.String
Returns:
void