com.ibm.commerce.inventory.objects
Class InventoryAdjustmentCodeDescriptionAccessBean

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

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

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

See Also:
Serialized Form

Constructor Summary
InventoryAdjustmentCodeDescriptionAccessBean()
          constructor
InventoryAdjustmentCodeDescriptionAccessBean(javax.ejb.EJBObject o)
          constructor
InventoryAdjustmentCodeDescriptionAccessBean(java.lang.Long arg0, java.lang.Integer arg1)
          constructor
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
protected  java.lang.String defaultJNDIName()
           
 java.util.Enumeration findByInvAdjCodeId(java.lang.Long arg0)           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).
 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.
 java.sql.Timestamp getLastupdateInEJBType()
          This method provides access to the INVADJDESC.LASTUPDATE column of DB2 type TIMESTAMP.
protected  void instantiateEJB()
           
protected  boolean instantiateEJBByPrimaryKey()
           
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setDescription(java.lang.String newValue)
          This method provides access to the INVADJDESC.DESCRIPTION column of DB2 type VARCHAR(254).
 void setInitKey_invAdjCodeId(java.lang.String newValue)
          Set the primary key for this object
 void setInitKey_languageId(java.lang.String newValue)
          Set the primary key for this object
 void setInvAdjCodeId(java.lang.Long newValue)
          This method provides access to the INVADJDESC.INVADJCODE_ID column of DB2 type BIGINT NOT NULL.
 void setInvAdjCodeId(java.lang.String newValue)
          This method provides access to the INVADJDESC.INVADJCODE_ID column of DB2 type BIGINT NOT NULL.
 void setLanguageId(java.lang.Integer newValue)
          This method provides access to the INVADJDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 void setLanguageId(java.lang.String newValue)
          This method provides access to the INVADJDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 void setLastupdate(java.lang.String newValue)
          This method provides access to the INVADJDESC.LASTUPDATE column of DB2 type TIMESTAMP.
 void setLastupdate(java.sql.Timestamp newValue)
          This method provides access to the INVADJDESC.LASTUPDATE column of DB2 type TIMESTAMP.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InventoryAdjustmentCodeDescriptionAccessBean

public InventoryAdjustmentCodeDescriptionAccessBean()
constructor

InventoryAdjustmentCodeDescriptionAccessBean

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

InventoryAdjustmentCodeDescriptionAccessBean

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

findByInvAdjCodeId

public java.util.Enumeration findByInvAdjCodeId(java.lang.Long arg0)
                                         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 = ?

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

setInitKey_invAdjCodeId

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

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

setDescription

public void setDescription(java.lang.String newValue)

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

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:
newValue - java.lang.String
Returns:
void

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

setLanguageId

public void setLanguageId(java.lang.String newValue)

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:
newValue - String
Returns:
void

setLanguageId

public void setLanguageId(java.lang.Integer newValue)

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:
newValue - java.lang.Integer
Returns:
void

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.

The following is a description of this column:

The time this information was most recently updated.

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

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.

The following is a description of this column:

The time this information was most recently updated.

Returns:
java.sql.Timestamp
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setLastupdate

public void setLastupdate(java.lang.String newValue)

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

The following is a description of this column:

The time this information was most recently updated.

Specified by:
setLastupdate in interface InventoryAdjustmentCodeDescriptionAccessBeanData
Parameters:
newValue - String
Returns:
void

setLastupdate

public void setLastupdate(java.sql.Timestamp newValue)

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

The following is a description of this column:

The time this information was most recently updated.

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

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

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

setInvAdjCodeId

public void setInvAdjCodeId(java.lang.String newValue)

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:
newValue - String
Returns:
void

setInvAdjCodeId

public void setInvAdjCodeId(java.lang.Long newValue)

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:
newValue - java.lang.Long
Returns:
void