com.ibm.commerce.order.beans
Class OrderItemAdjustmentDataBean

java.lang.Object
  |
  +--com.ibm.commerce.order.beansrc.OrderItemAdjustmentDataBeanBase
        |
        +--com.ibm.commerce.order.beans.OrderItemAdjustmentDataBean

public class OrderItemAdjustmentDataBean
extends com.ibm.commerce.order.beansrc.OrderItemAdjustmentDataBeanBase

IBM internal use only.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
          IBM Copyright
protected  CommandContext iCommandContext
          command context
protected  java.lang.String iDataBeanKeyOrderItemAdjustmentId
          order item adjustment id
protected  TypedProperty iRequestProperties
          request properties
 
Constructor Summary
OrderItemAdjustmentDataBean()
          Constructs an OrderItemAdjustmentDataBean.
OrderItemAdjustmentDataBean( OrderItemAdjustmentAccessBean aabOrderItemAdjustment)
          Constructs an OrderItemAdjustmentDataBean from an OrderItemAdjustmentAccessBean by extracting the OrderItemAdjustment EJB reference from the OrderItemAdjustmentAccessBean.
 
Method Summary
  CalculationCodeDataBean getCalculationCodeDataBean()
          Returns the CalculationCodeDataBean (indirectly) associated with this OrderItemAdjustment.
  CalculationCodeDescriptionDataBean getCalculationCodeDescriptionDataBean()
          Returns the CalculationCodeDescriptionDataBean of the CalculationCodeDataBean (indirectly) associated with this OrderItemAdjustment corresponding to the current Language and Store.
 java.lang.String getCalculationCodeDescriptionString()
          Returns the description string of the CalculationCodeDataBean (indirectly) associated with this OrderItemAdjustment corresponding to the current Language and Store.
 java.lang.String getCalculationCodeLongDescriptionString()
          Returns the long description string of the CalculationCodeDataBean (indirectly) associated with this OrderItemAdjustment corresponding to the current Language and Store.
  CommandContext getCommandContext()
          Gets the command context set within this bean.
 java.lang.String getDataBeanKeyOrderItemAdjustmentId()
          Gets order item adjustment id
  FormattedMonetaryAmountDataBean getFormattedAmount()
          Returns the formatted amount of this OrderItemAdjustment.
  OrderAdjustmentDataBean getOrderAdjustmentDataBean()
          Returns the OrderAdjustmentDataBean associated with this OrderItemAdjustment.
  OrderAdjustmentDescriptionDataBean getOrderAdjustmentDescriptionDataBean()
          Returns the OrderAdjustmentDescriptionDataBean of the OrderAdjustmentDataBean associated with this OrderItemAdjustment that corresponds to the current Language and Store.
 java.lang.String getOrderAdjustmentDescriptionString()
          Returns the description string of the OrderAdjustmentDataBean associated with this OrderItemAdjustment that corresponds to the current Language and Store.
  OrderItemDataBean getOrderItemDataBean()
          Returns the OrderItemDataBean associated with this OrderItemAdjustment.
  TypedProperty getRequestProperties()
          Gets the request property set within this bean.
 void populate()
          Retrieves data from the database.
 void setCommandContext( CommandContext aCommandContext)
          Sets the command context within this bean.
 void setDataBeanKeyOrderItemAdjustmentId(java.lang.String aOrderItemAdjustmentId)
          Sets order item adjustment id
 void setRequestProperties( TypedProperty aRequestProperty)
          Sets the request property within this bean.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail
public static final java.lang.String COPYRIGHT
IBM Copyright
See Also:
Constant Field Values

iCommandContext

protected CommandContext iCommandContext
command context

iRequestProperties

protected TypedProperty iRequestProperties
request properties

iDataBeanKeyOrderItemAdjustmentId

protected java.lang.String iDataBeanKeyOrderItemAdjustmentId
order item adjustment id
Constructor Detail

OrderItemAdjustmentDataBean

public OrderItemAdjustmentDataBean()
Constructs an OrderItemAdjustmentDataBean.

OrderItemAdjustmentDataBean

public OrderItemAdjustmentDataBean(OrderItemAdjustmentAccessBean aabOrderItemAdjustment)
                            throws java.lang.Exception
Constructs an OrderItemAdjustmentDataBean from an OrderItemAdjustmentAccessBean by extracting the OrderItemAdjustment EJB reference from the OrderItemAdjustmentAccessBean.
Parameters:
aabOrderItemAdjustment - OrderItemAdjustmentAccessBean
Throws:
java.lang.Exception
Method Detail

getRequestProperties

public TypedProperty getRequestProperties()
Gets the request property set within this bean.
Returns:
com.ibm.commerce.datatype.TypedProperty

setRequestProperties

