com.ibm.commerce.catalog.objects
Class CatalogEntryClassificationCodeAccessBean

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

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

This table contains the assignment of classification codes to CatalogEntries.

See Also:
Serialized Form

Constructor Summary
CatalogEntryClassificationCodeAccessBean()
          constructor
CatalogEntryClassificationCodeAccessBean(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 findByCatalogEntry(java.lang.Long arg0)
          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 CHAR(16) NOT NULL.
 java.lang.String getDomain()
          This method provides access to the CATCLSFCOD.DOMAIN column of DB2 type CHAR(32) NOT NULL.
protected  void instantiateEJB()
           
protected  boolean instantiateEJBByPrimaryKey()
           
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setCatEntryId(java.lang.Long newValue)
          This method provides access to the CATCLSFCOD.CATENTRY_ID column of DB2 type BIGINT NOT NULL.
 void setCatEntryId(java.lang.String newValue)
          This method provides access to the CATCLSFCOD.CATENTRY_ID column of DB2 type BIGINT NOT NULL.
 void setCode(java.lang.String newValue)
          This method provides access to the CATCLSFCOD.CODE column of DB2 type CHAR(16) NOT NULL.
 void setDomain(java.lang.String newValue)
          This method provides access to the CATCLSFCOD.DOMAIN column of DB2 type CHAR(32) NOT NULL.
 void setInitKey_catEntryId(java.lang.String newValue)
          Set the primary key for this object
 void setInitKey_domain(java.lang.String newValue)
          Set the primary key for this object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CatalogEntryClassificationCodeAccessBean

public CatalogEntryClassificationCodeAccessBean()
constructor

CatalogEntryClassificationCodeAccessBean

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

findByCatalogEntry

public java.util.Enumeration findByCatalogEntry(java.lang.Long arg0)
                                         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 = argCatEntry

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

setInitKey_catEntryId

public void setInitKey_catEntryId(java.lang.String newValue)

Set the primary key for this object

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

setInitKey_domain

public void setInitKey_domain(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

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 CHAR(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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setCode

public void setCode(java.lang.String newValue)

This method provides access to the CATCLSFCOD.CODE column of DB2 type CHAR(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:
newValue - java.lang.String
Returns:
void

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:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setCatEntryId

public void setCatEntryId(java.lang.String newValue)

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:
newValue - String
Returns:
void

setCatEntryId

public void setCatEntryId(java.lang.Long newValue)

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:
newValue - java.lang.Long
Returns:
void

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 CHAR(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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setDomain

public void setDomain(java.lang.String newValue)

This method provides access to the CATCLSFCOD.DOMAIN column of DB2 type CHAR(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:
newValue - java.lang.String
Returns:
void