|
||||||||
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.QuantityUnitDescriptionAccessBean
This bean provides access to the QTYUNITDSC table.
The following is a description of this table:
Each row in this table describes a QuantityUnit in a particular language.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
QuantityUnitDescriptionAccessBean()
Default constructor. |
|
QuantityUnitDescriptionAccessBean(javax.ejb.EJBObject ejbObject)
Creates an access bean for the specified EJB |
|
QuantityUnitDescriptionAccessBean(java.lang.String argQuantityUnitId,
java.lang.Integer argLanguageId)
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 |
findByLanguage(java.lang.Integer languageId)
Retrieves all QuantityUnitDescriptionAccessBeans by language id |
java.lang.String |
getDescription()
This method provides access to the QTYUNITDSC.DESCRIPTION column of DB2 type VARCHAR(254) NULL. |
java.lang.String |
getLanguage_id()
This method provides access to the QTYUNITDSC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getLanguage_idInEJBType()
This method provides access to the QTYUNITDSC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.String |
getQuantityUnitId()
This method provides access to the QTYUNITDSC.QTYUNIT_ID column of DB2 type CHAR(16) NOT NULL. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setDescription(java.lang.String aDescription)
This method provides access to the QTYUNITDSC.DESCRIPTION column of DB2 type VARCHAR(254) NULL. |
void |
setInitKey_language_id(java.lang.String aInitKey_language_id)
Set the primary key for this object |
void |
setInitKey_quantityUnitId(java.lang.String aInitKey_quantityUnitId)
Set the primary key for this object |
void |
setLanguage_id(java.lang.Integer aLanguage_id)
This method provides access to the QTYUNITDSC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL. |
void |
setLanguage_id(java.lang.String aLanguage_id)
This method provides access to the QTYUNITDSC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL. |
void |
setQuantityUnitId(java.lang.String aQuantityUnitId)
This method provides access to the QTYUNITDSC.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 QuantityUnitDescriptionAccessBean()
Default constructor. Maps to findByPrimaryKey.
public QuantityUnitDescriptionAccessBean(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 QuantityUnitDescriptionAccessBean(java.lang.String argQuantityUnitId, java.lang.Integer argLanguageId) 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 QuantityUnitDescriptionAccessBean with the specified quantity unit id and language id
argQuantityUnitId
- Quantity unit idargLanguageId
- Language idjavax.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 findByLanguage(java.lang.Integer languageId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all QuantityUnitDescriptionAccessBeans by language id
The SQL query used to fetch the requested row from the QTYUNITDSC table is:
SELECT * FROM QTYUNITDSC T1 WHERE T1.language_id = ? ORDER BY T1.DESCRIPTION
languageId
- Language idjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getDescription() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the QTYUNITDSC.DESCRIPTION column of DB2 type VARCHAR(254) NULL.
The following is a description of this column:
The description of the QuantityUnit.
getDescription
in interface QuantityUnitDescriptionAccessBeanData
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 getLanguage_id() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the QTYUNITDSC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The language of the description. For a list of language components, see the LANGUAGE table.
getLanguage_id
in interface QuantityUnitDescriptionAccessBeanData
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 getLanguage_idInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the QTYUNITDSC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The language of the description. For a list of language components, see the LANGUAGE table.
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 QTYUNITDSC.QTYUNIT_ID column of DB2 type CHAR(16) NOT NULL.
The following is a description of this column:
The QuantityUnit.
getQuantityUnitId
in interface QuantityUnitDescriptionAccessBeanData
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 setDescription(java.lang.String aDescription)
This method provides access to the QTYUNITDSC.DESCRIPTION column of DB2 type VARCHAR(254) NULL.
The following is a description of this column:
The description of the QuantityUnit.
setDescription
in interface QuantityUnitDescriptionAccessBeanData
aDescription
- java.lang.Stringpublic void setInitKey_language_id(java.lang.String aInitKey_language_id)
Set the primary key for this object
aInitKey_language_id
- java.lang.Stringpublic void setInitKey_quantityUnitId(java.lang.String aInitKey_quantityUnitId)
Set the primary key for this object
aInitKey_quantityUnitId
- java.lang.Stringpublic void setLanguage_id(java.lang.Integer aLanguage_id)
This method provides access to the QTYUNITDSC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The language of the description. For a list of language components, see the LANGUAGE table.
aLanguage_id
- java.lang.Integerpublic void setLanguage_id(java.lang.String aLanguage_id)
This method provides access to the QTYUNITDSC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The language of the description. For a list of language components, see the LANGUAGE table.
setLanguage_id
in interface QuantityUnitDescriptionAccessBeanData
aLanguage_id
- java.lang.Stringpublic void setQuantityUnitId(java.lang.String aQuantityUnitId)
This method provides access to the QTYUNITDSC.QTYUNIT_ID column of DB2 type CHAR(16) NOT NULL.
The following is a description of this column:
The QuantityUnit.
setQuantityUnitId
in interface QuantityUnitDescriptionAccessBeanData
aQuantityUnitId
- java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |