public class CompositeProductDataBean extends CompositeCatalogEntryAccessBean implements com.ibm.commerce.catalog.beans.CompositeProductInputDataBean, com.ibm.commerce.catalog.beans.CompositeProductSmartDataBean
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
The internal copyright field.
|
| Constructor and Description |
|---|
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. |
| Modifier and Type | Method and Description |
|---|---|
FormattedQuantityAmountDataBean |
getFormattedQuantity()
Gets the quantity as a FormattedQuantityAmountDataBean
|
ProductDataBean |
getProduct()
Gets a bean that represents the composite product.
|
java.lang.String |
getQuantity()
Gets the quantity of composite products.
|
void |
setProduct(ProductDataBean abnProduct)
Sets the composite product.
|
findBundleComponents, findPackageComponents, getCompositeCatalogEntry, getEntity, getField1, getField2, getField2InEntityType, getField3, getField3InEntityType, getFromCatalogEntryReferenceNumber, getFromCatalogEntryReferenceNumberInEntityType, getGroupName, getOid, getQuantityInEntityType, getRelationship_type, getToCatalogEntryReferenceNumber, getToCatalogEntryReferenceNumberInEntityType, instantiateEntity, setField1, setField2, setField2, setField3, setField3, setFromCatalogEntryReferenceNumber, setFromCatalogEntryReferenceNumber, setGroupName, setInitKey_fromCatalogEntryReferenceNumber, setInitKey_fromCatalogEntryReferenceNumber, setInitKey_relationship_type, setInitKey_toCatalogEntryReferenceNumber, setInitKey_toCatalogEntryReferenceNumber, setOid, setQuantity, setQuantity, setToCatalogEntryReferenceNumber, setToCatalogEntryReferenceNumberpublic static final java.lang.String COPYRIGHT
public CompositeProductDataBean()
CompositeProductDataBean.public CompositeProductDataBean(CompositeCatalogEntryAccessBean abCompCatEntry)
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)
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.public ProductDataBean getProduct()
getProduct in interface com.ibm.commerce.catalog.beans.CompositeProductSmartDataBeanProductDataBean.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()
getQuantity in interface com.ibm.commerce.catalog.beans.CompositeProductSmartDataBeangetQuantity in class CompositeCatalogEntryAccessBeanCreateException - 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 void setProduct(ProductDataBean abnProduct)
setProduct in interface com.ibm.commerce.catalog.beans.CompositeProductInputDataBeanabnItem - The ProductDataBean.public FormattedQuantityAmountDataBean getFormattedQuantity()
com.ibm.commerce.price.beans.FormattedQuantityAmountDataBean with the quantity