java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.fulfillment.objects.OrderItemCalculationCodeAccessBean
Each row of this table indicates to the CalculationCodeCombineMethod that a CalculationCode is directly attached to an OrderItem. The attachment is not effective unless the directCalculationCodeAttachment flag in ORDERITEMS.PREPAREFLAGS is 1. This access bean corresponds to the database table 'ORDICALCD'.
Constructor Summary | |
OrderItemCalculationCodeAccessBean() Zero argument constructor used to initialize the access bean. |
|
OrderItemCalculationCodeAccessBean(javax.ejb.EJBObject o) constructor |
|
OrderItemCalculationCodeAccessBean(java.lang.Long newOrderItemId, java.lang.Integer newCalculationCodeId) Creates an access bean with the specified attributes. |
Method Summary | |
void | commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected java.lang.String | defaultJNDIName() |
java.util.Enumeration | findByOrderItemId(java.lang.Long orderItemId) Retrieves the OrderItemCalculationCodeAccessBeans that match the specified Order Item. |
java.util.Enumeration | findByOrderItemIdAndCalculationCodeId(java.lang.Long orderItemId, java.lang.Integer calculationCodeId) Retrieves the OrderCalculationCodeAccessBeans that match the specified OrderItem and CalculationCode. |
java.util.Enumeration | findByOrderItems(java.lang.Long[] orderItemIds) Retrieves the OrderItemCalculationCodeAccessBeans that match the specified OrderItems. |
java.lang.String | getCalculationCodeId() This method provides access to the ORDICALCD.CALCODE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer | getCalculationCodeIdInEJBType() This method provides access to the ORDICALCD.CALCODE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.String | getCalculationFlags() This method provides access to the ORDICALCD.CALFLAGS column of DB2 type INTEGER NOT NULL DEFAULT 0. |
java.lang.Integer | getCalculationFlagsInEJBType() This method provides access to the ORDICALCD.CALFLAGS column of DB2 type INTEGER NOT NULL DEFAULT 0. |
java.lang.String | getCalculationParameterAmount() This method provides access to the ORDICALCD.CALPARMAMT column of DB2 type DECIMAL(20 5) NOT NULL DEFAULT 0. |
java.math.BigDecimal | getCalculationParameterAmountInEJBType() This method provides access to the ORDICALCD.CALPARMAMT column of DB2 type DECIMAL(20 5) NOT NULL DEFAULT 0. |
java.lang.String | getCalculationParameterType() This method provides access to the ORDICALCD.CALPARMTYPE column of DB2 type INTEGER NOT NULL DEFAULT 0. |
java.lang.Integer | getCalculationParameterTypeInEJBType() This method provides access to the ORDICALCD.CALPARMTYPE column of DB2 type INTEGER NOT NULL DEFAULT 0. |
java.lang.String | getOrderItemCalculationCodeId() This method provides access to the ORDICALCD.ORDICALCD_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getOrderItemCalculationCodeIdInEJBType() This method provides access to the ORDICALCD.ORDICALCD_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String | getOrderItemId() This method provides access to the ORDICALCD.ORDERITEMS_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getOrderItemIdInEJBType() This method provides access to the ORDICALCD.ORDERITEMS_ID column of DB2 type BIGINT NOT NULL. |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() Load data from the EJBObject. |
void | setCalculationCodeId(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setCalculationCodeId(java.lang.String newValue) This method accesses a non-CMP field |
void | setCalculationFlags(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setCalculationFlags(java.lang.String newValue) This method accesses a non-CMP field |
void | setCalculationParameterAmount(java.math.BigDecimal newValue) This method accesses a non-CMP field |
void | setCalculationParameterAmount(java.lang.String newValue) This method accesses a non-CMP field |
void | setCalculationParameterType(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setCalculationParameterType(java.lang.String newValue) This method accesses a non-CMP field |
void | setInitKey_orderItemCalculationCodeId(java.lang.String newValue) Set the primary key for this object |
void | setOrderItemCalculationCodeId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setOrderItemCalculationCodeId(java.lang.String newValue) This method accesses a non-CMP field |
void | setOrderItemId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setOrderItemId(java.lang.String newValue) This method accesses a non-CMP field |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public OrderItemCalculationCodeAccessBean()
public OrderItemCalculationCodeAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public OrderItemCalculationCodeAccessBean(java.lang.Long newOrderItemId, java.lang.Integer newCalculationCodeId) throws javax.naming.NamingException, javax.ejb.FinderException, javax.ejb.CreateException, java.rmi.RemoteException
Creates an access bean with the specified attributes.
Method Detail |
public java.util.Enumeration findByOrderItemId(java.lang.Long orderItemId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves the OrderItemCalculationCodeAccessBeans that match the specified Order Item.
The SQL query used to fetch all the required rows from the ORDICALCD table is: SELECT * FROM ORDICALCD T1 WHERE T1.ORDERITEMS_ID = ?
public java.util.Enumeration findByOrderItems(java.lang.Long[] orderItemIds) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves the OrderItemCalculationCodeAccessBeans that match the specified OrderItems.
The SQL query used to fetch all the required rows from the ORDICALCD table is: SELECT * FROM ORDICALCD T1 WHERE T1.ORDERITEMS_ID IN (?, ...)
public void setInitKey_orderItemCalculationCodeId(java.lang.String newValue)
Set the primary key for this object
protected java.lang.String defaultJNDIName()
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.naming.NamingException
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Update(flush) data to the EJBObject (persistent storage).
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
public java.lang.String getCalculationCodeId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORDICALCD.CALCODE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The CalculationCode.
public java.lang.Integer getCalculationCodeIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORDICALCD.CALCODE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The CalculationCode.
public void setCalculationCodeId(java.lang.String newValue)
public void setCalculationCodeId(java.lang.Integer newValue)
public java.lang.String getCalculationParameterAmount() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORDICALCD.CALPARMAMT column of DB2 type DECIMAL(20 5) NOT NULL DEFAULT 0.
The following is a description of this column:
The amount of a fixed or percentage adjustment that can be applied to adjust or replace the results of the CalculationScales associated with the attached CalculationCode.
public java.math.BigDecimal getCalculationParameterAmountInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORDICALCD.CALPARMAMT column of DB2 type DECIMAL(20 5) NOT NULL DEFAULT 0.
The following is a description of this column:
The amount of a fixed or percentage adjustment that can be applied to adjust or replace the results of the CalculationScales associated with the attached CalculationCode.
public void setCalculationParameterAmount(java.lang.String newValue)
public void setCalculationParameterAmount(java.math.BigDecimal newValue)
public java.lang.String getCalculationParameterType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORDICALCD.CALPARMTYPE column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
Indicates how CALPARMAMT is used.&l
public java.lang.Integer getCalculationParameterTypeInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORDICALCD.CALPARMTYPE column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
Indicates how CALPARMAMT is used.&l
public void setCalculationParameterType(java.lang.String newValue)
public void setCalculationParameterType(java.lang.Integer newValue)
public java.lang.String getOrderItemCalculationCodeId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORDICALCD.ORDICALCD_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Generated unique key.
public java.lang.Long getOrderItemCalculationCodeIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORDICALCD.ORDICALCD_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Generated unique key.
public void setOrderItemCalculationCodeId(java.lang.String newValue)
public void setOrderItemCalculationCodeId(java.lang.Long newValue)
public java.lang.String getOrderItemId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORDICALCD.ORDERITEMS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The OrderItem.
public java.lang.Long getOrderItemIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORDICALCD.ORDERITEMS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The OrderItem.
public void setOrderItemId(java.lang.String newValue)
public void setOrderItemId(java.lang.Long newValue)
public java.lang.String getCalculationFlags() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORDICALCD.CALFLAGS column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
Contains the following bit flag:&l
public java.lang.Integer getCalculationFlagsInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORDICALCD.CALFLAGS column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
Contains the following bit flag:&l
public void setCalculationFlags(java.lang.String newValue)
public void setCalculationFlags(java.lang.Integer newValue)
public java.util.Enumeration findByOrderItemIdAndCalculationCodeId(java.lang.Long orderItemId, java.lang.Integer calculationCodeId) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
Retrieves the OrderCalculationCodeAccessBeans that match the specified OrderItem and CalculationCode.
The SQL query used to fetch all the required rows from the ORDICALCD table is: SELECT * FROM ORDICALCD T1 WHERE T1.ORDERITEMS_ID = ? AND T1.CALCODE_ID = ?
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.