java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.inventory.objects.BaseItemAccessBean
BaseItems represent a general family of goods with a common name and description. BaseItems are used exclusively for fulfillment. Each CatalogEntry that represents a Product in the catalog has a corresponding BaseItem for fulfillment purposes. This access bean corresponds to the database table 'BASEITEM'.
Constructor Summary | |
BaseItemAccessBean() Zero argument constructor used to initialize the access bean. |
|
BaseItemAccessBean(javax.ejb.EJBObject o) constructor |
|
BaseItemAccessBean(java.lang.Long newMemberId, java.lang.String newPartnumber, java.lang.String newItemTypeId) 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() |
BaseItemAccessBean | findByMemberIdAndPartNumber(java.lang.Long memberId, java.lang.String partNumber)
Retrieves the BaseItemAccessBean representing the baseitem information with the specified PARTNUMBER and MEMBER_ID
The SQL query used to fetch the requested row from the BASEITEM table is: SELECT * FROM BASEITEM T1 WHERE T1.MEMBER_ID = ? AND T1.PARTNUMBER = ? |
java.lang.String | getBaseItemId() This method provides access to the BASEITEM.BASEITEM_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getBaseItemIdInEJBType() This method provides access to the BASEITEM.BASEITEM_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String | getItemTypeId() This method provides access to the BASEITEM.ITEMTYPE_ID column of DB2 type CHAR(4) NOT NULL. |
java.lang.String | getLastupdate() This method provides access to the BASEITEM.LASTUPDATE column of DB2 type TIMESTAMP. |
java.sql.Timestamp | getLastupdateInEJBType() This method provides access to the BASEITEM.LASTUPDATE column of DB2 type TIMESTAMP. |
java.lang.String | getMarkForDelete() This method provides access to the BASEITEM.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0. |
java.lang.Integer | getMarkForDeleteInEJBType() This method provides access to the BASEITEM.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0. |
java.lang.String | getMemberId() This method provides access to the BASEITEM.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getMemberIdInEJBType() This method provides access to the BASEITEM.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String | getPartnumber() This method provides access to the BASEITEM.PARTNUMBER column of DB2 type VARCHAR(64) NOT NULL. |
java.lang.String | getQuantityMeasure() This method provides access to the BASEITEM.QUANTITYMEASURE column of DB2 type CHAR(16) NOT NULL DEFAULT 'C62'. |
java.lang.String | getQuantityMultiple() This method provides access to the BASEITEM.QUANTITYMULTIPLE column of DB2 type DOUBLE NOT NULL DEFAULT 1.0. |
java.lang.Double | getQuantityMultipleInEJBType() This method provides access to the BASEITEM.QUANTITYMULTIPLE column of DB2 type DOUBLE NOT NULL DEFAULT 1.0. |
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 | setInitKey_baseItemId(java.lang.String newValue) Set the primary key for this object |
void | setItemTypeId(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 | setMarkForDelete(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setMarkForDelete(java.lang.String newValue) This method accesses a non-CMP field |
void | setMemberId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setMemberId(java.lang.String newValue) This method accesses a non-CMP field |
void | setPartnumber(java.lang.String newValue) This method accesses a non-CMP field |
void | setQuantityMeasure(java.lang.String newValue) This method accesses a non-CMP field |
void | setQuantityMultiple(java.lang.Double newValue) This method accesses a non-CMP field |
void | setQuantityMultiple(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 BaseItemAccessBean()
public BaseItemAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public BaseItemAccessBean(java.lang.Long newMemberId, java.lang.String newPartnumber, java.lang.String newItemTypeId) 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 BaseItemAccessBean findByMemberIdAndPartNumber(java.lang.Long memberId, java.lang.String partNumber) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves the BaseItemAccessBean representing the baseitem information with the specified PARTNUMBER and MEMBER_ID
The SQL query used to fetch the requested row from the BASEITEM table is:
SELECT * FROM BASEITEM T1 WHERE T1.MEMBER_ID = ? AND T1.PARTNUMBER = ?
public void setInitKey_baseItemId(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 getPartnumber() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the BASEITEM.PARTNUMBER column of DB2 type VARCHAR(64) NOT NULL.
The following is a description of this column:
Uniquely identifies a BaseItem for a particular owner.
public void setPartnumber(java.lang.String newValue)
public java.lang.String getItemTypeId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the BASEITEM.ITEMTYPE_ID column of DB2 type CHAR(4) NOT NULL.
The following is a description of this column:
The type of BaseItem.
public void setItemTypeId(java.lang.String 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 BASEITEM.LASTUPDATE column of DB2 type TIMESTAMP.
The following is a description of this column:
The last time this BaseItem was 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 BASEITEM.LASTUPDATE column of DB2 type TIMESTAMP.
The following is a description of this column:
The last time this BaseItem was updated.
public void setLastupdate(java.lang.String newValue)
public void setLastupdate(java.sql.Timestamp 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 BASEITEM.BASEITEM_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Generated unique key.
public java.lang.Long getBaseItemIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the BASEITEM.BASEITEM_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Generated unique key.
public void setBaseItemId(java.lang.String newValue)
public void setBaseItemId(java.lang.Long newValue)
public java.lang.String getMarkForDelete() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the BASEITEM.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
Indicates whether a BaseItem has been marked for deletion:&l
public java.lang.Integer getMarkForDeleteInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the BASEITEM.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
Indicates whether a BaseItem has been marked for deletion:&l
public void setMarkForDelete(java.lang.String newValue)
public void setMarkForDelete(java.lang.Integer newValue)
public java.lang.String getQuantityMultiple() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the BASEITEM.QUANTITYMULTIPLE column of DB2 type DOUBLE NOT NULL DEFAULT 1.0.
The following is a description of this column:
Amounts of this BaseItem are measured in integral units. QUANTITYMULTIPLE, along with QUANTITYMEASURE, indicates how much each integral unit represents. For example, textiles might be measured in integral units each representing one quarter of an inch.
public java.lang.Double getQuantityMultipleInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the BASEITEM.QUANTITYMULTIPLE column of DB2 type DOUBLE NOT NULL DEFAULT 1.0.
The following is a description of this column:
Amounts of this BaseItem are measured in integral units. QUANTITYMULTIPLE, along with QUANTITYMEASURE, indicates how much each integral unit represents. For example, textiles might be measured in integral units each representing one quarter of an inch.
public void setQuantityMultiple(java.lang.String newValue)
public void setQuantityMultiple(java.lang.Double newValue)
public java.lang.String getMemberId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the BASEITEM.MEMBER_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The owner of this BaseItem.
public java.lang.Long getMemberIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the BASEITEM.MEMBER_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The owner of this BaseItem.
public void setMemberId(java.lang.String newValue)
public void setMemberId(java.lang.Long newValue)
public java.lang.String getQuantityMeasure() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the BASEITEM.QUANTITYMEASURE column of DB2 type CHAR(16) NOT NULL DEFAULT 'C62'.
The following is a description of this column:
The unit of measure for QUANTITYMULTIPLE. For example, to represent one quarter of an inch, QUANTITYMULTIPLE would be 0.25, and QUANTITYMEASURE would indicate the QTYUNIT that represents inches (normally INH).
public void setQuantityMeasure(java.lang.String newValue)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.