com.ibm.commerce.pvcdevices.beans
Class PVCDeviceModelDataBean

com.ibm.commerce.pvcdevices.beans.PVCDeviceModelDataBean
All Implemented Interfaces:
Delegator

public class PVCDeviceModelDataBean
implements Delegator

This bean provides access to the PVCDEVMDL table.


Fields inherited from interface com.ibm.commerce.security.Delegator
COPYRIGHT
 
Constructor Summary
PVCDeviceModelDataBean()
          Default constructor
 
Method Summary
 CommandContext getCommandContext()
          Gets the command context set within this bean.
 java.lang.String getDataBeanKeyDeviceModelId()
          Retrieve its primary key.
 Protectable getDelegate()
          Retrieves access control information.
 java.lang.String getDescription()
          This method returns data corresponding to the PVCDEVMDL.DESCRIPTION
 java.lang.String getDeviceModelId()
          This method returns data corresponding to the PVCDEVMDL.MODEL_ID
 java.lang.Integer getDeviceModelIdInEJBType()
          Returns Integer value corresponding to the MODEL_IC
 java.lang.String getDevModelName()
          This method returns data corresponding to the PVCDEVMDL.DEVMDLNAME
 java.lang.String getModelName()
          This method returns data corresponding to the PVCDEVMDL.MODELNAME
 TypedProperty getRequestProperties()
          Gets the request property set within this bean.
 java.lang.String getSessionType()
          This method returns data corresponding to the PVCDEVMDL.SESSION_TYPE
 java.lang.String getVendorName()
          This method returns data corresponding to the PVCDEVMDL.VENDOR
 void populate()
          Retrieves data from the database.
 void setCommandContext(CommandContext aCommandContext)
          Sets the command context within this bean.
 void setDataBeanKeyDeviceModelId(java.lang.String aDataBeanKeyDeviceModelId)
          Set its primary key for fetching.
 void setDescription(java.lang.String aDescription)
          This method sets data corresponding to the PVCDEVMDL.DESCRIPTION
 void setDeviceModelId(java.lang.Integer aDeviceModelId)
          This method sets data corresponding to the PVCDEVMDL.MODEL_ID
 void setDevModelName(java.lang.String aDevModelName)
          This method sets data corresponding to the PVCDEVMDL.DEVMDLNAME
 void setModelName(java.lang.String aModelName)
          This method sets data corresponding to the PVCDEVMDL.MODELNAME
 void setRequestProperties(TypedProperty aRequestProperties)
          Sets the request property within this bean.
 void setSessionType(java.lang.String aSessionType)
          This method sets data corresponding to the PVCDEVMDL.SESSION_TYPE
 void setVendorName(java.lang.String aVendorName)
          This method sets data corresponding to the PVCDEVMDL.VENDOR
 

Constructor Detail

PVCDeviceModelDataBean

public PVCDeviceModelDataBean()

Default constructor

Method Detail

getCommandContext

public CommandContext getCommandContext()

Gets the command context set within this bean.

Returns:
com.ibm.commerce.command.CommandContext

getDataBeanKeyDeviceModelId

public java.lang.String getDataBeanKeyDeviceModelId()

Retrieve its primary key.

Returns:
java.lang.String

getDelegate

public Protectable getDelegate()
                        throws java.lang.Exception

Retrieves access control information.

Specified by:
getDelegate in interface Delegator
Returns:
com.ibm.commerce.security.Protectable
Throws:
java.lang.Exception - The java.lang.Exception exception

getDescription

public java.lang.String getDescription()
                                throws java.rmi.RemoteException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       javax.naming.NamingException

This method returns data corresponding to the PVCDEVMDL.DESCRIPTION

Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getDeviceModelId

public java.lang.String getDeviceModelId()
                                  throws java.rmi.RemoteException,
                                         javax.ejb.CreateException,
                                         javax.ejb.FinderException,
                                         javax.naming.NamingException

This method returns data corresponding to the PVCDEVMDL.MODEL_ID

Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getDeviceModelIdInEJBType

