|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractAccessBean | +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean | +--com.ibm.commerce.common.objects.QuantityUnitConversionAccessBean
This bean provides access to the QTYCONVERT table.
The following is a description of this table:
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.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
QuantityUnitConversionAccessBean()
Default constructor. |
|
QuantityUnitConversionAccessBean(javax.ejb.EJBObject ejbObject)
Creates an access bean for the specified EJB |
Method Summary | |
void |
commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage). |
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. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setConversionFactor(java.math.BigDecimal aConversionFactor)
This method provides access to the QTYCONVERT.FACTOR column of DB2 type DECIMAL(31,20) NOT NULL. |
void |
setConversionFactor(java.lang.String aConversionFactor)
This method provides access to the QTYCONVERT.FACTOR column of DB2 type DECIMAL(31,20) NOT NULL. |
void |
setFromQuantityUnitId(java.lang.String aFromQuantityUnitId)
This method provides access to the QTYCONVERT.QTYUNIT_ID_FROM column of DB2 type CHAR(16) NOT NULL. |
void |
setInitKey_quantityUnitConversionId(java.lang.String aInitKey_quantityUnitConversionId)
Set the primary key for this object |
void |
setMultiplyOrDivide(java.lang.String aMultiplyOrDivide)
This method provides access to the QTYCONVERT.MULTIPLYORDIVIDE column of DB2 type CHAR(1) NOT NULL. |
void |
setQuantityUnitConversionId(java.lang.Integer aQuantityUnitConversionId)
This method provides access to the QTYCONVERT.QTYCONVERT_ID column of DB2 type INTEGER NOT NULL. |
void |
setQuantityUnitConversionId(java.lang.String aQuantityUnitConversionId)
This method provides access to the QTYCONVERT.QTYCONVERT_ID column of DB2 type INTEGER NOT NULL. |
void |
setToQuantityUnitId(java.lang.String aToQuantityUnitId)
This method provides access to the QTYCONVERT.QTYUNIT_ID_TO column of DB2 type CHAR(16) NOT NULL. |
void |
setUpdatable(java.lang.String aUpdatable)
This method provides access to the QTYCONVERT.UPDATABLE column of DB2 type CHAR(1) NOT NULL. |
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean |
__getCache, __getCache, __getKey, __setCache, __setCache, __setKey, commitCopyHelper, createAccessBeans, createAccessBeans, instantiateEJBByPrimaryKey, refreshCopyHelper, setEJBRef |
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
defaultJNDIName, defaultNameServiceType, defaultNameServiceURL, getEJBRef, getGlobalHome, getHome, getInit_GlobalNameServiceTypeName, getInit_GlobalNameServiceURLName, getInit_JNDIName, getInit_NameServiceTypeName, getInit_NameServiceURLName, getInitContext, getInitContext, instantiateEJB, resetEJBRef, resetHomeCache, setInit_GlobalNameServiceTypeName, setInit_GlobalNameServiceURLName, setInit_JNDIName, setInit_NameServiceTypeName, setInit_NameServiceURLName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public QuantityUnitConversionAccessBean()
Default constructor. Maps to findByPrimaryKey.
public QuantityUnitConversionAccessBean(javax.ejb.EJBObject ejbObject) throws java.rmi.RemoteException
Creates an access bean for the specified EJB
ejbObject
- javax.ejb.EJBObjectjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionMethod Detail |
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Update(flush) data to the EJBObject (persistent storage).
commitCopyHelper
in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
getConversionFactor
in interface QuantityUnitConversionAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
getFromQuantityUnitId
in interface QuantityUnitConversionAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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: M (multiply by FACTOR), D (divide by FACTOR). Conversion from QTYUNIT_ID_TO to QTYUNIT_ID_FROM using the inverse operation is implicitly defined.
getMultiplyOrDivide
in interface QuantityUnitConversionAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
getQuantityUnitConversionId
in interface QuantityUnitConversionAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
getToQuantityUnitId
in interface QuantityUnitConversionAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
N = the conversion factor is irrevocable. It should never be changed.
Y = the conversion factor can be changed.
getUpdatable
in interface QuantityUnitConversionAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
refreshCopyHelper
in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic void setConversionFactor(java.math.BigDecimal aConversionFactor)
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.
aConversionFactor
- java.math.BigDecimalpublic void setConversionFactor(java.lang.String aConversionFactor)
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.
setConversionFactor
in interface QuantityUnitConversionAccessBeanData
aConversionFactor
- java.lang.Stringpublic void setFromQuantityUnitId(java.lang.String aFromQuantityUnitId)
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.
setFromQuantityUnitId
in interface QuantityUnitConversionAccessBeanData
aFromQuantityUnitId
- java.lang.Stringpublic void setInitKey_quantityUnitConversionId(java.lang.String aInitKey_quantityUnitConversionId)
Set the primary key for this object
aInitKey_quantityUnitConversionId
- java.lang.Stringpublic void setMultiplyOrDivide(java.lang.String aMultiplyOrDivide)
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: M (multiply by FACTOR), D (divide by FACTOR). Conversion from QTYUNIT_ID_TO to QTYUNIT_ID_FROM using the inverse operation is implicitly defined.
setMultiplyOrDivide
in interface QuantityUnitConversionAccessBeanData
aMultiplyOrDivide
- java.lang.Stringpublic void setQuantityUnitConversionId(java.lang.Integer aQuantityUnitConversionId)
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.
aQuantityUnitConversionId
- java.lang.Integerpublic void setQuantityUnitConversionId(java.lang.String aQuantityUnitConversionId)
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.
setQuantityUnitConversionId
in interface QuantityUnitConversionAccessBeanData
aQuantityUnitConversionId
- java.lang.Stringpublic void setToQuantityUnitId(java.lang.String aToQuantityUnitId)
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.
setToQuantityUnitId
in interface QuantityUnitConversionAccessBeanData
aToQuantityUnitId
- java.lang.Stringpublic void setUpdatable(java.lang.String aUpdatable)
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.
N = the conversion factor is irrevocable. It should never be changed.
Y = the conversion factor can be changed.
setUpdatable
in interface QuantityUnitConversionAccessBeanData
aUpdatable
- java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |