public class CompositePackageDataBean extends CompositeCatalogEntryAccessBean implements com.ibm.commerce.catalog.beans.CompositePackageInputDataBean, com.ibm.commerce.catalog.beans.CompositePackageSmartDataBean
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
The internal copyright field.
|
Constructor and Description |
---|
CompositePackageDataBean()
Constructs an empty
CompositePackageDataBean . |
CompositePackageDataBean(CompositeCatalogEntryAccessBean abCompCatEntry)
Constructs a
CompositePackageDataBean from a CompositeCatalogEntryAccessBean . |
CompositePackageDataBean(CompositeCatalogEntryAccessBean abCompCatEntry,
CommandContext aCommandContext)
Constructs a
CompositePackageDataBean from a CompositeCatalogEntryAccessBean and a command context. |
Modifier and Type | Method and Description |
---|---|
FormattedQuantityAmountDataBean |
getFormattedQuantity()
Gets the quantity as a FormattedQuantityAmountDataBean
|
PackageDataBean |
getPackage()
Gets a bean that represents the composite package.
|
java.lang.String |
getQuantity()
Gets the quantity of composite packages.
|
void |
setPackage(PackageDataBean abnPackage)
Sets the composite package.
|
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, setToCatalogEntryReferenceNumber
public static final java.lang.String COPYRIGHT
public CompositePackageDataBean()
CompositePackageDataBean
.public CompositePackageDataBean(CompositeCatalogEntryAccessBean abCompCatEntry)
CompositePackageDataBean
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 CompositePackageDataBean(CompositeCatalogEntryAccessBean abCompCatEntry, CommandContext aCommandContext)
CompositePackageDataBean
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 PackageDataBean getPackage()
getPackage
in interface com.ibm.commerce.catalog.beans.CompositePackageSmartDataBean
PackageDataBean
.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.CompositePackageSmartDataBean
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.public void setPackage(PackageDataBean abnPackage)
setPackage
in interface com.ibm.commerce.catalog.beans.CompositePackageInputDataBean
abnPackage
- The PackageDataBean
.public FormattedQuantityAmountDataBean getFormattedQuantity()
com.ibm.commerce.price.beans.FormattedQuantityAmountDataBean
with the quantity