java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.pvcdevices.objects.PVCDeviceModelAccessBean
This table stores device model information. Records will be looked up by the value returned by the WebSphere Commerce pervasive computing adapter. Each subclass of PVCAdapterImpl is responsible to get a device model name from the HTTP request. This access bean corresponds to the database table 'PVCDEVMDL'.
Constructor Summary | |
PVCDeviceModelAccessBean() Zero argument constructor used to initialize the access bean. |
|
PVCDeviceModelAccessBean(javax.ejb.EJBObject o) constructor |
|
PVCDeviceModelAccessBean(java.lang.String arg1, java.lang.String arg2) Maps to a corresponding ejbCreate method in the home interface of the EJB |
Method Summary | |
void | commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected java.lang.String | defaultJNDIName() |
PVCDeviceModelAccessBean | findBySessionTypeAndDefaultModelName(java.lang.String sessionType) Returns PVCDeviceModel found on base of provided values for SessionType and DefaultModelName |
PVCDeviceModelAccessBean | findBySessionTypeAndModelName(java.lang.String sessionType, java.lang.String deviceModel) Returns PVCDeviceModel found based on provided SessionType and ModelName |
java.lang.String | getDescription() This method provides access to the PVCDEVMDL.DESCRIPTION column of DB2 type VARCHAR(128). |
java.lang.String | getDeviceModelId() This method provides access to the PVCDEVMDL.MODEL_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer | getDeviceModelIdInEJBType() This method provides access to the PVCDEVMDL.MODEL_ID column of DB2 type INTEGER NOT NULL. |
java.lang.String | getDevModelName() This method provides access to the PVCDEVMDL.DEVMDLNAME column of DB2 type VARCHAR(128). |
java.lang.String | getModelName() This method provides access to the PVCDEVMDL.MODELNAME column of DB2 type VARCHAR(40). |
java.lang.String | getSessionType() This method provides access to the PVCDEVMDL.SESSIONTYPE column of DB2 type VARCHAR(32) NOT NULL. |
java.lang.String | getVendorName() This method provides access to the PVCDEVMDL.VENDOR column of DB2 type VARCHAR(80). |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() Load data from the EJBObject. |
void | setDescription(java.lang.String newValue) This method accesses a non-CMP field |
void | setDeviceModelId(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setDeviceModelId(java.lang.String newValue) This method accesses a non-CMP field |
void | setDevModelName(java.lang.String newValue) This method accesses a non-CMP field |
void | setInitKey_deviceModelId(java.lang.String newValue) Set the primary key for this object |
void | setModelName(java.lang.String newValue) This method accesses a non-CMP field |
void | setSessionType(java.lang.String newValue) This method accesses a non-CMP field |
void | setVendorName(java.lang.String newValue) This method accesses a non-CMP field |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PVCDeviceModelAccessBean()
public PVCDeviceModelAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public PVCDeviceModelAccessBean(java.lang.String arg1, java.lang.String arg2) throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
Maps to a corresponding ejbCreate method in the home interface of the EJB
Provided parameters are Model Name and Session Type
Method Detail |
public PVCDeviceModelAccessBean findBySessionTypeAndDefaultModelName(java.lang.String sessionType) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Returns PVCDeviceModel found on base of provided values for SessionType and DefaultModelName
public PVCDeviceModelAccessBean findBySessionTypeAndModelName(java.lang.String sessionType, java.lang.String deviceModel) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Returns PVCDeviceModel found based on provided SessionType and ModelName
public void setInitKey_deviceModelId(java.lang.String newValue)
Set the primary key for this object
protected java.lang.String defaultJNDIName()
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.naming.NamingException
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Update(flush) data to the EJBObject (persistent storage).
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
public java.lang.String getDescription() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the PVCDEVMDL.DESCRIPTION column of DB2 type VARCHAR(128).
The following is a description of this column:
Short description of the device model.
public void setDescription(java.lang.String newValue)
public java.lang.String getVendorName() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the PVCDEVMDL.VENDOR column of DB2 type VARCHAR(80).
The following is a description of this column:
Vendor name of this model.
public void setVendorName(java.lang.String newValue)
public java.lang.String getModelName() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the PVCDEVMDL.MODELNAME column of DB2 type VARCHAR(40).
The following is a description of this column:
The model name. An empty string means default for devices which have the same SESSION_TYPE. This column is &l
public void setModelName(java.lang.String newValue)
public java.lang.String getSessionType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the PVCDEVMDL.SESSIONTYPE column of DB2 type VARCHAR(32) NOT NULL.
The following is a description of this column:
Type of carrier. For example, iMode.
public void setSessionType(java.lang.String newValue)
public java.lang.String getDeviceModelId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the PVCDEVMDL.MODEL_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Reference number.
public java.lang.Integer getDeviceModelIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the PVCDEVMDL.MODEL_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Reference number.
public void setDeviceModelId(java.lang.String newValue)
public void setDeviceModelId(java.lang.Integer newValue)
public java.lang.String getDevModelName() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the PVCDEVMDL.DEVMDLNAME column of DB2 type VARCHAR(128).
The following is a description of this column:
The model name. A NULL value means default for devices which have the same SESSION_TYPE.
public void setDevModelName(java.lang.String newValue)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.