com.ibm.commerce.utf.beans
Class PAttributeDataBean

com.ibm.commerce.utf.beans.PAttributeDataBean
All Implemented Interfaces:
DataBean, InputDataBean, PAttributeInputDataBean, PAttributeSmartDataBean, java.io.Serializable, SmartDataBean

public class PAttributeDataBean
implements PAttributeInputDataBean, PAttributeSmartDataBean, SmartDataBean

Interfaces to the data members of the PAttributeAccessBean.

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
PAttributeDataBean()
          Constructs PAttributeDataBean, initializes fields to null.
PAttributeDataBean(PAttributeAccessBean anAccessBean)
          Constructs PAttributeDataBean, initializes fields to null.
 
Method Summary
 CommandContext getCommandContext()
          Gets the active commandContext.
 java.lang.String getPAttributeId()
          Gets the PAttributeId.
 TypedProperty getRequestProperties()
          Returns the request parameters as a TypedProperty.
 void populate()
          Fetches field values from the access bean.
 void setCommandContext(CommandContext newCommandContext)
          Sets the active commandContext.
 void setPAttributeId(java.lang.String newPAttributeId)
          Sets the PAttributeId field and uses it to set the referenceNumber key field of the access bean.
 void setRequestProperties(TypedProperty newRequestProperties)
          Copies the TypedProperty input parameters.
 

Field Detail

commandContext

protected CommandContext commandContext

COPYRIGHT

public static final java.lang.String COPYRIGHT

requestProperties

protected TypedProperty requestProperties
Constructor Detail

PAttributeDataBean

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

PAttributeDataBean

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

getCommandContext

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

getPAttributeId

public java.lang.String getPAttributeId()
Gets the PAttributeId.
Specified by:
getPAttributeId in interface PAttributeSmartDataBean

getRequestProperties

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

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.

setPAttributeId

public void setPAttributeId(java.lang.String newPAttributeId)
Sets the PAttributeId field and uses it to set the referenceNumber key field of the access bean.
Specified by:
setPAttributeId in interface PAttributeInputDataBean
Parameters:
newPAttributeId - the relevant referenceNumber.

setRequestProperties

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