|
||||||||
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.QuantityUnitAccessBean
This bean provides access to the QTYUNIT table.
The following is a description of this table:
Each row of this table represents a QuantityUnit. A QuantityUnit is a unit of measurement, such as kilogram, meter, liter, pound, foot, quart, and so on.
Note: Do not remove the row for the default QTYUNIT_ID C62 (the unitless unit).
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
QuantityUnitAccessBean()
Default constructor. |
|
QuantityUnitAccessBean(javax.ejb.EJBObject ejbObject)
Creates an access bean for the specified EJB |
|
QuantityUnitAccessBean(java.lang.String argQuantityUnitId)
Maps to a corresponding ejbCreate method in the home interface of the EJB |
Method Summary | |
void |
commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage). |
java.util.Enumeration |
findAll()
Retrieves all QuantityUnitAccessBeans |
java.lang.String |
getField1()
This method provides access to the QTYUNIT.FIELD1 column of DB2 type VARCHAR(254) NULL. |
java.lang.String |
getQuantityUnitId()
This method provides access to the QTYUNIT.QTYUNIT_ID column of DB2 type CHAR(16) NOT NULL. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setField1(java.lang.String aField1)
This method provides access to the QTYUNIT.FIELD1 column of DB2 type VARCHAR(254) NULL. |
void |
setInitKey_quantityUnitId(java.lang.String aInitKey_quantityUnitId)
Set the primary key for this object |
void |
setQuantityUnitId(java.lang.String aQuantityUnitId)
This method provides access to the QTYUNIT.QTYUNIT_ID column of DB2 type CHAR(16) 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 QuantityUnitAccessBean()
Default constructor. Maps to findByPrimaryKey.
public QuantityUnitAccessBean(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 exceptionpublic QuantityUnitAccessBean(java.lang.String argQuantityUnitId) throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
Maps to a corresponding ejbCreate method in the home interface of the EJB
Creates a QuantityUnitAccessBean with the specified quantity unit
argQuantityUnitId
- Quantity unitjavax.naming.NamingException
- The javax.naming.NamingException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException 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 QuantityUnitAccessBeans
The SQL query used to fetch the requested row from the QTYUNIT table is:
SELECT * FROM QTYUNIT 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.lang.String getField1() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the QTYUNIT.FIELD1 column of DB2 type VARCHAR(254) NULL.
The following is a description of this column:
Customizable.
getField1
in interface QuantityUnitAccessBeanData
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 QTYUNIT.QTYUNIT_ID column of DB2 type CHAR(16) NOT NULL.
The following is a description of this column:
A uniquely assigned identifier. Several identifiers are defined, as specified in the UN/CEFACT Working Party on Facilitation of International Trade Procedures (WP.4), Recommendation No. 20, Codes for Units of Measure Used in International Trade.
getQuantityUnitId
in interface QuantityUnitAccessBeanData
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 setField1(java.lang.String aField1)
This method provides access to the QTYUNIT.FIELD1 column of DB2 type VARCHAR(254) NULL.
The following is a description of this column:
Customizable.
setField1
in interface QuantityUnitAccessBeanData
aField1
- java.lang.Stringpublic void setInitKey_quantityUnitId(java.lang.String aInitKey_quantityUnitId)
Set the primary key for this object
aInitKey_quantityUnitId
- java.lang.Stringpublic void setQuantityUnitId(java.lang.String aQuantityUnitId)
This method provides access to the QTYUNIT.QTYUNIT_ID column of DB2 type CHAR(16) NOT NULL.
The following is a description of this column:
A uniquely assigned identifier. Several identifiers are defined, as specified in the UN/CEFACT Working Party on Facilitation of International Trade Procedures (WP.4), Recommendation No. 20, Codes for Units of Measure Used in International Trade.
setQuantityUnitId
in interface QuantityUnitAccessBeanData
aQuantityUnitId
- java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |