com.ibm.commerce.catalog.objects
Class ClassificationCodeDescriptionAccessBean

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

public class ClassificationCodeDescriptionAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements ClassificationCodeDescriptionAccessBeanData

This bean provides access to the CLSFCODEDS table.

The following is a description of this table:

This table contains the language specific information of product classification code.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
ClassificationCodeDescriptionAccessBean()
          Default constructor.
ClassificationCodeDescriptionAccessBean(javax.ejb.EJBObject codeDescEJBObj)
          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 findByClassificationCode(java.lang.Long code)
          Finds the classification codes with the classification code ID
 java.lang.String getClassificationCodeId()
          This method provides access to the CLSFCODEDS.CLASIFCODE_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getClassificationCodeIdInEJBType()
          This method provides access to the CLSFCODEDS.CLASIFCODE_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getDescription()
          This method provides access to the CLSFCODEDS.DESCRIPTION column of DB2 type VARCHAR(254) NOT NULL.
 java.lang.String getLanguageId()
          This method provides access to the CLSFCODEDS.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getLanguageIdInEJBType()
          This method provides access to the CLSFCODEDS.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setClassificationCodeId(java.lang.Long codeID)
          This method provides access to the CLSFCODEDS.CLASIFCODE_ID column of DB2 type BIGINT NOT NULL.
 void setClassificationCodeId(java.lang.String codeID)
          This method provides access to the CLSFCODEDS.CLASIFCODE_ID column of DB2 type BIGINT NOT NULL.
 void setDescription(java.lang.String description)
          This method provides access to the CLSFCODEDS.DESCRIPTION column of DB2 type VARCHAR(254) NOT NULL.
 void setInitKey_classificationCodeId(java.lang.String codeID)
          Set the primary key for this object
 void setInitKey_languageId(java.lang.String langID)
          Set the primary key for this object
 void setLanguageId(java.lang.Integer langID)
          This method provides access to the CLSFCODEDS.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 void setLanguageId(java.lang.String langID)
          This method provides access to the CLSFCODEDS.LANGUAGE_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

ClassificationCodeDescriptionAccessBean

public ClassificationCodeDescriptionAccessBean()

Default constructor. Maps to findByPrimaryKey.


ClassificationCodeDescriptionAccessBean

public ClassificationCodeDescriptionAccessBean(javax.ejb.EJBObject codeDescEJBObj)
                                        throws java.rmi.RemoteException

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

Parameters:
codeDescEJBObj - The classification code description EJB object. javax.ejb.EJBObject
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException 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

findByClassificationCode

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

Finds the classification codes with the classification code ID

SQL:
SELECT CLASIFCODE_ID, DESCRIPTION, LANGUAGE_ID FROM CLSFCODEDS WHERE CLASIFCODE_ID = code

Parameters:
code - The classification code. 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

getClassificationCodeId

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

This method provides access to the CLSFCODEDS.CLASIFCODE_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Classification code reference number.

Specified by:
getClassificationCodeId in interface ClassificationCodeDescriptionAccessBeanData
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

getClassificationCodeIdInEJBType

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

This method provides access to the CLSFCODEDS.CLASIFCODE_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Classification code reference number.

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

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

The following is a description of this column:

Description of the product classification code.

Specified by:
getDescription in interface ClassificationCodeDescriptionAccessBeanData
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 CLSFCODEDS.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

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

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

The following is a description of this column:

Language reference number. 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

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

setClassificationCodeId

public void setClassificationCodeId(java.lang.Long codeID)

This method provides access to the CLSFCODEDS.CLASIFCODE_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Classification code reference number.

Parameters:
codeID - The classification code ID. java.lang.Long
Returns:
void

setClassificationCodeId

public void setClassificationCodeId(java.lang.String codeID)

This method provides access to the CLSFCODEDS.CLASIFCODE_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Classification code reference number.

Specified by:
setClassificationCodeId in interface ClassificationCodeDescriptionAccessBeanData
Parameters:
codeID - The classification code ID. java.lang.String
Returns:
void

setDescription

public void setDescription(java.lang.String description)

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

The following is a description of this column:

Description of the product classification code.

Specified by:
setDescription in interface ClassificationCodeDescriptionAccessBeanData
Parameters:
description - The description. java.lang.String
Returns:
void

setInitKey_classificationCodeId

public void setInitKey_classificationCodeId(java.lang.String codeID)

Set the primary key for this object

Parameters:
codeID - The classification code ID. java.lang.String
Returns:
void

setInitKey_languageId

public void setInitKey_languageId(java.lang.String langID)

Set the primary key for this object

Parameters:
langID - The language ID. java.lang.String
Returns:
void

setLanguageId

public void setLanguageId(java.lang.Integer langID)

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

The following is a description of this column:

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

Parameters:
langID - The language ID. java.lang.Integer
Returns:
void

setLanguageId

public void setLanguageId(java.lang.String langID)

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

The following is a description of this column:

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

Specified by:
setLanguageId in interface ClassificationCodeDescriptionAccessBeanData
Parameters:
langID - The language ID. java.lang.String
Returns:
void