com.ibm.commerce.order.objects
Class OrderAdjustmentAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractAccessBean
        |
        +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
              |
              +--com.ibm.commerce.order.objects.OrderAdjustmentAccessBean
All Implemented Interfaces:
OrderAdjustmentAccessBeanData, java.io.Serializable

public class OrderAdjustmentAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements OrderAdjustmentAccessBeanData

This bean provides access to the ORDADJUST table.

The following is a description of this table:

Each row of this table represents an OrderAdjustment.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
OrderAdjustmentAccessBean()
          Default constructor.
OrderAdjustmentAccessBean(javax.ejb.EJBObject object)
          Creates an access bean for the specified EJB
OrderAdjustmentAccessBean(java.lang.Long anOrderId)
          Maps to a corresponding ejbCreate method in the home interface of the EJB
OrderAdjustmentAccessBean(java.lang.Long anOrderId, java.math.BigDecimal afAmount, java.lang.Integer anCalculationCode, java.lang.Integer anCalculationUsage, java.lang.Integer anDisplayLevel)
          Maps to a corresponding ejbCreate method in the home interface of the EJB
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
 java.util.Enumeration findByOrder(java.lang.Long anOrderId)
          Retrieves all the order adjustments for specified order id.
The SQL query used to fetch all the required rows from the ORDADJUST table is:
SELECT * FROM ORDADJUST T1 WHERE T1.ORDERS_ID = ?
 java.util.Enumeration findByOrderAndUsage(java.lang.Long anOrdersId, java.lang.Integer anCalUsage)
          Retrieves all the order adjustments for specified order id and calculation usage.
The SQL query used to fetch all the required rows from the ORDADJUST table is:
SELECT * FROM ORDADJUST T1 WHERE T1.ORDERS_ID = ? and T1.CALUSAGE_ID = ?
 java.lang.String getAmount()
          This method provides access to the ORDADJUST.AMOUNT column of DB2 type DECIMAL(20,5) NULL.
 java.math.BigDecimal getAmountInEJBType()
          This method provides access to the ORDADJUST.AMOUNT column of DB2 type DECIMAL(20,5) NULL.
 java.lang.String getCalculationCodeId()
          This method provides access to the ORDADJUST.CALCODE_ID column of DB2 type INTEGER NULL.
 java.lang.Integer getCalculationCodeIdInEJBType()
          This method provides access to the ORDADJUST.CALCODE_ID column of DB2 type INTEGER NULL.
 java.lang.String getCalculationUsageId()
          This method provides access to the ORDADJUST.CALUSAGE_ID column of DB2 type INTEGER NULL.
 java.lang.Integer getCalculationUsageIdInEJBType()
          This method provides access to the ORDADJUST.CALUSAGE_ID column of DB2 type INTEGER NULL.
 OrderAdjustmentDescriptionAccessBean getDescription(java.lang.Integer anLanguageId, java.lang.Integer anStoreId)
          Returns an OrderAdjustmentDescriptionAccessBean object associated with languageId.
 java.lang.String getDisplayLevel()
          This method provides access to the ORDADJUST.DISPLAYLEVEL column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getDisplayLevelInEJBType()
          This method provides access to the ORDADJUST.DISPLAYLEVEL column of DB2 type INTEGER NOT NULL.
 java.lang.String getOrderAdjustmentId()
          This method provides access to the ORDADJUST.ORDADJUST_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getOrderAdjustmentIdInEJBType()
          This method provides access to the ORDADJUST.ORDADJUST_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getOrderId()
          This method provides access to the ORDADJUST.ORDERS_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getOrderIdInEJBType()
          This method provides access to the ORDADJUST.ORDERS_ID column of DB2 type BIGINT NOT NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setAmount(java.math.BigDecimal aAmount)
          This method provides access to the ORDADJUST.AMOUNT column of DB2 type DECIMAL(20,5) NULL.
 void setAmount(java.lang.String aAmount)
          This method provides access to the ORDADJUST.AMOUNT column of DB2 type DECIMAL(20,5) NULL.
 void setCalculationCodeId(java.lang.Integer aCalculationCodeId)
          This method provides access to the ORDADJUST.CALCODE_ID column of DB2 type INTEGER NULL.
 void setCalculationCodeId(java.lang.String aCalculationCodeId)
          This method provides access to the ORDADJUST.CALCODE_ID column of DB2 type INTEGER NULL.
 void setCalculationUsageId(java.lang.Integer aCalculationUsageId)
          This method provides access to the ORDADJUST.CALUSAGE_ID column of DB2 type INTEGER NULL.
 void setCalculationUsageId(java.lang.String aCalculationUsageId)
          This method provides access to the ORDADJUST.CALUSAGE_ID column of DB2 type INTEGER NULL.
 void setDisplayLevel(java.lang.Integer aDisplayLevel)
          This method provides access to the ORDADJUST.DISPLAYLEVEL column of DB2 type INTEGER NOT NULL.
 void setDisplayLevel(java.lang.String aDisplayLevel)
          This method provides access to the ORDADJUST.DISPLAYLEVEL column of DB2 type INTEGER NOT NULL.
 void setInitKey_orderAdjustmentId(java.lang.String aInitKey_orderAdjustmentId)
          Set the primary key for this object
 void setOrderId(java.lang.Long aOrderId)
          This method provides access to the ORDADJUST.ORDERS_ID column of DB2 type BIGINT NOT NULL.
 void setOrderId(java.lang.String aOrderId)
          This method provides access to the ORDADJUST.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

OrderAdjustmentAccessBean

public OrderAdjustmentAccessBean()

Default constructor. Maps to findByPrimaryKey.


OrderAdjustmentAccessBean

public OrderAdjustmentAccessBean(javax.ejb.EJBObject object)
                          throws java.rmi.RemoteException

Creates an access bean for the specified EJB

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

OrderAdjustmentAccessBean

public OrderAdjustmentAccessBean(java.lang.Long anOrderId)
                          throws javax.naming.NamingException,
                                 javax.ejb.CreateException,
                                 java.rmi.RemoteException,
                                 javax.ejb.FinderException

Maps to a corresponding ejbCreate method in the home interface of the EJB

Parameters:
anOrderId - java.lang.Long The order the OrderAdjustment is part of
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

OrderAdjustmentAccessBean

public OrderAdjustmentAccessBean(java.lang.Long anOrderId,
                                 java.math.BigDecimal afAmount,
                                 java.lang.Integer anCalculationCode,
                                 java.lang.Integer anCalculationUsage,
                                 java.lang.Integer anDisplayLevel)
                          throws javax.naming.NamingException,
                                 javax.ejb.CreateException,
                                 java.rmi.RemoteException,
                                 javax.ejb.FinderException

Maps to a corresponding ejbCreate method in the home interface of the EJB

Parameters:
anOrderId - java.lang.Long The Order the order adjustment is part of
afAmount - java.math.BigDecimal The amount of the order adjustment
anCalculationCode - java.lang.Integer The calculation code used to create the order adjustment
anCalculationUsage - java.lang.Integer The calculation usage of the calculation code used to create the order adjustment
anDisplayLevel - java.lang.Integer Specifies how the value of this order adjustment should be displayed
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException 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

findByOrder

public java.util.Enumeration findByOrder(java.lang.Long anOrderId)
                                  throws java.rmi.RemoteException,
                                         javax.ejb.FinderException,
                                         javax.naming.NamingException

Retrieves all the order adjustments for specified order id.
The SQL query used to fetch all the required rows from the ORDADJUST table is:
SELECT * FROM ORDADJUST T1 WHERE T1.ORDERS_ID = ?

Parameters:
anOrderId - java.lang.Long The order the order adjustments are part of
Returns:
java.util.Enumeration An Enumeration of all the OrderAdjustmentAccessBean objects 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

findByOrderAndUsage

public java.util.Enumeration findByOrderAndUsage(java.lang.Long anOrdersId,
                                                 java.lang.Integer anCalUsage)
                                          throws java.rmi.RemoteException,
                                                 javax.ejb.FinderException,
                                                 javax.naming.NamingException

Retrieves all the order adjustments for specified order id and calculation usage.
The SQL query used to fetch all the required rows from the ORDADJUST table is:
SELECT * FROM ORDADJUST T1 WHERE T1.ORDERS_ID = ? and T1.CALUSAGE_ID = ?

Parameters:
anOrdersId - java.lang.Long The order the order adjustments are part of
anCalUsage - java.lang.Integer Calculation usage
Returns:
java.util.Enumeration An Enumeration of all the OrderAdjustmentAccessBean objects 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

getAmount

