com.ibm.commerce.inventory.objects
Class VersionSpecificationAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractAccessBean
        |
        +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
              |
              +--com.ibm.commerce.inventory.objects.VersionSpecificationAccessBean
All Implemented Interfaces:
java.io.Serializable, VersionSpecificationAccessBeanData

public class VersionSpecificationAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements VersionSpecificationAccessBeanData

This bean provides access to the VERSIONSPC table.

The following is a description of this table:

Each row defines the relationship between a product version and a specified item.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
VersionSpecificationAccessBean()
          Default constructor.
VersionSpecificationAccessBean(javax.ejb.EJBObject object)
          Creates an access bean for the specified EJB
VersionSpecificationAccessBean(java.lang.Long ItemSpcId, java.lang.Long ItemVersnId)
          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.util.Enumeration findByItemSpcId(java.lang.Long ItemSpcId)
          Retrieves information about the relationship between a product version given the ITEMSPC_ID
The SQL query used to fetch the requested row from the VERSIONSPC table is:
SELECT * FROM VERSIONSPC T1 WHERE T1.ITEMSPC_ID = ?
 java.lang.String getItemSpcId()
          This method provides access to the VERSIONSPC.ITEMSPC_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getItemSpcIdInEJBType()
          This method provides access to the VERSIONSPC.ITEMSPC_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getItemVersnId()
          This method provides access to the VERSIONSPC.ITEMVERSN_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getItemVersnIdInEJBType()
          This method provides access to the VERSIONSPC.ITEMVERSN_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getLastupdate()
          This method provides access to the VERSIONSPC.LASTUPDATE column of DB2 type TIMESTAMP NULL.
 java.sql.Timestamp getLastupdateInEJBType()
          This method provides access to the VERSIONSPC.LASTUPDATE column of DB2 type TIMESTAMP NULL.
 java.lang.String getVersionSpcId()
          This method provides access to the VERSIONSPC.VERSIONSPC_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getVersionSpcIdInEJBType()
          This method provides access to the VERSIONSPC.VERSIONSPC_ID column of DB2 type BIGINT NOT NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setInitKey_versionSpcId(java.lang.String aInitKey_versionSpcId)
          Set the primary key for this object
 void setItemSpcId(java.lang.Long aItemSpcId)
          This method provides access to the VERSIONSPC.ITEMSPC_ID column of DB2 type BIGINT NOT NULL.
 void setItemSpcId(java.lang.String aItemSpcId)
          This method provides access to the VERSIONSPC.ITEMSPC_ID column of DB2 type BIGINT NOT NULL.
 void setItemVersnId(java.lang.Long aItemVersnId)
          This method provides access to the VERSIONSPC.ITEMVERSN_ID column of DB2 type BIGINT NOT NULL.
 void setItemVersnId(java.lang.String aItemVersnId)
          This method provides access to the VERSIONSPC.ITEMVERSN_ID column of DB2 type BIGINT NOT NULL.
 void setLastupdate(java.lang.String aLastupdate)
          This method provides access to the VERSIONSPC.LASTUPDATE column of DB2 type TIMESTAMP NULL.
 void setLastupdate(java.sql.Timestamp aLastupdate)
          This method provides access to the VERSIONSPC.LASTUPDATE column of DB2 type TIMESTAMP NULL.
 void setVersionSpcId(java.lang.Long aVersionSpcId)
          This method provides access to the VERSIONSPC.VERSIONSPC_ID column of DB2 type BIGINT NOT NULL.
 void setVersionSpcId(java.lang.String aVersionSpcId)
          This method provides access to the VERSIONSPC.VERSIONSPC_ID column of DB2 type BIGINT 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

VersionSpecificationAccessBean

public VersionSpecificationAccessBean()

Default constructor. Maps to findByPrimaryKey.


VersionSpecificationAccessBean

public VersionSpecificationAccessBean(javax.ejb.EJBObject object)
                               throws java.rmi.RemoteException

Creates an access bean for the specified EJB

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

VersionSpecificationAccessBean

public VersionSpecificationAccessBean(java.lang.Long ItemSpcId,
                                      java.lang.Long ItemVersnId)
                               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:
ItemSpcId - - java.lang.Long
ItemVersnId - - java.lang.Long
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

findByItemSpcId

public java.util.Enumeration findByItemSpcId(java.lang.Long ItemSpcId)
                                      throws java.rmi.RemoteException,
                                             javax.ejb.FinderException,
                                             javax.naming.NamingException

