com.ibm.commerce.ordermanagement.objects
Class RMAItemComponentAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractAccessBean
        |
        +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
              |
              +--com.ibm.commerce.ordermanagement.objects.RMAItemComponentAccessBean
All Implemented Interfaces:
RMAItemComponentAccessBeanData, java.io.Serializable

public class RMAItemComponentAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements RMAItemComponentAccessBeanData

This bean provides access to the RMAITEMCMP table.

The following is a description of this table:

This table describes the smallest unit of inventory items involved in a return merchandise authorization (RMA).

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
RMAItemComponentAccessBean()
          Default constructor.
RMAItemComponentAccessBean(javax.ejb.EJBObject ejbObject)
          Maps to a corresponding ejbCreate method in the home interface of the EJB
RMAItemComponentAccessBean(java.lang.Long rmaItemID, java.lang.Double quantity, java.lang.Long itemSpecificationID)
          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 findByRmaItemComponentIdForUpdate(java.lang.Long rmaItemComponentID)
          Retrieves all the RMA item components for a particular RMA item component ID.
 java.util.Enumeration findByRmaItemId(java.lang.Long rmaItemID)
          Retrieves all the RMA item components defined for a store and its corresponding store group, and returns the list sorted by store entity.
The SQL query used to fetch the requested row from the RMAITEMCMP table is:
SELECT * FROM RMAITEMCMP T1 WHERE T1.RMAITEM_ID = ?
 java.util.Enumeration findByRmaItemIdForUpdate(java.lang.Long rmaItemID)
          Retrieves all the RMA item components for a particular RMA item.
The SQL query used to fetch the requested row from the RMAITEMCMP table is:
SELECT * FROM RMAITEMCMP T1 WHERE T1.RMAITEM_ID = ? FOR UPDATE
 java.util.Enumeration findReceivableByRmaId(java.lang.Long rmaID)
          Retrieves all the RMA item components for a particular RMA item.
The SQL query used to fetch the requested row from the RMAITEMCMP table is:
SELECT * FROM RMAITEMCMP T1 WHERE T1.RMAITEM_ID = RMAITEM.RMAITEM_ID AND RMAITEM.RMA_ID = ? AND T1.SHOULDRECEIVE = 'Y'
 java.lang.String getCatentryId()
          This method provides access to the RMAITEMCMP.CATENTRY_ID column of DB2 type BIGINT NULL.
 java.lang.Long getCatentryIdInEJBType()
          This method provides access to the RMAITEMCMP.CATENTRY_ID column of DB2 type BIGINT NULL.
 java.lang.String getInventoryQuantity()
          This method provides access to the RMAITEMCMP.INVQUANTITY column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getInventoryQuantityInEJBType()
          This method provides access to the RMAITEMCMP.INVQUANTITY column of DB2 type INTEGER NOT NULL.
 java.lang.String getItemSpcId()
          This method provides access to the RMAITEMCMP.ITEMSPC_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getItemSpcIdInEJBType()
          This method provides access to the RMAITEMCMP.ITEMSPC_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getQuantity()
          This method provides access to the RMAITEMCMP.QUANTITY column of DB2 type FLOAT NOT NULL.
 java.lang.Double getQuantityInEJBType()
          This method provides access to the RMAITEMCMP.QUANTITY column of DB2 type FLOAT NOT NULL.
 java.lang.String getRmaItemCmpId()
          This method provides access to the RMAITEMCMP.RMAITEMCMP_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getRmaItemCmpIdInEJBType()
          This method provides access to the RMAITEMCMP.RMAITEMCMP_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getRmaItemId()
          This method provides access to the RMAITEMCMP.RMAITEM_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getRmaItemIdInEJBType()
          This method provides access to the RMAITEMCMP.RMAITEM_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getShouldReceive()
          This method provides access to the RMAITEMCMP.SHOULDRECEIVE column of DB2 type CHAR(1) NOT NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setCatentryId(java.lang.Long aCatentryId)
          This method provides access to the RMAITEMCMP.CATENTRY_ID column of DB2 type BIGINT NULL.
 void setCatentryId(java.lang.String aCatentryId)
          This method provides access to the RMAITEMCMP.CATENTRY_ID column of DB2 type BIGINT NULL.
 void setInitKey_rmaItemCmpId(java.lang.String aInitKey_rmaItemCmpId)
          Set the primary key for this object
 void setInventoryQuantity(java.lang.Integer aInventoryQuantity)
          This method provides access to the RMAITEMCMP.INVQUANTITY column of DB2 type INTEGER NOT NULL.
 void setInventoryQuantity(java.lang.String aInventoryQuantity)
          This method provides access to the RMAITEMCMP.INVQUANTITY column of DB2 type INTEGER NOT NULL.
 void setItemSpcId(java.lang.Long aItemSpcId)
          This method provides access to the RMAITEMCMP.ITEMSPC_ID column of DB2 type BIGINT NOT NULL.
 void setItemSpcId(java.lang.String aItemSpcId)
          This method provides access to the RMAITEMCMP.ITEMSPC_ID column of DB2 type BIGINT NOT NULL.
 void setQuantity(java.lang.Double aQuantity)
          This method provides access to the RMAITEMCMP.QUANTITY column of DB2 type FLOAT NOT NULL.
 void setQuantity(java.lang.String aQuantity)
          This method provides access to the RMAITEMCMP.QUANTITY column of DB2 type FLOAT NOT NULL.
 void setRmaItemCmpId(java.lang.Long aRmaItemCmpId)
          This method provides access to the RMAITEMCMP.RMAITEMCMP_ID column of DB2 type BIGINT NOT NULL.
 void setRmaItemCmpId(java.lang.String aRmaItemCmpId)
          This method provides access to the RMAITEMCMP.RMAITEMCMP_ID column of DB2 type BIGINT NOT NULL.
 void setRmaItemId(java.lang.Long aRmaItemId)
          This method provides access to the RMAITEMCMP.RMAITEM_ID column of DB2 type BIGINT NOT NULL.
 void setRmaItemId(java.lang.String aRmaItemId)
          This method provides access to the RMAITEMCMP.RMAITEM_ID column of DB2 type BIGINT NOT NULL.
 void setShouldReceive(java.lang.String aShouldReceive)
          This method provides access to the RMAITEMCMP.SHOULDRECEIVE column of DB2 type CHAR(1) 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

RMAItemComponentAccessBean

public RMAItemComponentAccessBean()

Default constructor. Maps to findByPrimaryKey.


RMAItemComponentAccessBean

public RMAItemComponentAccessBean(javax.ejb.EJBObject ejbObject)
                           throws java.rmi.RemoteException

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

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

RMAItemComponentAccessBean

public RMAItemComponentAccessBean(java.lang.Long rmaItemID,
                                  java.lang.Double quantity,
                                  java.lang.Long itemSpecificationID)
                           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:
rmaItemID - java.lang.Long RMA Item ID
quantity - java.lang.Double Quantity
itemSpecificationID - java.lang.Long Item Specification 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

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

findByRmaItemComponentIdForUpdate

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

Retrieves all the RMA item components for a particular RMA item component ID. There will be only one match.
The SQL query used to fetch the requested row from the RMAITEMCMP table is:
SELECT * FROM RMAITEMCMP T1 WHERE T1.RMAITEMCMP_ID = ? FOR UPDATE

Parameters:
rmaItemComponentID - java.lang.Long RMA Item Component ID
Returns:
An Enumeration of all the RMAItemComponentAccessBeans representing rows that match the search criteria.
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

findByRmaItemId

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

Retrieves all the RMA item components defined for a store and its corresponding store group, and returns the list sorted by store entity.
The SQL query used to fetch the requested row from the RMAITEMCMP table is:
SELECT * FROM RMAITEMCMP T1 WHERE T1.RMAITEM_ID = ?

Parameters:
rmaItemID - java.lang.Long RMA item ID
Returns:
An Enumeration of all the RMAItemComponentAccessBeans representing rows that match the search criteria.
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

findByRmaItemIdForUpdate

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

Retrieves all the RMA item components for a particular RMA item.
The SQL query used to fetch the requested row from the RMAITEMCMP table is:
SELECT * FROM RMAITEMCMP T1 WHERE T1.RMAITEM_ID = ? FOR UPDATE

