com.ibm.commerce.order.objects
Class OrderItemComponentAccessBean

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

public class OrderItemComponentAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements OrderItemComponentAccessBeanData

This bean provides access to the OICOMPLIST table.

The following is a description of this table:

Each rows contains information about the components of a DynamicKit as defined for a particular OrderItem.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
OrderItemComponentAccessBean()
          Default constructor.
OrderItemComponentAccessBean(javax.ejb.EJBObject object)
          Creates an access bean for the specified EJB
OrderItemComponentAccessBean(java.lang.String astrConfigurationId)
          Maps to a corresponding ejbCreate method in the home interface of the EJB
OrderItemComponentAccessBean(java.lang.String astrConfigurationId, java.lang.Long anOrderItemId, java.lang.Long anItemSpecificationId)
          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 findByConfigurationId(java.lang.String astrConfigurationId)
          Retrieves all the components of a dynamic kit for specified configuration id.
The SQL query used to fetch all the required rows from the OICOMPLIST table is:
SELECT * FROM OICOMPLIST T1 WHERE (T1.CONFIGURATIONID = ?)
 java.util.Enumeration findByOrderItemId(java.lang.Long anOrderItemId)
          Retrieves all the components of a dynamic kit for specified order item.
The SQL query used to fetch all the required rows from the OICOMPLIST table is:
SELECT * FROM OICOMPLIST T1 WHERE (T1.ORDERITEMS_ID = ?)
 java.util.Enumeration findByOrderItemIdAndConfigurationId(java.lang.Long anOrderItemId, java.lang.String astrConfigurationId)
          Retrieves all the components of a dynamic kit for specified order item and configuration id.
