com.ibm.commerce.pvcdevices.beans

Class PVCDeviceModelDataBean

  • All Implemented Interfaces:
    DataBean, InputDataBean, SmartDataBean, com.ibm.commerce.pvcdevices.beans.PVCDeviceModelInputDataBean, com.ibm.commerce.pvcdevices.beans.PVCDeviceModelSmartDataBean, Delegator, java.io.Serializable


    public class PVCDeviceModelDataBean
    extends com.ibm.commerce.pvcdevices.beansrc.PVCDeviceModelDataBeanBase
    implements com.ibm.commerce.pvcdevices.beans.PVCDeviceModelInputDataBean, com.ibm.commerce.pvcdevices.beans.PVCDeviceModelSmartDataBean
    A databean that represents a PvC device model. This information is found from the PVCDEVMDL table. This table stores device model information. Records will be looked up by value returned by the WebSphere Commerce pervasive computing (PvC) adapter. Each subclass of PVCAdapterImpl is responsible to get a device model name from the HTTP request.
    See Also:
    Serialized Form
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM Copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • PVCDeviceModelDataBean

        public PVCDeviceModelDataBean()
    • Method Detail

      • getDataBeanKeyDeviceModelId

        public java.lang.String getDataBeanKeyDeviceModelId()
        Gets the device model identifier.
        Specified by:
        getDataBeanKeyDeviceModelId in interface com.ibm.commerce.pvcdevices.beans.PVCDeviceModelSmartDataBean
        Returns:
        The device model identifier.
      • populate

        public void populate()
        Retrieves data from the database.
        Specified by:
        populate in interface SmartDataBean
        Throws:
        java.lang.Exception - if there is a problem retrieving the data.
      • setCommandContext

        public void setCommandContext(CommandContext aCommandContext)
        Sets the command context within this bean.
        Specified by:
        setCommandContext in interface SmartDataBean
        Parameters:
        aCommandContext - the command context.
      • setDataBeanKeyDeviceModelId

        public void setDataBeanKeyDeviceModelId(java.lang.String aDeviceModelId)
        Sets the device model identifier.
        Specified by:
        setDataBeanKeyDeviceModelId in interface com.ibm.commerce.pvcdevices.beans.PVCDeviceModelInputDataBean
        Parameters:
        aDeviceModelId - the device model identifier.
      • setRequestProperties

        public void setRequestProperties(TypedProperty aRequestProperty)
        Sets the request property within this bean.
        Specified by:
        setRequestProperties in interface InputDataBean
        Parameters:
        aTypedProperty - the request properties.