com.ibm.commerce.ordermanagement.objects
Class ReturnReasonDescriptionAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractAccessBean
        |
        +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
              |
              +--com.ibm.commerce.ordermanagement.objects.ReturnReasonDescriptionAccessBean
All Implemented Interfaces:
ReturnReasonDescriptionAccessBeanData, java.io.Serializable

public class ReturnReasonDescriptionAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements ReturnReasonDescriptionAccessBeanData

This bean provides access to the RTNRSNDESC table.

The following is a description of this table:

This table stores the language-dependent description of the return reason codes.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
ReturnReasonDescriptionAccessBean()
          Default constructor.
ReturnReasonDescriptionAccessBean(javax.ejb.EJBObject ejbObject)
          Maps to a corresponding ejbCreate method in the home interface of the EJB
ReturnReasonDescriptionAccessBean(java.lang.Integer returnReasonID, java.lang.Integer languageID)
          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.lang.String getDescription()
          This method provides access to the RTNRSNDESC.DESCRIPTION column of DB2 type VARCHAR(254) NULL.
 java.lang.String getLanguageId()
          This method provides access to the RTNRSNDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getLanguageIdInEJBType()
          This method provides access to the RTNRSNDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getRtnReasonId()
          This method provides access to the RTNRSNDESC.RTNREASON_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getRtnReasonIdInEJBType()
          This method provides access to the RTNRSNDESC.RTNREASON_ID column of DB2 type INTEGER NOT NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setDescription(java.lang.String aDescription)
          This method provides access to the RTNRSNDESC.DESCRIPTION column of DB2 type VARCHAR(254) NULL.
 void setInitKey_languageId(java.lang.String aInitKey_languageId)
          Set the primary key for this object
 void setInitKey_rtnReasonId(java.lang.String aInitKey_rtnReasonId)
          Set the primary key for this object
 void setLanguageId(java.lang.Integer aLanguageId)
          This method provides access to the RTNRSNDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 void setLanguageId(java.lang.String aLanguageId)
          This method provides access to the RTNRSNDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 void setRtnReasonId(java.lang.Integer aRtnReasonId)
          This method provides access to the RTNRSNDESC.RTNREASON_ID column of DB2 type INTEGER NOT NULL.
 void setRtnReasonId(java.lang.String aRtnReasonId)
          This method provides access to the RTNRSNDESC.RTNREASON_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

ReturnReasonDescriptionAccessBean

public ReturnReasonDescriptionAccessBean()

Default constructor. Maps to findByPrimaryKey.


ReturnReasonDescriptionAccessBean

public ReturnReasonDescriptionAccessBean(javax.ejb.EJBObject ejbObject)
                                  throws java.rmi.RemoteException

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

Parameters:
ejbObject - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception

ReturnReasonDescriptionAccessBean

public ReturnReasonDescriptionAccessBean(java.lang.Integer returnReasonID,
                                         java.lang.Integer languageID)
                                  throws javax.naming.NamingException,
                                         javax.ejb.CreateException,
                                         java.rmi.RemoteException,
                                         javax.ejb.FinderException

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

Parameters:
returnReasonID - java.lang.Integer Return Reason ID
languageID - java.lang.Integer Language ID
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException 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

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

The following is a description of this column:

A description of the reason for the return.

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

The following is a description of this column:

The language for which this information applies. This is a currency code as per ISO 4217 standards.

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

The following is a description of this column:

The language for which this information applies. This is a currency code as per ISO 4217 standards.

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

getRtnReasonId

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

This method provides access to the RTNRSNDESC.RTNREASON_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The reason to which this information applies.

Specified by:
getRtnReasonId in interface ReturnReasonDescriptionAccessBeanData
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

getRtnReasonIdInEJBType

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

This method provides access to the RTNRSNDESC.RTNREASON_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The reason to which this information applies.

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

setDescription

public void setDescription(java.lang.String aDescription)

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

The following is a description of this column:

A description of the reason for the return.

Specified by:
setDescription in interface ReturnReasonDescriptionAccessBeanData
Parameters:
aDescription - java.lang.String
Returns:
void

setInitKey_languageId

public void setInitKey_languageId(java.lang.String aInitKey_languageId)

Set the primary key for this object

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

setInitKey_rtnReasonId

public void setInitKey_rtnReasonId(java.lang.String aInitKey_rtnReasonId)

Set the primary key for this object

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

setLanguageId

public void setLanguageId(java.lang.Integer aLanguageId)

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

The following is a description of this column:

The language for which this information applies. This is a currency code as per ISO 4217 standards.

Parameters:
aLanguageId - java.lang.Integer
Returns:
void

setLanguageId

public void setLanguageId(java.lang.String aLanguageId)

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

The following is a description of this column:

The language for which this information applies. This is a currency code as per ISO 4217 standards.

Specified by:
setLanguageId in interface ReturnReasonDescriptionAccessBeanData
Parameters:
aLanguageId - java.lang.String
Returns:
void

setRtnReasonId

public void setRtnReasonId(java.lang.Integer aRtnReasonId)

This method provides access to the RTNRSNDESC.RTNREASON_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The reason to which this information applies.

Parameters:
aRtnReasonId - java.lang.Integer
Returns:
void

setRtnReasonId

public void setRtnReasonId(java.lang.String aRtnReasonId)

This method provides access to the RTNRSNDESC.RTNREASON_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The reason to which this information applies.

Specified by:
setRtnReasonId in interface ReturnReasonDescriptionAccessBeanData
Parameters:
aRtnReasonId - java.lang.String
Returns:
void