|
||||||||
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.contract.objects.TradingDescriptionAccessBean
This bean provides access to the TRDDESC table.
The following is a description of this table:
The trading agreement description table.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
TradingDescriptionAccessBean()
Default constructor. |
|
TradingDescriptionAccessBean(javax.ejb.EJBObject Object)
Creates an access bean for the specified EJB |
|
TradingDescriptionAccessBean(java.lang.Long tradingId,
java.lang.Integer langId)
Constructs a TradingDescriptionAccessBean object with the specified trading ID, and the language ID |
Method Summary | |
void |
commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage). |
java.util.Enumeration |
findByTradingAgreement(java.lang.Long tradingId)
Retrieves all the trading description that the trading agreement has. |
java.lang.String |
getLanguageId()
This method provides access to the TRDDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getLanguageIdInEJBType()
This method provides access to the TRDDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.String |
getLongDescription()
This method provides access to the TRDDESC.LONGDESCRIPTION column of DB2 type LONG NULL. |
java.lang.String |
getShortDescription()
This method provides access to the TRDDESC.DESCRIPTION column of DB2 type VARCHAR(254) NULL. |
java.lang.String |
getTimeCreated()
This method provides access to the TRDDESC.TIMECREATED column of DB2 type TIMESTAMP NULL. |
java.sql.Timestamp |
getTimeCreatedInEJBType()
This method provides access to the TRDDESC.TIMECREATED column of DB2 type TIMESTAMP NULL. |
java.lang.String |
getTimeUpdated()
This method provides access to the TRDDESC.TIMEUPDATED column of DB2 type TIMESTAMP NULL. |
java.sql.Timestamp |
getTimeUpdatedInEJBType()
This method provides access to the TRDDESC.TIMEUPDATED column of DB2 type TIMESTAMP NULL. |
java.lang.String |
getTradingId()
This method provides access to the TRDDESC.TRADING_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long |
getTradingIdInEJBType()
This method provides access to the TRDDESC.TRADING_ID column of DB2 type BIGINT NOT NULL. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setInitKey_languageId(java.lang.String aInitKey_languageId)
Set the primary key for this object |
void |
setInitKey_tradingId(java.lang.String aInitKey_tradingId)
Set the primary key for this object |
void |
setLanguageId(java.lang.Integer aLanguageId)
This method provides access to the TRDDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL. |
void |
setLanguageId(java.lang.String aLanguageId)
This method provides access to the TRDDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL. |
void |
setLongDescription(java.lang.String aLongDescription)
This method provides access to the TRDDESC.LONGDESCRIPTION column of DB2 type LONG NULL. |
void |
setShortDescription(java.lang.String aShortDescription)
This method provides access to the TRDDESC.DESCRIPTION column of DB2 type VARCHAR(254) NULL. |
void |
setTimeCreated(java.lang.String aTimeCreated)
This method provides access to the TRDDESC.TIMECREATED column of DB2 type TIMESTAMP NULL. |
void |
setTimeCreated(java.sql.Timestamp aTimeCreated)
This method provides access to the TRDDESC.TIMECREATED column of DB2 type TIMESTAMP NULL. |
void |
setTimeUpdated(java.lang.String aTimeUpdated)
This method provides access to the TRDDESC.TIMEUPDATED column of DB2 type TIMESTAMP NULL. |
void |
setTimeUpdated(java.sql.Timestamp aTimeUpdated)
This method provides access to the TRDDESC.TIMEUPDATED column of DB2 type TIMESTAMP NULL. |
void |
setTradingId(java.lang.Long aTradingId)
This method provides access to the TRDDESC.TRADING_ID column of DB2 type BIGINT NOT NULL. |
void |
setTradingId(java.lang.String aTradingId)
This method provides access to the TRDDESC.TRADING_ID column of DB2 type BIGINT 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 TradingDescriptionAccessBean()
Default constructor. Maps to findByPrimaryKey.
public TradingDescriptionAccessBean(javax.ejb.EJBObject Object) throws java.rmi.RemoteException
Creates an access bean for the specified EJB
object
- The EJB Object used for the access bean construction.java.rmi.RemoteException
- The java.rmi.RemoteException exceptionpublic TradingDescriptionAccessBean(java.lang.Long tradingId, java.lang.Integer langId) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
Constructs a TradingDescriptionAccessBean object with the specified trading ID, and the language ID
tradingId
- The ID of the trading agreement.langId
- The language ID.javax.ejb.CreateException
- The javax.ejb.CreateException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.naming.NamingException
- The javax.naming.NamingException 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 findByTradingAgreement(java.lang.Long tradingId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the trading description that the trading agreement has.
The SQL query used to fetch all the required rows from the TRDDESC table is:
select * from trddesc T1 where T1.trading_id = ?
tradingId
- The ID of the trading agreement.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 getLanguageId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TRDDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The language ID. For a list of language components, see the LANGUAGE table.
getLanguageId
in interface TradingDescriptionAccessBeanData
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 getLanguageIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TRDDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The language ID. 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 getLongDescription() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TRDDESC.LONGDESCRIPTION column of DB2 type LONG NULL.
The following is a description of this column:
Trading agreement long description.
getLongDescription
in interface TradingDescriptionAccessBeanData
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 getShortDescription() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TRDDESC.DESCRIPTION column of DB2 type VARCHAR(254) NULL.
The following is a description of this column:
Trading agreement short description.
getShortDescription
in interface TradingDescriptionAccessBeanData
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 getTimeCreated() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TRDDESC.TIMECREATED column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
Time created.
getTimeCreated
in interface TradingDescriptionAccessBeanData
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.sql.Timestamp getTimeCreatedInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TRDDESC.TIMECREATED column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
Time created.
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 getTimeUpdated() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TRDDESC.TIMEUPDATED column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
Time updated.
getTimeUpdated
in interface TradingDescriptionAccessBeanData
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.sql.Timestamp getTimeUpdatedInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TRDDESC.TIMEUPDATED column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
Time updated.
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 getTradingId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TRDDESC.TRADING_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Trading ID.
getTradingId
in interface TradingDescriptionAccessBeanData
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.Long getTradingIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TRDDESC.TRADING_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Trading ID.
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 setInitKey_languageId(java.lang.String aInitKey_languageId)
Set the primary key for this object
aInitKey_languageId
- The language ID.public void setInitKey_tradingId(java.lang.String aInitKey_tradingId)
Set the primary key for this object
aInitKey_tradingId
- The ID of the trading agreement.public void setLanguageId(java.lang.Integer aLanguageId)
This method provides access to the TRDDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The language ID. For a list of language components, see the LANGUAGE table.
aLanguageId
- The language ID.public void setLanguageId(java.lang.String aLanguageId)
This method provides access to the TRDDESC.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The language ID. For a list of language components, see the LANGUAGE table.
setLanguageId
in interface TradingDescriptionAccessBeanData
aLanguageId
- The language ID.public void setLongDescription(java.lang.String aLongDescription)
This method provides access to the TRDDESC.LONGDESCRIPTION column of DB2 type LONG NULL.
The following is a description of this column:
Trading agreement long description.
setLongDescription
in interface TradingDescriptionAccessBeanData
aLongDescription
- The trading agreement long description.public void setShortDescription(java.lang.String aShortDescription)
This method provides access to the TRDDESC.DESCRIPTION column of DB2 type VARCHAR(254) NULL.
The following is a description of this column:
Trading agreement short description.
setShortDescription
in interface TradingDescriptionAccessBeanData
aShortDescription
- The trading agreement short description.public void setTimeCreated(java.lang.String aTimeCreated)
This method provides access to the TRDDESC.TIMECREATED column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
Time created.
setTimeCreated
in interface TradingDescriptionAccessBeanData
aTimeCreated
- The time the trading agreement description was created.public void setTimeCreated(java.sql.Timestamp aTimeCreated)
This method provides access to the TRDDESC.TIMECREATED column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
Time created.
aTimeCreated
- The time the trading agreement description was created.public void setTimeUpdated(java.lang.String aTimeUpdated)
This method provides access to the TRDDESC.TIMEUPDATED column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
Time updated.
setTimeUpdated
in interface TradingDescriptionAccessBeanData
aTimeUpdated
- The time the trading agreement description was most recently updated.public void setTimeUpdated(java.sql.Timestamp aTimeUpdated)
This method provides access to the TRDDESC.TIMEUPDATED column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
Time updated.
aTimeUpdated
- The time the trading agreement was most recently updated.public void setTradingId(java.lang.Long aTradingId)
This method provides access to the TRDDESC.TRADING_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Trading ID.
aTradingId
- The ID of the trading agreement.public void setTradingId(java.lang.String aTradingId)
This method provides access to the TRDDESC.TRADING_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Trading ID.
setTradingId
in interface TradingDescriptionAccessBeanData
aTradingId
- The ID of the trading agreement.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |