com.ibm.commerce.inventory.objects
Class VersionSpecificationAccessBean

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

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

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

See Also:
Serialized Form

Constructor Summary
VersionSpecificationAccessBean()
          constructor
VersionSpecificationAccessBean(javax.ejb.EJBObject o)
          constructor
VersionSpecificationAccessBean(java.lang.Long arg0, java.lang.Long arg1)
          constructor
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
protected  java.lang.String defaultJNDIName()
           
 java.util.Enumeration findByItemSpcId(java.lang.Long arg0)           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.
 java.sql.Timestamp getLastupdateInEJBType()
          This method provides access to the VERSIONSPC.LASTUPDATE column of DB2 type TIMESTAMP.
 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.
protected  void instantiateEJB()
           
protected  boolean instantiateEJBByPrimaryKey()
           
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setInitKey_versionSpcId(java.lang.String newValue)
          Set the primary key for this object
 void setItemSpcId(java.lang.Long newValue)
          This method provides access to the VERSIONSPC.ITEMSPC_ID column of DB2 type BIGINT NOT NULL.
 void setItemSpcId(java.lang.String newValue)
          This method provides access to the VERSIONSPC.ITEMSPC_ID column of DB2 type BIGINT NOT NULL.
 void setItemVersnId(java.lang.Long newValue)
          This method provides access to the VERSIONSPC.ITEMVERSN_ID column of DB2 type BIGINT NOT NULL.
 void setItemVersnId(java.lang.String newValue)
          This method provides access to the VERSIONSPC.ITEMVERSN_ID column of DB2 type BIGINT NOT NULL.
 void setLastupdate(java.lang.String newValue)
          This method provides access to the VERSIONSPC.LASTUPDATE column of DB2 type TIMESTAMP.
 void setLastupdate(java.sql.Timestamp newValue)
          This method provides access to the VERSIONSPC.LASTUPDATE column of DB2 type TIMESTAMP.
 void setVersionSpcId(java.lang.Long newValue)
          This method provides access to the VERSIONSPC.VERSIONSPC_ID column of DB2 type BIGINT NOT NULL.
 void setVersionSpcId(java.lang.String newValue)
          This method provides access to the VERSIONSPC.VERSIONSPC_ID column of DB2 type BIGINT NOT NULL.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VersionSpecificationAccessBean

public VersionSpecificationAccessBean()
constructor

VersionSpecificationAccessBean

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

VersionSpecificationAccessBean

public VersionSpecificationAccessBean(java.lang.Long arg0,
                                      java.lang.Long arg1)
                               throws javax.naming.NamingException,
                                      javax.ejb.CreateException,
                                      java.rmi.RemoteException,
                                      javax.ejb.FinderException
constructor
Parameters:
arg0 - java.lang.Long
arg1 - java.lang.Long
Throws:
javax.naming.NamingException
javax.ejb.CreateException
java.rmi.RemoteException
javax.ejb.FinderException
Method Detail

findByItemSpcId

public java.util.Enumeration findByItemSpcId(java.lang.Long arg0)
                                      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 = ?

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

setInitKey_versionSpcId

public void setInitKey_versionSpcId(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

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:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setVersionSpcId

public void setVersionSpcId(java.lang.String newValue)

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

setVersionSpcId

public void setVersionSpcId(java.lang.Long newValue)

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

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.

The following is a description of this column:

Timestamp of last update.

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

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.

The following is a description of this column:

Timestamp of last update.

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

setLastupdate

public void setLastupdate(java.lang.String newValue)

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

The following is a description of this column:

Timestamp of last update.

Specified by:
setLastupdate in interface VersionSpecificationAccessBeanData
Parameters:
newValue - String
Returns:
void

setLastupdate

public void setLastupdate(java.sql.Timestamp newValue)

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

The following is a description of this column:

Timestamp of last update.

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

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:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setItemVersnId

public void setItemVersnId(java.lang.String newValue)

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

setItemVersnId

public void setItemVersnId(java.lang.Long newValue)

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

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:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setItemSpcId

public void setItemSpcId(java.lang.String newValue)

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

setItemSpcId

public void setItemSpcId(java.lang.Long newValue)

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