public java.lang.String getAmount()
                           throws java.rmi.RemoteException,
                                  javax.ejb.CreateException,
                                  javax.ejb.FinderException,
                                  javax.naming.NamingException

This method provides access to the ORDADJUST.AMOUNT column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

The amount of the OrderAdjustment, in the currency of the order (ORDERS.CURRENCY). This is the sum of its related OrderItemAdjustments.

Specified by:
getAmount in interface OrderAdjustmentAccessBeanData
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

getAmountInEJBType

public java.math.BigDecimal getAmountInEJBType()
                                        throws java.rmi.RemoteException,
                                               javax.ejb.CreateException,
                                               javax.ejb.FinderException,
                                               javax.naming.NamingException

This method provides access to the ORDADJUST.AMOUNT column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

The amount of the OrderAdjustment, in the currency of the order (ORDERS.CURRENCY). This is the sum of its related OrderItemAdjustments.

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

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 ORDADJUST.CALCODE_ID column of DB2 type INTEGER NULL.

The following is a description of this column:

The CalculationCode, if any, and if it still exists, that was used to create the OrderAdjustment.

Specified by:
getCalculationCodeId in interface OrderAdjustmentAccessBeanData
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 ORDADJUST.CALCODE_ID column of DB2 type INTEGER NULL.

The following is a description of this column:

The CalculationCode, if any, and if it still exists, that was used to create the OrderAdjustment.

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

getCalculationUsageId

public java.lang.String getCalculationUsageId()
                                       throws java.rmi.RemoteException,
                                              javax.ejb.CreateException,
                                              javax.ejb.FinderException,
                                              javax.naming.NamingException

This method provides access to the ORDADJUST.CALUSAGE_ID column of DB2 type INTEGER NULL.

The following is a description of this column:

The CalculationUsage, if any, and if it still exists, of the CalculationCode that was used to create the OrderAdjustment.

Specified by:
getCalculationUsageId in interface OrderAdjustmentAccessBeanData
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

getCalculationUsageIdInEJBType

public java.lang.Integer getCalculationUsageIdInEJBType()
                                                 throws java.rmi.RemoteException,
                                                        javax.ejb.CreateException,
                                                        javax.ejb.FinderException,
                                                        javax.naming.NamingException

This method provides access to the ORDADJUST.CALUSAGE_ID column of DB2 type INTEGER NULL.

The following is a description of this column:

The CalculationUsage, if any, and if it still exists, of the CalculationCode that was used to create the OrderAdjustment.

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

getDescription

public OrderAdjustmentDescriptionAccessBean getDescription(java.lang.Integer anLanguageId,
                                                           java.lang.Integer anStoreId)
                                                    throws javax.naming.NamingException,
                                                           javax.ejb.CreateException,
                                                           javax.ejb.FinderException,
                                                           java.rmi.RemoteException

Returns an OrderAdjustmentDescriptionAccessBean object associated with languageId. If there is no description for the specified language, the alternative languages for languageId and storeId will be used to get an appropriate description using the language dance mechanism.

Parameters:
anLanguageId - java.lang.Integer
anStoreId - java.lang.Integer
Returns:
com.ibm.commerce.order.objects.OrderAdjustmentDescriptionAccessBean
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception

getDisplayLevel

public java.lang.String getDisplayLevel()
                                 throws java.rmi.RemoteException,
                                        javax.ejb.CreateException,
                                        javax.ejb.FinderException,
                                        javax.naming.NamingException

This method provides access to the ORDADJUST.DISPLAYLEVEL column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The values for this OrderAdjustment should be displayed with each:
0 = OrderItem
1 = Order
2 = product
3 = item
4 = contract
This value is usually copied from CALCODE.DISPLAYLEVEL.

Specified by:
getDisplayLevel in interface OrderAdjustmentAccessBeanData
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

getDisplayLevelInEJBType

public java.lang.Integer getDisplayLevelInEJBType()
                                           throws java.rmi.RemoteException,
                                                  javax.ejb.CreateException,
                                                  javax.ejb.FinderException,
                                                  javax.naming.NamingException

This method provides access to the ORDADJUST.DISPLAYLEVEL column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The values for this OrderAdjustment should be displayed with each:
0 = OrderItem
1 = Order
2 = product
3 = item
4 = contract
This value is usually copied from CALCODE.DISPLAYLEVEL.

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

getOrderAdjustmentId

public java.lang.String getOrderAdjustmentId()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             javax.ejb.FinderException,
                                             javax.naming.NamingException

This method provides access to the ORDADJUST.ORDADJUST_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Generated unique key.

Specified by:
getOrderAdjustmentId in interface OrderAdjustmentAccessBeanData
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

getOrderAdjustmentIdInEJBType

public java.lang.Long getOrderAdjustmentIdInEJBType()
                                             throws java.rmi.RemoteException,
                                                    javax.ejb.CreateException,
                                                    javax.ejb.FinderException,
                                                    javax.naming.NamingException

This method provides access to the ORDADJUST.ORDADJUST_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 ORDADJUST.ORDERS_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The Order the OrderAdjustment is part of.

Specified by:
getOrderId in interface OrderAdjustmentAccessBeanData
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 ORDADJUST.ORDERS_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The Order the OrderAdjustment is part of.

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

setAmount

public void setAmount(java.math.BigDecimal aAmount)

This method provides access to the ORDADJUST.AMOUNT column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

The amount of the OrderAdjustment, in the currency of the order (ORDERS.CURRENCY). This is the sum of its related OrderItemAdjustments.

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

setAmount

public void setAmount(java.lang.String aAmount)

This method provides access to the ORDADJUST.AMOUNT column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

The amount of the OrderAdjustment, in the currency of the order (ORDERS.CURRENCY). This is the sum of its related OrderItemAdjustments.

Specified by:
setAmount in interface OrderAdjustmentAccessBeanData
Parameters:
aAmount - java.lang.String
Returns:
void

setCalculationCodeId

public void setCalculationCodeId(java.lang.Integer aCalculationCodeId)

This method provides access to the ORDADJUST.CALCODE_ID column of DB2 type INTEGER NULL.

The following is a description of this column:

The CalculationCode, if any, and if it still exists, that was used to create the OrderAdjustment.

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

setCalculationCodeId

public void setCalculationCodeId(java.lang.String aCalculationCodeId)

This method provides access to the ORDADJUST.CALCODE_ID column of DB2 type INTEGER NULL.

The following is a description of this column:

The CalculationCode, if any, and if it still exists, that was used to create the OrderAdjustment.

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

setCalculationUsageId

public void setCalculationUsageId(java.lang.Integer aCalculationUsageId)

This method provides access to the ORDADJUST.CALUSAGE_ID column of DB2 type INTEGER NULL.

The following is a description of this column:

The CalculationUsage, if any, and if it still exists, of the CalculationCode that was used to create the OrderAdjustment.

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

setCalculationUsageId

public void setCalculationUsageId(java.lang.String aCalculationUsageId)

This method provides access to the ORDADJUST.CALUSAGE_ID column of DB2 type INTEGER NULL.

The following is a description of this column:

The CalculationUsage, if any, and if it still exists, of the CalculationCode that was used to create the OrderAdjustment.

Specified by:
setCalculationUsageId in interface OrderAdjustmentAccessBeanData
Parameters:
aCalculationUsageId - java.lang.String
Returns:
void

setDisplayLevel

public void setDisplayLevel(java.lang.Integer aDisplayLevel)

This method provides access to the ORDADJUST.DISPLAYLEVEL column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The values for this OrderAdjustment should be displayed with each:
0 = OrderItem
1 = Order
2 = product
3 = item
4 = contract
This value is usually copied from CALCODE.DISPLAYLEVEL.

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

setDisplayLevel

public void setDisplayLevel(java.lang.String aDisplayLevel)

This method provides access to the ORDADJUST.DISPLAYLEVEL column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The values for this OrderAdjustment should be displayed with each:
0 = OrderItem
1 = Order
2 = product
3 = item
4 = contract
This value is usually copied from CALCODE.DISPLAYLEVEL.

Specified by:
setDisplayLevel in interface OrderAdjustmentAccessBeanData
Parameters:
aDisplayLevel - java.lang.String
Returns:
void

setInitKey_orderAdjustmentId

public void setInitKey_orderAdjustmentId(java.lang.String aInitKey_orderAdjustmentId)

Set the primary key for this object

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

setOrderId

public void setOrderId(java.lang.Long aOrderId)

This method provides access to the ORDADJUST.ORDERS_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The Order the OrderAdjustment is part of.

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

setOrderId

public void setOrderId(java.lang.String aOrderId)

This method provides access to the ORDADJUST.ORDERS_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The Order the OrderAdjustment is part of.

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