The SQL query used to fetch all the required rows from the OICOMPLIST table is:
SELECT * FROM OICOMPLIST T1 WHERE (T1.ORDERITEMS_ID = ? and T1.CONFIGURATIONID = ?)
 java.lang.String getCatalogEntryId()
          This method provides access to the OICOMPLIST.CATENTRY_ID column of DB2 type BIGINT NULL.
 java.lang.Long getCatalogEntryIdInEJBType()
          This method provides access to the OICOMPLIST.CATENTRY_ID column of DB2 type BIGINT NULL.
 java.lang.String getCatalogQuantity()
          This method provides access to the OICOMPLIST.CATALOGQUANTITY column of DB2 type DOUBLE NULL.
 java.lang.Double getCatalogQuantityInEJBType()
          This method provides access to the OICOMPLIST.CATALOGQUANTITY column of DB2 type DOUBLE NULL.
 java.lang.String getConfigurationId()
          This method provides access to the OICOMPLIST.CONFIGURATIONID column of DB2 type VARCHAR(128) NULL.
 java.lang.String getCurrency()
          This method provides access to the OICOMPLIST.CURRENCY column of DB2 type CHAR(3) NULL.
 java.lang.String getInventoryQuantity()
          This method provides access to the OICOMPLIST.INVENTORYQUANTITY column of DB2 type INTEGER NULL.
 java.lang.Integer getInventoryQuantityInEJBType()
          This method provides access to the OICOMPLIST.INVENTORYQUANTITY column of DB2 type INTEGER NULL.
 java.lang.String getItemSpecificationId()
          This method provides access to the OICOMPLIST.ITEMSPC_ID column of DB2 type BIGINT NULL.
 java.lang.Long getItemSpecificationIdInEJBType()
          This method provides access to the OICOMPLIST.ITEMSPC_ID column of DB2 type BIGINT NULL.
 java.lang.String getOrderItemComponentId()
          This method provides access to the OICOMPLIST.OICOMPLIST_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getOrderItemComponentIdInEJBType()
          This method provides access to the OICOMPLIST.OICOMPLIST_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getOrderItemId()
          This method provides access to the OICOMPLIST.ORDERITEMS_ID column of DB2 type BIGINT NULL.
 java.lang.Long getOrderItemIdInEJBType()
          This method provides access to the OICOMPLIST.ORDERITEMS_ID column of DB2 type BIGINT NULL.
 java.lang.String getRequired()
          This method provides access to the OICOMPLIST.REQUIRED column of DB2 type CHAR(1) NULL.
 java.lang.String getUnitPrice()
          This method provides access to the OICOMPLIST.UNITPRICE column of DB2 type DECIMAL(20,5) NULL.
 java.math.BigDecimal getUnitPriceInEJBType()
          This method provides access to the OICOMPLIST.UNITPRICE column of DB2 type DECIMAL(20,5) NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setCatalogEntryId(java.lang.Long aCatalogEntryId)
          This method provides access to the OICOMPLIST.CATENTRY_ID column of DB2 type BIGINT NULL.
 void setCatalogEntryId(java.lang.String aCatalogEntryId)
          This method provides access to the OICOMPLIST.CATENTRY_ID column of DB2 type BIGINT NULL.
 void setCatalogQuantity(java.lang.Double aCatalogQuantity)
          This method provides access to the OICOMPLIST.CATALOGQUANTITY column of DB2 type DOUBLE NULL.
 void setCatalogQuantity(java.lang.String aCatalogQuantity)
          This method provides access to the OICOMPLIST.CATALOGQUANTITY column of DB2 type DOUBLE NULL.
 void setConfigurationId(java.lang.String aConfigurationId)
          This method provides access to the OICOMPLIST.CONFIGURATIONID column of DB2 type VARCHAR(128) NULL.
 void setCurrency(java.lang.String aCurrency)
          This method provides access to the OICOMPLIST.CURRENCY column of DB2 type CHAR(3) NULL.
 void setInitKey_orderItemComponentId(java.lang.String aInitKey_orderItemComponentId)
          Set the primary key for this object
 void setInventoryQuantity(java.lang.Integer aInventoryQuantity)
          This method provides access to the OICOMPLIST.INVENTORYQUANTITY column of DB2 type INTEGER NULL.
 void setInventoryQuantity(java.lang.String aInventoryQuantity)
          This method provides access to the OICOMPLIST.INVENTORYQUANTITY column of DB2 type INTEGER NULL.
 void setItemSpecificationId(java.lang.Long aItemSpecificationId)
          This method provides access to the OICOMPLIST.ITEMSPC_ID column of DB2 type BIGINT NULL.
 void setItemSpecificationId(java.lang.String aItemSpecificationId)
          This method provides access to the OICOMPLIST.ITEMSPC_ID column of DB2 type BIGINT NULL.
 void setOrderItemId(java.lang.Long aOrderItemId)
          This method provides access to the OICOMPLIST.ORDERITEMS_ID column of DB2 type BIGINT NULL.
 void setOrderItemId(java.lang.String aOrderItemId)
          This method provides access to the OICOMPLIST.ORDERITEMS_ID column of DB2 type BIGINT NULL.
 void setRequired(java.lang.String aRequired)
          This method provides access to the OICOMPLIST.REQUIRED column of DB2 type CHAR(1) NULL.
 void setUnitPrice(java.math.BigDecimal aUnitPrice)
          This method provides access to the OICOMPLIST.UNITPRICE column of DB2 type DECIMAL(20,5) NULL.
 void setUnitPrice(java.lang.String aUnitPrice)
          This method provides access to the OICOMPLIST.UNITPRICE column of DB2 type DECIMAL(20,5) 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

OrderItemComponentAccessBean

public OrderItemComponentAccessBean()

Default constructor. Maps to findByPrimaryKey.


OrderItemComponentAccessBean

