com.ibm.commerce.pvcdevices.beans
Class PVCDeviceSpecDataBean

java.lang.Object
  com.ibm.commerce.pvcdevices.beansrc.PVCDeviceSpecDataBeanBase
      com.ibm.commerce.pvcdevices.beans.PVCDeviceSpecDataBean

public class PVCDeviceSpecDataBean
extends com.ibm.commerce.pvcdevices.beansrc.PVCDeviceSpecDataBeanBase

A databean that represents the different specifications for PvC devices. The data populated in this bean comes from the PVCDEVSPEC table. This table represents minimum specification of pervasive computing devices which are categorized by PVCMDLSPEC. Records of this table will be set in the appropriate adapter.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
IBM Copyright notice field.
protected CommandContext iCommandContext
protected java.lang.String iDataBeanKeySpecId
protected TypedProperty iRequestProperties
Constructor Summary
PVCDeviceSpecDataBean()
Method Summary
CommandContext getCommandContext()
Gets the command context set within this bean.
java.lang.String getDataBeanKeySpecId()
The PvC specification 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 setDataBeanKeySpecId(java.lang.String aSpecId)
Sets the PvC specification 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

iDataBeanKeySpecId

protected java.lang.String iDataBeanKeySpecId
Constructor Detail

PVCDeviceSpecDataBean

public PVCDeviceSpecDataBean()
Method Detail

getCommandContext

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

getDataBeanKeySpecId

public java.lang.String getDataBeanKeySpecId()
The PvC specification identifier.
Returns:
The PvC specification identifier.

getRequestProperties

public TypedProperty getRequestProperties()
Gets the request property set within this bean.
Returns:
The request properties 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.

setDataBeanKeySpecId

public void setDataBeanKeySpecId(java.lang.String aSpecId)
Sets the PvC specification identifier.
Parameters:
aSpecId - the PvC specification 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