java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.common.objects.QuantityUnitConversionAccessBean
Each row of this table represents a rule that can be used to convert a quantity amount from one QuantityUnit (unit of measurement) to another QuantityUnit. This access bean corresponds to the database table 'QTYCONVERT'.
Constructor Summary | |
QuantityUnitConversionAccessBean() Zero argument constructor used to initialize the access bean. |
|
QuantityUnitConversionAccessBean(javax.ejb.EJBObject o) constructor |
Method Summary | |
void | commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected java.lang.String | defaultJNDIName() |
java.util.Enumeration | findAll() Retrieves all QuantityUnitConversionAccessBeans |
java.lang.String | getConversionFactor() This method provides access to the QTYCONVERT.FACTOR column of DB2 type DECIMAL(31 20) NOT NULL. |
java.math.BigDecimal | getConversionFactorInEJBType() This method provides access to the QTYCONVERT.FACTOR column of DB2 type DECIMAL(31 20) NOT NULL. |
java.lang.String | getFromQuantityUnitId() This method provides access to the QTYCONVERT.QTYUNIT_ID_FROM column of DB2 type CHAR(16) NOT NULL. |
java.lang.String | getMultiplyOrDivide() This method provides access to the QTYCONVERT.MULTIPLYORDIVIDE column of DB2 type CHAR(1) NOT NULL. |
java.lang.String | getQuantityUnitConversionId() This method provides access to the QTYCONVERT.QTYCONVERT_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer | getQuantityUnitConversionIdInEJBType() This method provides access to the QTYCONVERT.QTYCONVERT_ID column of DB2 type INTEGER NOT NULL. |
java.lang.String | getToQuantityUnitId() This method provides access to the QTYCONVERT.QTYUNIT_ID_TO column of DB2 type CHAR(16) NOT NULL. |
java.lang.String | getUpdatable() This method provides access to the QTYCONVERT.UPDATABLE column of DB2 type CHAR(1) NOT NULL. |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() Load data from the EJBObject. |
void | setConversionFactor(java.math.BigDecimal newValue) This method accesses a non-CMP field |
void | setConversionFactor(java.lang.String newValue) This method accesses a non-CMP field |
void | setFromQuantityUnitId(java.lang.String newValue) This method accesses a non-CMP field |
void | setInitKey_quantityUnitConversionId(java.lang.String newValue) Set the primary key for this object |
void | setMultiplyOrDivide(java.lang.String newValue) This method accesses a non-CMP field |
void | setQuantityUnitConversionId(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setQuantityUnitConversionId(java.lang.String newValue) This method accesses a non-CMP field |
void | setToQuantityUnitId(java.lang.String newValue) This method accesses a non-CMP field |
void | setUpdatable(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 QuantityUnitConversionAccessBean()
public QuantityUnitConversionAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
Method Detail |
public java.util.Enumeration findAll() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all QuantityUnitConversionAccessBeans
The SQL query used to fetch the requested row from the QTYCONVERT table is:
SELECT * FROM QTYCONVERT T1 WHERE 1 = 1
public void setInitKey_quantityUnitConversionId(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 getFromQuantityUnitId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the QTYCONVERT.QTYUNIT_ID_FROM column of DB2 type CHAR(16) NOT NULL.
The following is a description of this column:
The QuantityUnit converted from.
public void setFromQuantityUnitId(java.lang.String newValue)
public java.lang.String getConversionFactor() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the QTYCONVERT.FACTOR column of DB2 type DECIMAL(31 20) NOT NULL.
The following is a description of this column:
The conversion factor. Implicit conversion rules are derived from explicit rules by combining conversion factors.
public java.math.BigDecimal getConversionFactorInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the QTYCONVERT.FACTOR column of DB2 type DECIMAL(31 20) NOT NULL.
The following is a description of this column:
The conversion factor. Implicit conversion rules are derived from explicit rules by combining conversion factors.
public void setConversionFactor(java.lang.String newValue)
public void setConversionFactor(java.math.BigDecimal newValue)
public java.lang.String getToQuantityUnitId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the QTYCONVERT.QTYUNIT_ID_TO column of DB2 type CHAR(16) NOT NULL.
The following is a description of this column:
The QuantityUnit converted to.
public void setToQuantityUnitId(java.lang.String newValue)
public java.lang.String getQuantityUnitConversionId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the QTYCONVERT.QTYCONVERT_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Generated unique key.
public java.lang.Integer getQuantityUnitConversionIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the QTYCONVERT.QTYCONVERT_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Generated unique key.
public void setQuantityUnitConversionId(java.lang.String newValue)
public void setQuantityUnitConversionId(java.lang.Integer newValue)
public java.lang.String getUpdatable() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the QTYCONVERT.UPDATABLE column of DB2 type CHAR(1) NOT NULL.
The following is a description of this column:
A flag intended to be used by a user interface that manages QuantityUnit conversion rules:&l
public void setUpdatable(java.lang.String newValue)
public java.lang.String getMultiplyOrDivide() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the QTYCONVERT.MULTIPLYORDIVIDE column of DB2 type CHAR(1) NOT NULL.
The following is a description of this column:
Indicates how to convert from QTYUNIT_ID_FROM to QTYUNIT_ID_TO. Valid values are as follows:&l
public void setMultiplyOrDivide(java.lang.String newValue)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.