java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.fulfillment.objects.OrderCalculationCodeAccessBean
Each row of this table indicates to the CalculationCodeCombineMethod that a CalculationCode is directly attached to all OrderItems in an Order whose directCalculationCodeAttachment flag in ORDERITEMS.PREPAREFLAGS is 1. This access bean corresponds to the database table 'ORDCALCD'.
Constructor Summary | |
OrderCalculationCodeAccessBean() Zero argument constructor used to initialize the access bean. |
|
OrderCalculationCodeAccessBean(javax.ejb.EJBObject o) constructor |
|
OrderCalculationCodeAccessBean(java.lang.Long newOrderId, 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 | findByOrderId(java.lang.Long orderId) Retrieves the OrderCalculationCodeAccessBeans that match the specified Order. |
java.util.Enumeration | findByOrderIdAndCalculationCodeId(java.lang.Long orderId, java.lang.Integer calculationCodeId) Retrieves the OrderCalculationCodeAccessBeans that match the specified Order and CalculationCode. |
java.lang.String | getCalculationCodeId() This method provides access to the ORDCALCD.CALCODE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer | getCalculationCodeIdInEJBType() This method provides access to the ORDCALCD.CALCODE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.String | getCalculationFlags() This method provides access to the ORDCALCD.CALFLAGS column of DB2 type INTEGER NOT NULL DEFAULT 0. |
java.lang.Integer | getCalculationFlagsInEJBType() This method provides access to the ORDCALCD.CALFLAGS column of DB2 type INTEGER NOT NULL DEFAULT 0. |
java.lang.String | getCalculationParameterAmount() This method provides access to the ORDCALCD.CALPARMAMT column of DB2 type DECIMAL(20 5) NOT NULL DEFAULT 0. |
java.math.BigDecimal | getCalculationParameterAmountInEJBType() This method provides access to the ORDCALCD.CALPARMAMT column of DB2 type DECIMAL(20 5) NOT NULL DEFAULT 0. |
java.lang.String | getCalculationParameterType() This method provides access to the ORDCALCD.CALPARMTYPE column of DB2 type INTEGER NOT NULL DEFAULT 0. |
java.lang.Integer | getCalculationParameterTypeInEJBType() This method provides access to the ORDCALCD.CALPARMTYPE column of DB2 type INTEGER NOT NULL DEFAULT 0. |
java.lang.String | getOrderCalculationCodeId() This method provides access to the ORDCALCD.ORDCALCD_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getOrderCalculationCodeIdInEJBType() This method provides access to the ORDCALCD.ORDCALCD_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String | getOrderId() This method provides access to the ORDCALCD.ORDERS_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getOrderIdInEJBType() This method provides access to the ORDCALCD.ORDERS_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_orderCalculationCodeId(java.lang.String newValue) Set the primary key for this object |
void | setOrderCalculationCodeId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setOrderCalculationCodeId(java.lang.String newValue) This method accesses a non-CMP field |
void | setOrderId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setOrderId(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 OrderCalculationCodeAccessBean()
public OrderCalculationCodeAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public OrderCalculationCodeAccessBean(java.lang.Long newOrderId, java.lang.Integer newCalculationCodeId) throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
Creates an access bean with the specified attributes.
Method Detail |
public java.util.Enumeration findByOrderId(java.lang.Long orderId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves the OrderCalculationCodeAccessBeans that match the specified Order.
The SQL query used to fetch all the required rows from the ORDCALCD table is: SELECT * FROM ORDCALCD T1 WHERE T1.ORDERS_ID = ?
public java.util.Enumeration findByOrderIdAndCalculationCodeId(java.lang.Long orderId, java.lang.Integer calculationCodeId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves the OrderCalculationCodeAccessBeans that match the specified Order and CalculationCode.
The SQL query used to fetch all the required rows from the ORDCALCD table is: SELECT * FROM ORDCALCD T1 WHERE T1.ORDERS_ID = ? AND T1.CALCODE_ID = ?
public void setInitKey_orderCalculationCodeId(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 ORDCALCD.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 ORDCALCD.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 ORDCALCD.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 ORDCALCD.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 ORDCALCD.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 ORDCALCD.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 getOrderCalculationCodeId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORDCALCD.ORDCALCD_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Generated unique key.
public java.lang.Long getOrderCalculationCodeIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORDCALCD.ORDCALCD_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Generated unique key.
public void setOrderCalculationCodeId(java.lang.String newValue)
public void setOrderCalculationCodeId(java.lang.Long newValue)
public java.lang.String getOrderId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORDCALCD.ORDERS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The Order.
public java.lang.Long getOrderIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORDCALCD.ORDERS_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The Order.
public void setOrderId(java.lang.String newValue)
public void setOrderId(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 ORDCALCD.CALFLAGS column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
Contains the following bit flag value:&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 ORDCALCD.CALFLAGS column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
Contains the following bit flag value:&l
public void setCalculationFlags(java.lang.String newValue)
public void setCalculationFlags(java.lang.Integer newValue)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.