public class CompositeItemDataBean extends CompositeCatalogEntryAccessBean implements com.ibm.commerce.catalog.beans.CompositeItemInputDataBean, com.ibm.commerce.catalog.beans.CompositeItemSmartDataBean
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
The internal copyright field.
|
| Constructor and Description |
|---|
CompositeItemDataBean()
Constructs an empty
CompositeItemDataBean. |
CompositeItemDataBean(CompositeCatalogEntryAccessBean abCompCatEntry)
Constructs a
CompositeItemDataBean from a CompositeCatalogEntryAccessBean. |
CompositeItemDataBean(CompositeCatalogEntryAccessBean abCompCatEntry,
CommandContext aCommandContext)
Constructs a
CompositeItemDataBean from a CompositeCatalogEntryAccessBean and a command context. |
| Modifier and Type | Method and Description |
|---|---|
FormattedQuantityAmountDataBean |
getFormattedQuantity()
Gets the quantity as a FormattedQuantityAmountDataBean
|
ItemDataBean |
getItem()
Gets a bean that represents the composite item.
|
java.lang.String |
getQuantity()
Gets the quantity of composite items.
|
java.lang.String |
getSequence()
Gets the sequence of the composite items.
|
void |
setItem(ItemDataBean abnItem)
Sets the composite item.
|
void |
setSequence(java.lang.String newValue)
Sets the sequence of this composite item.
|
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 CompositeItemDataBean()
CompositeItemDataBean.public CompositeItemDataBean(CompositeCatalogEntryAccessBean abCompCatEntry)
CompositeItemDataBean 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 CompositeItemDataBean(CompositeCatalogEntryAccessBean abCompCatEntry, CommandContext aCommandContext)
CompositeItemDataBean 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 ItemDataBean getItem()
getItem in interface com.ibm.commerce.catalog.beans.CompositeItemSmartDataBeanItemDataBean.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.CompositeItemSmartDataBeangetQuantity 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 java.lang.String getSequence()
aCommandContext - public void setSequence(java.lang.String newValue)
newValue - A String value representing a new sequence number.public void setItem(ItemDataBean abnItem)
setItem in interface com.ibm.commerce.catalog.beans.CompositeItemInputDataBeanabnItem - The ItemDataBean.public FormattedQuantityAmountDataBean getFormattedQuantity()
com.ibm.commerce.price.beans.FormattedQuantityAmountDataBean with the quantity