public class TradingAttachmentRelationAccessBean extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean implements TradingAttachmentRelationAccessBeanData
Constructor and Description |
---|
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
|
Modifier and Type | Method and Description |
---|---|
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 accesses a non-CMP field
|
java.lang.Long | getAttachmentIdInEJBType()
This method accesses a non-CMP field
|
java.lang.String | getTradingId()
This method accesses a non-CMP field
|
java.lang.Long | getTradingIdInEJBType()
This method accesses a non-CMP field
|
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
|
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
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
public java.lang.Long getAttachmentIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.String getTradingId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Long getTradingIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException