com.ibm.commerce.pvcdevices.beans
Class PVCDeviceModelDataBean

java.lang.Object
  com.ibm.commerce.pvcdevices.beansrc.PVCDeviceModelDataBeanBase
      com.ibm.commerce.pvcdevices.beans.PVCDeviceModelDataBean

public class PVCDeviceModelDataBean
extends com.ibm.commerce.pvcdevices.beansrc.PVCDeviceModelDataBeanBase

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 Summary
static java.lang.String COPYRIGHT
IBM Copyright notice field.
protected CommandContext iCommandContext
protected java.lang.String iDataBeanKeyDeviceModelId
protected TypedProperty iRequestProperties
Constructor Summary
PVCDeviceModelDataBean()
Method Summary
CommandContext getCommandContext()
Gets the command context set within this bean.
java.lang.String getDataBeanKeyDeviceModelId()
Gets the device model identifier.
TypedProperty getRequestProperties()
Gets the request property set within this bean.
void populate()
Retrieves data from the database.
void setCommandContext(CommandContext aCommandContext)
Sets the command context within this bean.
void setDataBeanKeyDeviceModelId(java.lang.String aDeviceModelId)
Sets the device model identifier.
void setRequestProperties(TypedProperty aRequestProperty)
Sets the request property within this bean.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Field Detail

COPYRIGHT

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

iCommandContext

protected CommandContext iCommandContext

iRequestProperties

protected TypedProperty iRequestProperties

iDataBeanKeyDeviceModelId

protected java.lang.String iDataBeanKeyDeviceModelId
Constructor Detail

PVCDeviceModelDataBean

public PVCDeviceModelDataBean()
Method Detail

getCommandContext

public CommandContext getCommandContext()
Gets the command context set within this bean.
Returns:
The command context.

getDataBeanKeyDeviceModelId

public java.lang.String getDataBeanKeyDeviceModelId()
Gets the device model identifier.
Returns:
The device model identifier.

getRequestProperties

public TypedProperty getRequestProperties()
Gets the request property set within this bean.
Returns:
The request property of the bean.

populate

public void populate()
              throws java.lang.Exception
Retrieves data from the database.
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.
Parameters:
aCommandContext - the command context.

setDataBeanKeyDeviceModelId

public void setDataBeanKeyDeviceModelId(java.lang.String aDeviceModelId)
Sets the device model identifier.
Parameters:
aDeviceModelId - the device model identifier.

setRequestProperties

public void setRequestProperties(TypedProperty aRequestProperty)
                          throws javax.ejb.CreateException,
                                 java.rmi.RemoteException,
                                 javax.naming.NamingException,
                                 javax.ejb.FinderException
Sets the request property within this bean.
Throws:
javax.ejb.CreateException - should never happen.
java.rmi.RemoteException - should never happen.
javax.naming.NamingException - should never happen.
javax.ejb.FinderException - should never happen.

Feedback