java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.contract.objects.TradingAttachmentRelationAccessBean
This table stores information about the trading to attachment relationship for a TradingAgreement. This access bean corresponds to the database table 'TRDATTACH'.
Constructor Summary | |
TradingAttachmentRelationAccessBean() Zero argument constructor used to initialize the access bean. |
|
TradingAttachmentRelationAccessBean(javax.ejb.EJBObject o) constructor |
|
TradingAttachmentRelationAccessBean(java.lang.Long argTradingId, java.lang.Long argAttachmentId) Constructs an TradingAttachmentRelation object with the specified trading ID, and attachment ID |
Method Summary | |
void | commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected java.lang.String | defaultJNDIName() |
java.util.Enumeration | findByAttachment(java.lang.Long argAttachmentId) Retrieves representing all the trading agreement and attachment relationships that the attachment has. |
java.util.Enumeration | findByTrading(java.lang.Long argTradingId) Retrieves all the trading agreement and attachment relationships that the contract has. |
java.lang.String | getAttachmentId() This method provides access to the TRDATTACH.ATTACHMENT_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getAttachmentIdInEJBType() This method provides access to the TRDATTACH.ATTACHMENT_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String | getTradingId() This method provides access to the TRDATTACH.TRADING_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getTradingIdInEJBType() This method provides access to the TRDATTACH.TRADING_ID column of DB2 type BIGINT NOT NULL. |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() Load data from the EJBObject. |
void | setInitKey_attachmentId(java.lang.String newValue) Set the primary key for this object |
void | setInitKey_tradingId(java.lang.String newValue) Set the primary key for this object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TradingAttachmentRelationAccessBean()
public TradingAttachmentRelationAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public TradingAttachmentRelationAccessBean(java.lang.Long argTradingId, java.lang.Long argAttachmentId) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
Constructs an TradingAttachmentRelation object with the specified trading ID, and attachment ID
Method Detail |
public java.util.Enumeration findByAttachment(java.lang.Long argAttachmentId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves representing all the trading agreement and attachment relationships that the attachment has.
The SQL query used to fetch all the required rows from the TRDATTACH table is:
select * from trdattach T1 where T1.attachment_id = ?
public java.util.Enumeration findByTrading(java.lang.Long argTradingId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all the trading agreement and attachment relationships that the contract has.
The SQL query used to fetch all the required rows from the TRDATTACH table is:
select * from trdattach T1 where T1.trading_id = ?
public void setInitKey_attachmentId(java.lang.String newValue)
Set the primary key for this object
public void setInitKey_tradingId(java.lang.String newValue)
Set the primary key for this object
protected java.lang.String defaultJNDIName()
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.naming.NamingException
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Update(flush) data to the EJBObject (persistent storage).
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
public java.lang.String getAttachmentId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TRDATTACH.ATTACHMENT_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Attachment ID.
public java.lang.Long getAttachmentIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TRDATTACH.ATTACHMENT_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Attachment ID.
public java.lang.String getTradingId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TRDATTACH.TRADING_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
TradingAgreement ID.
public java.lang.Long getTradingIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TRDATTACH.TRADING_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
TradingAgreement ID.
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.