com.ibm.commerce.catalog.beans
Class RelatedPackageDataBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
        |
        +--com.ibm.commerce.catalog.objects.RelatedCatalogEntryAccessBean
              |
              +--com.ibm.commerce.catalog.beans.RelatedPackageDataBean
All Implemented Interfaces:
RelatedCatalogEntryAccessBeanData

public class RelatedPackageDataBean
extends RelatedCatalogEntryAccessBean

This bean represents a related Package.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
          The internal copyright field.
 
Constructor Summary
RelatedPackageDataBean()
          Creates an empty RelatedPackageDataBean.
RelatedPackageDataBean( RelatedCatalogEntryAccessBean abRelCatEntry)
          Creates a RelatedPackageDataBean from a RelatedCatalogEntryAccessBean.
RelatedPackageDataBean( RelatedCatalogEntryAccessBean abRelCatEntry, CommandContext aCommandContext)
          Creates a RelatedPackageDataBean from a RelatedCatalogEntryAccessBean and a command context.
 
Method Summary
  PackageDataBean getPackage()
          Returns a bean that represents the related Package.
protected  void setCommandContext( CommandContext aCommandContext)
          Sets the command context.
 void setPackage( PackageDataBean abnPackage)
          Sets the related Package.
 
Methods inherited from class com.ibm.commerce.catalog.objects. RelatedCatalogEntryAccessBean
commitCopyHelper, defaultJNDIName, findByCatalogEntryAccessories, findByCatalogEntryAccessoriesAndStore, findByCatalogEntryAccessory, findByCatalogEntryAccessoryAndStore, findByCatalogEntryAccessoryWithSemantic, findByCatalogEntryAccessoryWithSemanticAndStore, findByCatalogEntryAndMAssocTypeAndStore, findByCatalogEntryAndMAssocTypeAndStore, findByCatalogEntryAndStore, findByCatalogEntryCrossSell, findByCatalogEntryCrossSellAndStore, findByCatalogEntryCrossSells, findByCatalogEntryCrossSellsAndStore, findByCatalogEntryCrossSellWithSemantic, findByCatalogEntryCrossSellWithSemanticAndStore, findByCatalogEntryUpSell, findByCatalogEntryUpSellAndStore, findByCatalogEntryUpSells, findByCatalogEntryUpSellsAndStore, findByCatalogEntryUpSellWithSemantic, findByCatalogEntryUpSellWithSemanticAndStore, findByCatalogEntryWithSemanticAndMAssocTypeAndStore, findWithPushDownQuery, getAssociationReferenceNumber, getAssociationType, getDate1, getField1, getField2, getField2InEJBType, getField3, getField3InEJBType, getFromCatalogEntryReferenceNumber, getFromCatalogEntryReferenceNumberInEJBType, getGroupName, getOid, getQuantity, getQuantityInEJBType, getRank, getRankInEJBType, getRelatedCatalogEntry, getRule, getSemanticSpecifier, getStoreId, getToCatalogEntryReferenceNumber, getToCatalogEntryReferenceNumberInEJBType, instantiateEJB, instantiateEJBByPrimaryKey, refreshCopyHelper, setAssociationType, setDate1, setField1, setField2, setField2, setField3, setField3, setFromCatalogEntryReferenceNumber, setFromCatalogEntryReferenceNumber, setGroupName, setInitKey_associationReferenceNumber, setOid, setQuantity, setQuantity, setRank, setRank, setRule, setSemanticSpecifier, setStoreId, 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

RelatedPackageDataBean

public RelatedPackageDataBean()
Creates an empty RelatedPackageDataBean.

RelatedPackageDataBean

public RelatedPackageDataBean(RelatedCatalogEntryAccessBean abRelCatEntry)
                       throws java.rmi.RemoteException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException,
                              javax.ejb.CreateException
Creates a RelatedPackageDataBean from a RelatedCatalogEntryAccessBean.
Parameters:
abRelCatEntry - the related catalog entry access bean.
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

RelatedPackageDataBean

public RelatedPackageDataBean(RelatedCatalogEntryAccessBean abRelCatEntry,
CommandContext aCommandContext)
                       throws java.rmi.RemoteException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException,
                              javax.ejb.CreateException
Creates a RelatedPackageDataBean from a RelatedCatalogEntryAccessBean and a command context.
Parameters:
abRelCatEntry - the related catalog entry,
aCommandContext - the command context.
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
Method Detail

getPackage

public PackageDataBean getPackage()
                           throws javax.ejb.FinderException,
                                  javax.naming.NamingException,
                                  javax.ejb.CreateException,
                                  java.rmi.RemoteException
Returns a bean that represents the related Package.
Returns:
the related Package.
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setCommandContext

protected void setCommandContext(CommandContext aCommandContext)
Sets the command context.
Parameters:
aCommandContext - the command context.

setPackage

public void setPackage(PackageDataBean abnPackage)
Sets the related Package.
Parameters:
abnPackage - the related Package.