|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractAccessBean | +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean | +--com.ibm.commerce.fulfillment.objects.OrderItemCalculationCodeAccessBean
This bean provides access to the ORDICALCD table.
The following is a description of this table:
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.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
OrderItemCalculationCodeAccessBean()
Default constructor. |
|
OrderItemCalculationCodeAccessBean(javax.ejb.EJBObject aEJBObject)
Creates an access bean for the specified EJB. |
Method Summary | |
void |
commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage). |
java.util.Enumeration |
findByOrderItemId(java.lang.Long aOrderItemId)
Retrieves the OrderItemCalculationCodeAccessBeans that match the specified OrderItem. |
java.util.Enumeration |
findByOrderItems(java.lang.Long[] aOrderItemIds)
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. |
java.lang.Integer |
getCalculationFlagsInEJBType()
This method provides access to the ORDICALCD.CALFLAGS column of DB2 type INTEGER NOT NULL. |
java.lang.String |
getCalculationParameterAmount()
This method provides access to the ORDICALCD.CALPARMAMT column of DB2 type DECIMAL(20,5) NOT NULL. |
java.math.BigDecimal |
getCalculationParameterAmountInEJBType()
This method provides access to the ORDICALCD.CALPARMAMT column of DB2 type DECIMAL(20,5) NOT NULL. |
java.lang.String |
getCalculationParameterType()
This method provides access to the ORDICALCD.CALPARMTYPE column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getCalculationParameterTypeInEJBType()
This method provides access to the ORDICALCD.CALPARMTYPE column of DB2 type INTEGER NOT NULL. |
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. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setCalculationCodeId(java.lang.Integer aCalculationCodeId)
This method provides access to the ORDICALCD.CALCODE_ID column of DB2 type INTEGER NOT NULL. |
void |
setCalculationCodeId(java.lang.String aCalculationCodeId)
This method provides access to the ORDICALCD.CALCODE_ID column of DB2 type INTEGER NOT NULL. |
void |
setCalculationFlags(java.lang.Integer aCalculationFlags)
This method provides access to the ORDICALCD.CALFLAGS column of DB2 type INTEGER NOT NULL. |
void |
setCalculationFlags(java.lang.String aCalculationFlags)
This method provides access to the ORDICALCD.CALFLAGS column of DB2 type INTEGER NOT NULL. |
void |
setCalculationParameterAmount(java.math.BigDecimal aCalculationParameterAmount)
This method provides access to the ORDICALCD.CALPARMAMT column of DB2 type DECIMAL(20,5) NOT NULL. |
void |
setCalculationParameterAmount(java.lang.String aCalculationParameterAmount)
This method provides access to the ORDICALCD.CALPARMAMT column of DB2 type DECIMAL(20,5) NOT NULL. |
void |
setCalculationParameterType(java.lang.Integer aCalculationParameterType)
This method provides access to the ORDICALCD.CALPARMTYPE column of DB2 type INTEGER NOT NULL. |
void |
setCalculationParameterType(java.lang.String aCalculationParameterType)
This method provides access to the ORDICALCD.CALPARMTYPE column of DB2 type INTEGER NOT NULL. |
void |
setInitKey_orderItemCalculationCodeId(java.lang.String aInitKey_orderItemCalculationCodeId)
Set the primary key for this object |
void |
setOrderItemCalculationCodeId(java.lang.Long aOrderItemCalculationCodeId)
This method provides access to the ORDICALCD.ORDICALCD_ID column of DB2 type BIGINT NOT NULL. |
void |
setOrderItemCalculationCodeId(java.lang.String aOrderItemCalculationCodeId)
This method provides access to the ORDICALCD.ORDICALCD_ID column of DB2 type BIGINT NOT NULL. |
void |
setOrderItemId(java.lang.Long aOrderItemId)
This method provides access to the ORDICALCD.ORDERITEMS_ID column of DB2 type BIGINT NOT NULL. |
void |
setOrderItemId(java.lang.String aOrderItemId)
This method provides access to the ORDICALCD.ORDERITEMS_ID column of DB2 type BIGINT 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 |
public OrderItemCalculationCodeAccessBean()
Default constructor. Maps to findByPrimaryKey.
public OrderItemCalculationCodeAccessBean(javax.ejb.EJBObject aEJBObject) throws java.rmi.RemoteException
Creates an access bean for the specified EJB.
aEJBObject
- The EJB Object used for the access bean construction.java.rmi.RemoteException
- The java.rmi.RemoteException exceptionMethod Detail |
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Update(flush) data to the EJBObject (persistent storage).
commitCopyHelper
in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.util.Enumeration findByOrderItemId(java.lang.Long aOrderItemId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves the OrderItemCalculationCodeAccessBeans that match the specified OrderItem.
The SQL query used to fetch all the required rows from the
ORDICALCD table is:
SELECT * FROM ORDICALCD T1 WHERE
T1.ORDERITEMS_ID = ?
aOrderItemId
- the OrderItem IDjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.util.Enumeration findByOrderItems(java.lang.Long[] aOrderItemIds) 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 (?, ...)
aOrderItemIds
- the OrderItem IDsjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
getCalculationCodeId
in interface OrderItemCalculationCodeAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
The following is a description of this column:
Contains the following bit flag:
1 = overrideIndirectAttachments - CalculationCodes indirectly attached to the OrderItem are not effective.
(CalculationCodes can be indirectly attached in the CATENCALCD and CATGPCALCD tables.)
getCalculationFlags
in interface OrderItemCalculationCodeAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
The following is a description of this column:
Contains the following bit flag:
1 = overrideIndirectAttachments - CalculationCodes indirectly attached to the OrderItem are not effective.
(CalculationCodes can be indirectly attached in the CATENCALCD and CATGPCALCD tables.)
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
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.
getCalculationParameterAmount
in interface OrderItemCalculationCodeAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
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.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
The following is a description of this column:
Indicates how CALPARMAMT is used.
0 = not used.
1 = fixed adjustment.
2 = percentage adjustment.
3 = fixed replacement.
getCalculationParameterType
in interface OrderItemCalculationCodeAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
The following is a description of this column:
Indicates how CALPARMAMT is used.
0 = not used.
1 = fixed adjustment.
2 = percentage adjustment.
3 = fixed replacement.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
getOrderItemCalculationCodeId
in interface OrderItemCalculationCodeAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
getOrderItemId
in interface OrderItemCalculationCodeAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
refreshCopyHelper
in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic void setCalculationCodeId(java.lang.Integer aCalculationCodeId)
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.
aCalculationCodeId
- java.lang.Integerpublic void setCalculationCodeId(java.lang.String aCalculationCodeId)
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.
setCalculationCodeId
in interface OrderItemCalculationCodeAccessBeanData
aCalculationCodeId
- java.lang.Stringpublic void setCalculationFlags(java.lang.Integer aCalculationFlags)
This method provides access to the ORDICALCD.CALFLAGS column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Contains the following bit flag:
1 = overrideIndirectAttachments - CalculationCodes indirectly attached to the OrderItem are not effective.
(CalculationCodes can be indirectly attached in the CATENCALCD and CATGPCALCD tables.)
aCalculationFlags
- java.lang.Integerpublic void setCalculationFlags(java.lang.String aCalculationFlags)
This method provides access to the ORDICALCD.CALFLAGS column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Contains the following bit flag:
1 = overrideIndirectAttachments - CalculationCodes indirectly attached to the OrderItem are not effective.
(CalculationCodes can be indirectly attached in the CATENCALCD and CATGPCALCD tables.)
setCalculationFlags
in interface OrderItemCalculationCodeAccessBeanData
aCalculationFlags
- java.lang.Stringpublic void setCalculationParameterAmount(java.math.BigDecimal aCalculationParameterAmount)
This method provides access to the ORDICALCD.CALPARMAMT column of DB2 type DECIMAL(20,5) NOT NULL.
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.
aCalculationParameterAmount
- java.math.BigDecimalpublic void setCalculationParameterAmount(java.lang.String aCalculationParameterAmount)
This method provides access to the ORDICALCD.CALPARMAMT column of DB2 type DECIMAL(20,5) NOT NULL.
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.
setCalculationParameterAmount
in interface OrderItemCalculationCodeAccessBeanData
aCalculationParameterAmount
- java.lang.Stringpublic void setCalculationParameterType(java.lang.Integer aCalculationParameterType)
This method provides access to the ORDICALCD.CALPARMTYPE column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Indicates how CALPARMAMT is used.
0 = not used.
1 = fixed adjustment.
2 = percentage adjustment.
3 = fixed replacement.
aCalculationParameterType
- java.lang.Integerpublic void setCalculationParameterType(java.lang.String aCalculationParameterType)
This method provides access to the ORDICALCD.CALPARMTYPE column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Indicates how CALPARMAMT is used.
0 = not used.
1 = fixed adjustment.
2 = percentage adjustment.
3 = fixed replacement.
setCalculationParameterType
in interface OrderItemCalculationCodeAccessBeanData
aCalculationParameterType
- java.lang.Stringpublic void setInitKey_orderItemCalculationCodeId(java.lang.String aInitKey_orderItemCalculationCodeId)
Set the primary key for this object
aInitKey_orderItemCalculationCodeId
- java.lang.Stringpublic void setOrderItemCalculationCodeId(java.lang.Long aOrderItemCalculationCodeId)
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.
aOrderItemCalculationCodeId
- java.lang.Longpublic void setOrderItemCalculationCodeId(java.lang.String aOrderItemCalculationCodeId)
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.
setOrderItemCalculationCodeId
in interface OrderItemCalculationCodeAccessBeanData
aOrderItemCalculationCodeId
- java.lang.Stringpublic void setOrderItemId(java.lang.Long aOrderItemId)
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.
aOrderItemId
- java.lang.Longpublic void setOrderItemId(java.lang.String aOrderItemId)
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.
setOrderItemId
in interface OrderItemCalculationCodeAccessBeanData
aOrderItemId
- java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |