com.ibm.commerce.fulfillment.objects
Class CatalogEntryShippingAccessBean

java.lang.Object
  com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
      com.ibm.commerce.fulfillment.objects.CatalogEntryShippingAccessBean
All Implemented Interfaces:
CatalogEntryShippingAccessBeanData

public class CatalogEntryShippingAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements CatalogEntryShippingAccessBeanData

Each row in this table contains information about how a product represented by a CatalogEntry is packaged. The information can be used to determine prices, discounts, shipping charges, and taxes. This access bean corresponds to the database table 'CATENTSHIP'.

See Also:
Serialized Form

Constructor Summary
CatalogEntryShippingAccessBean()
Zero argument constructor used to initialize the access bean.
CatalogEntryShippingAccessBean(javax.ejb.EJBObject o)
constructor
Method Summary
void commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage).
protected java.lang.String defaultJNDIName()
java.util.Enumeration findByCatalogEntryIds(java.lang.Long[] catalogEntryIds)
Retrieves the CatalogEntryShippingAccessBeans that match the specified CatalogEntries.
java.util.Enumeration findWithPushDownQuery(java.lang.String pushDownQuery)
Retrieves the CatalogEntryShippingAccessBeans that match the specified where clause.
java.lang.String getCatalogEntryId()
This method provides access to the CATENTSHIP.CATENTRY_ID column of DB2 type BIGINT NOT NULL.
java.lang.Long getCatalogEntryIdInEJBType()
This method provides access to the CATENTSHIP.CATENTRY_ID column of DB2 type BIGINT NOT NULL.
java.lang.String getHeight()
This method provides access to the CATENTSHIP.HEIGHT column of DB2 type FLOAT.
java.lang.Double getHeightInEJBType()
This method provides access to the CATENTSHIP.HEIGHT column of DB2 type FLOAT.
java.lang.String getLength()
This method provides access to the CATENTSHIP.LENGTH column of DB2 type FLOAT.
java.lang.Double getLengthInEJBType()
This method provides access to the CATENTSHIP.LENGTH column of DB2 type FLOAT.
java.lang.String getNominalQuantity()
This method provides access to the CATENTSHIP.NOMINALQUANTITY column of DB2 type FLOAT NOT NULL DEFAULT 1.0.
java.lang.Double getNominalQuantityInEJBType()
This method provides access to the CATENTSHIP.NOMINALQUANTITY column of DB2 type FLOAT NOT NULL DEFAULT 1.0.
java.lang.String getQuantityMeasure()
This method provides access to the CATENTSHIP.QUANTITYMEASURE column of DB2 type CHAR(16) NOT NULL DEFAULT 'C62'.
java.lang.String getQuantityMultiple()
This method provides access to the CATENTSHIP.QUANTITYMULTIPLE column of DB2 type FLOAT NOT NULL DEFAULT 1.0.
java.lang.Double getQuantityMultipleInEJBType()
This method provides access to the CATENTSHIP.QUANTITYMULTIPLE column of DB2 type FLOAT NOT NULL DEFAULT 1.0.
java.lang.String getSizeMeasure()
This method provides access to the CATENTSHIP.SIZEMEASURE column of DB2 type CHAR(16).
java.lang.String getWeight()
This method provides access to the CATENTSHIP.WEIGHT column of DB2 type FLOAT.
java.lang.Double getWeightInEJBType()
This method provides access to the CATENTSHIP.WEIGHT column of DB2 type FLOAT.
java.lang.String getWeightMeasure()
This method provides access to the CATENTSHIP.WEIGHTMEASURE column of DB2 type CHAR(16).
java.lang.String getWidth()
This method provides access to the CATENTSHIP.WIDTH column of DB2 type FLOAT.
java.lang.Double getWidthInEJBType()
This method provides access to the CATENTSHIP.WIDTH column of DB2 type FLOAT.
protected void instantiateEJB()
protected boolean instantiateEJBByPrimaryKey()
void refreshCopyHelper()
Load data from the EJBObject.
void setHeight(java.lang.Double newValue)
This method accesses a non-CMP field
void setHeight(java.lang.String newValue)
This method accesses a non-CMP field
void setInitKey_catalogEntryId(java.lang.String newValue)
Set the primary key for this object
void setLength(java.lang.Double newValue)
This method accesses a non-CMP field
void setLength(java.lang.String newValue)
This method accesses a non-CMP field
void setNominalQuantity(java.lang.Double newValue)
This method accesses a non-CMP field
void setNominalQuantity(java.lang.String newValue)
This method accesses a non-CMP field
void setQuantityMeasure(java.lang.String newValue)
This method accesses a non-CMP field
void setQuantityMultiple(java.lang.Double newValue)
This method accesses a non-CMP field
void setQuantityMultiple(java.lang.String newValue)
This method accesses a non-CMP field
void setSizeMeasure(java.lang.String newValue)
This method accesses a non-CMP field
void setWeight(java.lang.Double newValue)
This method accesses a non-CMP field
void setWeight(java.lang.String newValue)
This method accesses a non-CMP field
void setWeightMeasure(java.lang.String newValue)
This method accesses a non-CMP field
void setWidth(java.lang.Double newValue)
This method accesses a non-CMP field
void setWidth(java.lang.String newValue)
This method accesses a non-CMP field
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

