java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.inventory.objects.ItemVersionAccessBean
Each row of this table represents an ItemVersion for a BaseItem. An ItemVersion expires when its expiration date is in the past. Each BaseItem must only have a single ItemVersion defined. This access bean corresponds to the database table 'ITEMVERSN'.
Constructor Summary | |
ItemVersionAccessBean() Zero argument constructor used to initialize the access bean. |
|
ItemVersionAccessBean(javax.ejb.EJBObject o) constructor |
|
ItemVersionAccessBean(java.lang.Long newBaseItemId, java.sql.Timestamp newExpirationDate) 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 | findByBaseItemId(java.lang.Long aBaseItemId)
Retrieves the ItemVersion for the specified BASEITEM_ID
The SQL query used to fetch the requested row from the ITEMVERSN table is: SELECT * FROM ITEMVERSN T1 WHERE T1.BASEITEM_ID = ? |
java.lang.String | getBaseItemId() This method provides access to the ITEMVERSN.BASEITEM_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getBaseItemIdInEJBType() This method provides access to the ITEMVERSN.BASEITEM_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String | getExpirationDate() This method provides access to the ITEMVERSN.EXPIRATIONDATE column of DB2 type TIMESTAMP NOT NULL. |
java.sql.Timestamp | getExpirationDateInEJBType() This method provides access to the ITEMVERSN.EXPIRATIONDATE column of DB2 type TIMESTAMP NOT NULL. |
java.lang.String | getItemversnId() This method provides access to the ITEMVERSN.ITEMVERSN_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getItemversnIdInEJBType() This method provides access to the ITEMVERSN.ITEMVERSN_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String | getLastupdate() This method provides access to the ITEMVERSN.LASTUPDATE column of DB2 type TIMESTAMP. |
java.sql.Timestamp | getLastupdateInEJBType() This method provides access to the ITEMVERSN.LASTUPDATE column of DB2 type TIMESTAMP. |
java.lang.String | getVersionName() This method provides access to the ITEMVERSN.VERSIONNAME column of DB2 type CHAR(30) NOT NULL DEFAULT 'Version 1'. |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() Load data from the EJBObject. |
void | setBaseItemId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setBaseItemId(java.lang.String newValue) This method accesses a non-CMP field |
void | setExpirationDate(java.lang.String newValue) This method accesses a non-CMP field |
void | setExpirationDate(java.sql.Timestamp newValue) This method accesses a non-CMP field |
void | setInitKey_itemversnId(java.lang.String newValue) Set the primary key for this object |
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 | setVersionName(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 |
public ItemVersionAccessBean()
public ItemVersionAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public ItemVersionAccessBean(java.lang.Long newBaseItemId, java.sql.Timestamp newExpirationDate) 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
Method Detail |
public java.util.Enumeration findByBaseItemId(java.lang.Long aBaseItemId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves the ItemVersion for the specified BASEITEM_ID
The SQL query used to fetch the requested row from the ITEMVERSN table is:
SELECT * FROM ITEMVERSN T1 WHERE T1.BASEITEM_ID = ?
public void setInitKey_itemversnId(java.lang.String newValue)
Set the primary key for this object
protected java.lang.String defaultJNDIName()
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.naming.NamingException
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Update(flush) data to the EJBObject (persistent storage).
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
public java.lang.String getItemversnId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ITEMVERSN.ITEMVERSN_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Generated primary key.
public java.lang.Long getItemversnIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ITEMVERSN.ITEMVERSN_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Generated primary key.
public void setItemversnId(java.lang.String newValue)
public void setItemversnId(java.lang.Long newValue)
public java.lang.String getLastupdate() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ITEMVERSN.LASTUPDATE column of DB2 type TIMESTAMP.
The following is a description of this column:
The time this ItemVersion was most recently updated.
public java.sql.Timestamp getLastupdateInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ITEMVERSN.LASTUPDATE column of DB2 type TIMESTAMP.
The following is a description of this column:
The time this ItemVersion was most recently updated.
public void setLastupdate(java.lang.String newValue)
public void setLastupdate(java.sql.Timestamp newValue)
public java.lang.String getVersionName() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ITEMVERSN.VERSIONNAME column of DB2 type CHAR(30) NOT NULL DEFAULT 'Version 1'.
The following is a description of this column:
Uniquely identifies this ItemVersion for its BaseItem.
public void setVersionName(java.lang.String newValue)
public java.lang.String getBaseItemId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ITEMVERSN.BASEITEM_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The BaseItem for this ItemVersion.
public java.lang.Long getBaseItemIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ITEMVERSN.BASEITEM_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The BaseItem for this ItemVersion.
public void setBaseItemId(java.lang.String newValue)
public void setBaseItemId(java.lang.Long newValue)
public java.lang.String getExpirationDate() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ITEMVERSN.EXPIRATIONDATE column of DB2 type TIMESTAMP NOT NULL.
The following is a description of this column:
The time this ItemVersion expires.
public java.sql.Timestamp getExpirationDateInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ITEMVERSN.EXPIRATIONDATE column of DB2 type TIMESTAMP NOT NULL.
The following is a description of this column:
The time this ItemVersion expires.
public void setExpirationDate(java.lang.String newValue)
public void setExpirationDate(java.sql.Timestamp newValue)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.