|
||||||||
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.OrderCalculationCodeAccessBean
This bean provides access to the ORDCALCD 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 all OrderItems in an Order whose 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 | |
OrderCalculationCodeAccessBean()
Default constructor. |
|
OrderCalculationCodeAccessBean(javax.ejb.EJBObject aEJBObject)
Creates an access bean for the specified EJB. |
|
OrderCalculationCodeAccessBean(java.lang.Long aOrderId,
java.lang.Integer aCalculationCodeId)
Creates an access bean with the specified attributes. |
Method Summary | |
void |
commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage). |
java.util.Enumeration |
findByOrderId(java.lang.Long aOrderId)
Retrieves the OrderCalculationCodeAccessBeans that match the specified Order. |
java.util.Enumeration |
findByOrderIdAndCalculationCodeId(java.lang.Long aOrderId,
java.lang.Integer aCalculationCodeId)
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. |
java.lang.Integer |
getCalculationFlagsInEJBType()
This method provides access to the ORDCALCD.CALFLAGS column of DB2 type INTEGER NOT NULL. |
java.lang.String |
getCalculationParameterAmount()
This method provides access to the ORDCALCD.CALPARMAMT column of DB2 type DECIMAL(20,5) NOT NULL. |
java.math.BigDecimal |
getCalculationParameterAmountInEJBType()
This method provides access to the ORDCALCD.CALPARMAMT column of DB2 type DECIMAL(20,5) NOT NULL. |
java.lang.String |
getCalculationParameterType()
This method provides access to the ORDCALCD.CALPARMTYPE column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getCalculationParameterTypeInEJBType()
This method provides access to the ORDCALCD.CALPARMTYPE column of DB2 type INTEGER NOT NULL. |
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. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setCalculationCodeId(java.lang.Integer aCalculationCodeId)
This method provides access to the ORDCALCD.CALCODE_ID column of DB2 type INTEGER NOT NULL. |
void |
setCalculationCodeId(java.lang.String aCalculationCodeId)
This method provides access to the ORDCALCD.CALCODE_ID column of DB2 type INTEGER NOT NULL. |
void |
setCalculationFlags(java.lang.Integer aCalculationFlags)
This method provides access to the ORDCALCD.CALFLAGS column of DB2 type INTEGER NOT NULL. |
void |
setCalculationFlags(java.lang.String aCalculationFlags)
This method provides access to the ORDCALCD.CALFLAGS column of DB2 type INTEGER NOT NULL. |
void |
setCalculationParameterAmount(java.math.BigDecimal aCalculationParameterAmount)
This method provides access to the ORDCALCD.CALPARMAMT column of DB2 type DECIMAL(20,5) NOT NULL. |
void |
setCalculationParameterAmount(java.lang.String aCalculationParameterAmount)
This method provides access to the ORDCALCD.CALPARMAMT column of DB2 type DECIMAL(20,5) NOT NULL. |
void |
setCalculationParameterType(java.lang.Integer aCalculationParameterType)
This method provides access to the ORDCALCD.CALPARMTYPE column of DB2 type INTEGER NOT NULL. |
void |
setCalculationParameterType(java.lang.String aCalculationParameterType)
This method provides access to the ORDCALCD.CALPARMTYPE column of DB2 type INTEGER NOT NULL. |
void |
setInitKey_orderCalculationCodeId(java.lang.String aInitKey_orderCalculationCodeId)
Set the primary key for this object |
void |
setOrderCalculationCodeId(java.lang.Long aOrderCalculationCodeId)
This method provides access to the ORDCALCD.ORDCALCD_ID column of DB2 type BIGINT NOT NULL. |
void |
setOrderCalculationCodeId(java.lang.String aOrderCalculationCodeId)
This method provides access to the ORDCALCD.ORDCALCD_ID column of DB2 type BIGINT NOT NULL. |
void |
setOrderId(java.lang.Long aOrderId)
This method provides access to the ORDCALCD.ORDERS_ID column of DB2 type BIGINT NOT NULL. |
void |
setOrderId(java.lang.String aOrderId)
This method provides access to the ORDCALCD.ORDERS_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 OrderCalculationCodeAccessBean()
Default constructor. Maps to findByPrimaryKey.
public OrderCalculationCodeAccessBean(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 exceptionpublic OrderCalculationCodeAccessBean(java.lang.Long aOrderId, java.lang.Integer aCalculationCodeId) throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
Creates an access bean with the specified attributes.
aOrderId
- the Order IDaCalculationCodeId
- the CalculationCode IDjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.naming.NamingException
- The javax.naming.NamingException 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 findByOrderId(java.lang.Long aOrderId) 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 = ?
aOrderId
- the Order 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 findByOrderIdAndCalculationCodeId(java.lang.Long aOrderId, java.lang.Integer aCalculationCodeId) 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 = ?
aOrderId
- the Order IDaCalculationCodeId
- the CalculationCode IDjava.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 ORDCALCD.CALCODE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The CalculationCode.
getCalculationCodeId
in interface OrderCalculationCodeAccessBeanData
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 ORDCALCD.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 ORDCALCD.CALFLAGS column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Contains the following bit flag value:
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 OrderCalculationCodeAccessBeanData
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 ORDCALCD.CALFLAGS column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Contains the following bit flag value:
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 ORDCALCD.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 OrderCalculationCodeAccessBeanData
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 ORDCALCD.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 ORDCALCD.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 OrderCalculationCodeAccessBeanData
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 ORDCALCD.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 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.
getOrderCalculationCodeId
in interface OrderCalculationCodeAccessBeanData
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 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.
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 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.
getOrderId
in interface OrderCalculationCodeAccessBeanData
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 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.
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 ORDCALCD.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 ORDCALCD.CALCODE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The CalculationCode.
setCalculationCodeId
in interface OrderCalculationCodeAccessBeanData
aCalculationCodeId
- java.lang.Stringpublic void setCalculationFlags(java.lang.Integer aCalculationFlags)
This method provides access to the ORDCALCD.CALFLAGS column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Contains the following bit flag value:
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 ORDCALCD.CALFLAGS column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Contains the following bit flag value:
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 OrderCalculationCodeAccessBeanData
aCalculationFlags
- java.lang.Stringpublic void setCalculationParameterAmount(java.math.BigDecimal aCalculationParameterAmount)
This method provides access to the ORDCALCD.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 ORDCALCD.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 OrderCalculationCodeAccessBeanData
aCalculationParameterAmount
- java.lang.Stringpublic void setCalculationParameterType(java.lang.Integer aCalculationParameterType)
This method provides access to the ORDCALCD.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 ORDCALCD.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 OrderCalculationCodeAccessBeanData
aCalculationParameterType
- java.lang.Stringpublic void setInitKey_orderCalculationCodeId(java.lang.String aInitKey_orderCalculationCodeId)
Set the primary key for this object
aInitKey_orderCalculationCodeId
- java.lang.Stringpublic void setOrderCalculationCodeId(java.lang.Long aOrderCalculationCodeId)
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.
aOrderCalculationCodeId
- java.lang.Longpublic void setOrderCalculationCodeId(java.lang.String aOrderCalculationCodeId)
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.
setOrderCalculationCodeId
in interface OrderCalculationCodeAccessBeanData
aOrderCalculationCodeId
- java.lang.Stringpublic void setOrderId(java.lang.Long aOrderId)
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.
aOrderId
- java.lang.Longpublic void setOrderId(java.lang.String aOrderId)
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.
setOrderId
in interface OrderCalculationCodeAccessBeanData
aOrderId
- java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |