com.ibm.commerce.common.objects
Class QuantityUnitFormatDescriptionAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractAccessBean
        |
        +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
              |
              +--com.ibm.commerce.common.objects.QuantityUnitFormatDescriptionAccessBean
All Implemented Interfaces:
QuantityUnitFormatDescriptionAccessBeanData, java.io.Serializable

public class QuantityUnitFormatDescriptionAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements QuantityUnitFormatDescriptionAccessBeanData

This bean provides access to the QTYFMTDESC table.

The following is a description of this table:

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.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
QuantityUnitFormatDescriptionAccessBean()
          Default constructor.
QuantityUnitFormatDescriptionAccessBean(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 QuantityUnitFormatDescriptionAccessBeans
 java.lang.String getCustomizedQuantityString()
          This method provides access to the QTYFMTDESC.CUSTOMIZEDQTYSTR column of DB2 type VARCHAR(254) NULL.
 java.lang.String getDescription()
          This method provides access to the QTYFMTDESC.DESCRIPTION column of DB2 type VARCHAR(254) NULL.
 java.lang.String getDisplayLocale()
          This method provides access to the QTYFMTDESC.DISPLAYLOCALE column of DB2 type CHAR(16) NULL.
 java.lang.String getGroupingCharacter()
          This method provides access to the QTYFMTDESC.GROUPINGCHAR column of DB2 type CHAR(1) NULL.
 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) NULL.
 java.lang.String getNumberUsgId()
          This method provides access to the QTYFMTDESC.NUMBRUSG_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getNumberUsgIdInEJBType()
          This method provides access to the QTYFMTDESC.NUMBRUSG_ID column of DB2 type INTEGER NOT NULL.
 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) NULL.
 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) NULL.
 java.lang.String getUnitPrefixPositive()
          This method provides access to the QTYFMTDESC.UNITPREFIXPOS column of DB2 type VARCHAR(254) NULL.
 java.lang.String getUnitSuffixNegative()
          This method provides access to the QTYFMTDESC.UNITSUFFIXNEG column of DB2 type VARCHAR(254) NULL.
 java.lang.String getUnitSuffixPositive()
          This method provides access to the QTYFMTDESC.UNITSUFFIXPOS column of DB2 type VARCHAR(254) NULL.
 java.lang.String getUnitSymbol()
          This method provides access to the QTYFMTDESC.UNITSYMBOL column of DB2 type VARCHAR(254) NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setCustomizedQuantityString(java.lang.String aCustomizedQuantityString)
          This method provides access to the QTYFMTDESC.CUSTOMIZEDQTYSTR column of DB2 type VARCHAR(254) NULL.
 void setDescription(java.lang.String aDescription)
          This method provides access to the QTYFMTDESC.DESCRIPTION column of DB2 type VARCHAR(254) NULL.
 void setDisplayLocale(java.lang.String aDisplayLocale)
          This method provides access to the QTYFMTDESC.DISPLAYLOCALE column of DB2 type CHAR(16) NULL.
 void setGroupingCharacter(java.lang.String aGroupingCharacter)
          This method provides access to the QTYFMTDESC.GROUPINGCHAR column of DB2 type CHAR(1) NULL.
 void setInitKey_languageId(java.lang.String aInitKey_languageId)
          Set the primary key for this object
 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 setLanguageId(java.lang.Integer aLanguageId)
          This method provides access to the QTYFMTDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 void setLanguageId(java.lang.String aLanguageId)
          This method provides access to the QTYFMTDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
 void setNumberPattern(java.lang.String aNumberPattern)
          This method provides access to the QTYFMTDESC.NUMBERPATTERN column of DB2 type VARCHAR(254) NULL.
 void setNumberUsgId(java.lang.Integer aNumberUsgId)
          This method provides access to the QTYFMTDESC.NUMBRUSG_ID column of DB2 type INTEGER NOT NULL.
 void setNumberUsgId(java.lang.String aNumberUsgId)
          This method provides access to the QTYFMTDESC.NUMBRUSG_ID column of DB2 type INTEGER NOT NULL.
 void setQuantityUnitId(java.lang.String aQuantityUnitId)
          This method provides access to the QTYFMTDESC.QTYUNIT_ID column of DB2 type CHAR(16) NOT NULL.
 void setRadixPoint(java.lang.String aRadixPoint)
          This method provides access to the QTYFMTDESC.RADIXPOINT column of DB2 type CHAR(1) NULL.
 void setStoreEntityId(java.lang.Integer aStoreEntityId)
          This method provides access to the QTYFMTDESC.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 void setStoreEntityId(java.lang.String aStoreEntityId)
          This method provides access to the QTYFMTDESC.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 void setUnitPrefixNegative(java.lang.String aUnitPrefixNegative)
          This method provides access to the QTYFMTDESC.UNITPREFIXNEG column of DB2 type VARCHAR(254) NULL.
 void setUnitPrefixPositive(java.lang.String aUnitPrefixPositive)
          This method provides access to the QTYFMTDESC.UNITPREFIXPOS column of DB2 type VARCHAR(254) NULL.
 void setUnitSuffixNegative(java.lang.String aUnitSuffixNegative)
          This method provides access to the QTYFMTDESC.UNITSUFFIXNEG column of DB2 type VARCHAR(254) NULL.
 void setUnitSuffixPositive(java.lang.String aUnitSuffixPositive)
          This method provides access to the QTYFMTDESC.UNITSUFFIXPOS column of DB2 type VARCHAR(254) NULL.
 void setUnitSymbol(java.lang.String aUnitSymbol)
          This method provides access to the QTYFMTDESC.UNITSYMBOL column of DB2 type VARCHAR(254) 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

