com.ibm.commerce.contract.beans
Class TradingAttachmentRelationDataBean
- java.lang.Object
-
- com.ibm.commerce.persistence.AbstractJpaEntityAccessBean
-
- com.ibm.commerce.contract.objects.TradingAttachmentRelationAccessBean
-
- com.ibm.commerce.contract.beansrc.TradingAttachmentRelationDataBeanBase
-
- com.ibm.commerce.contract.beans.TradingAttachmentRelationDataBean
-
- All Implemented Interfaces:
- com.ibm.commerce.beans.DataBean, com.ibm.commerce.beans.InputDataBean, com.ibm.commerce.beans.SmartDataBean, TradingAttachmentRelationInputDataBean, TradingAttachmentRelationSmartDataBean, com.ibm.commerce.security.Delegator, java.io.Serializable
public class TradingAttachmentRelationDataBean extends TradingAttachmentRelationDataBeanBase implements TradingAttachmentRelationInputDataBean, TradingAttachmentRelationSmartDataBean
This data bean represents a trading agreement attachment object. It refers to the attachment relationship for the trading.
Prerequisite parameters: - WCSTradingId: the trading agreement id
- WCSAttachmentId: the trading agreement attachment id
It is used when getting the trading agreement attachment data from the database.
This data bean maps to the TRDATTACH database table.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.String
COPYRIGHT
The IBM copyright notice field.
-
Constructor Summary
Constructors Constructor and Description TradingAttachmentRelationDataBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description com.ibm.commerce.command.CommandContext
getCommandContext()
Gets the command context set within this bean.java.lang.String
getDataBeanKeyAttachmentId()
Gets the attachment ID.java.lang.String
getDataBeanKeyTradingId()
Gets the trading agreement ID.com.ibm.commerce.datatype.TypedProperty
getRequestProperties()
Gets the request property set within this bean.void
populate()
Loads data into the data bean when theDataBeanManager.activate()
runs.void
setCommandContext(com.ibm.commerce.command.CommandContext aCommandContext)
Sets the command context within this bean.void
setDataBeanKeyAttachmentId(java.lang.String aAttachmentId)
Sets the attachment ID.void
setDataBeanKeyTradingId(java.lang.String aTradingId)
Sets the trading agreement ID.void
setRequestProperties(com.ibm.commerce.datatype.TypedProperty aRequestProperty)
Sets the request property within this bean.-
Methods inherited from class com.ibm.commerce.contract.beansrc.TradingAttachmentRelationDataBeanBase
getDelegate
-
Methods inherited from class com.ibm.commerce.contract.objects.TradingAttachmentRelationAccessBean
findByAttachment, findByTrading, getAttachmentId, getAttachmentIdInEntityType, getEntity, getTradingId, getTradingIdInEntityType, instantiateEntity, setInitKey_attachmentId, setInitKey_attachmentId, setInitKey_tradingId, setInitKey_tradingId
-
-
-
-
Field Detail
-
COPYRIGHT
public static final java.lang.String COPYRIGHT
The IBM copyright notice field.- See Also:
- Constant Field Values
-
-
Method Detail
-
getCommandContext
public com.ibm.commerce.command.CommandContext getCommandContext()
Gets the command context set within this bean.- Specified by:
getCommandContext
in interfacecom.ibm.commerce.beans.SmartDataBean
- Returns:
- com.ibm.commerce.command.CommandContext
-
getDataBeanKeyAttachmentId
public java.lang.String getDataBeanKeyAttachmentId()
Gets the attachment ID.- Specified by:
getDataBeanKeyAttachmentId
in interfaceTradingAttachmentRelationSmartDataBean
- Returns:
- The attachment ID.
-
getDataBeanKeyTradingId
public java.lang.String getDataBeanKeyTradingId()
Gets the trading agreement ID.- Specified by:
getDataBeanKeyTradingId
in interfaceTradingAttachmentRelationSmartDataBean
- Returns:
- The trading agreement ID.
-
getRequestProperties
public com.ibm.commerce.datatype.TypedProperty getRequestProperties()
Gets the request property set within this bean.- Specified by:
getRequestProperties
in interfacecom.ibm.commerce.beans.InputDataBean
- Returns:
- The request property set within this bean.
-
populate
public void populate()
Loads data into the data bean when theDataBeanManager.activate()
runs.- Specified by:
populate
in interfacecom.ibm.commerce.beans.SmartDataBean
- Throws:
java.lang.Exception
- The java.lang.Exception exception.
-
setCommandContext
public void setCommandContext(com.ibm.commerce.command.CommandContext aCommandContext)
Sets the command context within this bean.- Specified by:
setCommandContext
in interfacecom.ibm.commerce.beans.SmartDataBean
- Parameters:
aCommandContext
- The command context set within this bean.
-
setDataBeanKeyAttachmentId
public void setDataBeanKeyAttachmentId(java.lang.String aAttachmentId)
Sets the attachment ID.- Specified by:
setDataBeanKeyAttachmentId
in interfaceTradingAttachmentRelationInputDataBean
- Parameters:
aAttachmentId
- The attachment ID.
-
setDataBeanKeyTradingId
public void setDataBeanKeyTradingId(java.lang.String aTradingId)
Sets the trading agreement ID.- Specified by:
setDataBeanKeyTradingId
in interfaceTradingAttachmentRelationInputDataBean
- Parameters:
aTradingId
- The trading agreement ID.
-
setRequestProperties
public void setRequestProperties(com.ibm.commerce.datatype.TypedProperty aRequestProperty)
Sets the request property within this bean.- Specified by:
setRequestProperties
in interfacecom.ibm.commerce.beans.InputDataBean
- Parameters:
aRequestProperty
- The request property set within this bean.
-
-