java.lang.Object | +--com.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.
Constructor Summary | |
---|---|
ItemVersionAccessBean() constructor | |
ItemVersionAccessBean(javax.ejb.EJBObject o) constructor | |
ItemVersionAccessBean(java.lang.Long arg0,
java.sql.Timestamp arg1) constructor |
Method Summary | |
---|---|
void |
commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected
java.lang.String |
defaultJNDIName() |
java.util.Enumeration |
findByBaseItemId(java.lang.Long arg0)
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 provides access to the ITEMVERSN.BASEITEM_ID column of DB2 type BIGINT NOT NULL. |
void |
setBaseItemId(java.lang.String newValue) This method provides access to the ITEMVERSN.BASEITEM_ID column of DB2 type BIGINT NOT NULL. |
void |
setExpirationDate(java.lang.String newValue) This method provides access to the ITEMVERSN.EXPIRATIONDATE column of DB2 type TIMESTAMP NOT NULL. |
void |
setExpirationDate(java.sql.Timestamp newValue) This method provides access to the ITEMVERSN.EXPIRATIONDATE column of DB2 type TIMESTAMP NOT NULL. |
void |
setInitKey_itemversnId(java.lang.String newValue) Set the primary key for this object |
void |
setItemversnId(java.lang.Long newValue) This method provides access to the ITEMVERSN.ITEMVERSN_ID column of DB2 type BIGINT NOT NULL. |
void |
setItemversnId(java.lang.String newValue) This method provides access to the ITEMVERSN.ITEMVERSN_ID column of DB2 type BIGINT NOT NULL. |
void |
setLastupdate(java.lang.String newValue) This method provides access to the ITEMVERSN.LASTUPDATE column of DB2 type TIMESTAMP. |
void |
setLastupdate(java.sql.Timestamp newValue) This method provides access to the ITEMVERSN.LASTUPDATE column of DB2 type TIMESTAMP. |
void |
setVersionName(java.lang.String newValue) This method provides access to the ITEMVERSN.VERSIONNAME column of DB2 type CHAR(30) NOT NULL DEFAULT 'Version 1'. |
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
o
- javax.ejb.EJBObjectjava.rmi.RemoteException
public ItemVersionAccessBean(java.lang.Long arg0, java.sql.Timestamp arg1) throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
arg0
- java.lang.Longarg1
- java.sql.Timestampjavax.naming.NamingException
javax.ejb.CreateException
java.rmi.RemoteException
javax.ejb.FinderException
Method Detail |
---|
public java.util.Enumeration findByBaseItemId(java.lang.Long arg0) 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 = ?
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
- The
javax.naming.NamingException exceptionpublic void setInitKey_itemversnId(java.lang.String newValue)
Set the primary key for this object
newValue
- java.lang.Stringprotected java.lang.String defaultJNDIName()
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.naming.NamingException
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).
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
getItemversnId
in interface
ItemVersionAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setItemversnId(java.lang.String newValue)
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.
setItemversnId
in interface
ItemVersionAccessBeanData
newValue
- Stringpublic void setItemversnId(java.lang.Long newValue)
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.
newValue
- java.lang.Longpublic 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.
getLastupdate
in interface
ItemVersionAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setLastupdate(java.lang.String newValue)
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.
setLastupdate
in interface
ItemVersionAccessBeanData
newValue
- Stringpublic void setLastupdate(java.sql.Timestamp newValue)
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.
newValue
- java.sql.Timestamppublic 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.
getVersionName
in interface
ItemVersionAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setVersionName(java.lang.String newValue)
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.
setVersionName
in interface
ItemVersionAccessBeanData
newValue
- java.lang.Stringpublic 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.
getBaseItemId
in interface
ItemVersionAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setBaseItemId(java.lang.String newValue)
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.
setBaseItemId
in interface
ItemVersionAccessBeanData
newValue
- Stringpublic void setBaseItemId(java.lang.Long newValue)
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.
newValue
- java.lang.Longpublic 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.
getExpirationDate
in interface
ItemVersionAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setExpirationDate(java.lang.String newValue)
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.
setExpirationDate
in interface
ItemVersionAccessBeanData
newValue
- Stringpublic void setExpirationDate(java.sql.Timestamp newValue)
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.
newValue
- java.sql.Timestamp