java.lang.Object | +--com.ibm.commerce.order.beansrc.OrderAdjustmentDataBeanBase | +--com.ibm.commerce.order.beans.OrderAdjustmentDataBean
IBM internal use only.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT IBM Copyright |
protected
CommandContext |
iCommandContext command context |
protected
java.lang.String |
iDataBeanKeyOrderAdjustmentId order adjustment id |
protected
TypedProperty |
iRequestProperties request properties |
Constructor Summary | |
---|---|
OrderAdjustmentDataBean() Constructs an OrderAdjustmentDataBean. | |
OrderAdjustmentDataBean(
OrderAdjustmentAccessBean aabOrderAdjustment) Constructs an OrderAdjustmentDataBean from an OrderAdjustmentAccessBean by extracting the OrderAdjustment EJB reference from the OrderAdjustmentAccessBean. |
Method Summary | |
---|---|
CalculationCodeDataBean |
getCalculationCodeDataBean() Returns the CalculationCodeDataBean associated with this
OrderAdjustment. |
CalculationCodeDescriptionDataBean |
getCalculationCodeDescriptionDataBean() Returns the CalculationCodeDescriptionDataBean of the
CalculationCodeDataBean associated with this OrderAdjustment
that corresponds to the current Language and Store. |
java.lang.String |
getCalculationCodeDescriptionString() Returns the description string of the CalculationCodeDataBean associated with this OrderAdjustment
that corresponds to the current Language and Store. |
java.lang.String |
getCalculationCodeLongDescriptionString() Returns the long description string of the CalculationCodeDataBean associated with this OrderAdjustment
that corresponds to the current Language and Store. |
CommandContext |
getCommandContext() Gets the command context set within this bean. |
java.lang.String |
getDataBeanKeyOrderAdjustmentId() Gets order adjustment id |
OrderAdjustmentDescriptionDataBean |
getDescriptionDataBean() Returns the OrderAdjustmentDescriptionDataBean of this OrderAdjustment
that corresponds to the current Language and Store. |
java.lang.String |
getDescriptionString() Returns the description string of this OrderAdjustment that corresponds to the current Language and Store. |
FormattedMonetaryAmountDataBean |
getFormattedAmount() Returns the formatted amount of this OrderAdjustment. |
OrderDataBean |
getOrderDataBean() Returns the OrderDataBean
associated with this OrderAdjustment. |
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 |
setDataBeanKeyOrderAdjustmentId(java.lang.String aOrderAdjustmentId) Sets order 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
protected CommandContext iCommandContext
protected TypedProperty iRequestProperties
protected java.lang.String iDataBeanKeyOrderAdjustmentId
Constructor Detail |
---|
public OrderAdjustmentDataBean()
public OrderAdjustmentDataBean(OrderAdjustmentAccessBean aabOrderAdjustment) throws java.lang.Exception
aabOrderAdjustment
-
com.ibm.commerce.order.objects.OrderAdjustmentAccessBeanjava.lang.Exception
Method Detail |
---|
public TypedProperty getRequestProperties()
public void setRequestProperties(TypedProperty aRequestProperty) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException, javax.ejb.FinderException
aRequestProperty
-
com.ibm.commerce.datatype.TypedPropertyjavax.ejb.CreateException
java.rmi.RemoteException
javax.naming.NamingException
javax.ejb.FinderException
public java.lang.String getDataBeanKeyOrderAdjustmentId()
public CommandContext getCommandContext()
public void setCommandContext(CommandContext aCommandContext)
aCommandContext
-
com.ibm.commerce.command.CommandContextpublic void setDataBeanKeyOrderAdjustmentId(java.lang.String aOrderAdjustmentId)
aOrderAdjustmentId
- java.lang.Stringpublic void populate() throws java.lang.Exception
java.lang.Exception
public OrderAdjustmentDescriptionDataBean getDescriptionDataBean()
OrderAdjustmentDescriptionDataBean
of this OrderAdjustment
that corresponds to the current Language and Store.
public java.lang.String getDescriptionString()
getDescriptionDataBean()
.getDescription()
.
public CalculationCodeDataBean getCalculationCodeDataBean()
CalculationCodeDataBean
associated with this OrderAdjustment.
public CalculationCodeDescriptionDataBean getCalculationCodeDescriptionDataBean()
CalculationCodeDescriptionDataBean
of the
CalculationCodeDataBean
associated with this OrderAdjustment
that corresponds to the current Language and Store. Equivalent to
getCalculationCodeDataBean()
.
getDescriptionDataBean()
.
public java.lang.String getCalculationCodeDescriptionString()
CalculationCodeDataBean
associated with this OrderAdjustment
that corresponds to the current Language and Store. Equivalent to
getCalculationCodeDataBean()
.
getDescriptionString()
.
public java.lang.String getCalculationCodeLongDescriptionString()
CalculationCodeDataBean
associated with this OrderAdjustment
that corresponds to the current Language and Store. Equivalent to
getCalculationCodeDataBean()
.
getLongDescriptionString()
.
public OrderDataBean getOrderDataBean()
OrderDataBean
associated with this OrderAdjustment.
public FormattedMonetaryAmountDataBean getFormattedAmount()
OrderAdjustmentAccessBean.getAmountInEJBType()