|
||||||||
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.NumberUsageAccessBean
This bean provides access to the NUMBRUSG table.
The following is a description of this table:
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.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
NumberUsageAccessBean()
Default constructor. |
|
NumberUsageAccessBean(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 NumberUsageAccessBeans |
java.util.Enumeration |
findByCode(java.lang.String code)
Retrieves all NumberUsageAccessBean by number usage code |
java.lang.String |
getCode()
This method provides access to the NUMBRUSG.CODE column of DB2 type CHAR(60) NULL. |
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. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setCode(java.lang.String aCode)
This method provides access to the NUMBRUSG.CODE column of DB2 type CHAR(60) NULL. |
void |
setInitKey_numberUsageId(java.lang.String aInitKey_numberUsageId)
Set the primary key for this object |
void |
setNumberUsageId(java.lang.Integer aNumberUsageId)
This method provides access to the NUMBRUSG.NUMBRUSG_ID column of DB2 type INTEGER NOT NULL. |
void |
setNumberUsageId(java.lang.String aNumberUsageId)
This method provides access to the NUMBRUSG.NUMBRUSG_ID 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 NumberUsageAccessBean()
Default constructor. Maps to findByPrimaryKey.
public NumberUsageAccessBean(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 NumberUsageAccessBeans
The SQL query used to fetch the requested row from the NUMBRUSG table is:
SELECT * FROM NUMBRUSG T1 WHERE 1 = 1
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.util.Enumeration findByCode(java.lang.String code) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all NumberUsageAccessBean by number usage code
The SQL query used to fetch the requested row from the NUMBRUSG table is:
SELECT * FROM NUMBRUSG T1 WHERE T1.CODE = ?
code
- Codejava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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) NULL.
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 "com.ibm." are reserved for IBM.
getCode
in interface NumberUsageAccessBeanData
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 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:
-1 = com.ibm.commerce.default
-2 = com.ibm.commerce.unitPrice
-3 = com.ibm.commerce.listPrice
getNumberUsageId
in interface NumberUsageAccessBeanData
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 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:
-1 = com.ibm.commerce.default
-2 = com.ibm.commerce.unitPrice
-3 = com.ibm.commerce.listPrice
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 setCode(java.lang.String aCode)
This method provides access to the NUMBRUSG.CODE column of DB2 type CHAR(60) NULL.
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 "com.ibm." are reserved for IBM.
setCode
in interface NumberUsageAccessBeanData
aCode
- java.lang.Stringpublic void setInitKey_numberUsageId(java.lang.String aInitKey_numberUsageId)
Set the primary key for this object
aInitKey_numberUsageId
- java.lang.Stringpublic void setNumberUsageId(java.lang.Integer aNumberUsageId)
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:
-1 = com.ibm.commerce.default
-2 = com.ibm.commerce.unitPrice
-3 = com.ibm.commerce.listPrice
aNumberUsageId
- java.lang.Integerpublic void setNumberUsageId(java.lang.String aNumberUsageId)
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:
-1 = com.ibm.commerce.default
-2 = com.ibm.commerce.unitPrice
-3 = com.ibm.commerce.listPrice
setNumberUsageId
in interface NumberUsageAccessBeanData
aNumberUsageId
- java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |