com.ibm.commerce.contract.objimpl
Class TradingAttachmentRelationBeanBase

java.lang.Object
  com.ibm.commerce.base.objects.ECEntityBean
      com.ibm.commerce.contract.objimpl.TradingAttachmentRelationBeanBase
Direct Known Subclasses:
TradingAttachmentRelationBean

public class TradingAttachmentRelationBeanBase
extends com.ibm.commerce.base.objects.ECEntityBean

This bean provides access to the TRDATTACH table.

The following is a description of this table:

The trading to attachment relationship table.

See Also:
Serialized Form

Field Summary
java.lang.Long attachmentId
java.lang.Long tradingId
Constructor Summary
TradingAttachmentRelationBeanBase()
Method Summary
com.ibm.commerce.contract.objects.TradingAttachmentRelationKey ejbCreate(java.lang.Long argTradingId, java.lang.Long argAttachmentId)
Constructs an TradingAttachmentRelationAccessBean object with the specified trading ID, and attachment ID
java.lang.Long getAttachmentId()
This method provides access to the TRDATTACH.ATTACHMENT_ID column of DB2 type BIGINT NOT NULL.
java.lang.Long getTradingId()
This method provides access to the TRDATTACH.ATTACHMENT_ID column of DB2 type BIGINT NOT NULL.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Field Detail

tradingId

public java.lang.Long tradingId

attachmentId

public java.lang.Long attachmentId
Constructor Detail

TradingAttachmentRelationBeanBase

public TradingAttachmentRelationBeanBase()
Method Detail

ejbCreate

public com.ibm.commerce.contract.objects.TradingAttachmentRelationKey ejbCreate(java.lang.Long argTradingId,
                                                                                java.lang.Long argAttachmentId)
                                                                         throws javax.ejb.CreateException
Constructs an TradingAttachmentRelationAccessBean object with the specified trading ID, and attachment ID
Parameters:
argTradingId - The ID of the trading agreement.
argAttachmentId - The ID of the attachment.
Throws:
javax.ejb.CreateException - The javax.ejb.CreateException exception.

getAttachmentId

public java.lang.Long getAttachmentId()

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.

Returns:
The ID of the attachment.

getTradingId

public java.lang.Long getTradingId()

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.

Returns:
The ID of the trading agreement.

Feedback