java.lang.Object | +--com.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.
Constructor Summary | |
---|---|
PVCDeviceModelAccessBean() constructor | |
PVCDeviceModelAccessBean(javax.ejb.EJBObject o) constructor | |
PVCDeviceModelAccessBean(java.lang.String arg0,
java.lang.String arg1) constructor |
Method Summary | |
---|---|
void |
commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected
java.lang.String |
defaultJNDIName() |
PVCDeviceModelAccessBean |
findBySessionTypeAndDefaultModelName(java.lang.String arg0) Returns PVCDeviceModel found on base of provided values for SessionType and DefaultModelName |
PVCDeviceModelAccessBean |
findBySessionTypeAndModelName(java.lang.String arg0,
java.lang.String arg1) 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 provides access to the PVCDEVMDL.DESCRIPTION column of DB2 type VARCHAR(128). |
void |
setDeviceModelId(java.lang.Integer newValue) This method provides access to the PVCDEVMDL.MODEL_ID column of DB2 type INTEGER NOT NULL. |
void |
setDeviceModelId(java.lang.String newValue) This method provides access to the PVCDEVMDL.MODEL_ID column of DB2 type INTEGER NOT NULL. |
void |
setDevModelName(java.lang.String newValue) This method provides access to the PVCDEVMDL.DEVMDLNAME column of DB2 type VARCHAR(128). |
void |
setInitKey_deviceModelId(java.lang.String newValue) Set the primary key for this object |
void |
setModelName(java.lang.String newValue) This method provides access to the PVCDEVMDL.MODELNAME column of DB2 type VARCHAR(40). |
void |
setSessionType(java.lang.String newValue) This method provides access to the PVCDEVMDL.SESSIONTYPE column of DB2 type VARCHAR(32) NOT NULL. |
void |
setVendorName(java.lang.String newValue) This method provides access to the PVCDEVMDL.VENDOR column of DB2 type VARCHAR(80). |
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
o
- javax.ejb.EJBObjectjava.rmi.RemoteException
public PVCDeviceModelAccessBean(java.lang.String arg0, java.lang.String arg1) throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
arg0
- java.lang.Stringarg1
- java.lang.Stringjavax.naming.NamingException
javax.ejb.CreateException
java.rmi.RemoteException
javax.ejb.FinderException
Method Detail |
---|
public PVCDeviceModelAccessBean findBySessionTypeAndDefaultModelName(java.lang.String arg0) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Returns PVCDeviceModel found on base of provided values for SessionType and DefaultModelName
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public PVCDeviceModelAccessBean findBySessionTypeAndModelName(java.lang.String arg0, java.lang.String arg1) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Returns PVCDeviceModel found based on provided SessionType and ModelName
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public void setInitKey_deviceModelId(java.lang.String newValue)
Set the primary key for this object
newValue
- java.lang.Stringprotected java.lang.String defaultJNDIName()
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.naming.NamingException
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).
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
getDescription
in interface
PVCDeviceModelAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setDescription(java.lang.String newValue)
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.
setDescription
in interface
PVCDeviceModelAccessBeanData
newValue
- java.lang.Stringpublic 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.
getVendorName
in interface
PVCDeviceModelAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setVendorName(java.lang.String newValue)
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.
setVendorName
in interface
PVCDeviceModelAccessBeanData
newValue
- java.lang.Stringpublic 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
getModelName
in interface
PVCDeviceModelAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setModelName(java.lang.String newValue)
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
setModelName
in interface
PVCDeviceModelAccessBeanData
newValue
- java.lang.Stringpublic 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.
getSessionType
in interface
PVCDeviceModelAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setSessionType(java.lang.String newValue)
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.
setSessionType
in interface
PVCDeviceModelAccessBeanData
newValue
- java.lang.Stringpublic 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.
getDeviceModelId
in interface
PVCDeviceModelAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setDeviceModelId(java.lang.String newValue)
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.
setDeviceModelId
in interface
PVCDeviceModelAccessBeanData
newValue
- Stringpublic void setDeviceModelId(java.lang.Integer newValue)
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.
newValue
- java.lang.Integerpublic 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.
getDevModelName
in interface
PVCDeviceModelAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setDevModelName(java.lang.String newValue)
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.
setDevModelName
in interface
PVCDeviceModelAccessBeanData
newValue
- java.lang.String