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.

See Also:
Serialized Form

Constructor Summary
PVCDeviceMdlSpecAccessBean()
          constructor
PVCDeviceMdlSpecAccessBean(java.lang.Integer arg0, java.lang.Integer arg1, java.lang.Integer arg2)
          constructor
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 provides access to the PVCMDLSPEC.MDLSPC_ID column of DB2 type INTEGER NOT NULL.
 void setMdlSpcId(java.lang.String newValue)
          This method provides access to the PVCMDLSPEC.MDLSPC_ID column of DB2 type INTEGER NOT NULL.
 void setModelId(java.lang.Integer newValue)
          This method provides access to the PVCMDLSPEC.MODEL_ID column of DB2 type INTEGER NOT NULL.
 void setModelId(java.lang.String newValue)
          This method provides access to the PVCMDLSPEC.MODEL_ID column of DB2 type INTEGER NOT NULL.
 void setSpecId(java.lang.Integer newValue)
          This method provides access to the PVCMDLSPEC.SPEC_ID column of DB2 type INTEGER NOT NULL.
 void setSpecId(java.lang.String newValue)
          This method provides access to the PVCMDLSPEC.SPEC_ID column of DB2 type INTEGER NOT NULL.
 void setStoreentId(java.lang.Integer newValue)
          This method provides access to the PVCMDLSPEC.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 void setStoreentId(java.lang.String newValue)
          This method provides access to the PVCMDLSPEC.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PVCDeviceMdlSpecAccessBean

public PVCDeviceMdlSpecAccessBean()
constructor

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 arg0,
                                  java.lang.Integer arg1,
                                  java.lang.Integer arg2)
                           throws javax.naming.NamingException,
                                  javax.ejb.CreateException,
                                  java.rmi.RemoteException,
                                  javax.ejb.FinderException
constructor
Parameters:
arg0 - java.lang.Integer
arg1 - java.lang.Integer
arg2 - java.lang.Integer
Throws:
javax.naming.NamingException
javax.ejb.CreateException
java.rmi.RemoteException
javax.ejb.FinderException
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 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:
newValue - String
Returns:
void

setSpecId

public void setSpecId(java.lang.Integer newValue)

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:
newValue - java.lang.Integer
Returns:
void

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 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:
newValue - String
Returns:
void

setStoreentId

public void setStoreentId(java.lang.Integer newValue)

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:
newValue - java.lang.Integer
Returns:
void

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 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:
newValue - String
Returns:
void

setModelId

public void setModelId(java.lang.Integer newValue)

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:
newValue - java.lang.Integer
Returns:
void

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 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:
newValue - String
Returns:
void

setMdlSpcId

public void setMdlSpcId(java.lang.Integer newValue)

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:
newValue - java.lang.Integer
Returns:
void