com.ibm.commerce.pvcdevices.objects
Class PVCDeviceMdlSpecAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractAccessBean
        |
        +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
              |
              +--com.ibm.commerce.pvcdevices.objects.PVCDeviceMdlSpecAccessBean
All Implemented Interfaces:
PVCDeviceMdlSpecAccessBeanData, java.io.Serializable

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

This bean provides access to the PVCMDLSPEC table.

The following is a description of this table:

The table contains different model-spec mapping for each stores. PVCMDLSPEC represents relationship among records in PVCDEVMDL and records in PVCDEVSPEC.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
PVCDeviceMdlSpecAccessBean()
          Default constructor.
PVCDeviceMdlSpecAccessBean(javax.ejb.EJBObject ejbObject)
          Maps to a corresponding ejbCreate method in the home interface of the EJB
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
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
 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.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setInitKey_mdlSpcId(java.lang.String aInitKey_mdlSpcId)
          Set the primary key for this object
 void setMdlSpcId(java.lang.Integer aMdlSpcId)
          This method provides access to the PVCMDLSPEC.MDLSPC_ID column of DB2 type INTEGER NOT NULL.
 void setMdlSpcId(java.lang.String aMdlSpcId)
          This method provides access to the PVCMDLSPEC.MDLSPC_ID column of DB2 type INTEGER NOT NULL.
 void setModelId(java.lang.Integer aModelId)
          This method provides access to the PVCMDLSPEC.MODEL_ID column of DB2 type INTEGER NOT NULL.
 void setModelId(java.lang.String aModelId)
          This method provides access to the PVCMDLSPEC.MODEL_ID column of DB2 type INTEGER NOT NULL.
 void setSpecId(java.lang.Integer aSpecId)
          This method provides access to the PVCMDLSPEC.SPEC_ID column of DB2 type INTEGER NOT NULL.
 void setSpecId(java.lang.String aSpecId)
          This method provides access to the PVCMDLSPEC.SPEC_ID column of DB2 type INTEGER NOT NULL.
 void setStoreentId(java.lang.Integer aStoreentId)
          This method provides access to the PVCMDLSPEC.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 void setStoreentId(java.lang.String aStoreentId)
          This method provides access to the PVCMDLSPEC.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
__getCache, __getCache, __getKey, __setCache, __setCache, __setKey, commitCopyHelper, createAccessBeans, createAccessBeans, instantiateEJBByPrimaryKey, refreshCopyHelper, setEJBRef
 
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
defaultJNDIName, defaultNameServiceType, defaultNameServiceURL, getEJBRef, getGlobalHome, getHome, getInit_GlobalNameServiceTypeName, getInit_GlobalNameServiceURLName, getInit_JNDIName, getInit_NameServiceTypeName, getInit_NameServiceURLName, getInitContext, getInitContext, instantiateEJB, resetEJBRef, resetHomeCache, setInit_GlobalNameServiceTypeName, setInit_GlobalNameServiceURLName, setInit_JNDIName, setInit_NameServiceTypeName, setInit_NameServiceURLName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PVCDeviceMdlSpecAccessBean

public PVCDeviceMdlSpecAccessBean()

Default constructor. Maps to findByPrimaryKey.


PVCDeviceMdlSpecAccessBean

public PVCDeviceMdlSpecAccessBean(javax.ejb.EJBObject ejbObject)
                           throws java.rmi.RemoteException

Maps to a corresponding ejbCreate method in the home interface of the EJB

Parameters:
ejbObject - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception

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

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).

Overrides:
commitCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
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

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:
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

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 - 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

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:
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

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 - 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

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:
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

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 - 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

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:
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

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 - 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

refreshCopyHelper

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

Load data from the EJBObject.

Overrides:
refreshCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
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

setInitKey_mdlSpcId

public void setInitKey_mdlSpcId(java.lang.String aInitKey_mdlSpcId)

Set the primary key for this object

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

setMdlSpcId

public void setMdlSpcId(java.lang.Integer aMdlSpcId)

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).

Parameters:
aMdlSpcId - java.lang.Integer
Returns:
void

setMdlSpcId

public void setMdlSpcId(java.lang.String aMdlSpcId)

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:
setMdlSpcId in interface PVCDeviceMdlSpecAccessBeanData
Parameters:
aMdlSpcId - java.lang.String
Returns:
void

setModelId

public void setModelId(java.lang.Integer aModelId)

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.

Parameters:
aModelId - java.lang.Integer
Returns:
void

setModelId

public void setModelId(java.lang.String aModelId)

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:
setModelId in interface PVCDeviceMdlSpecAccessBeanData
Parameters:
aModelId - java.lang.String
Returns:
void

setSpecId

public void setSpecId(java.lang.Integer aSpecId)

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.

Parameters:
aSpecId - java.lang.Integer
Returns:
void

setSpecId

public void setSpecId(java.lang.String aSpecId)

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:
setSpecId in interface PVCDeviceMdlSpecAccessBeanData
Parameters:
aSpecId - java.lang.String
Returns:
void

setStoreentId

public void setStoreentId(java.lang.Integer aStoreentId)

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.

Parameters:
aStoreentId - java.lang.Integer
Returns:
void

setStoreentId

public void setStoreentId(java.lang.String aStoreentId)

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:
setStoreentId in interface PVCDeviceMdlSpecAccessBeanData
Parameters:
aStoreentId - java.lang.String
Returns:
void