public OrderItemComponentAccessBean(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

OrderItemComponentAccessBean

public OrderItemComponentAccessBean(java.lang.String astrConfigurationId)
                             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:
astrConfigurationId - java.lang.String Configuration id supplied by an external configurator
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

OrderItemComponentAccessBean

public OrderItemComponentAccessBean(java.lang.String astrConfigurationId,
                                    java.lang.Long anOrderItemId,
                                    java.lang.Long anItemSpecificationId)
                             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:
astrConfigurationId - java.lang.String Configuration id supplied by an external configurator
anOrderItemId - java.lang.Long The order item to which the component is related
anItemSpecificationId - java.lang.Long The specified item identifier for the component
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

findByConfigurationId

public java.util.Enumeration findByConfigurationId(java.lang.String astrConfigurationId)
                                            throws java.rmi.RemoteException,
                                                   javax.ejb.FinderException,
                                                   javax.naming.NamingException

Retrieves all the components of a dynamic kit for specified configuration id.
The SQL query used to fetch all the required rows from the OICOMPLIST table is:
SELECT * FROM OICOMPLIST T1 WHERE (T1.CONFIGURATIONID = ?)

Parameters:
astrConfigurationId - java.lang.String Configuration identifier
Returns:
java.util.Enumeration An Enumeration of all the OrderItemComponentAccessBean objects 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

findByOrderItemId

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

Retrieves all the components of a dynamic kit for specified order item.
The SQL query used to fetch all the required rows from the OICOMPLIST table is:
SELECT * FROM OICOMPLIST T1 WHERE (T1.ORDERITEMS_ID = ?)

Parameters:
anOrderItemId - java.lang.Long Order item identifier
Returns:
java.util.Enumeration An Enumeration of all the OrderItemComponentAccessBean objects 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

findByOrderItemIdAndConfigurationId

public java.util.Enumeration findByOrderItemIdAndConfigurationId(java.lang.Long anOrderItemId,
                                                                 java.lang.String astrConfigurationId)
                                                          throws java.rmi.RemoteException,
                                                                 javax.ejb.FinderException,
                                                                 javax.naming.NamingException

Retrieves all the components of a dynamic kit for specified order item and configuration id.
The SQL query used to fetch all the required rows from the OICOMPLIST table is:
SELECT * FROM OICOMPLIST T1 WHERE (T1.ORDERITEMS_ID = ? and T1.CONFIGURATIONID = ?)

Parameters:
anOrderItemId - java.lang.Long Order item identifier
astrConfigurationId - java.lang.String Configuration identifier
Returns:
java.util.Enumeration An Enumeration of all the OrderItemComponentAccessBean objects 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

getCatalogEntryId

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

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

The following is a description of this column:

The CatalogEntry that this component refers to.

Specified by:
getCatalogEntryId in interface OrderItemComponentAccessBeanData
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

getCatalogEntryIdInEJBType

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

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

The following is a description of this column:

The CatalogEntry that this component refers to.

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

getCatalogQuantity

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

This method provides access to the OICOMPLIST.CATALOGQUANTITY column of DB2 type DOUBLE NULL.

The following is a description of this column:

The quantity of the CatalogEntry for this component.

Specified by:
getCatalogQuantity in interface OrderItemComponentAccessBeanData
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

getCatalogQuantityInEJBType

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

This method provides access to the OICOMPLIST.CATALOGQUANTITY column of DB2 type DOUBLE NULL.

The following is a description of this column:

The quantity of the CatalogEntry for this component.

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

getConfigurationId

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

This method provides access to the OICOMPLIST.CONFIGURATIONID column of DB2 type VARCHAR(128) NULL.

The following is a description of this column:

The configuration ID that is supplied by an external configurator to uniquely define a set of components that makes up a DynamicKit.

Specified by:
getConfigurationId in interface OrderItemComponentAccessBeanData
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

getCurrency

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

This method provides access to the OICOMPLIST.CURRENCY column of DB2 type CHAR(3) NULL.

The following is a description of this column:

The currency of the unit price of this component. This is a currency code as per ISO 4217 standards.

Specified by:
getCurrency in interface OrderItemComponentAccessBeanData
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

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 OICOMPLIST.INVENTORYQUANTITY column of DB2 type INTEGER NULL.

The following is a description of this column:

The quantity of the SpecifiedItem which is needed to satisfy an order for one unit of the DynamicKit.

Specified by:
getInventoryQuantity in interface OrderItemComponentAccessBeanData
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 OICOMPLIST.INVENTORYQUANTITY column of DB2 type INTEGER NULL.

The following is a description of this column:

The quantity of the SpecifiedItem which is needed to satisfy an order for one unit of the DynamicKit.

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

getItemSpecificationId

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

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

The following is a description of this column:

The SpecifiedItem ID for the component.

Specified by:
getItemSpecificationId in interface OrderItemComponentAccessBeanData
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

getItemSpecificationIdInEJBType

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

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

The following is a description of this column:

The SpecifiedItem ID for the component.

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

getOrderItemComponentId

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

This method provides access to the OICOMPLIST.OICOMPLIST_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Generated unique identifier.

Specified by:
getOrderItemComponentId in interface OrderItemComponentAccessBeanData
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

getOrderItemComponentIdInEJBType

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

This method provides access to the OICOMPLIST.OICOMPLIST_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Generated unique identifier.

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

getOrderItemId

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

This method provides access to the OICOMPLIST.ORDERITEMS_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

The OrderItem to which this component is related.

Specified by:
getOrderItemId in interface OrderItemComponentAccessBeanData
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

getOrderItemIdInEJBType

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

This method provides access to the OICOMPLIST.ORDERITEMS_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

The OrderItem to which this component is related.

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

getRequired

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

This method provides access to the OICOMPLIST.REQUIRED column of DB2 type CHAR(1) NULL.

The following is a description of this column:

Indicates if this Item is required to build the Kit:
Y = Yes. If there is insufficient inventory for this Item, then the Kit must be backordered.
N = No. If there is insufficient inventory for this Item, the Kit may still be allocated.

Specified by:
getRequired in interface OrderItemComponentAccessBeanData
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

getUnitPrice

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

This method provides access to the OICOMPLIST.UNITPRICE column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

The unit price of this component.

Specified by:
getUnitPrice in interface OrderItemComponentAccessBeanData
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

getUnitPriceInEJBType

public java.math.BigDecimal getUnitPriceInEJBType()
                                           throws java.rmi.RemoteException,
                                                  javax.ejb.CreateException,
                                                  javax.ejb.FinderException,
                                                  javax.naming.NamingException

This method provides access to the OICOMPLIST.UNITPRICE column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

The unit price of this component.

Returns:
java.math.BigDecimal
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

setCatalogEntryId

public void setCatalogEntryId(java.lang.Long aCatalogEntryId)

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

The following is a description of this column:

The CatalogEntry that this component refers to.

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

setCatalogEntryId

public void setCatalogEntryId(java.lang.String aCatalogEntryId)

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

The following is a description of this column:

The CatalogEntry that this component refers to.

Specified by:
setCatalogEntryId in interface OrderItemComponentAccessBeanData
Parameters:
aCatalogEntryId - java.lang.String
Returns:
void

setCatalogQuantity

public void setCatalogQuantity(java.lang.Double aCatalogQuantity)

This method provides access to the OICOMPLIST.CATALOGQUANTITY column of DB2 type DOUBLE NULL.

The following is a description of this column:

The quantity of the CatalogEntry for this component.

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

setCatalogQuantity

public void setCatalogQuantity(java.lang.String aCatalogQuantity)

This method provides access to the OICOMPLIST.CATALOGQUANTITY column of DB2 type DOUBLE NULL.

The following is a description of this column:

The quantity of the CatalogEntry for this component.

Specified by:
setCatalogQuantity in interface OrderItemComponentAccessBeanData
Parameters:
aCatalogQuantity - java.lang.String
Returns:
void

setConfigurationId

public void setConfigurationId(java.lang.String aConfigurationId)

This method provides access to the OICOMPLIST.CONFIGURATIONID column of DB2 type VARCHAR(128) NULL.

The following is a description of this column:

The configuration ID that is supplied by an external configurator to uniquely define a set of components that makes up a DynamicKit.

Specified by:
setConfigurationId in interface OrderItemComponentAccessBeanData
Parameters:
aConfigurationId - java.lang.String
Returns:
void

setCurrency

public void setCurrency(java.lang.String aCurrency)

This method provides access to the OICOMPLIST.CURRENCY column of DB2 type CHAR(3) NULL.

The following is a description of this column:

The currency of the unit price of this component. This is a currency code as per ISO 4217 standards.

Specified by:
setCurrency in interface OrderItemComponentAccessBeanData
Parameters:
aCurrency - java.lang.String
Returns:
void

setInitKey_orderItemComponentId

public void setInitKey_orderItemComponentId(java.lang.String aInitKey_orderItemComponentId)

Set the primary key for this object

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

setInventoryQuantity

public void setInventoryQuantity(java.lang.Integer aInventoryQuantity)

This method provides access to the OICOMPLIST.INVENTORYQUANTITY column of DB2 type INTEGER NULL.

The following is a description of this column:

The quantity of the SpecifiedItem which is needed to satisfy an order for one unit of the DynamicKit.

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

setInventoryQuantity

public void setInventoryQuantity(java.lang.String aInventoryQuantity)

This method provides access to the OICOMPLIST.INVENTORYQUANTITY column of DB2 type INTEGER NULL.

The following is a description of this column:

The quantity of the SpecifiedItem which is needed to satisfy an order for one unit of the DynamicKit.

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

setItemSpecificationId

public void setItemSpecificationId(java.lang.Long aItemSpecificationId)

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

The following is a description of this column:

The SpecifiedItem ID for the component.

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

setItemSpecificationId

public void setItemSpecificationId(java.lang.String aItemSpecificationId)

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

The following is a description of this column:

The SpecifiedItem ID for the component.

Specified by:
setItemSpecificationId in interface OrderItemComponentAccessBeanData
Parameters:
aItemSpecificationId - java.lang.String
Returns:
void

setOrderItemId

public void setOrderItemId(java.lang.Long aOrderItemId)

This method provides access to the OICOMPLIST.ORDERITEMS_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

The OrderItem to which this component is related.

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

setOrderItemId

public void setOrderItemId(java.lang.String aOrderItemId)

This method provides access to the OICOMPLIST.ORDERITEMS_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

The OrderItem to which this component is related.

Specified by:
setOrderItemId in interface OrderItemComponentAccessBeanData
Parameters:
aOrderItemId - java.lang.String
Returns:
void

setRequired

public void setRequired(java.lang.String aRequired)

This method provides access to the OICOMPLIST.REQUIRED column of DB2 type CHAR(1) NULL.

The following is a description of this column:

Indicates if this Item is required to build the Kit:
Y = Yes. If there is insufficient inventory for this Item, then the Kit must be backordered.
N = No. If there is insufficient inventory for this Item, the Kit may still be allocated.

Specified by:
setRequired in interface OrderItemComponentAccessBeanData
Parameters:
aRequired - java.lang.String
Returns:
void

setUnitPrice

public void setUnitPrice(java.math.BigDecimal aUnitPrice)

This method provides access to the OICOMPLIST.UNITPRICE column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

The unit price of this component.

Parameters:
aUnitPrice - java.math.BigDecimal
Returns:
void

setUnitPrice

public void setUnitPrice(java.lang.String aUnitPrice)

This method provides access to the OICOMPLIST.UNITPRICE column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

The unit price of this component.

Specified by:
setUnitPrice in interface OrderItemComponentAccessBeanData
Parameters:
aUnitPrice - java.lang.String
Returns:
void