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. This access bean corresponds to the database table 'VERSIONSPC'.

See Also:
Serialized Form

Constructor Summary
VersionSpecificationAccessBean()
Zero argument constructor used to initialize the access bean.
VersionSpecificationAccessBean(javax.ejb.EJBObject o)
constructor
VersionSpecificationAccessBean(java.lang.Long newItemSpcId, java.lang.Long newItemVersnId)
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).
protected java.lang.String defaultJNDIName()
java.util.Enumeration findByItemSpcId(java.lang.Long aItemSpcId) 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 accesses a non-CMP field
void setItemSpcId(java.lang.String newValue)
This method accesses a non-CMP field
void setItemVersnId(java.lang.Long newValue)
This method accesses a non-CMP field
void setItemVersnId(java.lang.String newValue)
This method accesses a non-CMP field
void setLastupdate(java.lang.String newValue)
This method accesses a non-CMP field
void setLastupdate(java.sql.Timestamp newValue)
This method accesses a non-CMP field
void setVersionSpcId(java.lang.Long newValue)
This method accesses a non-CMP field
void setVersionSpcId(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

VersionSpecificationAccessBean

public VersionSpecificationAccessBean()
Zero argument constructor used to initialize the access bean. This constructor corresponds to the following home interface method: public abstract com.ibm.commerce.inventory.objects.VersionSpecification com.ibm.commerce.inventory.objimpl.VersionSpecificationHomeBase.findByPrimaryKey(com.ibm.commerce.inventory.objects.VersionSpecificationKey) 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_versionSpcId( java.lang.Long )

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 newItemSpcId,
                                      java.lang.Long newItemVersnId)
                               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:
newItemSpcId - - java.lang.Long
newItemVersnId - - 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

findByItemSpcId

public java.util.Enumeration findByItemSpcId(java.lang.Long aItemSpcId)
                                      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:
aItemSpcId - - 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

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 accesses a non-CMP field
Specified by:
setVersionSpcId in interface VersionSpecificationAccessBeanData

setVersionSpcId

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

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 accesses a non-CMP field
Specified by:
setLastupdate in interface VersionSpecificationAccessBeanData

setLastupdate

public void setLastupdate(java.sql.Timestamp newValue)
This method accesses a non-CMP field

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 accesses a non-CMP field
Specified by:
setItemVersnId in interface VersionSpecificationAccessBeanData

setItemVersnId

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

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 accesses a non-CMP field
Specified by:
setItemSpcId in interface VersionSpecificationAccessBeanData

setItemSpcId

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

Feedback