java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.common.objects.QuantityUnitFormatAccessBean
Each row of this table represents the Language-independent part of a QuantityUnit formatting rule. If a Store has no formatting rule for a particular QuantityUnit, it uses the formatting rule of its StoreGroup. This access bean corresponds to the database table 'QTYFORMAT'.
Constructor Summary | |
QuantityUnitFormatAccessBean() Zero argument constructor used to initialize the access bean. |
|
QuantityUnitFormatAccessBean(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 QuantityUnitFormatAccessBeans |
java.lang.String | getDecimalPlace() This method provides access to the QTYFORMAT.DECIMALPLACES column of DB2 type INTEGER NOT NULL. |
java.lang.Integer | getDecimalPlaceInEJBType() This method provides access to the QTYFORMAT.DECIMALPLACES column of DB2 type INTEGER NOT NULL. |
QuantityUnitFormatDescriptionAccessBean | getDescription(java.lang.Integer arg1) Returns QuantityUnitFormatDescriptionAccessBean by arg1 |
java.lang.String | getNumberUsgId() This method provides access to the QTYFORMAT.NUMBRUSG_ID column of DB2 type INTEGER NOT NULL DEFAULT -1. |
java.lang.Integer | getNumberUsgIdInEJBType() This method provides access to the QTYFORMAT.NUMBRUSG_ID column of DB2 type INTEGER NOT NULL DEFAULT -1. |
java.lang.String | getQuantityUnitId() This method provides access to the QTYFORMAT.QTYUNIT_ID column of DB2 type CHAR(16) NOT NULL. |
java.lang.String | getRoundingMethod() This method provides access to the QTYFORMAT.ROUNDINGMETHOD column of DB2 type CHAR(1) NOT NULL. |
java.lang.String | getRoundingMultiple() This method provides access to the QTYFORMAT.ROUNDINGMULTIPLE column of DB2 type INTEGER NOT NULL. |
java.lang.Integer | getRoundingMultipleInEJBType() This method provides access to the QTYFORMAT.ROUNDINGMULTIPLE column of DB2 type INTEGER NOT NULL. |
java.lang.String | getStoreEntityId() This method provides access to the QTYFORMAT.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer | getStoreEntityIdInEJBType() This method provides access to the QTYFORMAT.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() Load data from the EJBObject. |
void | setDecimalPlace(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setDecimalPlace(java.lang.String newValue) This method accesses a non-CMP field |
void | setInitKey_numberUsgId(java.lang.String newValue) Set the primary key for this object |
void | setInitKey_quantityUnitId(java.lang.String newValue) Set the primary key for this object |
void | setInitKey_storeEntityId(java.lang.String newValue) Set the primary key for this object |
void | setNumberUsgId(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setNumberUsgId(java.lang.String newValue) This method accesses a non-CMP field |
void | setRoundingMethod(java.lang.String newValue) This method accesses a non-CMP field |
void | setRoundingMultiple(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setRoundingMultiple(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 QuantityUnitFormatAccessBean()
public QuantityUnitFormatAccessBean(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 QuantityUnitFormatAccessBeans
The SQL query used to fetch the requested row from the QTYFORMAT table is:
SELECT * FROM QTYFORMAT T1 WHERE 1 = 1
* @return java.util.Enumerationpublic void setInitKey_quantityUnitId(java.lang.String newValue)
Set the primary key for this object
public void setInitKey_storeEntityId(java.lang.String newValue)
Set the primary key for this object
public void setInitKey_numberUsgId(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 getNumberUsgId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the QTYFORMAT.NUMBRUSG_ID column of DB2 type INTEGER NOT NULL DEFAULT -1.
The following is a description of this column:
This QuantityUnit formatting rule should be used when formatting quantity amounts for this usage.
public java.lang.Integer getNumberUsgIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the QTYFORMAT.NUMBRUSG_ID column of DB2 type INTEGER NOT NULL DEFAULT -1.
The following is a description of this column:
This QuantityUnit formatting rule should be used when formatting quantity amounts for this usage.
public void setNumberUsgId(java.lang.String newValue)
public void setNumberUsgId(java.lang.Integer newValue)
public java.lang.String getRoundingMultiple() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the QTYFORMAT.ROUNDINGMULTIPLE column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Rounding multiple. For example, specify 5 to round centimeters the nearest multiple of five centimeters. The default value is 1.
public java.lang.Integer getRoundingMultipleInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the QTYFORMAT.ROUNDINGMULTIPLE column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Rounding multiple. For example, specify 5 to round centimeters the nearest multiple of five centimeters. The default value is 1.
public void setRoundingMultiple(java.lang.String newValue)
public void setRoundingMultiple(java.lang.Integer newValue)
public java.lang.String getStoreEntityId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the QTYFORMAT.STOREENT_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The StoreEntity of which this formatting rule is a part.
public java.lang.Integer getStoreEntityIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the QTYFORMAT.STOREENT_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The StoreEntity of which this formatting rule is a part.
public java.lang.String getDecimalPlace() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the QTYFORMAT.DECIMALPLACES column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The number of decimal places in a rounded or truncated quantity amount.
public java.lang.Integer getDecimalPlaceInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the QTYFORMAT.DECIMALPLACES column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The number of decimal places in a rounded or truncated quantity amount.
public void setDecimalPlace(java.lang.String newValue)
public void setDecimalPlace(java.lang.Integer newValue)
public java.lang.String getQuantityUnitId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the QTYFORMAT.QTYUNIT_ID column of DB2 type CHAR(16) NOT NULL.
The following is a description of this column:
The QuantityUnit.
public java.lang.String getRoundingMethod() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the QTYFORMAT.ROUNDINGMETHOD column of DB2 type CHAR(1) NOT NULL.
The following is a description of this column:
How to round to a multiple of ROUNDINGMULTIPLE. Valid values:&l
public void setRoundingMethod(java.lang.String newValue)
public QuantityUnitFormatDescriptionAccessBean getDescription(java.lang.Integer arg1) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
Returns QuantityUnitFormatDescriptionAccessBean by arg1
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.