|
||||||||
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.QuantityUnitMappingAccessBean
This bean provides access to the QTYUNITMAP table.
The following is a description of this table:
Each row of this table maps a QuantityUnit (defined in the QTYUNIT table) to a unit of measurement code defined in an external standard.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
QuantityUnitMappingAccessBean()
Default constructor. |
|
QuantityUnitMappingAccessBean(javax.ejb.EJBObject ejbObject)
Creates an access bean for the specified EJB |
Method Summary | |
void |
commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage). |
QuantityUnitMappingAccessBean |
findByQuantityUnitAndUOMStandard(java.lang.String argQuantityUnitId,
java.lang.String argUOMStandard)
Retrieves all QuantityUnitMappingAccessBean according to the search criteria |
java.lang.String |
getField1()
This method provides access to the QTYUNITMAP.FIELD1 column of DB2 type VARCHAR(254) NULL. |
java.lang.String |
getQuantityUnitId()
This method provides access to the QTYUNITMAP.QTYUNIT_ID column of DB2 type CHAR(16) NOT NULL. |
java.lang.String |
getUomCode()
This method provides access to the QTYUNITMAP.UOMCODE column of DB2 type VARCHAR(16) NOT NULL. |
java.lang.String |
getUomStandard()
This method provides access to the QTYUNITMAP.UOMSTANDARD column of DB2 type VARCHAR(32) NOT NULL. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setField1(java.lang.String aField1)
This method provides access to the QTYUNITMAP.FIELD1 column of DB2 type VARCHAR(254) NULL. |
void |
setInitKey_uomCode(java.lang.String aInitKey_uomCode)
Set the primary key for this object |
void |
setInitKey_uomStandard(java.lang.String aInitKey_uomStandard)
Set the primary key for this object |
void |
setQuantityUnitId(java.lang.String aQuantityUnitId)
This method provides access to the QTYUNITMAP.QTYUNIT_ID column of DB2 type CHAR(16) NOT NULL. |
void |
setUomCode(java.lang.String aUomCode)
This method provides access to the QTYUNITMAP.UOMCODE column of DB2 type VARCHAR(16) NOT NULL. |
void |
setUomStandard(java.lang.String aUomStandard)
This method provides access to the QTYUNITMAP.UOMSTANDARD column of DB2 type VARCHAR(32) 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 QuantityUnitMappingAccessBean()
Default constructor. Maps to findByPrimaryKey.
public QuantityUnitMappingAccessBean(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 QuantityUnitMappingAccessBean findByQuantityUnitAndUOMStandard(java.lang.String argQuantityUnitId, java.lang.String argUOMStandard) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all QuantityUnitMappingAccessBean according to the search criteria
The SQL query used to fetch the requested row from the QTYUNITMAP table is:
SELECT * FROM QTYUNITMAP T1 WHERE T1.QTYUNIT_ID=? AND T1.UOMSTANDARD =?
argQuantityUnitId
- Quantity unit idargUOMStandard
- UOM Standardjava.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 QTYUNITMAP.FIELD1 column of DB2 type VARCHAR(254) NULL.
The following is a description of this column:
Customizable.
getField1
in interface QuantityUnitMappingAccessBeanData
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 QTYUNITMAP.QTYUNIT_ID column of DB2 type CHAR(16) NOT NULL.
The following is a description of this column:
The QuantityUnit.
getQuantityUnitId
in interface QuantityUnitMappingAccessBeanData
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 getUomCode() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the QTYUNITMAP.UOMCODE column of DB2 type VARCHAR(16) NOT NULL.
The following is a description of this column:
The unit of measurement code for the external standard.
getUomCode
in interface QuantityUnitMappingAccessBeanData
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 getUomStandard() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the QTYUNITMAP.UOMSTANDARD column of DB2 type VARCHAR(32) NOT NULL.
The following is a description of this column:
The external standard.
getUomStandard
in interface QuantityUnitMappingAccessBeanData
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 QTYUNITMAP.FIELD1 column of DB2 type VARCHAR(254) NULL.
The following is a description of this column:
Customizable.
setField1
in interface QuantityUnitMappingAccessBeanData
aField1
- java.lang.Stringpublic void setInitKey_uomCode(java.lang.String aInitKey_uomCode)
Set the primary key for this object
aInitKey_uomCode
- java.lang.Stringpublic void setInitKey_uomStandard(java.lang.String aInitKey_uomStandard)
Set the primary key for this object
aInitKey_uomStandard
- java.lang.Stringpublic void setQuantityUnitId(java.lang.String aQuantityUnitId)
This method provides access to the QTYUNITMAP.QTYUNIT_ID column of DB2 type CHAR(16) NOT NULL.
The following is a description of this column:
The QuantityUnit.
setQuantityUnitId
in interface QuantityUnitMappingAccessBeanData
aQuantityUnitId
- java.lang.Stringpublic void setUomCode(java.lang.String aUomCode)
This method provides access to the QTYUNITMAP.UOMCODE column of DB2 type VARCHAR(16) NOT NULL.
The following is a description of this column:
The unit of measurement code for the external standard.
setUomCode
in interface QuantityUnitMappingAccessBeanData
aUomCode
- java.lang.Stringpublic void setUomStandard(java.lang.String aUomStandard)
This method provides access to the QTYUNITMAP.UOMSTANDARD column of DB2 type VARCHAR(32) NOT NULL.
The following is a description of this column:
The external standard.
setUomStandard
in interface QuantityUnitMappingAccessBeanData
aUomStandard
- java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |