com.ibm.commerce.ordermanagement.objects
Class ReturnReasonDescriptionAccessBean

java.lang.Object
  com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
      com.ibm.commerce.ordermanagement.objects.ReturnReasonDescriptionAccessBean
All Implemented Interfaces:
ReturnReasonDescriptionAccessBeanData

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

This table stores the language-dependent description of the return reason codes. This access bean corresponds to the database table 'RTNRSNDESC'.

See Also:
Serialized Form

Constructor Summary
ReturnReasonDescriptionAccessBean()
Zero argument constructor used to initialize the access bean.
ReturnReasonDescriptionAccessBean(java.lang.Integer arg0, java.lang.Integer arg1)
constructor
ReturnReasonDescriptionAccessBean(javax.ejb.EJBObject o)
constructor
Method Summary
void commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage).
protected java.lang.String defaultJNDIName()
java.lang.String getDescription()
This method provides access to the RTNRSNDESC.DESCRIPTION column of DB2 type VARCHAR(254).
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.
protected void instantiateEJB()
protected boolean instantiateEJBByPrimaryKey()
void refreshCopyHelper()
Load data from the EJBObject.
void setDescription(java.lang.String newValue)
This method accesses a non-CMP field
void setInitKey_languageId(java.lang.String newValue)
Set the primary key for this object
void setInitKey_rtnReasonId(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
void setRtnReasonId(java.lang.Integer newValue)
This method accesses a non-CMP field
void setRtnReasonId(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

ReturnReasonDescriptionAccessBean

public ReturnReasonDescriptionAccessBean()
Zero argument constructor used to initialize the access bean. This constructor corresponds to the following home interface method: public abstract com.ibm.commerce.ordermanagement.objects.ReturnReasonDescription com.ibm.commerce.ordermanagement.objimpl.ReturnReasonDescriptionHomeBase.findByPrimaryKey(com.ibm.commerce.ordermanagement.objects.ReturnReasonDescriptionKey) 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_languageId( java.lang.Integer ) setInitKey_rtnReasonId( java.lang.Integer )

ReturnReasonDescriptionAccessBean

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

ReturnReasonDescriptionAccessBean

public ReturnReasonDescriptionAccessBean(java.lang.Integer arg0,
                                         java.lang.Integer arg1)
                                  throws javax.naming.NamingException,
                                         javax.ejb.CreateException,
                                         java.rmi.RemoteException,
                                         javax.ejb.FinderException
constructor
Parameters:
arg0 - java.lang.Integer
arg1 - java.lang.Integer
Throws:
javax.naming.NamingException
javax.ejb.CreateException
java.rmi.RemoteException
javax.ejb.FinderException
Method Detail

setInitKey_languageId

public void setInitKey_languageId(java.lang.String newValue)

Set the primary key for this object

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

setInitKey_rtnReasonId

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

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
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 ReturnReasonDescriptionAccessBeanData

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. For a list of language components, see the LANGUAGE table.

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

setLanguageId

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

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

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

setRtnReasonId

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

setRtnReasonId

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

Feedback