com.ibm.commerce.utf.beans
Class TradeSubDomainDataBean

com.ibm.commerce.utf.beans.TradeSubDomainDataBean
All Implemented Interfaces:
DataBean, InputDataBean, java.io.Serializable, SmartDataBean, TradeSubDomainInputDataBean, TradeSubDomainSmartDataBean

public class TradeSubDomainDataBean
implements TradeSubDomainInputDataBean, TradeSubDomainSmartDataBean, SmartDataBean

Interfaces to the data members of the TradeSubDomainAccessBean.

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
TradeSubDomainDataBean()
          Constructs TradeSubDomainDataBean, initializes fields to null.
TradeSubDomainDataBean(com.ibm.commerce.utf.beans.TradeSubDomainAccessBean anAccessBean)
          Constructs TradeSubDomainDataBean, initializes fields to null.
 
Method Summary
 CommandContext getCommandContext()
          Gets the active commandContext.
 TypedProperty getRequestProperties()
          Returns the request parameters as a TypedProperty.
 java.lang.String getTradeSubDomainId()
          Gets the tradeSubDomainId.
 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 setTradeSubDomainId(java.lang.String newId)
          Sets the sub domainId field and uses it to set the subDomainID 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

TradeSubDomainDataBean

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

TradeSubDomainDataBean

public TradeSubDomainDataBean(com.ibm.commerce.utf.beans.TradeSubDomainAccessBean anAccessBean)
                       throws java.lang.Exception
Constructs TradeSubDomainDataBean, initializes fields to null.
Parameters:
anAccessBean - com.ibm.commerce.utf.objects.TradeSubDomainAccessBean
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

getTradeSubDomainId

public java.lang.String getTradeSubDomainId()
Gets the tradeSubDomainId.
Specified by:
getTradeSubDomainId in interface TradeSubDomainSmartDataBean

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

setTradeSubDomainId

public void setTradeSubDomainId(java.lang.String newId)
Sets the sub domainId field and uses it to set the subDomainID key field of the access bean.
Specified by:
setTradeSubDomainId in interface TradeSubDomainInputDataBean
Parameters:
newId - the relevant sub domain Id.