QuantityUnitFormatDescriptionAccessBean

public QuantityUnitFormatDescriptionAccessBean()

Default constructor. Maps to findByPrimaryKey.


QuantityUnitFormatDescriptionAccessBean

public QuantityUnitFormatDescriptionAccessBean(javax.ejb.EJBObject ejbObject)
                                        throws java.rmi.RemoteException

Creates an access bean for the specified EJB

Parameters:
ejbObject - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
Method Detail

commitCopyHelper

public void commitCopyHelper()
                      throws java.rmi.RemoteException,
                             javax.ejb.CreateException,
                             javax.ejb.FinderException,
                             javax.naming.NamingException

Update(flush) data to the EJBObject (persistent storage).

Overrides:
commitCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findAll

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

Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getCustomizedQuantityString

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) NULL.

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.

Specified by:
getCustomizedQuantityString in interface QuantityUnitFormatDescriptionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getDescription

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) NULL.

The following is a description of this column:

A description of the QuantityUnit, suitable for display to customers in a QuantityUnit selection list.

Specified by:
getDescription in interface QuantityUnitFormatDescriptionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getDisplayLocale

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) NULL.

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.

Specified by:
getDisplayLocale in interface QuantityUnitFormatDescriptionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getGroupingCharacter

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) NULL.

The following is a description of this column:

The grouping character used by the NumberFormat object. Refer to QTYFMTDESC table: details for more information.

Specified by:
getGroupingCharacter in interface QuantityUnitFormatDescriptionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getLanguageId

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.

Specified by:
getLanguageId in interface QuantityUnitFormatDescriptionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getLanguageIdInEJBType

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.

Returns:
java.lang.Integer
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getNumberPattern

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) NULL.

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.

Specified by:
getNumberPattern in interface QuantityUnitFormatDescriptionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getNumberUsgId

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.

The following is a description of this column:

This QuantityUnit formatting rule should be used when formatting quantity amounts for this usage.

Specified by:
getNumberUsgId in interface QuantityUnitFormatDescriptionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getNumberUsgIdInEJBType

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.

The following is a description of this column:

This QuantityUnit formatting rule should be used when formatting quantity amounts for this usage.

Returns:
java.lang.Integer
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getQuantityUnitId

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.

Specified by:
getQuantityUnitId in interface QuantityUnitFormatDescriptionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getRadixPoint

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) NULL.

The following is a description of this column:

The radix point for the NumberFormat object. Refer to QTYFMTDESC table: details for more information.

Specified by:
getRadixPoint in interface QuantityUnitFormatDescriptionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getStoreEntityId

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.

Specified by:
getStoreEntityId in interface QuantityUnitFormatDescriptionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getStoreEntityIdInEJBType

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.

Returns:
java.lang.Integer
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getUnitPrefixNegative

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) NULL.

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.

Specified by:
getUnitPrefixNegative in interface QuantityUnitFormatDescriptionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getUnitPrefixPositive

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) NULL.

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.

Specified by:
getUnitPrefixPositive in interface QuantityUnitFormatDescriptionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getUnitSuffixNegative

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) NULL.

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.

Specified by:
getUnitSuffixNegative in interface QuantityUnitFormatDescriptionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getUnitSuffixPositive

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) NULL.

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.

Specified by:
getUnitSuffixPositive in interface QuantityUnitFormatDescriptionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getUnitSymbol

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) NULL.

The following is a description of this column:

The QuantityUnit symbol.

Specified by:
getUnitSymbol in interface QuantityUnitFormatDescriptionAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

refreshCopyHelper

public void refreshCopyHelper()
                       throws java.rmi.RemoteException,
                              javax.ejb.CreateException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException

Load data from the EJBObject.

Overrides:
refreshCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

setCustomizedQuantityString

public void setCustomizedQuantityString(java.lang.String aCustomizedQuantityString)

This method provides access to the QTYFMTDESC.CUSTOMIZEDQTYSTR column of DB2 type VARCHAR(254) NULL.

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.

Specified by:
setCustomizedQuantityString in interface QuantityUnitFormatDescriptionAccessBeanData
Parameters:
aCustomizedQuantityString - java.lang.String
Returns:
void

setDescription

public void setDescription(java.lang.String aDescription)

This method provides access to the QTYFMTDESC.DESCRIPTION column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

A description of the QuantityUnit, suitable for display to customers in a QuantityUnit selection list.

Specified by:
setDescription in interface QuantityUnitFormatDescriptionAccessBeanData
Parameters:
aDescription - java.lang.String
Returns:
void

setDisplayLocale

public void setDisplayLocale(java.lang.String aDisplayLocale)

This method provides access to the QTYFMTDESC.DISPLAYLOCALE column of DB2 type CHAR(16) NULL.

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.

Specified by:
setDisplayLocale in interface QuantityUnitFormatDescriptionAccessBeanData
Parameters:
aDisplayLocale - java.lang.String
Returns:
void

setGroupingCharacter

public void setGroupingCharacter(java.lang.String aGroupingCharacter)

This method provides access to the QTYFMTDESC.GROUPINGCHAR column of DB2 type CHAR(1) NULL.

The following is a description of this column:

The grouping character used by the NumberFormat object. Refer to QTYFMTDESC table: details for more information.

Specified by:
setGroupingCharacter in interface QuantityUnitFormatDescriptionAccessBeanData
Parameters:
aGroupingCharacter - java.lang.String
Returns:
void

setInitKey_languageId

public void setInitKey_languageId(java.lang.String aInitKey_languageId)

Set the primary key for this object

Parameters:
aInitKey_languageId - java.lang.String
Returns:
void

setInitKey_numberUsgId

public void setInitKey_numberUsgId(java.lang.String aInitKey_numberUsgId)

Set the primary key for this object

Parameters:
aInitKey_numberUsgId - java.lang.String
Returns:
void

setInitKey_quantityUnitId

public void setInitKey_quantityUnitId(java.lang.String aInitKey_quantityUnitId)

Set the primary key for this object

Parameters:
aInitKey_quantityUnitId - java.lang.String
Returns:
void

setInitKey_storeEntityId

public void setInitKey_storeEntityId(java.lang.String aInitKey_storeEntityId)

Set the primary key for this object

Parameters:
aInitKey_storeEntityId - java.lang.String
Returns:
void

setLanguageId

public void setLanguageId(java.lang.Integer aLanguageId)

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.

Parameters:
aLanguageId - java.lang.Integer
Returns:
void

setLanguageId

public void setLanguageId(java.lang.String aLanguageId)

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.

Specified by:
setLanguageId in interface QuantityUnitFormatDescriptionAccessBeanData
Parameters:
aLanguageId - java.lang.String
Returns:
void

setNumberPattern

public void setNumberPattern(java.lang.String aNumberPattern)