public java.lang.Integer getDeviceModelIdInEJBType()
                                            throws java.rmi.RemoteException,
                                                   javax.ejb.CreateException,
                                                   javax.ejb.FinderException,
                                                   javax.naming.NamingException

Returns Integer value corresponding to the MODEL_IC

Returns:
java.lang.Integer
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getDevModelName

public java.lang.String getDevModelName()
                                 throws java.rmi.RemoteException,
                                        javax.ejb.CreateException,
                                        javax.ejb.FinderException,
                                        javax.naming.NamingException

This method returns data corresponding to the PVCDEVMDL.DEVMDLNAME

Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getModelName

public java.lang.String getModelName()
                              throws java.rmi.RemoteException,
                                     javax.ejb.CreateException,
                                     javax.ejb.FinderException,
                                     javax.naming.NamingException

This method returns data corresponding to the PVCDEVMDL.MODELNAME

Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getRequestProperties

public TypedProperty getRequestProperties()

Gets the request property set within this bean.

Returns:
com.ibm.commerce.datatype.TypedProperty

getSessionType

public java.lang.String getSessionType()
                                throws java.rmi.RemoteException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       javax.naming.NamingException

This method returns data corresponding to the PVCDEVMDL.SESSION_TYPE

Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getVendorName

public java.lang.String getVendorName()
                               throws java.rmi.RemoteException,
                                      javax.ejb.CreateException,
                                      javax.ejb.FinderException,
                                      javax.naming.NamingException

This method returns data corresponding to the PVCDEVMDL.VENDOR

Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

populate

public void populate()
              throws java.lang.Exception

Retrieves data from the database.

Returns:
void
Throws:
java.lang.Exception - The java.lang.Exception exception

setCommandContext

public void setCommandContext(CommandContext aCommandContext)

Sets the command context within this bean.

Parameters:
aCommandContext - com.ibm.commerce.command.CommandContext
Returns:
void

setDataBeanKeyDeviceModelId

public void setDataBeanKeyDeviceModelId(java.lang.String aDataBeanKeyDeviceModelId)

Set its primary key for fetching.

Parameters:
aDataBeanKeyDeviceModelId - java.lang.String - primary key
Returns:
void

setDescription

public void setDescription(java.lang.String aDescription)

This method sets data corresponding to the PVCDEVMDL.DESCRIPTION

Parameters:
aDescription - java.lang.String - value for Description
Returns:
void

setDeviceModelId

public void setDeviceModelId(java.lang.Integer aDeviceModelId)

This method sets data corresponding to the PVCDEVMDL.MODEL_ID

Parameters:
aDeviceModelId - java.lang.Integer - device model id
Returns:
void

setDevModelName

public void setDevModelName(java.lang.String aDevModelName)

This method sets data corresponding to the PVCDEVMDL.DEVMDLNAME

Parameters:
aDevModelName - java.lang.String - device model name
Returns:
void

setModelName

public void setModelName(java.lang.String aModelName)

This method sets data corresponding to the PVCDEVMDL.MODELNAME

Parameters:
aModelName - java.lang.String - model name
Returns:
void

setRequestProperties

public void setRequestProperties(TypedProperty aRequestProperties)
                          throws javax.ejb.CreateException,
                                 java.rmi.RemoteException,
                                 javax.naming.NamingException,
                                 javax.ejb.FinderException

Sets the request property within this bean.

Parameters:
aRequestProperties - com.ibm.commerce.datatype.TypedProperty
Returns:
void
Throws:
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

setSessionType

public void setSessionType(java.lang.String aSessionType)

This method sets data corresponding to the PVCDEVMDL.SESSION_TYPE

Parameters:
aSessionType - java.lang.String - sessionType
Returns:
void

setVendorName

public void setVendorName(java.lang.String aVendorName)

This method sets data corresponding to the PVCDEVMDL.VENDOR

Parameters:
aVendorName - java.lang.String - vendor name
Returns:
void