com.ibm.commerce.order.beans
Class OrderOptionDataBean
- java.lang.Object
-
- com.ibm.commerce.persistence.AbstractJpaEntityAccessBean
-
- com.ibm.commerce.order.objects.OrderOptionAccessBean
-
- com.ibm.commerce.order.beansrc.OrderOptionDataBeanBase
-
- com.ibm.commerce.order.beans.OrderOptionDataBean
-
- All Implemented Interfaces:
- DataBean, InputDataBean, SmartDataBean, com.ibm.commerce.order.beans.OrderOptionInputDataBean, com.ibm.commerce.order.beans.OrderOptionSmartDataBean, Delegator, java.io.Serializable
public class OrderOptionDataBean extends OrderOptionDataBeanBase implements com.ibm.commerce.order.beans.OrderOptionInputDataBean, com.ibm.commerce.order.beans.OrderOptionSmartDataBean
This databean represents an OrderOption object.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.String
COPYRIGHT
The IBM copyright notice field.-
Fields inherited from interface com.ibm.commerce.beans.DataBean
emptyString
-
-
Constructor Summary
Constructors Constructor and Description OrderOptionDataBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description CommandContext
getCommandContext()
This method returns the command context set within this bean.java.lang.String
getDataBeanKeyOrderId()
This method returns order id.TypedProperty
getRequestProperties()
This method returns the request property set within this bean.void
populate()
This method is used to populate the OrderOptionDataBean.void
setCommandContext(CommandContext aCommandContext)
This method sets the command context within this bean.void
setDataBeanKeyOrderId(java.lang.String aOrderId)
This method sets order id.void
setRequestProperties(TypedProperty aRequestProperty)
This method sets the request property within this bean.-
Methods inherited from class com.ibm.commerce.order.beansrc.OrderOptionDataBeanBase
getDelegate
-
Methods inherited from class com.ibm.commerce.order.objects.OrderOptionAccessBean
getEntity, getNotifyMerchant, getNotifyMerchantInEntityType, getNotifyShopper, getNotifyShopperInEntityType, getOrderId, getOrderIdInEntityType, instantiateEntity, setInitKey_orderId, setInitKey_orderId, setNotifyMerchant, setNotifyMerchant, setNotifyShopper, setNotifyShopper
-
-
-
-
Field Detail
-
COPYRIGHT
public static final java.lang.String COPYRIGHT
The IBM copyright notice field.- See Also:
- Constant Field Values
-
-
Method Detail
-
getRequestProperties
public TypedProperty getRequestProperties()
This method returns the request property set within this bean.- Specified by:
getRequestProperties
in interfaceInputDataBean
- Returns:
- com.ibm.commerce.datatype.TypedProperty
-
setRequestProperties
public void setRequestProperties(TypedProperty aRequestProperty)
This method sets the request property within this bean.- Specified by:
setRequestProperties
in interfaceInputDataBean
- Parameters:
aRequestProperty
- TypedProperty
-
getDataBeanKeyOrderId
public java.lang.String getDataBeanKeyOrderId()
This method returns order id.- Specified by:
getDataBeanKeyOrderId
in interfacecom.ibm.commerce.order.beans.OrderOptionSmartDataBean
- Returns:
- java.lang.String
-
getCommandContext
public CommandContext getCommandContext()
This method returns the command context set within this bean.- Specified by:
getCommandContext
in interfaceSmartDataBean
- Returns:
- com.ibm.commerce.command.CommandContext
-
setCommandContext
public void setCommandContext(CommandContext aCommandContext)
This method sets the command context within this bean.- Specified by:
setCommandContext
in interfaceSmartDataBean
- Parameters:
aCommandContext
- com.ibm.commerce.command.CommandContext
-
setDataBeanKeyOrderId
public void setDataBeanKeyOrderId(java.lang.String aOrderId)
This method sets order id.- Specified by:
setDataBeanKeyOrderId
in interfacecom.ibm.commerce.order.beans.OrderOptionInputDataBean
- Parameters:
aOrderId
- java.lang.String
-
populate
public void populate()
This method is used to populate the OrderOptionDataBean. You must set OrderId using the setDataBeanKeyOrderId method before running thepopulate()
method.- Specified by:
populate
in interfaceSmartDataBean
- Throws:
java.lang.Exception
- See Also:
setDataBeanKeyOrderId(String)
-
-