com.ibm.commerce.utf.beans
Class TradeDomainDataBean

com.ibm.commerce.utf.beans.TradeDomainDataBean
All Implemented Interfaces:
DataBean, InputDataBean, java.io.Serializable, SmartDataBean, TradeDomainInputDataBean, TradeDomainSmartDataBean

public class TradeDomainDataBean
implements TradeDomainInputDataBean, TradeDomainSmartDataBean, SmartDataBean

Interfaces to the data members of the TradeDomainAccessBean.

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

TradeDomainDataBean

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

TradeDomainDataBean

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

getTradeDomainId

public java.lang.String getTradeDomainId()
Gets the tradeDomainId.
Specified by:
getTradeDomainId in interface TradeDomainSmartDataBean

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

setTradeDomainId

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