com.ibm.commerce.catalog.beans
Class CompositeProductDataBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
        |
        +--com.ibm.commerce.catalog.objects.CompositeCatalogEntryAccessBean
              |
              +--com.ibm.commerce.catalog.beans.CompositeProductDataBean
All Implemented Interfaces:
CompositeCatalogEntryAccessBeanData

public class CompositeProductDataBean
extends CompositeCatalogEntryAccessBean

This bean represents a composite Product.

See Also:
Serialized Form

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 com.ibm.commerce.catalog.objects. CompositeCatalogEntryAccessBean
commitCopyHelper, defaultJNDIName, findBundleComponents, findPackageComponents, getCompositeCatalogEntry, getField1, getField2, getField2InEJBType, getField3, getField3InEJBType, getFromCatalogEntryReferenceNumber, getFromCatalogEntryReferenceNumberInEJBType, getGroupName, getOid, getQuantityInEJBType, getToCatalogEntryReferenceNumber, getToCatalogEntryReferenceNumberInEJBType, instantiateEJB, instantiateEJBByPrimaryKey, refreshCopyHelper, setField1, setField2, setField2, setField3, setField3, setFromCatalogEntryReferenceNumber, setFromCatalogEntryReferenceNumber, setGroupName, setInitKey_fromCatalogEntryReferenceNumber, setInitKey_relationship_type, setInitKey_toCatalogEntryReferenceNumber, setOid, setQuantity, setQuantity, setToCatalogEntryReferenceNumber, setToCatalogEntryReferenceNumber
 
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
The internal copyright field.
See Also:
Constant Field Values
Constructor Detail

CompositeProductDataBean

public CompositeProductDataBean()
Constructs an empty CompositeProductDataBean.

CompositeProductDataBean

public CompositeProductDataBean(CompositeCatalogEntryAccessBean abCompCatEntry)
                         throws java.rmi.RemoteException,
                                javax.ejb.FinderException,
                                javax.naming.NamingException,
                                javax.ejb.CreateException
Constructs a CompositeProductDataBean from a CompositeCatalogEntryAccessBean.
Parameters:
abCompCatEntry - The CompositeCatalogEntryAccessBean.
Throws:
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.

CompositeProductDataBean

public CompositeProductDataBean(CompositeCatalogEntryAccessBean abCompCatEntry,
CommandContext aCommandContext)
                         throws java.rmi.RemoteException,
                                javax.ejb.FinderException,
                                javax.naming.NamingException,
                                javax.ejb.CreateException
Constructs a CompositeProductDataBean from a CompositeCatalogEntryAccessBean and a command context.
Parameters:
abCompCatEntry - The CompositeCatalogEntryAccessBean.
aCommandContext - The command context as CommandContext object.
Throws:
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

getProduct

public ProductDataBean getProduct()
                           throws javax.ejb.FinderException,
                                  javax.naming.NamingException,
                                  javax.ejb.CreateException,
                                  java.rmi.RemoteException
Gets a bean that represents the composed product.
Returns:
The ProductDataBean.
Throws:
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.

getQuantity

public java.lang.String getQuantity()
                             throws javax.ejb.FinderException,
                                    javax.naming.NamingException,
                                    javax.ejb.CreateException,
                                    java.rmi.RemoteException
Gets the quantity of composite products.
Specified by:
getQuantity in interface CompositeCatalogEntryAccessBeanData
Overrides:
getQuantity in class CompositeCatalogEntryAccessBean
Returns:
The quantity of composite products.
Throws:
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

setCommandContext

protected void setCommandContext(CommandContext aCommandContext)
Sets the command context passed in at run time.
Parameters:
aCommandContext - The command context as CommandContext object.

setProduct

public void setProduct(ProductDataBean abnProduct)
Sets the composed product.