com.ibm.commerce.inventory.objects
Class InventoryAdjustmentCodeDescriptionAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractAccessBean
        |
        +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
              |
              +--com.ibm.commerce.inventory.objects.InventoryAdjustmentCodeDescriptionAccessBean
All Implemented Interfaces:
InventoryAdjustmentCodeDescriptionAccessBeanData, java.io.Serializable

public class InventoryAdjustmentCodeDescriptionAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements InventoryAdjustmentCodeDescriptionAccessBeanData

This bean provides access to the INVADJDESC table.

The following is a description of this table:

Each row of this table contains language-dependent information about an InventoryAdjustmentCode.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
InventoryAdjustmentCodeDescriptionAccessBean()
          Default constructor.
InventoryAdjustmentCodeDescriptionAccessBean(javax.ejb.EJBObject object)
          Creates an access bean for the specified EJB
InventoryAdjustmentCodeDescriptionAccessBean(java.lang.Long InvAdjCodeId, 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.util.Enumeration findByInvAdjCodeId(java.lang.Long InvAdjCodeId)
          Retrieves the Inventory Adjusment Code Description with the specified INVADJCODE_ID
The SQL query used to fetch the requested row from the INVADJDESC table is:
SELECT * FROM INVADJDESC T1 WHERE T1.INVADJCODE_ID = ?
 java.lang.String getDescription()
          This method provides access to the INVADJDESC.DESCRIPTION column of DB2 type VARCHAR(254) NULL.
 java.lang.String getInvAdjCodeId()
          This method provides access to the INVADJDESC.INVADJCODE_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getInvAdjCodeIdInEJBType()
          This method provides access to the INVADJDESC.INVADJCODE_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getLanguageId()
          This method provides access to the INVADJDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getLanguageIdInEJBType()
          This method provides access to the INVADJDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getLastupdate()
          This method provides access to the INVADJDESC.LASTUPDATE column of DB2 type TIMESTAMP NULL.
 java.sql.Timestamp getLastupdateInEJBType()
          This method provides access to the INVADJDESC.LASTUPDATE column of DB2 type TIMESTAMP NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setDescription(java.lang.String aDescription)
          This method provides access to the INVADJDESC.DESCRIPTION column of DB2 type VARCHAR(254) NULL.
 void setInitKey_invAdjCodeId(java.lang.String aInitKey_invAdjCodeId)
          Set the primary key for this object
 void setInitKey_languageId(java.lang.String aInitKey_languageId)
          Set the primary key for this object
 void setInvAdjCodeId(java.lang.Long aInvAdjCodeId)
          This method provides access to the INVADJDESC.INVADJCODE_ID column of DB2 type BIGINT NOT NULL.
 void setInvAdjCodeId(java.lang.String aInvAdjCodeId)
          This method provides access to the INVADJDESC.INVADJCODE_ID column of DB2 type BIGINT NOT NULL.
 void setLanguageId(java.lang.Integer aLanguageId)
          This method provides access to the INVADJDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 void setLanguageId(java.lang.String aLanguageId)
          This method provides access to the INVADJDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 void setLastupdate(java.lang.String aLastupdate)
          This method provides access to the INVADJDESC.LASTUPDATE column of DB2 type TIMESTAMP NULL.
 void setLastupdate(java.sql.Timestamp aLastupdate)
          This method provides access to the INVADJDESC.LASTUPDATE column of DB2 type TIMESTAMP 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

InventoryAdjustmentCodeDescriptionAccessBean

public InventoryAdjustmentCodeDescriptionAccessBean()

Default constructor. Maps to findByPrimaryKey.


InventoryAdjustmentCodeDescriptionAccessBean

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

Creates an access bean for the specified EJB

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

InventoryAdjustmentCodeDescriptionAccessBean

public InventoryAdjustmentCodeDescriptionAccessBean(java.lang.Long InvAdjCodeId,
                                                    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:
InvAdjCodeId - - java.lang.Long
LanguageId - - java.lang.Integer
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

findByInvAdjCodeId

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

Retrieves the Inventory Adjusment Code Description with the specified INVADJCODE_ID
The SQL query used to fetch the requested row from the INVADJDESC table is:
SELECT * FROM INVADJDESC T1 WHERE T1.INVADJCODE_ID = ?

Parameters:
InvAdjCodeId - - 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 - 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 INVADJDESC.DESCRIPTION column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

A description of the InventoryAdjustmentCode, suitable for display in a user interface that manages InventoryAdjustments or InventoryAdjustmentCodes.

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

getInvAdjCodeId

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

This method provides access to the INVADJDESC.INVADJCODE_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The InventoryAdjustmentCode.

Specified by:
getInvAdjCodeId in interface InventoryAdjustmentCodeDescriptionAccessBeanData
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

getInvAdjCodeIdInEJBType

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

This method provides access to the INVADJDESC.INVADJCODE_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The InventoryAdjustmentCode.

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

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

The following is a description of this column:

The language for this information. For a list of language components, see the LANGUAGE table.

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

The following is a description of this column:

The language for this information. 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

getLastupdate

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

This method provides access to the INVADJDESC.LASTUPDATE column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

The time this information was most recently updated.

Specified by:
getLastupdate in interface InventoryAdjustmentCodeDescriptionAccessBeanData
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

getLastupdateInEJBType

public java.sql.Timestamp getLastupdateInEJBType()
                                          throws java.rmi.RemoteException,
                                                 javax.ejb.CreateException,
                                                 javax.ejb.FinderException,
                                                 javax.naming.NamingException

This method provides access to the INVADJDESC.LASTUPDATE column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

The time this information was most recently updated.

Returns:
java.sql.Timestamp
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 INVADJDESC.DESCRIPTION column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

A description of the InventoryAdjustmentCode, suitable for display in a user interface that manages InventoryAdjustments or InventoryAdjustmentCodes.

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

setInitKey_invAdjCodeId

public void setInitKey_invAdjCodeId(java.lang.String aInitKey_invAdjCodeId)

Set the primary key for this object

Parameters:
aInitKey_invAdjCodeId - 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

setInvAdjCodeId

public void setInvAdjCodeId(java.lang.Long aInvAdjCodeId)

This method provides access to the INVADJDESC.INVADJCODE_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The InventoryAdjustmentCode.

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

setInvAdjCodeId

public void setInvAdjCodeId(java.lang.String aInvAdjCodeId)

This method provides access to the INVADJDESC.INVADJCODE_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The InventoryAdjustmentCode.

Specified by:
setInvAdjCodeId in interface InventoryAdjustmentCodeDescriptionAccessBeanData
Parameters:
aInvAdjCodeId - java.lang.String
Returns:
void

setLanguageId

public void setLanguageId(java.lang.Integer aLanguageId)

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

The following is a description of this column:

The language for this information. 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 INVADJDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The language for this information. For a list of language components, see the LANGUAGE table.

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

setLastupdate

public void setLastupdate(java.lang.String aLastupdate)

This method provides access to the INVADJDESC.LASTUPDATE column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

The time this information was most recently updated.

Specified by:
setLastupdate in interface InventoryAdjustmentCodeDescriptionAccessBeanData
Parameters:
aLastupdate - java.lang.String
Returns:
void

setLastupdate

public void setLastupdate(java.sql.Timestamp aLastupdate)

This method provides access to the INVADJDESC.LASTUPDATE column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

The time this information was most recently updated.

Parameters:
aLastupdate - java.sql.Timestamp
Returns:
void