|
||||||||
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.QuantityUnitFormatAccessBean
This bean provides access to the QTYFORMAT table.
The following is a description of this table:
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.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
QuantityUnitFormatAccessBean()
Default constructor. |
|
QuantityUnitFormatAccessBean(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 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 languageId)
Returns QuantityUnitFormatDescriptionAccessBean by languageId |
java.lang.String |
getNumberUsgId()
This method provides access to the QTYFORMAT.NUMBRUSG_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getNumberUsgIdInEJBType()
This method provides access to the QTYFORMAT.NUMBRUSG_ID column of DB2 type INTEGER NOT NULL. |
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. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setDecimalPlace(java.lang.Integer aDecimalPlace)
This method provides access to the QTYFORMAT.DECIMALPLACES column of DB2 type INTEGER NOT NULL. |
void |
setDecimalPlace(java.lang.String aDecimalPlace)
This method provides access to the QTYFORMAT.DECIMALPLACES column of DB2 type INTEGER NOT NULL. |
void |
setInitKey_numberUsgId(java.lang.String aInitKey_numberUsgId)
Set the primary key for this object |
void |
setInitKey_quantityUnitId(java.lang.String aInitKey_quantityUnitId)
Set the primary key for this object |
void |
setInitKey_storeEntityId(java.lang.String aInitKey_storeEntityId)
Set the primary key for this object |
void |
setNumberUsgId(java.lang.Integer aNumberUsgId)
This method provides access to the QTYFORMAT.NUMBRUSG_ID column of DB2 type INTEGER NOT NULL. |
void |
setNumberUsgId(java.lang.String aNumberUsgId)
This method provides access to the QTYFORMAT.NUMBRUSG_ID column of DB2 type INTEGER NOT NULL. |
void |
setRoundingMethod(java.lang.String aRoundingMethod)
This method provides access to the QTYFORMAT.ROUNDINGMETHOD column of DB2 type CHAR(1) NOT NULL. |
void |
setRoundingMultiple(java.lang.Integer aRoundingMultiple)
This method provides access to the QTYFORMAT.ROUNDINGMULTIPLE column of DB2 type INTEGER NOT NULL. |
void |
setRoundingMultiple(java.lang.String aRoundingMultiple)
This method provides access to the QTYFORMAT.ROUNDINGMULTIPLE column of DB2 type INTEGER 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 QuantityUnitFormatAccessBean()
Default constructor. Maps to findByPrimaryKey.
public QuantityUnitFormatAccessBean(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 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.Enumerationjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
getDecimalPlace
in interface QuantityUnitFormatAccessBeanData
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 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.
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 QuantityUnitFormatDescriptionAccessBean getDescription(java.lang.Integer languageId) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
Returns QuantityUnitFormatDescriptionAccessBean by languageId
languageId
- Language idjavax.naming.NamingException
- The javax.naming.NamingException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionpublic 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.
The following is a description of this column:
This QuantityUnit formatting rule should be used when formatting quantity amounts for this usage.
getNumberUsgId
in interface QuantityUnitFormatAccessBeanData
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 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.
The following is a description of this column:
This QuantityUnit formatting rule should be used when formatting quantity amounts for this usage.
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 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.
getQuantityUnitId
in interface QuantityUnitFormatAccessBeanData
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 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: R (round normally - up or down - to the nearest multiple), T (truncate - round down for positive amounts, round up for negative amounts).
getRoundingMethod
in interface QuantityUnitFormatAccessBeanData
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 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.
getRoundingMultiple
in interface QuantityUnitFormatAccessBeanData
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 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.
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 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.
getStoreEntityId
in interface QuantityUnitFormatAccessBeanData
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 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.
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 setDecimalPlace(java.lang.Integer aDecimalPlace)
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.
aDecimalPlace
- java.lang.Integerpublic void setDecimalPlace(java.lang.String aDecimalPlace)
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.
setDecimalPlace
in interface QuantityUnitFormatAccessBeanData
aDecimalPlace
- java.lang.Stringpublic void setInitKey_numberUsgId(java.lang.String aInitKey_numberUsgId)
Set the primary key for this object
aInitKey_numberUsgId
- java.lang.Stringpublic void setInitKey_quantityUnitId(java.lang.String aInitKey_quantityUnitId)
Set the primary key for this object
aInitKey_quantityUnitId
- java.lang.Stringpublic void setInitKey_storeEntityId(java.lang.String aInitKey_storeEntityId)
Set the primary key for this object
aInitKey_storeEntityId
- java.lang.Stringpublic void setNumberUsgId(java.lang.Integer aNumberUsgId)
This method provides access to the QTYFORMAT.NUMBRUSG_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
This QuantityUnit formatting rule should be used when formatting quantity amounts for this usage.
aNumberUsgId
- java.lang.Integerpublic void setNumberUsgId(java.lang.String aNumberUsgId)
This method provides access to the QTYFORMAT.NUMBRUSG_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
This QuantityUnit formatting rule should be used when formatting quantity amounts for this usage.
setNumberUsgId
in interface QuantityUnitFormatAccessBeanData
aNumberUsgId
- java.lang.Stringpublic void setRoundingMethod(java.lang.String aRoundingMethod)
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: R (round normally - up or down - to the nearest multiple), T (truncate - round down for positive amounts, round up for negative amounts).
setRoundingMethod
in interface QuantityUnitFormatAccessBeanData
aRoundingMethod
- java.lang.Stringpublic void setRoundingMultiple(java.lang.Integer aRoundingMultiple)
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.
aRoundingMultiple
- java.lang.Integerpublic void setRoundingMultiple(java.lang.String aRoundingMultiple)
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.
setRoundingMultiple
in interface QuantityUnitFormatAccessBeanData
aRoundingMultiple
- java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |