java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean | +--com.ibm.commerce.catalog.objects.CompositeCatalogEntryAccessBean | +--com.ibm.commerce.catalog.beans.CompositeProductDataBean
This bean represents a composite Product.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT The internal copyright field. |
Constructor Summary | |
---|---|
CompositeProductDataBean() Constructs an empty CompositeProductDataBean . | |
CompositeProductDataBean(
CompositeCatalogEntryAccessBean abCompCatEntry) Constructs a CompositeProductDataBean from a
CompositeCatalogEntryAccessBean . | |
CompositeProductDataBean(
CompositeCatalogEntryAccessBean abCompCatEntry,
CommandContext aCommandContext) Constructs a CompositeProductDataBean from a
CompositeCatalogEntryAccessBean and a command
context. |
Method Summary | |
---|---|
ProductDataBean |
getProduct() Gets a bean that represents the composed product. |
java.lang.String |
getQuantity() Gets the quantity of composite products. |
protected
void |
setCommandContext(
CommandContext aCommandContext) Sets the command context passed in at run time. |
void |
setProduct(
ProductDataBean abnProduct) Sets the composed product. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
Constructor Detail |
---|
public CompositeProductDataBean()
CompositeProductDataBean
.
public CompositeProductDataBean(CompositeCatalogEntryAccessBean abCompCatEntry) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException, javax.ejb.CreateException
CompositeProductDataBean
from a
CompositeCatalogEntryAccessBean
.
abCompCatEntry
- The
CompositeCatalogEntryAccessBean
.CreateException
- In the execution of the method, a create
exception occurs.FinderException
- In the execution of the method, a finder
exception occurs.NamingException
- In the execution of the method, a naming
exception occurs.RemoteException
- In the execution of the method, a remote
exception occurs.public CompositeProductDataBean(CompositeCatalogEntryAccessBean abCompCatEntry, CommandContext aCommandContext) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException, javax.ejb.CreateException
CompositeProductDataBean
from a
CompositeCatalogEntryAccessBean
and a command context.
abCompCatEntry
- The
CompositeCatalogEntryAccessBean
.aCommandContext
- The command context as
CommandContext
object.CreateException
- In the execution of the method, a create
exception occurs.FinderException
- In the execution of the method, a finder
exception occurs.NamingException
- In the execution of the method, a naming
exception occurs.RemoteException
- In the execution of the method, a remote
exception occurs.Method Detail |
---|
public ProductDataBean getProduct() throws javax.ejb.FinderException, javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException
ProductDataBean
.CreateException
- In the execution of the method, a create
exception occurs.FinderException
- In the execution of the method, a finder
exception occurs.NamingException
- In the execution of the method, a naming
exception occurs.RemoteException
- In the execution of the method, a remote
exception occurs.public java.lang.String getQuantity() throws javax.ejb.FinderException, javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException
getQuantity
in interface
CompositeCatalogEntryAccessBeanData
getQuantity
in class
CompositeCatalogEntryAccessBean
CreateException
- In the execution of the method, a create
exception occurs.FinderException
- In the execution of the method, a finder
exception occurs.NamingException
- In the execution of the method, a naming
exception occurs.RemoteException
- In the execution of the method, a remote
exception occurs.javax.naming.NamingException
java.rmi.RemoteException
protected void setCommandContext(CommandContext aCommandContext)
aCommandContext
- The command context as
CommandContext
object.public void setProduct(ProductDataBean abnProduct)