com.ibm.commerce.fulfillment.objects
Class OrderCalculationCodeAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractAccessBean
        |
        +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
              |
              +--com.ibm.commerce.fulfillment.objects.OrderCalculationCodeAccessBean
All Implemented Interfaces:
OrderCalculationCodeAccessBeanData, java.io.Serializable

public class OrderCalculationCodeAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements OrderCalculationCodeAccessBeanData

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.

See Also:
Serialized Form

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

OrderCalculationCodeAccessBean

public OrderCalculationCodeAccessBean()

Default constructor. Maps to findByPrimaryKey.


OrderCalculationCodeAccessBean

public OrderCalculationCodeAccessBean(javax.ejb.EJBObject aEJBObject)
                               throws java.rmi.RemoteException

Creates an access bean for the specified EJB.

Parameters:
aEJBObject - The EJB Object used for the access bean construction.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception

OrderCalculationCodeAccessBean

public 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.

Parameters:
aOrderId - the Order ID
aCalculationCodeId - the CalculationCode ID
Throws:
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.naming.NamingException - The javax.naming.NamingException 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

findByOrderId

public 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 = ?

Parameters:
aOrderId - the Order ID
Returns:
An Enumeration of all the OrderCalculationCodeAccessBeans 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

findByOrderIdAndCalculationCodeId

public 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 = ?

Parameters:
aOrderId - the Order ID
aCalculationCodeId - the CalculationCode ID
Returns:
An Enumeration of all the OrderCalculationCodeAccessBeans 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

getCalculationCodeId

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.

Specified by:
getCalculationCodeId in interface OrderCalculationCodeAccessBeanData
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

getCalculationCodeIdInEJBType

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.

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

getCalculationFlags

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.

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.)

Specified by:
getCalculationFlags in interface OrderCalculationCodeAccessBeanData
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

getCalculationFlagsInEJBType

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.

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.)

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

getCalculationParameterAmount

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.

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.

Specified by:
getCalculationParameterAmount in interface OrderCalculationCodeAccessBeanData
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

getCalculationParameterAmountInEJBType

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.

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.

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

getCalculationParameterType

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.

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.

Specified by:
getCalculationParameterType in interface OrderCalculationCodeAccessBeanData
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

getCalculationParameterTypeInEJBType

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.

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.

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

getOrderCalculationCodeId

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.

Specified by:
getOrderCalculationCodeId in interface OrderCalculationCodeAccessBeanData
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

getOrderCalculationCodeIdInEJBType

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.

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

getOrderId

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.

Specified by:
getOrderId in interface OrderCalculationCodeAccessBeanData
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

getOrderIdInEJBType

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.

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

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

setCalculationCodeId

public 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.

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

setCalculationCodeId

public 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.

Specified by:
setCalculationCodeId in interface OrderCalculationCodeAccessBeanData
Parameters:
aCalculationCodeId - java.lang.String
Returns:
void

setCalculationFlags

public 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.)

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

setCalculationFlags

public 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.)

Specified by:
setCalculationFlags in interface OrderCalculationCodeAccessBeanData
Parameters:
aCalculationFlags - java.lang.String
Returns:
void

setCalculationParameterAmount

public 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.

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

setCalculationParameterAmount

public 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.

Specified by:
setCalculationParameterAmount in interface OrderCalculationCodeAccessBeanData
Parameters:
aCalculationParameterAmount - java.lang.String
Returns:
void

setCalculationParameterType

public 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.

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

setCalculationParameterType

public 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.

Specified by:
setCalculationParameterType in interface OrderCalculationCodeAccessBeanData
Parameters:
aCalculationParameterType - java.lang.String
Returns:
void

setInitKey_orderCalculationCodeId

public void setInitKey_orderCalculationCodeId(java.lang.String aInitKey_orderCalculationCodeId)

Set the primary key for this object

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

setOrderCalculationCodeId

public 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.

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

setOrderCalculationCodeId

public 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.

Specified by:
setOrderCalculationCodeId in interface OrderCalculationCodeAccessBeanData
Parameters:
aOrderCalculationCodeId - java.lang.String
Returns:
void

setOrderId

public 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.

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

setOrderId

public 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.

Specified by:
setOrderId in interface OrderCalculationCodeAccessBeanData
Parameters:
aOrderId - java.lang.String
Returns:
void