java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.common.objects.NumberUsageAccessBean
Each row defines a NumberUsage object. Numbers such as quantities and monetary amounts can be rounded and formatted differently depending on their associated NumberUsage objects. The CurrencyManager and QuantityManager cache this information. This access bean corresponds to the database table 'NUMBRUSG'.
Constructor Summary | |
NumberUsageAccessBean() Default constructor. |
|
NumberUsageAccessBean(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 NumberUsageAccessBeans |
java.util.Enumeration | findByCode(java.lang.String argCode) Retrieves all NumberUsageAccessBean by number usage argCode |
java.lang.String | getCode() This method provides access to the NUMBRUSG.CODE column of DB2 type CHAR(60). |
java.lang.String | getNumberUsageId() This method provides access to the NUMBRUSG.NUMBRUSG_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer | getNumberUsageIdInEJBType() This method provides access to the NUMBRUSG.NUMBRUSG_ID column of DB2 type INTEGER NOT NULL. |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() Load data from the EJBObject. |
void | setCode(java.lang.String newValue) This method accesses a non-CMP field |
void | setInitKey_numberUsageId(java.lang.String newValue) Set the primary key for this object |
void | setNumberUsageId(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setNumberUsageId(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 NumberUsageAccessBean()
Default constructor. Maps to findByPrimaryKey.
public NumberUsageAccessBean(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 NumberUsageAccessBeans
The SQL query used to fetch the requested row from the NUMBRUSG table is:
SELECT * FROM NUMBRUSG T1 WHERE 1 = 1
public java.util.Enumeration findByCode(java.lang.String argCode) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all NumberUsageAccessBean by number usage argCode
The SQL query used to fetch the requested row from the NUMBRUSG table is:
SELECT * FROM NUMBRUSG T1 WHERE T1.CODE = ?
public void setInitKey_numberUsageId(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 getCode() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the NUMBRUSG.CODE column of DB2 type CHAR(60).
The following is a description of this column:
Applications can specify this value to identify their application specific NumberUsages. It is suggested that Java package naming conventions be used to facilitate application integration. Values starting with &quo
public void setCode(java.lang.String newValue)
public java.lang.String getNumberUsageId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the NUMBRUSG.NUMBRUSG_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Generated unique key. Negative values are reserved for IBM. WebSphere Commerce defines and uses the following values:&l
public java.lang.Integer getNumberUsageIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the NUMBRUSG.NUMBRUSG_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Generated unique key. Negative values are reserved for IBM. WebSphere Commerce defines and uses the following values:&l
public void setNumberUsageId(java.lang.String newValue)
public void setNumberUsageId(java.lang.Integer newValue)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.