CatalogEntryShippingAccessBean

public CatalogEntryShippingAccessBean()
Zero argument constructor used to initialize the access bean. This constructor corresponds to the following home interface method: public abstract com.ibm.commerce.fulfillment.objects.CatalogEntryShipping com.ibm.commerce.fulfillment.objimpl.CatalogEntryShippingHomeBase.findByPrimaryKey(com.ibm.commerce.fulfillment.objects.CatalogEntryShippingKey) throws java.rmi.RemoteException,javax.ejb.FinderException The home interface method properties need to be set by calling the following setter methods before calling any business methods: setInitKey_catalogEntryId( java.lang.Long )

CatalogEntryShippingAccessBean

public CatalogEntryShippingAccessBean(javax.ejb.EJBObject o)
                               throws java.rmi.RemoteException
constructor
Parameters:
o - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException
Method Detail

findByCatalogEntryIds

public java.util.Enumeration findByCatalogEntryIds(java.lang.Long[] catalogEntryIds)
                                            throws java.rmi.RemoteException,
                                                   javax.ejb.FinderException,
                                                   javax.naming.NamingException

Retrieves the CatalogEntryShippingAccessBeans that match the specified CatalogEntries.

The SQL query used to fetch all the required rows from the CATENTSHIP table is: SELECT * FROM CATENTSHIP T1 WHERE T1.CATENTRY_ID = ? OR ...

Returns:
An Enumeration of all the CatalogEntryShippingAccessBeans representing rows that match the search criteria.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findWithPushDownQuery

public java.util.Enumeration findWithPushDownQuery(java.lang.String pushDownQuery)
                                            throws java.rmi.RemoteException,
                                                   javax.ejb.FinderException,
                                                   javax.naming.NamingException

Retrieves the CatalogEntryShippingAccessBeans that match the specified where clause.

The SQL query used to fetch all the required rows from the CATENTSHIP table is: SELECT * FROM CATENTSHIP T1 WHERE ...

Parameters:
pushDownQuery - the where clause
Returns:
An Enumeration of all the CatalogEntryShippingAccessBeans representing rows that match the search criteria.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

setInitKey_catalogEntryId

public void setInitKey_catalogEntryId(java.lang.String newValue)

Set the primary key for this object

Parameters:
newValue - java.lang.String
Returns:
void

defaultJNDIName

protected java.lang.String defaultJNDIName()
Returns:
String

instantiateEJB

protected void instantiateEJB()
                       throws java.rmi.RemoteException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException
Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

instantiateEJBByPrimaryKey

protected boolean instantiateEJBByPrimaryKey()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             javax.naming.NamingException
Returns:
boolean
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.naming.NamingException

commitCopyHelper

public void commitCopyHelper()
                      throws java.rmi.RemoteException,
                             javax.ejb.CreateException,
                             javax.ejb.FinderException,
                             javax.naming.NamingException

Update(flush) data to the EJBObject (persistent storage).

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

refreshCopyHelper

public void refreshCopyHelper()
                       throws java.rmi.RemoteException,
                              javax.ejb.CreateException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException

Load data from the EJBObject.

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getWidth

public java.lang.String getWidth()
                          throws java.rmi.RemoteException,
                                 javax.ejb.CreateException,
                                 javax.ejb.FinderException,
                                 javax.naming.NamingException

This method provides access to the CATENTSHIP.WIDTH column of DB2 type FLOAT.

The following is a description of this column:

A nominal width associated with the product.

Specified by:
getWidth in interface CatalogEntryShippingAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getWidthInEJBType

