com.ibm.commerce.order.beans
Class OrderChangeReasonDataBean
- java.lang.Object
-
- com.ibm.commerce.persistence.AbstractJpaEntityAccessBean
-
- com.ibm.commerce.order.objects.OrderChangeReasonAccessBean
-
- com.ibm.commerce.order.beansrc.OrderChangeReasonDataBeanBase
-
- com.ibm.commerce.order.beans.OrderChangeReasonDataBean
-
- All Implemented Interfaces:
- DataBean, InputDataBean, SmartDataBean, OrderChangeReasonInputDataBean, OrderChangeReasonSmartDataBean, Delegator, java.io.Serializable
public class OrderChangeReasonDataBean extends OrderChangeReasonDataBeanBase implements OrderChangeReasonInputDataBean, OrderChangeReasonSmartDataBean
This databean represents an OrderChangeReason object.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.String
COPYRIGHT
The IBM copyright field.-
Fields inherited from interface com.ibm.commerce.beans.DataBean
emptyString
-
-
Constructor Summary
Constructors Constructor and Description OrderChangeReasonDataBean()
OrderChangeReasonDataBean default constructor.OrderChangeReasonDataBean(OrderChangeReasonAccessBean argabOrderChangeReason)
This method constructs an OrderChangeReasonDataBean from an OrderChangeReasonAccessBean by extracting the OrderChangeReason EJB reference from the OrderChangeReasonAccessBean.OrderChangeReasonDataBean(OrderChangeReasonAccessBean argabOrderChangeReason, CommandContext aCommandContext)
This method constructs an OrderChangeReasonDataBean from an OrderChangeReasonAccessBean by extracting the OrderChangeReason EJB reference from the OrderChangeReasonAccessBean and setting the commandContext
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description CommandContext
getCommandContext()
This method returns the command context.java.lang.String
getDescription()
This method returns the description associated with this change reason in command context language.TypedProperty
getRequestProperties()
This method returns the request properties.void
populate()
This method is used to populate the OrderChangeReasonDataBean.void
setCommandContext(CommandContext argCommandContext)
This method sets the command context.void
setOrderChangeReasonId(java.lang.String argOrderChangeReasonId)
This method sets the key field for this bean.void
setRequestProperties(TypedProperty param)
This method sets the request properties.-
Methods inherited from class com.ibm.commerce.order.beansrc.OrderChangeReasonDataBeanBase
getDelegate
-
Methods inherited from class com.ibm.commerce.order.objects.OrderChangeReasonAccessBean
findByStoreId, fulfills, getEntity, getField1, getField2, getField3, getGroupingAttributeValue, getOrderChangeReasonId, getOwner, getReasonCode, getStoreId, instantiateEntity, setField1, setField2, setField3, setInitKey_orderChangeReasonId, setReasonCode, setStoreId
-
-
-
-
Field Detail
-
COPYRIGHT
public static final java.lang.String COPYRIGHT
The IBM copyright field.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
OrderChangeReasonDataBean
public OrderChangeReasonDataBean()
OrderChangeReasonDataBean default constructor.
-
OrderChangeReasonDataBean
public OrderChangeReasonDataBean(OrderChangeReasonAccessBean argabOrderChangeReason)
This method constructs an OrderChangeReasonDataBean from an OrderChangeReasonAccessBean by extracting the OrderChangeReason EJB reference from the OrderChangeReasonAccessBean. Note: Consider using OrderChangeReasonDataBean(OrderChangeReasonAccessBean argabOrderChangeReason,CommandContext aCommandContext) if commandContext is available.- Parameters:
argabOrderChangeReason
- OrderChangeReasonAccessBean- Throws:
java.lang.Exception
-
OrderChangeReasonDataBean
public OrderChangeReasonDataBean(OrderChangeReasonAccessBean argabOrderChangeReason, CommandContext aCommandContext)
This method constructs an OrderChangeReasonDataBean from an OrderChangeReasonAccessBean by extracting the OrderChangeReason EJB reference from the OrderChangeReasonAccessBean and setting the commandContext- Parameters:
argabOrderChangeReason
- OrderChangeReasonAccessBeanaCommandContext
- CommandContext- Throws:
java.lang.Exception
-
-
Method Detail
-
populate
public void populate()
This method is used to populate the OrderChangeReasonDataBean. You must set OrderChangeReasonId using the setOrderChangeReasonId method before running thepopulate()
method.- Specified by:
populate
in interfaceSmartDataBean
- Throws:
java.lang.Exception
- See Also:
setOrderChangeReasonId(String)
-
getDescription
public java.lang.String getDescription()
This method returns the description associated with this change reason in command context language.- Specified by:
getDescription
in interfaceOrderChangeReasonSmartDataBean
- Returns:
- description of order change reason
-
getRequestProperties
public TypedProperty getRequestProperties()
This method returns the request properties.- Specified by:
getRequestProperties
in interfaceInputDataBean
- Returns:
- iRequestProperties request properties
- See Also:
InputDataBean.getRequestProperties()
-
setRequestProperties
public void setRequestProperties(TypedProperty param)
This method sets the request properties.- Specified by:
setRequestProperties
in interfaceInputDataBean
- Parameters:
param
- TypedProperty- See Also:
InputDataBean.setRequestProperties(com.ibm.commerce.datatype.TypedProperty)
-
getCommandContext
public CommandContext getCommandContext()
This method returns the command context.- Specified by:
getCommandContext
in interfaceSmartDataBean
- Returns:
- iCommandContext CommandContext
- See Also:
SmartDataBean.getCommandContext()
-
setCommandContext
public void setCommandContext(CommandContext argCommandContext)
This method sets the command context.- Specified by:
setCommandContext
in interfaceSmartDataBean
- Parameters:
argCommandContext
- CommandContext- See Also:
SmartDataBean.setCommandContext(com.ibm.commerce.command.CommandContext)
-
setOrderChangeReasonId
public void setOrderChangeReasonId(java.lang.String argOrderChangeReasonId)
This method sets the key field for this bean.- Specified by:
setOrderChangeReasonId
in interfaceOrderChangeReasonInputDataBean
- Parameters:
argOrderChangeReasonId
- order change reason Id- See Also:
OrderChangeReasonInputDataBean.setOrderChangeReasonId(java.lang.String)
-
-