com.ibm.commerce.pvcdevices.objects
Class PVCDeviceMdlSpecAccessBean

java.lang.Object
  com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
      com.ibm.commerce.pvcdevices.objects.PVCDeviceMdlSpecAccessBean
All Implemented Interfaces:
PVCDeviceMdlSpecAccessBeanData

public class PVCDeviceMdlSpecAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements PVCDeviceMdlSpecAccessBeanData

The table contains different model specification mapping for each store. PVCMDLSPEC represents relationship among records in the PVCDEVMDL and the PVCDEVSPEC database tables. This access bean corresponds to the database table 'PVCMDLSPEC'.

See Also:
Serialized Form

Constructor Summary
PVCDeviceMdlSpecAccessBean()
Zero argument constructor used to initialize the access bean.
PVCDeviceMdlSpecAccessBean(java.lang.Integer modelId, java.lang.Integer specId, java.lang.Integer storeentId)
Maps to a corresponding ejbCreate method in the home interface of the EJB
PVCDeviceMdlSpecAccessBean(javax.ejb.EJBObject o)
constructor
Method Summary
void commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage).
protected java.lang.String defaultJNDIName()
java.lang.String getMdlSpcId()
This method provides access to the PVCMDLSPEC.MDLSPC_ID column of DB2 type INTEGER NOT NULL.
java.lang.Integer getMdlSpcIdInEJBType()
This method provides access to the PVCMDLSPEC.MDLSPC_ID column of DB2 type INTEGER NOT NULL.
java.lang.String getModelId()
This method provides access to the PVCMDLSPEC.MODEL_ID column of DB2 type INTEGER NOT NULL.
java.lang.Integer getModelIdInEJBType()
This method provides access to the PVCMDLSPEC.MODEL_ID column of DB2 type INTEGER NOT NULL.
java.lang.String getSpecId()
This method provides access to the PVCMDLSPEC.SPEC_ID column of DB2 type INTEGER NOT NULL.
java.lang.Integer getSpecIdInEJBType()
This method provides access to the PVCMDLSPEC.SPEC_ID column of DB2 type INTEGER NOT NULL.
java.lang.String getStoreentId()
This method provides access to the PVCMDLSPEC.STOREENT_ID column of DB2 type INTEGER NOT NULL.
java.lang.Integer getStoreentIdInEJBType()
This method provides access to the PVCMDLSPEC.STOREENT_ID column of DB2 type INTEGER NOT NULL.
protected void instantiateEJB()
protected boolean instantiateEJBByPrimaryKey()
void refreshCopyHelper()
Load data from the EJBObject.
void setInitKey_mdlSpcId(java.lang.String newValue)
Set the primary key for this object
void setMdlSpcId(java.lang.Integer newValue)
This method accesses a non-CMP field
void setMdlSpcId(java.lang.String newValue)
This method accesses a non-CMP field
void setModelId(java.lang.Integer newValue)
This method accesses a non-CMP field
void setModelId(java.lang.String newValue)
This method accesses a non-CMP field
void setSpecId(java.lang.Integer newValue)
This method accesses a non-CMP field
void setSpecId(java.lang.String newValue)
This method accesses a non-CMP field
void setStoreentId(java.lang.Integer newValue)
This method accesses a non-CMP field
void setStoreentId(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

PVCDeviceMdlSpecAccessBean

public PVCDeviceMdlSpecAccessBean()
Zero argument constructor used to initialize the access bean. This constructor corresponds to the following home interface method: public abstract com.ibm.commerce.pvcdevices.objects.PVCDeviceMdlSpec com.ibm.commerce.pvcdevices.objimpl.PVCDeviceMdlSpecHomeBase.findByPrimaryKey(com.ibm.commerce.pvcdevices.objects.PVCDeviceMdlSpecKey) throws java.rmi.RemoteException,javax.ejb.FinderException The home interface method properties need to be set by calling the following setter methods before calling any business methods: setInitKey_mdlSpcId( java.lang.Integer )

PVCDeviceMdlSpecAccessBean

public PVCDeviceMdlSpecAccessBean(javax.ejb.EJBObject o)
                           throws java.rmi.RemoteException
constructor
Parameters:
o - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException

PVCDeviceMdlSpecAccessBean

public PVCDeviceMdlSpecAccessBean(java.lang.Integer modelId,
                                  java.lang.Integer specId,
                                  java.lang.Integer storeentId)
                           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

Parameters provided are Model Id, Spec. id, Store Entity ID

Parameters:
modelId - java.lang.Integer
specId - java.lang.Integer
storeentId - java.lang.Integer
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
Method Detail

setInitKey_mdlSpcId

public void setInitKey_mdlSpcId(java.lang.String newValue)

Set the primary key for this object

Parameters:
newValue - java.lang.String
Returns:
void

defaultJNDIName

protected java.lang.String defaultJNDIName()
Returns:
String

instantiateEJB

protected void instantiateEJB()
                       throws java.rmi.RemoteException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException
Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

instantiateEJBByPrimaryKey

protected boolean instantiateEJBByPrimaryKey()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             javax.naming.NamingException
Returns:
boolean
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.naming.NamingException

commitCopyHelper

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

Update(flush) data to the EJBObject (persistent storage).

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

refreshCopyHelper

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

Load data from the EJBObject.

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getSpecId

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

This method provides access to the PVCMDLSPEC.SPEC_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Reference number to uniquely identify the specification.

Specified by:
getSpecId in interface PVCDeviceMdlSpecAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getSpecIdInEJBType

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

This method provides access to the PVCMDLSPEC.SPEC_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Reference number to uniquely identify the specification.

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

setSpecId

public void setSpecId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setSpecId in interface PVCDeviceMdlSpecAccessBeanData

setSpecId

public void setSpecId(java.lang.Integer newValue)
This method accesses a non-CMP field

getStoreentId

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

This method provides access to the PVCMDLSPEC.STOREENT_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Owner of the definition. A value of -1 means the site default.

Specified by:
getStoreentId in interface PVCDeviceMdlSpecAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getStoreentIdInEJBType

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

This method provides access to the PVCMDLSPEC.STOREENT_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Owner of the definition. A value of -1 means the site default.

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

setStoreentId

public void setStoreentId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setStoreentId in interface PVCDeviceMdlSpecAccessBeanData

setStoreentId

public void setStoreentId(java.lang.Integer newValue)
This method accesses a non-CMP field

getModelId

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

This method provides access to the PVCMDLSPEC.MODEL_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Reference number to uniquely identify the model.

Specified by:
getModelId in interface PVCDeviceMdlSpecAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getModelIdInEJBType

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

This method provides access to the PVCMDLSPEC.MODEL_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Reference number to uniquely identify the model.

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

setModelId

public void setModelId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setModelId in interface PVCDeviceMdlSpecAccessBeanData

setModelId

public void setModelId(java.lang.Integer newValue)
This method accesses a non-CMP field

getMdlSpcId

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

This method provides access to the PVCMDLSPEC.MDLSPC_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Reference number (primary key is required by Enterprise JavaBeans).

Specified by:
getMdlSpcId in interface PVCDeviceMdlSpecAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getMdlSpcIdInEJBType

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

This method provides access to the PVCMDLSPEC.MDLSPC_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Reference number (primary key is required by Enterprise JavaBeans).

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

setMdlSpcId

public void setMdlSpcId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setMdlSpcId in interface PVCDeviceMdlSpecAccessBeanData

setMdlSpcId

public void setMdlSpcId(java.lang.Integer newValue)
This method accesses a non-CMP field

Feedback