This method provides access to the QTYFMTDESC.NUMBERPATTERN column of DB2 type VARCHAR(254) NULL.

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.

Specified by:
setNumberPattern in interface QuantityUnitFormatDescriptionAccessBeanData
Parameters:
aNumberPattern - java.lang.String
Returns:
void

setNumberUsgId

public void setNumberUsgId(java.lang.Integer aNumberUsgId)

This method provides access to the QTYFMTDESC.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.

Parameters:
aNumberUsgId - java.lang.Integer
Returns:
void

setNumberUsgId

public void setNumberUsgId(java.lang.String aNumberUsgId)

This method provides access to the QTYFMTDESC.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.

Specified by:
setNumberUsgId in interface QuantityUnitFormatDescriptionAccessBeanData
Parameters:
aNumberUsgId - java.lang.String
Returns:
void

setQuantityUnitId

public void setQuantityUnitId(java.lang.String aQuantityUnitId)

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.

Specified by:
setQuantityUnitId in interface QuantityUnitFormatDescriptionAccessBeanData
Parameters:
aQuantityUnitId - java.lang.String
Returns:
void

setRadixPoint

public void setRadixPoint(java.lang.String aRadixPoint)

This method provides access to the QTYFMTDESC.RADIXPOINT column of DB2 type CHAR(1) NULL.

The following is a description of this column:

The radix point for the NumberFormat object. Refer to QTYFMTDESC table: details for more information.

Specified by:
setRadixPoint in interface QuantityUnitFormatDescriptionAccessBeanData
Parameters:
aRadixPoint - java.lang.String
Returns:
void

setStoreEntityId

public void setStoreEntityId(java.lang.Integer aStoreEntityId)

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.

Parameters:
aStoreEntityId - java.lang.Integer
Returns:
void

setStoreEntityId

public void setStoreEntityId(java.lang.String aStoreEntityId)

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.

Specified by:
setStoreEntityId in interface QuantityUnitFormatDescriptionAccessBeanData
Parameters:
aStoreEntityId - java.lang.String
Returns:
void

setUnitPrefixNegative

public void setUnitPrefixNegative(java.lang.String aUnitPrefixNegative)

This method provides access to the QTYFMTDESC.UNITPREFIXNEG column of DB2 type VARCHAR(254) NULL.

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.

Specified by:
setUnitPrefixNegative in interface QuantityUnitFormatDescriptionAccessBeanData
Parameters:
aUnitPrefixNegative - java.lang.String
Returns:
void

setUnitPrefixPositive

public void setUnitPrefixPositive(java.lang.String aUnitPrefixPositive)

This method provides access to the QTYFMTDESC.UNITPREFIXPOS column of DB2 type VARCHAR(254) NULL.

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.

Specified by:
setUnitPrefixPositive in interface QuantityUnitFormatDescriptionAccessBeanData
Parameters:
aUnitPrefixPositive - java.lang.String
Returns:
void

setUnitSuffixNegative

public void setUnitSuffixNegative(java.lang.String aUnitSuffixNegative)

This method provides access to the QTYFMTDESC.UNITSUFFIXNEG column of DB2 type VARCHAR(254) NULL.

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.

Specified by:
setUnitSuffixNegative in interface QuantityUnitFormatDescriptionAccessBeanData
Parameters:
aUnitSuffixNegative - java.lang.String
Returns:
void

setUnitSuffixPositive

public void setUnitSuffixPositive(java.lang.String aUnitSuffixPositive)

This method provides access to the QTYFMTDESC.UNITSUFFIXPOS column of DB2 type VARCHAR(254) NULL.

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.

Specified by:
setUnitSuffixPositive in interface QuantityUnitFormatDescriptionAccessBeanData
Parameters:
aUnitSuffixPositive - java.lang.String
Returns:
void

setUnitSymbol

public void setUnitSymbol(java.lang.String aUnitSymbol)

This method provides access to the QTYFMTDESC.UNITSYMBOL column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

The QuantityUnit symbol.

Specified by:
setUnitSymbol in interface QuantityUnitFormatDescriptionAccessBeanData
Parameters:
aUnitSymbol - java.lang.String
Returns:
void