Parameters:
rmaItemID - java.lang.Long RMA item ID
Returns:
An Enumeration of all the RMAItemComponentAccessBeans representing rows that match the search criteria.
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

findReceivableByRmaId

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

Retrieves all the RMA item components for a particular RMA item.
The SQL query used to fetch the requested row from the RMAITEMCMP table is:
SELECT * FROM RMAITEMCMP T1 WHERE T1.RMAITEM_ID = RMAITEM.RMAITEM_ID AND RMAITEM.RMA_ID = ? AND T1.SHOULDRECEIVE = 'Y'

Parameters:
rmaID - java.lang.Long RMA ID
Returns:
An Enumeration of all the RMAItemComponentAccessBeans representing rows that match the search criteria.
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

getCatentryId

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

This method provides access to the RMAITEMCMP.CATENTRY_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

Reserved for IBM internal use.

Specified by:
getCatentryId in interface RMAItemComponentAccessBeanData
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

getCatentryIdInEJBType

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

This method provides access to the RMAITEMCMP.CATENTRY_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

Reserved for IBM internal use.

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

getInventoryQuantity

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

This method provides access to the RMAITEMCMP.INVQUANTITY column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Quantity in inventory units of this component

Specified by:
getInventoryQuantity in interface RMAItemComponentAccessBeanData
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

getInventoryQuantityInEJBType

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

This method provides access to the RMAITEMCMP.INVQUANTITY column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Quantity in inventory units of this component

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

getItemSpcId

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

This method provides access to the RMAITEMCMP.ITEMSPC_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Identity of the inventory item.

Specified by:
getItemSpcId in interface RMAItemComponentAccessBeanData
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

getItemSpcIdInEJBType

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

This method provides access to the RMAITEMCMP.ITEMSPC_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Identity of the inventory item.

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

getQuantity

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

This method provides access to the RMAITEMCMP.QUANTITY column of DB2 type FLOAT NOT NULL.

The following is a description of this column:

The result of multiplying QUANTITY by CATENTSHIP.NOMINALQUANTITY must be a multiple of CATENTSHIP.QUANTITYMULTIPLE, and represents the actual quantity being purchased, in the unit of measurement specified by CATENTSHIP.QUANTITYMEASURE.

Specified by:
getQuantity in interface RMAItemComponentAccessBeanData
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

getQuantityInEJBType

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

This method provides access to the RMAITEMCMP.QUANTITY column of DB2 type FLOAT NOT NULL.

The following is a description of this column:

The result of multiplying QUANTITY by CATENTSHIP.NOMINALQUANTITY must be a multiple of CATENTSHIP.QUANTITYMULTIPLE, and represents the actual quantity being purchased, in the unit of measurement specified by CATENTSHIP.QUANTITYMEASURE.

Returns:
java.lang.Double
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

getRmaItemCmpId

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

This method provides access to the RMAITEMCMP.RMAITEMCMP_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Generated unique key.

Specified by:
getRmaItemCmpId in interface RMAItemComponentAccessBeanData
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

getRmaItemCmpIdInEJBType

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

This method provides access to the RMAITEMCMP.RMAITEMCMP_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

getRmaItemId

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

This method provides access to the RMAITEMCMP.RMAITEM_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The RMAItem that this component is a part of.

Specified by:
getRmaItemId in interface RMAItemComponentAccessBeanData
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

getRmaItemIdInEJBType

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

This method provides access to the RMAITEMCMP.RMAITEM_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The RMAItem that this component is a part of.

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

getShouldReceive

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

This method provides access to the RMAITEMCMP.SHOULDRECEIVE column of DB2 type CHAR(1) NOT NULL.

The following is a description of this column:

A flag that indicates whether this component will actually be received by the seller. Valid values are as follows:
Y = Expected to be received.
N = Will not be received.
S = System forced. Will not be received.

Specified by:
getShouldReceive in interface RMAItemComponentAccessBeanData
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

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

setCatentryId

public void setCatentryId(java.lang.Long aCatentryId)

This method provides access to the RMAITEMCMP.CATENTRY_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

Reserved for IBM internal use.

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

setCatentryId

public void setCatentryId(java.lang.String aCatentryId)

This method provides access to the RMAITEMCMP.CATENTRY_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

Reserved for IBM internal use.

Specified by:
setCatentryId in interface RMAItemComponentAccessBeanData
Parameters:
aCatentryId - java.lang.String
Returns:
void

setInitKey_rmaItemCmpId

public void setInitKey_rmaItemCmpId(java.lang.String aInitKey_rmaItemCmpId)

Set the primary key for this object

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

setInventoryQuantity

public void setInventoryQuantity(java.lang.Integer aInventoryQuantity)

This method provides access to the RMAITEMCMP.INVQUANTITY column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Quantity in inventory units of this component

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

setInventoryQuantity

public void setInventoryQuantity(java.lang.String aInventoryQuantity)

This method provides access to the RMAITEMCMP.INVQUANTITY column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Quantity in inventory units of this component

Specified by:
setInventoryQuantity in interface RMAItemComponentAccessBeanData
Parameters:
aInventoryQuantity - java.lang.String
Returns:
void

setItemSpcId

public void setItemSpcId(java.lang.Long aItemSpcId)

This method provides access to the RMAITEMCMP.ITEMSPC_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Identity of the inventory item.

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

setItemSpcId

public void setItemSpcId(java.lang.String aItemSpcId)

This method provides access to the RMAITEMCMP.ITEMSPC_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Identity of the inventory item.

Specified by:
setItemSpcId in interface RMAItemComponentAccessBeanData
Parameters:
aItemSpcId - java.lang.String
Returns:
void

setQuantity

public void setQuantity(java.lang.Double aQuantity)

This method provides access to the RMAITEMCMP.QUANTITY column of DB2 type FLOAT NOT NULL.

The following is a description of this column:

The result of multiplying QUANTITY by CATENTSHIP.NOMINALQUANTITY must be a multiple of CATENTSHIP.QUANTITYMULTIPLE, and represents the actual quantity being purchased, in the unit of measurement specified by CATENTSHIP.QUANTITYMEASURE.

Parameters:
aQuantity - java.lang.Double
Returns:
void

setQuantity

public void setQuantity(java.lang.String aQuantity)

This method provides access to the RMAITEMCMP.QUANTITY column of DB2 type FLOAT NOT NULL.

The following is a description of this column:

The result of multiplying QUANTITY by CATENTSHIP.NOMINALQUANTITY must be a multiple of CATENTSHIP.QUANTITYMULTIPLE, and represents the actual quantity being purchased, in the unit of measurement specified by CATENTSHIP.QUANTITYMEASURE.

Specified by:
setQuantity in interface RMAItemComponentAccessBeanData
Parameters:
aQuantity - java.lang.String
Returns:
void

setRmaItemCmpId

public void setRmaItemCmpId(java.lang.Long aRmaItemCmpId)

This method provides access to the RMAITEMCMP.RMAITEMCMP_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Generated unique key.

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

setRmaItemCmpId

public void setRmaItemCmpId(java.lang.String aRmaItemCmpId)

This method provides access to the RMAITEMCMP.RMAITEMCMP_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Generated unique key.

Specified by:
setRmaItemCmpId in interface RMAItemComponentAccessBeanData
Parameters:
aRmaItemCmpId - java.lang.String
Returns:
void

setRmaItemId

public void setRmaItemId(java.lang.Long aRmaItemId)

This method provides access to the RMAITEMCMP.RMAITEM_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The RMAItem that this component is a part of.

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

setRmaItemId

public void setRmaItemId(java.lang.String aRmaItemId)

This method provides access to the RMAITEMCMP.RMAITEM_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The RMAItem that this component is a part of.

Specified by:
setRmaItemId in interface RMAItemComponentAccessBeanData
Parameters:
aRmaItemId - java.lang.String
Returns:
void

setShouldReceive

public void setShouldReceive(java.lang.String aShouldReceive)

This method provides access to the RMAITEMCMP.SHOULDRECEIVE column of DB2 type CHAR(1) NOT NULL.

The following is a description of this column:

A flag that indicates whether this component will actually be received by the seller. Valid values are as follows:
Y = Expected to be received.
N = Will not be received.
S = System forced. Will not be received.

Specified by:
setShouldReceive in interface RMAItemComponentAccessBeanData
Parameters:
aShouldReceive - java.lang.String
Returns:
void