public java.lang.Double getWidthInEJBType()
                                   throws java.rmi.RemoteException,
                                          javax.ejb.CreateException,
                                          javax.ejb.FinderException,
                                          javax.naming.NamingException

This method provides access to the CATENTSHIP.WIDTH column of DB2 type FLOAT.

The following is a description of this column:

A nominal width associated with the product.

Returns:
java.lang.Double
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setWidth

public void setWidth(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setWidth in interface CatalogEntryShippingAccessBeanData

setWidth

public void setWidth(java.lang.Double newValue)
This method accesses a non-CMP field

getCatalogEntryId

public java.lang.String getCatalogEntryId()
                                   throws java.rmi.RemoteException,
                                          javax.ejb.CreateException,
                                          javax.ejb.FinderException,
                                          javax.naming.NamingException

This method provides access to the CATENTSHIP.CATENTRY_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The CatalogEntry.

Specified by:
getCatalogEntryId in interface CatalogEntryShippingAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getCatalogEntryIdInEJBType

public java.lang.Long getCatalogEntryIdInEJBType()
                                          throws java.rmi.RemoteException,
                                                 javax.ejb.CreateException,
                                                 javax.ejb.FinderException,
                                                 javax.naming.NamingException

This method provides access to the CATENTSHIP.CATENTRY_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The CatalogEntry.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getWeightMeasure

public java.lang.String getWeightMeasure()
                                  throws java.rmi.RemoteException,
                                         javax.ejb.CreateException,
                                         javax.ejb.FinderException,
                                         javax.naming.NamingException

This method provides access to the CATENTSHIP.WEIGHTMEASURE column of DB2 type CHAR(16).

The following is a description of this column:

The unit of measurement for WEIGHT.

Specified by:
getWeightMeasure in interface CatalogEntryShippingAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setWeightMeasure

public void setWeightMeasure(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setWeightMeasure in interface CatalogEntryShippingAccessBeanData

getLength

public java.lang.String getLength()
                           throws java.rmi.RemoteException,
                                  javax.ejb.CreateException,
                                  javax.ejb.FinderException,
                                  javax.naming.NamingException

This method provides access to the CATENTSHIP.LENGTH column of DB2 type FLOAT.

The following is a description of this column:

A nominal length associated with the product.

Specified by:
getLength in interface CatalogEntryShippingAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getLengthInEJBType

public java.lang.Double getLengthInEJBType()
                                    throws java.rmi.RemoteException,
                                           javax.ejb.CreateException,
                                           javax.ejb.FinderException,
                                           javax.naming.NamingException

This method provides access to the CATENTSHIP.LENGTH column of DB2 type FLOAT.

The following is a description of this column:

A nominal length associated with the product.

Returns:
java.lang.Double
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setLength

public void setLength(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setLength in interface CatalogEntryShippingAccessBeanData

setLength

public void setLength(java.lang.Double newValue)
This method accesses a non-CMP field

getWeight

public java.lang.String getWeight()
                           throws java.rmi.RemoteException,
                                  javax.ejb.CreateException,
                                  javax.ejb.FinderException,
                                  javax.naming.NamingException

This method provides access to the CATENTSHIP.WEIGHT column of DB2 type FLOAT.

The following is a description of this column:

A nominal weight associated with the product.

Specified by:
getWeight in interface CatalogEntryShippingAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getWeightInEJBType

public java.lang.Double getWeightInEJBType()
                                    throws java.rmi.RemoteException,
                                           javax.ejb.CreateException,
                                           javax.ejb.FinderException,
                                           javax.naming.NamingException

This method provides access to the CATENTSHIP.WEIGHT column of DB2 type FLOAT.

The following is a description of this column:

A nominal weight associated with the product.

Returns:
java.lang.Double
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setWeight

public void setWeight(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setWeight in interface CatalogEntryShippingAccessBeanData

setWeight

public void setWeight(java.lang.Double newValue)
This method accesses a non-CMP field

getNominalQuantity

public java.lang.String getNominalQuantity()
                                    throws java.rmi.RemoteException,
                                           javax.ejb.CreateException,
                                           javax.ejb.FinderException,
                                           javax.naming.NamingException

This method provides access to the CATENTSHIP.NOMINALQUANTITY column of DB2 type FLOAT NOT NULL DEFAULT 1.0.

The following is a description of this column:

A nominal quantity for a product, used for pricing. For example, if a product is priced as &quo

Specified by:
getNominalQuantity in interface CatalogEntryShippingAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getNominalQuantityInEJBType

public java.lang.Double getNominalQuantityInEJBType()
                                             throws java.rmi.RemoteException,
                                                    javax.ejb.CreateException,
                                                    javax.ejb.FinderException,
                                                    javax.naming.NamingException

This method provides access to the CATENTSHIP.NOMINALQUANTITY column of DB2 type FLOAT NOT NULL DEFAULT 1.0.

The following is a description of this column:

A nominal quantity for a product, used for pricing. For example, if a product is priced as &quo

Returns:
java.lang.Double
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setNominalQuantity

public void setNominalQuantity(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setNominalQuantity in interface CatalogEntryShippingAccessBeanData

setNominalQuantity

public void setNominalQuantity(java.lang.Double newValue)
This method accesses a non-CMP field

getQuantityMultiple

public java.lang.String getQuantityMultiple()
                                     throws java.rmi.RemoteException,
                                            javax.ejb.CreateException,
                                            javax.ejb.FinderException,
                                            javax.naming.NamingException

This method provides access to the CATENTSHIP.QUANTITYMULTIPLE column of DB2 type FLOAT NOT NULL DEFAULT 1.0.

The following is a description of this column:

The product can be sold in quantities that are multiples of this quantity.

Specified by:
getQuantityMultiple in interface CatalogEntryShippingAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getQuantityMultipleInEJBType

public java.lang.Double getQuantityMultipleInEJBType()
                                              throws java.rmi.RemoteException,
                                                     javax.ejb.CreateException,
                                                     javax.ejb.FinderException,
                                                     javax.naming.NamingException

This method provides access to the CATENTSHIP.QUANTITYMULTIPLE column of DB2 type FLOAT NOT NULL DEFAULT 1.0.

The following is a description of this column:

The product can be sold in quantities that are multiples of this quantity.

Returns:
java.lang.Double
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setQuantityMultiple

public void setQuantityMultiple(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setQuantityMultiple in interface CatalogEntryShippingAccessBeanData

setQuantityMultiple

public void setQuantityMultiple(java.lang.Double newValue)
This method accesses a non-CMP field

getHeight

public java.lang.String getHeight()
                           throws java.rmi.RemoteException,
                                  javax.ejb.CreateException,
                                  javax.ejb.FinderException,
                                  javax.naming.NamingException

This method provides access to the CATENTSHIP.HEIGHT column of DB2 type FLOAT.

The following is a description of this column:

A nominal height associated with the product.

Specified by:
getHeight in interface CatalogEntryShippingAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getHeightInEJBType

public java.lang.Double getHeightInEJBType()
                                    throws java.rmi.RemoteException,
                                           javax.ejb.CreateException,
                                           javax.ejb.FinderException,
                                           javax.naming.NamingException

This method provides access to the CATENTSHIP.HEIGHT column of DB2 type FLOAT.

The following is a description of this column:

A nominal height associated with the product.

Returns:
java.lang.Double
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setHeight

public void setHeight(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setHeight in interface CatalogEntryShippingAccessBeanData

setHeight

public void setHeight(java.lang.Double newValue)
This method accesses a non-CMP field

getSizeMeasure

public java.lang.String getSizeMeasure()
                                throws java.rmi.RemoteException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       javax.naming.NamingException

This method provides access to the CATENTSHIP.SIZEMEASURE column of DB2 type CHAR(16).

The following is a description of this column:

The unit of measurement for LENGTH, WIDTH, and HEIGHT.

Specified by:
getSizeMeasure in interface CatalogEntryShippingAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setSizeMeasure

public void setSizeMeasure(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setSizeMeasure in interface CatalogEntryShippingAccessBeanData

getQuantityMeasure

public java.lang.String getQuantityMeasure()
                                    throws java.rmi.RemoteException,
                                           javax.ejb.CreateException,
                                           javax.ejb.FinderException,
                                           javax.naming.NamingException

This method provides access to the CATENTSHIP.QUANTITYMEASURE column of DB2 type CHAR(16) NOT NULL DEFAULT 'C62'.

The following is a description of this column:

The unit of measurement for NOMINALQUANTITY and QUANTITYMULTIPLE.

Specified by:
getQuantityMeasure in interface CatalogEntryShippingAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setQuantityMeasure

public void setQuantityMeasure(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setQuantityMeasure in interface CatalogEntryShippingAccessBeanData

Feedback