Retrieves information about the relationship between a product version given the ITEMSPC_ID
The SQL query used to fetch the requested row from the VERSIONSPC table is:
SELECT * FROM VERSIONSPC T1 WHERE T1.ITEMSPC_ID = ?

Parameters:
ItemSpcId - - java.lang.Long
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getItemSpcId

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

This method provides access to the VERSIONSPC.ITEMSPC_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The specified item.

Specified by:
getItemSpcId in interface VersionSpecificationAccessBeanData
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

getItemSpcIdInEJBType

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

This method provides access to the VERSIONSPC.ITEMSPC_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The specified item.

Returns:
java.lang.Long
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

getItemVersnId

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

This method provides access to the VERSIONSPC.ITEMVERSN_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Identifies the item version.

Specified by:
getItemVersnId in interface VersionSpecificationAccessBeanData
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

getItemVersnIdInEJBType

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

This method provides access to the VERSIONSPC.ITEMVERSN_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Identifies the item version.

Returns:
java.lang.Long
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

getLastupdate

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

This method provides access to the VERSIONSPC.LASTUPDATE column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Timestamp of last update.

Specified by:
getLastupdate in interface VersionSpecificationAccessBeanData
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

getLastupdateInEJBType

public java.sql.Timestamp getLastupdateInEJBType()
                                          throws java.rmi.RemoteException,
                                                 javax.ejb.CreateException,
                                                 javax.ejb.FinderException,
                                                 javax.naming.NamingException

This method provides access to the VERSIONSPC.LASTUPDATE column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Timestamp of last update.

Returns:
java.sql.Timestamp
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

getVersionSpcId

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

This method provides access to the VERSIONSPC.VERSIONSPC_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Generated unique identifier.

Specified by:
getVersionSpcId in interface VersionSpecificationAccessBeanData
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

getVersionSpcIdInEJBType

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

This method provides access to the VERSIONSPC.VERSIONSPC_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Generated unique identifier.

Returns:
java.lang.Long
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_versionSpcId

public void setInitKey_versionSpcId(java.lang.String aInitKey_versionSpcId)

Set the primary key for this object

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

setItemSpcId

public void setItemSpcId(java.lang.Long aItemSpcId)

This method provides access to the VERSIONSPC.ITEMSPC_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The specified item.

Parameters:
aItemSpcId - java.lang.Long
Returns:
void

setItemSpcId

public void setItemSpcId(java.lang.String aItemSpcId)

This method provides access to the VERSIONSPC.ITEMSPC_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The specified item.

Specified by:
setItemSpcId in interface VersionSpecificationAccessBeanData
Parameters:
aItemSpcId - java.lang.String
Returns:
void

setItemVersnId

public void setItemVersnId(java.lang.Long aItemVersnId)

This method provides access to the VERSIONSPC.ITEMVERSN_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Identifies the item version.

Parameters:
aItemVersnId - java.lang.Long
Returns:
void

setItemVersnId

public void setItemVersnId(java.lang.String aItemVersnId)

This method provides access to the VERSIONSPC.ITEMVERSN_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Identifies the item version.

Specified by:
setItemVersnId in interface VersionSpecificationAccessBeanData
Parameters:
aItemVersnId - java.lang.String
Returns:
void

setLastupdate

public void setLastupdate(java.lang.String aLastupdate)

This method provides access to the VERSIONSPC.LASTUPDATE column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Timestamp of last update.

Specified by:
setLastupdate in interface VersionSpecificationAccessBeanData
Parameters:
aLastupdate - java.lang.String
Returns:
void

setLastupdate

public void setLastupdate(java.sql.Timestamp aLastupdate)

This method provides access to the VERSIONSPC.LASTUPDATE column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Timestamp of last update.

Parameters:
aLastupdate - java.sql.Timestamp
Returns:
void

setVersionSpcId

public void setVersionSpcId(java.lang.Long aVersionSpcId)

This method provides access to the VERSIONSPC.VERSIONSPC_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Generated unique identifier.

Parameters:
aVersionSpcId - java.lang.Long
Returns:
void

setVersionSpcId

public void setVersionSpcId(java.lang.String aVersionSpcId)

This method provides access to the VERSIONSPC.VERSIONSPC_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Generated unique identifier.

Specified by:
setVersionSpcId in interface VersionSpecificationAccessBeanData
Parameters:
aVersionSpcId - java.lang.String
Returns:
void