com.ibm.commerce.utf.beans
Class TradeEngineDataBean

com.ibm.commerce.utf.beans.TradeEngineDataBean
All Implemented Interfaces:
DataBean, InputDataBean, java.io.Serializable, SmartDataBean, TradeEngineInputDataBean, TradeEngineSmartDataBean

public class TradeEngineDataBean
implements TradeEngineInputDataBean, TradeEngineSmartDataBean, SmartDataBean

Interfaces to the data members of the TradeEngineAccessBean.

See Also:
Serialized Form

Field Summary
protected  CommandContext commandContext
           
static java.lang.String COPYRIGHT
           
protected  TypedProperty requestProperties
           
 
Fields inherited from interface com.ibm.commerce.beans.DataBean
emptyString
 
Constructor Summary
TradeEngineDataBean()
          Constructs TradeEngineDataBean, initializes fields to null.
TradeEngineDataBean(com.ibm.commerce.utf.beans.TradeEngineAccessBean anAccessBean)
          Constructs TradeEngineDataBean, initializes fields to null.
 
Method Summary
 CommandContext getCommandContext()
          Gets the active commandContext.
 TypedProperty getRequestProperties()
          Returns the request parameters as a TypedProperty.
 java.lang.String getTradeEngineId()
          Gets the TradeEngineId.
 void populate()
          Fetches field values from the access bean.
 void setCommandContext(CommandContext newCommandContext)
          Sets the active commandContext.
 void setRequestProperties(TypedProperty newRequestProperties)
          Copies the TypedProperty input parameters.
 void setTradeEngineByName(java.lang.String newName)
           
 void setTradeEngineId(java.lang.String newId)
          Sets the TradeEngineId field and uses it to set the tradeEngineId key field of the access bean.
 

Field Detail

commandContext

protected CommandContext commandContext

COPYRIGHT

public static final java.lang.String COPYRIGHT

requestProperties

protected TypedProperty requestProperties
Constructor Detail

TradeEngineDataBean

public TradeEngineDataBean()
Constructs TradeEngineDataBean, initializes fields to null.

TradeEngineDataBean

public TradeEngineDataBean(com.ibm.commerce.utf.beans.TradeEngineAccessBean anAccessBean)
                    throws java.lang.Exception
Constructs TradeEngineDataBean, initializes fields to null.
Parameters:
anAccessBean - com.ibm.commerce.utf.objects.TradeEngineAccessBean
Throws:
ECException -  
Method Detail

getCommandContext

public CommandContext getCommandContext()
Gets the active commandContext.
Specified by:
getCommandContext in interface SmartDataBean
Returns:
the active commandContext.

getRequestProperties

public TypedProperty getRequestProperties()
Returns the request parameters as a TypedProperty.
Specified by:
getRequestProperties in interface InputDataBean
Returns:
com.ibm.commerce.datatype.TypedProperty

getTradeEngineId

public java.lang.String getTradeEngineId()
Gets the TradeEngineId.
Specified by:
getTradeEngineId in interface TradeEngineSmartDataBean

populate

public void populate()
              throws java.lang.Exception
Fetches field values from the access bean.
Specified by:
populate in interface SmartDataBean
Throws:
java.lang.Exception - On any access bean error.

setCommandContext

public void setCommandContext(CommandContext newCommandContext)
Sets the active commandContext.
Specified by:
setCommandContext in interface SmartDataBean
Parameters:
newCommandContext - the active command context.

setRequestProperties

public void setRequestProperties(TypedProperty newRequestProperties)
Copies the TypedProperty input parameters.
Specified by:
setRequestProperties in interface InputDataBean
Parameters:
newRequestProperties - com.ibm.commerce.datatype.TypedProperty

setTradeEngineByName

public void setTradeEngineByName(java.lang.String newName)
                          throws java.lang.Exception
Specified by:
setTradeEngineByName in interface TradeEngineInputDataBean

setTradeEngineId

public void setTradeEngineId(java.lang.String newId)
Sets the TradeEngineId field and uses it to set the tradeEngineId key field of the access bean.
Specified by:
setTradeEngineId in interface TradeEngineInputDataBean
Parameters:
newId - the relevant TradeEngineId.