com.ibm.commerce.catalog.objects
Class CatalogEntryClassificationCodeAccessBean

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

public class CatalogEntryClassificationCodeAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements CatalogEntryClassificationCodeAccessBeanData

This bean provides access to the CATCLSFCOD table.

The following is a description of this table:

This table contains the assignment of classification codes to CatalogEntries.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
CatalogEntryClassificationCodeAccessBean()
          Default constructor.
CatalogEntryClassificationCodeAccessBean(javax.ejb.EJBObject aEJB)
          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 findByCatalogEntry(java.lang.Long aCatalogEntryReferenceNumber)
          This method returns an Enumeration of CatalogEntryClassificationCodeAccessBean with the given CatalogEntry reference number.
 java.lang.String getCatEntryId()
          This method provides access to the CATCLSFCOD.CATENTRY_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getCatEntryIdInEJBType()
          This method provides access to the CATCLSFCOD.CATENTRY_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getCode()
          This method provides access to the CATCLSFCOD.CODE column of DB2 type CHARACTER (16) NOT NULL.
 java.lang.String getDomain()
          This method provides access to the CATCLSFCOD.DOMAIN column of DB2 type CHARACTER (32) NOT NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setCatEntryId(java.lang.Long aCatentryId)
          This method provides access to the CATCLSFCOD.CATENTRY_ID column of DB2 type BIGINT NOT NULL.
 void setCatEntryId(java.lang.String aCatentryId)
          This method provides access to the CATCLSFCOD.CATENTRY_ID column of DB2 type BIGINT NOT NULL.
 void setCode(java.lang.String aCode)
          This method provides access to the CATCLSFCOD.CODE column of DB2 type CHARACTER (16) NOT NULL.
 void setDomain(java.lang.String aDomain)
          This method provides access to the CATCLSFCOD.DOMAIN column of DB2 type CHARACTER (32) NOT NULL.
 void setInitKey_catEntryId(java.lang.String catEntryID)
          Set the primary key for this object
 void setInitKey_domain(java.lang.String aDomain)
          Set the primary key for this object
 
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

CatalogEntryClassificationCodeAccessBean

public CatalogEntryClassificationCodeAccessBean()

Default constructor. It is used to initialize the access bean.


CatalogEntryClassificationCodeAccessBean

public CatalogEntryClassificationCodeAccessBean(javax.ejb.EJBObject aEJB)
                                         throws java.rmi.RemoteException

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

Parameters:
aEJB - an CatalogEntryClassificationCode EJBObject reference
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

findByCatalogEntry

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

This method returns an Enumeration of CatalogEntryClassificationCodeAccessBean with the given CatalogEntry reference number.

SQL:
SELECT * FROM CATCLSFCOD WHERE CATCLSFCOD.CATENTRY_ID = aCatalogEntryReferenceNumber

Parameters:
aCatalogEntryReferenceNumber - The Catalog Entry reference number
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

getCatEntryId

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

This method provides access to the CATCLSFCOD.CATENTRY_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The reference number of the CatalogEntry.

Specified by:
getCatEntryId in interface CatalogEntryClassificationCodeAccessBeanData
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

getCatEntryIdInEJBType

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

This method provides access to the CATCLSFCOD.CATENTRY_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The reference number of the CatalogEntry.

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

getCode

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

This method provides access to the CATCLSFCOD.CODE column of DB2 type CHARACTER (16) NOT NULL.

The following is a description of this column:

Classification code assigned under a particular classification domain.

Specified by:
getCode in interface CatalogEntryClassificationCodeAccessBeanData
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

getDomain

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

This method provides access to the CATCLSFCOD.DOMAIN column of DB2 type CHARACTER (32) NOT NULL.

The following is a description of this column:

Classification domain used to assign a code. One such example is UNSPSC classification system.

Specified by:
getDomain in interface CatalogEntryClassificationCodeAccessBeanData
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

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

setCatEntryId

public void setCatEntryId(java.lang.Long aCatentryId)

This method provides access to the CATCLSFCOD.CATENTRY_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The reference number of the CatalogEntry.

Parameters:
aCatentryId - The Catalog Entry reference number. java.lang.Long
Returns:
void

setCatEntryId

public void setCatEntryId(java.lang.String aCatentryId)

This method provides access to the CATCLSFCOD.CATENTRY_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The reference number of the CatalogEntry.

Specified by:
setCatEntryId in interface CatalogEntryClassificationCodeAccessBeanData
Parameters:
aCatentryId - The Catalog Entry reference number. java.lang.String
Returns:
void

setCode

public void setCode(java.lang.String aCode)

This method provides access to the CATCLSFCOD.CODE column of DB2 type CHARACTER (16) NOT NULL.

The following is a description of this column:

Classification code assigned under a particular classification domain.

Specified by:
setCode in interface CatalogEntryClassificationCodeAccessBeanData
Parameters:
aCode - The Classification code. java.lang.String
Returns:
void

setDomain

public void setDomain(java.lang.String aDomain)

This method provides access to the CATCLSFCOD.DOMAIN column of DB2 type CHARACTER (32) NOT NULL.

The following is a description of this column:

Classification domain used to assign a code. One such example is UNSPSC classification system.

Specified by:
setDomain in interface CatalogEntryClassificationCodeAccessBeanData
Parameters:
aDomain - The Classification domain. java.lang.String
Returns:
void

setInitKey_catEntryId

public void setInitKey_catEntryId(java.lang.String catEntryID)

Set the primary key for this object

Parameters:
catEntryID - The catalog entry ID. java.lang.String
Returns:
void

setInitKey_domain

public void setInitKey_domain(java.lang.String aDomain)

Set the primary key for this object

Parameters:
aDomain - The Classification domain. java.lang.String
Returns:
void