com.ibm.commerce.catalog.objects
Class ClassificationCodeDescriptionAccessBean

java.lang.Object
  com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
      com.ibm.commerce.catalog.objects.ClassificationCodeDescriptionAccessBean
All Implemented Interfaces:
ClassificationCodeDescriptionAccessBeanData

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

This table contains the language specific information of product classification code. This access bean corresponds to the database table 'CLSFCODEDS'.

See Also:
Serialized Form

Constructor Summary
ClassificationCodeDescriptionAccessBean()
Zero argument constructor used to initialize the access bean.
ClassificationCodeDescriptionAccessBean(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 findByClassificationCode(java.lang.Long argClassificationCode)
Finds the classification argClassificationCodes with the classification argClassificationCode 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.
protected void instantiateEJB()
protected boolean instantiateEJBByPrimaryKey()
void refreshCopyHelper()
Load data from the EJBObject.
void setClassificationCodeId(java.lang.Long newValue)
This method accesses a non-CMP field
void setClassificationCodeId(java.lang.String newValue)
This method accesses a non-CMP field
void setDescription(java.lang.String newValue)
This method accesses a non-CMP field
void setInitKey_classificationCodeId(java.lang.String newValue)
Set the primary key for this object
void setInitKey_languageId(java.lang.String newValue)
Set the primary key for this object
void setLanguageId(java.lang.Integer newValue)
This method accesses a non-CMP field
void setLanguageId(java.lang.String newValue)
This method accesses a non-CMP field
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

ClassificationCodeDescriptionAccessBean

public ClassificationCodeDescriptionAccessBean()
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.ClassificationCodeDescription com.ibm.commerce.catalog.objimpl.ClassificationCodeDescriptionHomeBase.findByPrimaryKey(com.ibm.commerce.catalog.objects.ClassificationCodeDescriptionKey) 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_classificationCodeId( java.lang.Long ) setInitKey_languageId( java.lang.Integer )

ClassificationCodeDescriptionAccessBean

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

findByClassificationCode

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

Finds the classification argClassificationCodes with the classification argClassificationCode ID

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

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

setInitKey_classificationCodeId

public void setInitKey_classificationCodeId(java.lang.String newValue)

Set the primary key for this object

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

setInitKey_languageId

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

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

setDescription

public void setDescription(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setDescription in interface ClassificationCodeDescriptionAccessBeanData

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

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

setClassificationCodeId

public void setClassificationCodeId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setClassificationCodeId in interface ClassificationCodeDescriptionAccessBeanData

setClassificationCodeId

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

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

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

setLanguageId

public void setLanguageId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setLanguageId in interface ClassificationCodeDescriptionAccessBeanData

setLanguageId

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

Feedback