com.ibm.commerce.ordermanagement.objects
Class ReturnDenyReasonDescriptionAccessBean

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

public class ReturnDenyReasonDescriptionAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements ReturnDenyReasonDescriptionAccessBeanData

This table stores the language-dependent descriptions of the reasons for denying return merchandise authorizations (RMAs). This access bean corresponds to the database table 'RTNDNYDESC'.

See Also:
Serialized Form

Constructor Summary
ReturnDenyReasonDescriptionAccessBean()
Zero argument constructor used to initialize the access bean.
ReturnDenyReasonDescriptionAccessBean(java.lang.Integer newRtnDnyRsnId, java.lang.Integer newLanguageId)
Maps to a corresponding ejbCreate method in the home interface of the EJB
ReturnDenyReasonDescriptionAccessBean(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 RTNDNYDESC.DESCRIPTION column of DB2 type VARCHAR(254) NOT NULL.
java.lang.String getLanguageId()
This method provides access to the RTNDNYDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
java.lang.Integer getLanguageIdInEJBType()
This method provides access to the RTNDNYDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
java.lang.String getRtnDnyRsnId()
This method provides access to the RTNDNYDESC.RTNDNYRSN_ID column of DB2 type INTEGER NOT NULL.
java.lang.Integer getRtnDnyRsnIdInEJBType()
This method provides access to the RTNDNYDESC.RTNDNYRSN_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_rtnDnyRsnId(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 setRtnDnyRsnId(java.lang.Integer newValue)
This method accesses a non-CMP field
void setRtnDnyRsnId(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

ReturnDenyReasonDescriptionAccessBean

public ReturnDenyReasonDescriptionAccessBean()
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.ReturnDenyReasonDescription com.ibm.commerce.ordermanagement.objimpl.ReturnDenyReasonDescriptionHomeBase.findByPrimaryKey(com.ibm.commerce.ordermanagement.objects.ReturnDenyReasonDescriptionKey) 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_rtnDnyRsnId( java.lang.Integer ) setInitKey_languageId( java.lang.Integer )

ReturnDenyReasonDescriptionAccessBean

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

ReturnDenyReasonDescriptionAccessBean

public ReturnDenyReasonDescriptionAccessBean(java.lang.Integer newRtnDnyRsnId,
                                             java.lang.Integer newLanguageId)
                                      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:
newRtnDnyRsnId - java.lang.Integer Return Reason ID
newLanguageId - 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

setInitKey_rtnDnyRsnId

public void setInitKey_rtnDnyRsnId(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 RTNDNYDESC.DESCRIPTION column of DB2 type VARCHAR(254) NOT NULL.

The following is a description of this column:

Description of the denial reason in the language specified by LANGUAGE_ID.

Specified by:
getDescription in interface ReturnDenyReasonDescriptionAccessBeanData
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 ReturnDenyReasonDescriptionAccessBeanData

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 RTNDNYDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The ID of the language used for the description. For a list of language components, see the LANGUAGE table.

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

The following is a description of this column:

The ID of the language used for the description. 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 ReturnDenyReasonDescriptionAccessBeanData

setLanguageId

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

getRtnDnyRsnId

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

This method provides access to the RTNDNYDESC.RTNDNYRSN_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The ID of the denial reason for which this description belongs.

Specified by:
getRtnDnyRsnId in interface ReturnDenyReasonDescriptionAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getRtnDnyRsnIdInEJBType

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

This method provides access to the RTNDNYDESC.RTNDNYRSN_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The ID of the denial reason for which this description belongs.

Returns:
java.lang.Integer
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setRtnDnyRsnId

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

setRtnDnyRsnId

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

Feedback