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. This access bean corresponds to the database table 'CATCLSFCOD'.

See Also:
Serialized Form

Constructor Summary
CatalogEntryClassificationCodeAccessBean()
Zero argument constructor used to initialize the access bean.
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 argCatEntry)
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 accesses a non-CMP field
void setCatEntryId(java.lang.String newValue)
This method accesses a non-CMP field
void setCode(java.lang.String newValue)
This method accesses a non-CMP field
void setDomain(java.lang.String newValue)
This method accesses a non-CMP field
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()
Zero argument constructor used to initialize the access bean. This constructor corresponds to the following home interface method: public abstract com.ibm.commerce.catalog.objects.CatalogEntryClassificationCode com.ibm.commerce.catalog.objimpl.CatalogEntryClassificationCodeHomeBase.findByPrimaryKey(com.ibm.commerce.catalog.objects.CatalogEntryClassificationCodeKey) throws java.rmi.RemoteException,javax.ejb.FinderException The home interface method properties need to be set by calling the following setter methods before calling any business methods: setInitKey_catEntryId( java.lang.Long ) setInitKey_domain( java.lang.String )

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

Parameters:
argCatEntry - 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

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 accesses a non-CMP field
Specified by:
setCode in interface CatalogEntryClassificationCodeAccessBeanData

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 accesses a non-CMP field
Specified by:
setCatEntryId in interface CatalogEntryClassificationCodeAccessBeanData

setCatEntryId

public void setCatEntryId(java.lang.Long newValue)
This method accesses a non-CMP field

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 accesses a non-CMP field
Specified by:
setDomain in interface CatalogEntryClassificationCodeAccessBeanData

Feedback