java.lang.Object | +--com.ibm.commerce.pvcdevices.beansrc.PVCDeviceModelDataBeanBase | +--com.ibm.commerce.pvcdevices.beans.PVCDeviceModelDataBean
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.
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 |
---|
public static final java.lang.String COPYRIGHT
protected CommandContext iCommandContext
protected TypedProperty iRequestProperties
protected java.lang.String iDataBeanKeyDeviceModelId
Constructor Detail |
---|
public PVCDeviceModelDataBean()
Method Detail |
---|
public CommandContext getCommandContext()
public java.lang.String getDataBeanKeyDeviceModelId()
public TypedProperty getRequestProperties()
public void populate() throws java.lang.Exception
java.lang.Exception
- if there is a problem retrieving the
data.public void setCommandContext(CommandContext aCommandContext)
aCommandContext
- the command context.public void setDataBeanKeyDeviceModelId(java.lang.String aDeviceModelId)
aDeviceModelId
- the device model
identifier.public void setRequestProperties(TypedProperty aRequestProperty) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException, javax.ejb.FinderException
javax.ejb.CreateException
- should never happen.java.rmi.RemoteException
- should never happen.javax.naming.NamingException
- should never happen.javax.ejb.FinderException
- should never
happen.