com.ibm.commerce.order.objects
Class OrderAdjustmentDescriptionAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractAccessBean
        |
        +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
              |
              +--com.ibm.commerce.order.objects.OrderAdjustmentDescriptionAccessBean
All Implemented Interfaces:
OrderAdjustmentDescriptionAccessBeanData, java.io.Serializable

public class OrderAdjustmentDescriptionAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements OrderAdjustmentDescriptionAccessBeanData

This bean provides access to the ORDADJDSC table.

The following is a description of this table:

Each row of this table contains language-dependent information for an OrderAdjustment.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
OrderAdjustmentDescriptionAccessBean()
          Default constructor.
OrderAdjustmentDescriptionAccessBean(javax.ejb.EJBObject object)
          Creates an access bean for the specified EJB
OrderAdjustmentDescriptionAccessBean(java.lang.Long anOrderAdjustmentId, java.lang.Integer anLanguageId)
          Maps to a corresponding ejbCreate method in the home interface of the EJB
OrderAdjustmentDescriptionAccessBean(java.lang.Long anOrderAdjustmentId, java.lang.Integer anLanguageId, java.lang.String astrDescription)
          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 ORDADJDSC.DESCRIPTION column of DB2 type VARCHAR(254) NULL.
 java.lang.String getLanguageId()
          This method provides access to the ORDADJDSC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getLanguageIdInEJBType()
          This method provides access to the ORDADJDSC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getOrderAdjustmentId()
          This method provides access to the ORDADJDSC.ORDADJUST_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getOrderAdjustmentIdInEJBType()
          This method provides access to the ORDADJDSC.ORDADJUST_ID column of DB2 type BIGINT NOT NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setDescription(java.lang.String aDescription)
          This method provides access to the ORDADJDSC.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_orderAdjustmentId(java.lang.String aInitKey_orderAdjustmentId)
          Set the primary key for this object
 void setLanguageId(java.lang.Integer aLanguageId)
          This method provides access to the ORDADJDSC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 void setLanguageId(java.lang.String aLanguageId)
          This method provides access to the ORDADJDSC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 void setOrderAdjustmentId(java.lang.Long aOrderAdjustmentId)
          This method provides access to the ORDADJDSC.ORDADJUST_ID column of DB2 type BIGINT NOT NULL.
 void setOrderAdjustmentId(java.lang.String aOrderAdjustmentId)
          This method provides access to the ORDADJDSC.ORDADJUST_ID column of DB2 type BIGINT 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

OrderAdjustmentDescriptionAccessBean

public OrderAdjustmentDescriptionAccessBean()

Default constructor. Maps to findByPrimaryKey.


OrderAdjustmentDescriptionAccessBean

public OrderAdjustmentDescriptionAccessBean(javax.ejb.EJBObject object)
                                     throws java.rmi.RemoteException

Creates an access bean for the specified EJB

Parameters:
object - The EJB Object used for the access bean construction.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception

OrderAdjustmentDescriptionAccessBean

public OrderAdjustmentDescriptionAccessBean(java.lang.Long anOrderAdjustmentId,
                                            java.lang.Integer anLanguageId)
                                     throws javax.ejb.CreateException,
                                            java.rmi.RemoteException,
                                            javax.naming.NamingException

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

Parameters:
anOrderAdjustmentId - java.lang.Long Order adjustment identifier
anLanguageId - java.lang.Integer Language of the description
Throws:
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.naming.NamingException - The javax.naming.NamingException exception

OrderAdjustmentDescriptionAccessBean

public OrderAdjustmentDescriptionAccessBean(java.lang.Long anOrderAdjustmentId,
                                            java.lang.Integer anLanguageId,
                                            java.lang.String astrDescription)
                                     throws javax.ejb.CreateException,
                                            java.rmi.RemoteException,
                                            javax.naming.NamingException

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

Parameters:
anOrderAdjustmentId - java.lang.Long Order adjustment identifier
anLanguageId - java.lang.Integer Language of the description
astrDescription - java.lang.String A brief description of the order adjustment
Throws:
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.naming.NamingException - The javax.naming.NamingException 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 ORDADJDSC.DESCRIPTION column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

A brief description of the OrderAdjustment, suitable for display to a customer. Normally, this is the CalculationCode description (CALCODEDSC.DESCRIPTION) of the CalculationCode used to create the OrderAdjustment.

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

The following is a description of this column:

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

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

The following is a description of this column:

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

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

getOrderAdjustmentId

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

This method provides access to the ORDADJDSC.ORDADJUST_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Generated unique key.

Specified by:
getOrderAdjustmentId in interface OrderAdjustmentDescriptionAccessBeanData
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

getOrderAdjustmentIdInEJBType

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

This method provides access to the ORDADJDSC.ORDADJUST_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Generated unique key.

Returns:
java.lang.Long
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 ORDADJDSC.DESCRIPTION column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

A brief description of the OrderAdjustment, suitable for display to a customer. Normally, this is the CalculationCode description (CALCODEDSC.DESCRIPTION) of the CalculationCode used to create the OrderAdjustment.

Specified by:
setDescription in interface OrderAdjustmentDescriptionAccessBeanData
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_orderAdjustmentId

public void setInitKey_orderAdjustmentId(java.lang.String aInitKey_orderAdjustmentId)

Set the primary key for this object

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

setLanguageId

public void setLanguageId(java.lang.Integer aLanguageId)

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

The following is a description of this column:

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

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

setLanguageId

public void setLanguageId(java.lang.String aLanguageId)

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

The following is a description of this column:

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

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

setOrderAdjustmentId

public void setOrderAdjustmentId(java.lang.Long aOrderAdjustmentId)

This method provides access to the ORDADJDSC.ORDADJUST_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Generated unique key.

Parameters:
aOrderAdjustmentId - java.lang.Long
Returns:
void

setOrderAdjustmentId

public void setOrderAdjustmentId(java.lang.String aOrderAdjustmentId)

This method provides access to the ORDADJDSC.ORDADJUST_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Generated unique key.

Specified by:
setOrderAdjustmentId in interface OrderAdjustmentDescriptionAccessBeanData
Parameters:
aOrderAdjustmentId - java.lang.String
Returns:
void