java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.common.objects.QuantityUnitFormatDescriptionAccessBean
Each row of this table represents the Language-dependent part of a QuantityUnit formatting rule. It describes how to format (for display purposes) a quantity amount in a particular QuantityUnit, in a particular Language. This access bean corresponds to the database table 'QTYFMTDESC'.
Constructor Summary | |
QuantityUnitFormatDescriptionAccessBean() Zero argument constructor used to initialize the access bean. |
|
QuantityUnitFormatDescriptionAccessBean(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 QuantityUnitFormatDescriptionAccessBeans |
java.lang.String | getCustomizedQuantityString() This method provides access to the QTYFMTDESC.CUSTOMIZEDQTYSTR column of DB2 type VARCHAR(254). |
java.lang.String | getDescription() This method provides access to the QTYFMTDESC.DESCRIPTION column of DB2 type VARCHAR(254). |
java.lang.String | getDisplayLocale() This method provides access to the QTYFMTDESC.DISPLAYLOCALE column of DB2 type CHAR(16). |
java.lang.String | getGroupingCharacter() This method provides access to the QTYFMTDESC.GROUPINGCHAR column of DB2 type CHAR(1). |
java.lang.String | getLanguageId() This method provides access to the QTYFMTDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer | getLanguageIdInEJBType() This method provides access to the QTYFMTDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.String | getNumberPattern() This method provides access to the QTYFMTDESC.NUMBERPATTERN column of DB2 type VARCHAR(254). |
java.lang.String | getNumberUsgId() This method provides access to the QTYFMTDESC.NUMBRUSG_ID column of DB2 type INTEGER NOT NULL DEFAULT -1. |
java.lang.Integer | getNumberUsgIdInEJBType() This method provides access to the QTYFMTDESC.NUMBRUSG_ID column of DB2 type INTEGER NOT NULL DEFAULT -1. |
java.lang.String | getQuantityUnitId() This method provides access to the QTYFMTDESC.QTYUNIT_ID column of DB2 type CHAR(16) NOT NULL. |
java.lang.String | getRadixPoint() This method provides access to the QTYFMTDESC.RADIXPOINT column of DB2 type CHAR(1). |
java.lang.String | getStoreEntityId() This method provides access to the QTYFMTDESC.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer | getStoreEntityIdInEJBType() This method provides access to the QTYFMTDESC.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
java.lang.String | getUnitPrefixNegative() This method provides access to the QTYFMTDESC.UNITPREFIXNEG column of DB2 type VARCHAR(254). |
java.lang.String | getUnitPrefixPositive() This method provides access to the QTYFMTDESC.UNITPREFIXPOS column of DB2 type VARCHAR(254). |
java.lang.String | getUnitSuffixNegative() This method provides access to the QTYFMTDESC.UNITSUFFIXNEG column of DB2 type VARCHAR(254). |
java.lang.String | getUnitSuffixPositive() This method provides access to the QTYFMTDESC.UNITSUFFIXPOS column of DB2 type VARCHAR(254). |
java.lang.String | getUnitSymbol() This method provides access to the QTYFMTDESC.UNITSYMBOL column of DB2 type VARCHAR(254). |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() Load data from the EJBObject. |
void | setCustomizedQuantityString(java.lang.String newValue) This method accesses a non-CMP field |
void | setDescription(java.lang.String newValue) This method accesses a non-CMP field |
void | setDisplayLocale(java.lang.String newValue) This method accesses a non-CMP field |
void | setGroupingCharacter(java.lang.String newValue) This method accesses a non-CMP field |
void | setInitKey_languageId(java.lang.String newValue) Set the primary key for this object |
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 | setLanguageId(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setLanguageId(java.lang.String newValue) This method accesses a non-CMP field |
void | setNumberPattern(java.lang.String newValue) This method accesses a non-CMP field |
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 | setQuantityUnitId(java.lang.String newValue) This method accesses a non-CMP field |
void | setRadixPoint(java.lang.String newValue) This method accesses a non-CMP field |
void | setStoreEntityId(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setStoreEntityId(java.lang.String newValue) This method accesses a non-CMP field |
void | setUnitPrefixNegative(java.lang.String newValue) This method accesses a non-CMP field |
void | setUnitPrefixPositive(java.lang.String newValue) This method accesses a non-CMP field |
void | setUnitSuffixNegative(java.lang.String newValue) This method accesses a non-CMP field |
void | setUnitSuffixPositive(java.lang.String newValue) This method accesses a non-CMP field |
void | setUnitSymbol(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 QuantityUnitFormatDescriptionAccessBean()
public QuantityUnitFormatDescriptionAccessBean(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 QuantityUnitFormatDescriptionAccessBeans
The SQL query used to fetch the requested row from the QTYFMTDESC table is:
SELECT * FROM QTYFMTDESC T1 WHERE 1 = 1
public void setInitKey_languageId(java.lang.String newValue)
Set the primary key for this object
public 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 getDescription() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the QTYFMTDESC.DESCRIPTION column of DB2 type VARCHAR(254).
The following is a description of this column:
A description of the QuantityUnit, suitable for display to customers in a QuantityUnit selection list.
public void setDescription(java.lang.String newValue)
public java.lang.String getUnitSuffixPositive() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the QTYFMTDESC.UNITSUFFIXPOS column of DB2 type VARCHAR(254).
The following is a description of this column:
The suffix to use when the quantity amount is positive. If this field and UNITPREFIXPOS are null then the positiveSuffix of the NumberFormat will be used.
public void setUnitSuffixPositive(java.lang.String newValue)
public java.lang.String getNumberPattern() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the QTYFMTDESC.NUMBERPATTERN column of DB2 type VARCHAR(254).
The following is a description of this column:
The number pattern to be applied to the NumberFormat object. The number pattern is described in the JDK documentation for the class java.text.DecimalFormat. If this is NULL then the default number pattern of the NumberFormat object is used.
public void setNumberPattern(java.lang.String newValue)
public java.lang.String getDisplayLocale() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the QTYFMTDESC.DISPLAYLOCALE column of DB2 type CHAR(16).
The following is a description of this column:
The Java locale used to create a QuantityUnit NumberFormat object that is used to do the formatting. If this is NULL then the locale associated with the LANGUAGE_ID (see the LANGUAGE table) is used.
public void setDisplayLocale(java.lang.String newValue)
public java.lang.String getLanguageId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the QTYFMTDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The Language. For a list of language components, see the LANGUAGE table.
public java.lang.Integer getLanguageIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the QTYFMTDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The Language. For a list of language components, see the LANGUAGE table.
public void setLanguageId(java.lang.String newValue)
public void setLanguageId(java.lang.Integer newValue)
public java.lang.String getUnitPrefixNegative() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the QTYFMTDESC.UNITPREFIXNEG column of DB2 type VARCHAR(254).
The following is a description of this column:
The prefix to use when the quantity amount is negative. If this field and UNITSUFFIXNEG are null then the negativePrefix of the NumberFormat will be used.
public void setUnitPrefixNegative(java.lang.String newValue)
public java.lang.String getGroupingCharacter() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the QTYFMTDESC.GROUPINGCHAR column of DB2 type CHAR(1).
The following is a description of this column:
The grouping character used by the NumberFormat object. For example, when formatting gallons for the U.S. English Language this would be the thousands separator. If this is null, then the grouping separator of the NumberFormat, associated with the DisplayLocale, will be used.
public void setGroupingCharacter(java.lang.String newValue)
public java.lang.String getNumberUsgId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the QTYFMTDESC.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 QTYFMTDESC.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 getCustomizedQuantityString() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the QTYFMTDESC.CUSTOMIZEDQTYSTR column of DB2 type VARCHAR(254).
The following is a description of this column:
An alternate QuantityUnit code. WebSphere Commerce does not use this value. You may supply a value and write your JSP macros to use it.
public void setCustomizedQuantityString(java.lang.String newValue)
public java.lang.String getUnitPrefixPositive() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the QTYFMTDESC.UNITPREFIXPOS column of DB2 type VARCHAR(254).
The following is a description of this column:
The prefix to use when the quantity amount is positive. If this field and UNITSUFFIXPOS are null then the positivePrefix of the NumberFormat will be used.
public void setUnitPrefixPositive(java.lang.String 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 QTYFMTDESC.STOREENT_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The StoreEntity this formatting rule is part of.
public java.lang.Integer getStoreEntityIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the QTYFMTDESC.STOREENT_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The StoreEntity this formatting rule is part of.
public void setStoreEntityId(java.lang.String newValue)
public void setStoreEntityId(java.lang.Integer newValue)
public java.lang.String getUnitSymbol() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the QTYFMTDESC.UNITSYMBOL column of DB2 type VARCHAR(254).
The following is a description of this column:
The QuantityUnit symbol.
public void setUnitSymbol(java.lang.String newValue)
public java.lang.String getUnitSuffixNegative() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the QTYFMTDESC.UNITSUFFIXNEG column of DB2 type VARCHAR(254).
The following is a description of this column:
The suffix to use when the quantity amount is negative. If this field and UNITPREFIXNEG are null then the negativeSuffix of the NumberFormat will be used.
public void setUnitSuffixNegative(java.lang.String 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 QTYFMTDESC.QTYUNIT_ID column of DB2 type CHAR(16) NOT NULL.
The following is a description of this column:
The QuantityUnit.
public void setQuantityUnitId(java.lang.String newValue)
public java.lang.String getRadixPoint() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the QTYFMTDESC.RADIXPOINT column of DB2 type CHAR(1).
The following is a description of this column:
The radix point for the NumberFormat object. For example, when formatting gallons for the U.S. English Language, this would be the decimal point character. If this is null, then the decimal separator of the NumberFormat, associated with the DisplayLocale, will be used.
public void setRadixPoint(java.lang.String newValue)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.