public void setRequestProperties(TypedProperty aRequestProperty)
                          throws javax.ejb.CreateException,
                                 java.rmi.RemoteException,
                                 javax.naming.NamingException,
                                 javax.ejb.FinderException
Sets the request property within this bean.
Parameters:
aRequestProperty - TypedProperty
Throws:
javax.ejb.CreateException
java.rmi.RemoteException
javax.naming.NamingException
javax.ejb.FinderException

getDataBeanKeyOrderItemAdjustmentId

public java.lang.String getDataBeanKeyOrderItemAdjustmentId()
Gets order item adjustment id
Returns:
java.lang.String

getCommandContext

public CommandContext getCommandContext()
Gets the command context set within this bean.
Returns:
com.ibm.commerce.command.CommandContext

setCommandContext

public void setCommandContext(CommandContext aCommandContext)
Sets the command context within this bean.
Parameters:
aCommandContext - com.ibm.commerce.command.CommandContext

setDataBeanKeyOrderItemAdjustmentId

public void setDataBeanKeyOrderItemAdjustmentId(java.lang.String aOrderItemAdjustmentId)
Sets order item adjustment id
Parameters:
aOrderItemAdjustmentId - java.lang.String

populate

public void populate()
              throws java.lang.Exception
Retrieves data from the database.
Throws:
java.lang.Exception

getOrderAdjustmentDataBean

public OrderAdjustmentDataBean getOrderAdjustmentDataBean()
Returns the OrderAdjustmentDataBean associated with this OrderItemAdjustment.
Returns:
the OrderAdjustmentDataBean, or null if an error has occurred during its retrieval.

getOrderAdjustmentDescriptionDataBean

public OrderAdjustmentDescriptionDataBean getOrderAdjustmentDescriptionDataBean()
Returns the OrderAdjustmentDescriptionDataBean of the OrderAdjustmentDataBean associated with this OrderItemAdjustment that corresponds to the current Language and Store. Equivalent to getOrderAdjustmentDataBean(). getDescriptionDataBean().
Returns:
the OrderAdjustmentDescriptionDataBean, or null if none is found or an error has occurred during its retrieval.

getOrderAdjustmentDescriptionString

public java.lang.String getOrderAdjustmentDescriptionString()
Returns the description string of the OrderAdjustmentDataBean associated with this OrderItemAdjustment that corresponds to the current Language and Store. Equivalent to getOrderAdjustmentDescriptionDataBean().getDescription().
Returns:
the OrderAdjustmentDescriptionDataBean, or null if none is found or an error has occurred during its retrieval.

getCalculationCodeDataBean

public CalculationCodeDataBean getCalculationCodeDataBean()
Returns the CalculationCodeDataBean (indirectly) associated with this OrderItemAdjustment. Equivalent to getOrderAdjustmentDataBean(). getCalculationCodeDataBean().
Returns:
the CalculationCodeDataBean, or null if none is found or an error has occurred during its retrieval.

getCalculationCodeDescriptionDataBean

public CalculationCodeDescriptionDataBean getCalculationCodeDescriptionDataBean()
Returns the CalculationCodeDescriptionDataBean of the CalculationCodeDataBean (indirectly) associated with this OrderItemAdjustment corresponding to the current Language and Store. Equivalent to getCalculationCodeDataBean(). getDescriptionDataBean().
Returns:
the CalculationCodeDescriptionDataBean, or null if none is found or an error has occurred during its retrieval.

getCalculationCodeDescriptionString

public java.lang.String getCalculationCodeDescriptionString()
Returns the description string of the CalculationCodeDataBean (indirectly) associated with this OrderItemAdjustment corresponding to the current Language and Store. Equivalent to getCalculationCodeDataBean(). getDescriptionString().
Returns:
the description string, or null if none is found or an error has occurred during its retrieval.

getCalculationCodeLongDescriptionString

public java.lang.String getCalculationCodeLongDescriptionString()
Returns the long description string of the CalculationCodeDataBean (indirectly) associated with this OrderItemAdjustment corresponding to the current Language and Store. Equivalent to getCalculationCodeDataBean(). getLongDescriptionString().
Returns:
the long description string, or null if none is found or an error has occurred during its retrieval.

getOrderItemDataBean

public OrderItemDataBean getOrderItemDataBean()
Returns the OrderItemDataBean associated with this OrderItemAdjustment.
Returns:
the OrderItemDataBean, or null if an error has occurred during its retrieval.

getFormattedAmount

public FormattedMonetaryAmountDataBean getFormattedAmount()
Returns the formatted amount of this OrderItemAdjustment.
Returns:
the formatted amount, or null if an error has occurred.
See Also:
OrderItemAdjustmentAccessBean#getAmountInEJBType()