java.lang.Object | +--com.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.
Constructor Summary | |
---|---|
BaseItemAccessBean() constructor | |
BaseItemAccessBean(javax.ejb.EJBObject o) constructor | |
BaseItemAccessBean(java.lang.Long arg0, java.lang.String arg1,
java.lang.String arg2) constructor |
Method Summary | |
---|---|
void |
commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected
java.lang.String |
defaultJNDIName() |
BaseItemAccessBean |
findByMemberIdAndPartNumber(java.lang.Long arg0,
java.lang.String arg1)
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 provides access to the BASEITEM.BASEITEM_ID column of DB2 type BIGINT NOT NULL. |
void |
setBaseItemId(java.lang.String newValue) This method provides access to the BASEITEM.BASEITEM_ID column of DB2 type BIGINT NOT NULL. |
void |
setInitKey_baseItemId(java.lang.String newValue) Set the primary key for this object |
void |
setItemTypeId(java.lang.String newValue) This method provides access to the BASEITEM.ITEMTYPE_ID column of DB2 type CHAR(4) NOT NULL. |
void |
setLastupdate(java.lang.String newValue) This method provides access to the BASEITEM.LASTUPDATE column of DB2 type TIMESTAMP. |
void |
setLastupdate(java.sql.Timestamp newValue) This method provides access to the BASEITEM.LASTUPDATE column of DB2 type TIMESTAMP. |
void |
setMarkForDelete(java.lang.Integer newValue) This method provides access to the BASEITEM.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0. |
void |
setMarkForDelete(java.lang.String newValue) This method provides access to the BASEITEM.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0. |
void |
setMemberId(java.lang.Long newValue) This method provides access to the BASEITEM.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
void |
setMemberId(java.lang.String newValue) This method provides access to the BASEITEM.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
void |
setPartnumber(java.lang.String newValue) This method provides access to the BASEITEM.PARTNUMBER column of DB2 type VARCHAR(64) NOT NULL. |
void |
setQuantityMeasure(java.lang.String newValue) This method provides access to the BASEITEM.QUANTITYMEASURE column of DB2 type CHAR(16) NOT NULL DEFAULT 'C62'. |
void |
setQuantityMultiple(java.lang.Double newValue) This method provides access to the BASEITEM.QUANTITYMULTIPLE column of DB2 type DOUBLE NOT NULL DEFAULT 1.0. |
void |
setQuantityMultiple(java.lang.String newValue) This method provides access to the BASEITEM.QUANTITYMULTIPLE column of DB2 type DOUBLE NOT NULL DEFAULT 1.0. |
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
o
- javax.ejb.EJBObjectjava.rmi.RemoteException
public BaseItemAccessBean(java.lang.Long arg0, java.lang.String arg1, java.lang.String arg2) throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
arg0
- java.lang.Longarg1
- java.lang.Stringarg2
- java.lang.Stringjavax.naming.NamingException
javax.ejb.CreateException
java.rmi.RemoteException
javax.ejb.FinderException
Method Detail |
---|
public BaseItemAccessBean findByMemberIdAndPartNumber(java.lang.Long arg0, java.lang.String arg1) 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 = ?
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
- The
javax.naming.NamingException exceptionpublic void setInitKey_baseItemId(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 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.
getPartnumber
in interface
BaseItemAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setPartnumber(java.lang.String newValue)
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.
setPartnumber
in interface
BaseItemAccessBeanData
newValue
- java.lang.Stringpublic 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.
getItemTypeId
in interface
BaseItemAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setItemTypeId(java.lang.String newValue)
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.
setItemTypeId
in interface
BaseItemAccessBeanData
newValue
- java.lang.Stringpublic 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.
getLastupdate
in interface
BaseItemAccessBeanData
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 BASEITEM.LASTUPDATE column of DB2 type TIMESTAMP.
The following is a description of this column:
The last time this BaseItem was 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 BASEITEM.LASTUPDATE column of DB2 type TIMESTAMP.
The following is a description of this column:
The last time this BaseItem was updated.
setLastupdate
in interface
BaseItemAccessBeanData
newValue
- Stringpublic void setLastupdate(java.sql.Timestamp newValue)
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.
newValue
- java.sql.Timestamppublic 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.
getBaseItemId
in interface
BaseItemAccessBeanData
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 BASEITEM.BASEITEM_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Generated unique key.
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 BASEITEM.BASEITEM_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Generated unique key.
setBaseItemId
in interface
BaseItemAccessBeanData
newValue
- Stringpublic void setBaseItemId(java.lang.Long newValue)
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.
newValue
- java.lang.Longpublic 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
getMarkForDelete
in interface
BaseItemAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setMarkForDelete(java.lang.String newValue)
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
setMarkForDelete
in interface
BaseItemAccessBeanData
newValue
- Stringpublic void setMarkForDelete(java.lang.Integer newValue)
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
newValue
- java.lang.Integerpublic 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.
getQuantityMultiple
in interface
BaseItemAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setQuantityMultiple(java.lang.String newValue)
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.
setQuantityMultiple
in interface
BaseItemAccessBeanData
newValue
- Stringpublic void setQuantityMultiple(java.lang.Double newValue)
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.
newValue
- java.lang.Doublepublic 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.
getMemberId
in interface
BaseItemAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setMemberId(java.lang.String newValue)
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.
setMemberId
in interface
BaseItemAccessBeanData
newValue
- Stringpublic void setMemberId(java.lang.Long newValue)
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.
newValue
- java.lang.Longpublic 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).
getQuantityMeasure
in interface
BaseItemAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setQuantityMeasure(java.lang.String newValue)
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).
setQuantityMeasure
in interface
BaseItemAccessBeanData
newValue
- java.lang.String