com.ibm.commerce.contract.objects
Class PurchaseLimitAccessBean

java.lang.Object
  com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
      com.ibm.commerce.contract.objects.PurchaseLimitAccessBean
All Implemented Interfaces:
PurchaseLimitAccessBeanData

public class PurchaseLimitAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements PurchaseLimitAccessBeanData

This table stores information on stipulations or limitations on how much a customer can purchase based on a Contract. This access bean corresponds to the database table 'PURCHASELT'.

See Also:
Serialized Form

Constructor Summary
PurchaseLimitAccessBean()
Zero argument constructor used to initialize the access bean.
PurchaseLimitAccessBean(javax.ejb.EJBObject o)
constructor
PurchaseLimitAccessBean(java.lang.Long argTCId, java.lang.Long argTradingPositionContainerId, java.lang.Long argCatEntryId, java.lang.String argLimitType)
Constructs an PurchaseLimit object with the specified term condition ID, trading position container ID, catalog entry ID, ant the limit type.
Method Summary
void commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage).
protected java.lang.String defaultJNDIName()
java.util.Enumeration findByTC(java.lang.Long argTCId)
Retrieves the PurchaseLimitAccessBean representing purchase limit with the specified term condition ID.
PurchaseLimitAccessBean findByTCTradingPositionContainerAndCatEntry(java.lang.Long argTCId, java.lang.Long argTradingPositionContainerId, java.lang.Long argCatEntryId)
Retrieves the PurchaseLimitAccessBean representing purchase limit with the specified term condition ID, trading position container ID, and the catalog entry ID.
java.lang.String getCatEntryId()
This method provides access to the PURCHASELT.CATENTRY_ID column of DB2 type BIGINT NOT NULL.
java.lang.Long getCatEntryIdInEJBType()
This method provides access to the PURCHASELT.CATENTRY_ID column of DB2 type BIGINT NOT NULL.
java.lang.String getCurrency()
This method provides access to the PURCHASELT.CURRENCY column of DB2 type CHAR(3).
java.lang.String getCurrentAmount()
This method provides access to the PURCHASELT.CURRENTAMOUNT column of DB2 type DECIMAL(20 5).
java.math.BigDecimal getCurrentAmountInEJBType()
This method provides access to the PURCHASELT.CURRENTAMOUNT column of DB2 type DECIMAL(20 5).
java.lang.String getCurrentQuantity()
This method provides access to the PURCHASELT.CURRENTQUANTITY column of DB2 type DOUBLE.
java.lang.Double getCurrentQuantityInEJBType()
This method provides access to the PURCHASELT.CURRENTQUANTITY column of DB2 type DOUBLE.
java.lang.String getLimitType()
This method provides access to the PURCHASELT.LIMITTYPE column of DB2 type CHAR(1) NOT NULL.
java.lang.String getMaxAmount()
This method provides access to the PURCHASELT.MAXAMOUNT column of DB2 type DECIMAL(20 5).
java.math.BigDecimal getMaxAmountInEJBType()
This method provides access to the PURCHASELT.MAXAMOUNT column of DB2 type DECIMAL(20 5).
java.lang.String getMaxQuantity()
This method provides access to the PURCHASELT.MAXQUANTITY column of DB2 type DOUBLE.
java.lang.Double getMaxQuantityInEJBType()
This method provides access to the PURCHASELT.MAXQUANTITY column of DB2 type DOUBLE.
java.lang.String getMinAmount()
This method provides access to the PURCHASELT.MINAMOUNT column of DB2 type DECIMAL(20 5).
java.math.BigDecimal getMinAmountInEJBType()
This method provides access to the PURCHASELT.MINAMOUNT column of DB2 type DECIMAL(20 5).
java.lang.String getMinQuantity()
This method provides access to the PURCHASELT.MINQUANTITY column of DB2 type DOUBLE.
java.lang.Double getMinQuantityInEJBType()
This method provides access to the PURCHASELT.MINQUANTITY column of DB2 type DOUBLE.
java.lang.String getPurchaseLimitId()
This method provides access to the PURCHASELT.PURCHASELT_ID column of DB2 type BIGINT NOT NULL.
java.lang.Long getPurchaseLimitIdInEJBType()
This method provides access to the PURCHASELT.PURCHASELT_ID column of DB2 type BIGINT NOT NULL.
java.lang.String getTcId()
This method provides access to the PURCHASELT.TERMCOND_ID column of DB2 type BIGINT NOT NULL.
java.lang.Long getTcIdInEJBType()
This method provides access to the PURCHASELT.TERMCOND_ID column of DB2 type BIGINT NOT NULL.
java.lang.String getTradingPositionContainerId()
This method provides access to the PURCHASELT.TRADEPOSCN_ID column of DB2 type BIGINT NOT NULL.
java.lang.Long getTradingPositionContainerIdInEJBType()
This method provides access to the PURCHASELT.TRADEPOSCN_ID column of DB2 type BIGINT NOT NULL.
protected void instantiateEJB()
protected boolean instantiateEJBByPrimaryKey()
void refreshCopyHelper()
Load data from the EJBObject.
void setCatEntryId(java.lang.Long newValue)
This method accesses a non-CMP field
void setCatEntryId(java.lang.String newValue)
This method accesses a non-CMP field
void setCurrency(java.lang.String newValue)
This method accesses a non-CMP field
void setCurrentAmount(java.math.BigDecimal newValue)
This method accesses a non-CMP field
void setCurrentAmount(java.lang.String newValue)
This method accesses a non-CMP field
void setCurrentQuantity(java.lang.Double newValue)
This method accesses a non-CMP field
void setCurrentQuantity(java.lang.String newValue)
This method accesses a non-CMP field
void setInitKey_purchaseLimitId(java.lang.String newValue)
Set the primary key for this object
void setLimitType(java.lang.String newValue)
This method accesses a non-CMP field
void setMaxAmount(java.math.BigDecimal newValue)
This method accesses a non-CMP field
void setMaxAmount(java.lang.String newValue)
This method accesses a non-CMP field
void setMaxQuantity(java.lang.Double newValue)
This method accesses a non-CMP field
void setMaxQuantity(java.lang.String newValue)
This method accesses a non-CMP field
void setMinAmount(java.math.BigDecimal newValue)
This method accesses a non-CMP field
void setMinAmount(java.lang.String newValue)
This method accesses a non-CMP field
void setMinQuantity(java.lang.Double newValue)
This method accesses a non-CMP field
void setMinQuantity(java.lang.String newValue)
This method accesses a non-CMP field
void setPurchaseLimitId(java.lang.Long newValue)
This method accesses a non-CMP field
void setPurchaseLimitId(java.lang.String newValue)
This method accesses a non-CMP field
void setTcId(java.lang.Long newValue)
This method accesses a non-CMP field
void setTcId(java.lang.String newValue)
This method accesses a non-CMP field
void setTradingPositionContainerId(java.lang.Long newValue)
This method accesses a non-CMP field
void setTradingPositionContainerId(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

PurchaseLimitAccessBean

public PurchaseLimitAccessBean()
Zero argument constructor used to initialize the access bean. This constructor corresponds to the following home interface method: public abstract com.ibm.commerce.contract.objects.PurchaseLimit com.ibm.commerce.contract.objimpl.PurchaseLimitHomeBase.findByPrimaryKey(com.ibm.commerce.contract.objects.PurchaseLimitKey) 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_purchaseLimitId( java.lang.Long )

PurchaseLimitAccessBean

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

PurchaseLimitAccessBean

public PurchaseLimitAccessBean(java.lang.Long argTCId,
                               java.lang.Long argTradingPositionContainerId,
                               java.lang.Long argCatEntryId,
                               java.lang.String argLimitType)
                        throws javax.naming.NamingException,
                               javax.ejb.CreateException,
                               javax.ejb.FinderException,
                               java.rmi.RemoteException

Constructs an PurchaseLimit object with the specified term condition ID, trading position container ID, catalog entry ID, ant the limit type.

Parameters:
argTCId - java.lang.Long
argTradingPositionContainerId - java.lang.Long
argCatEntryId - java.lang.Long
argLimitType - java.lang.String
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
Method Detail

findByTCTradingPositionContainerAndCatEntry

public PurchaseLimitAccessBean findByTCTradingPositionContainerAndCatEntry(java.lang.Long argTCId,
                                                                           java.lang.Long argTradingPositionContainerId,
                                                                           java.lang.Long argCatEntryId)
                                                                    throws java.rmi.RemoteException,
                                                                           javax.ejb.FinderException,
                                                                           javax.naming.NamingException

Retrieves the PurchaseLimitAccessBean representing purchase limit with the specified term condition ID, trading position container ID, and the catalog entry ID.

The SQL query used to fetch the required rows from the PURCHASELT table is:

select * from PURCHASELT T1 where T1.termcond_id = ? and tradeposcn_id = ? and catentry_id = ?

Parameters:
argTCId - java.lang.Long
argTradingPositionContainerId - java.lang.Long
argCatEntryId - java.lang.Long
Returns:
com.ibm.commerce.contract.objects.PurchaseLimitAccessBean
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findByTC

public java.util.Enumeration findByTC(java.lang.Long argTCId)
                               throws java.rmi.RemoteException,
                                      javax.ejb.FinderException,
                                      javax.naming.NamingException

Retrieves the PurchaseLimitAccessBean representing purchase limit with the specified term condition ID.

The SQL query used to fetch the required rows from the PURCHASELT table is:

select * from PURCHASELT T1 where T1.termcond_id = ?

Parameters:
argTCId - java.lang.Long
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

setInitKey_purchaseLimitId

public void setInitKey_purchaseLimitId(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

getTradingPositionContainerId

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

This method provides access to the PURCHASELT.TRADEPOSCN_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The purchase limit is part of this TradingPositionContainer.

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

getTradingPositionContainerIdInEJBType

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

This method provides access to the PURCHASELT.TRADEPOSCN_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The purchase limit is part of this TradingPositionContainer.

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

setTradingPositionContainerId

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

setTradingPositionContainerId

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

getMinAmount

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

This method provides access to the PURCHASELT.MINAMOUNT column of DB2 type DECIMAL(20 5).

The following is a description of this column:

Minimum purchase amount.

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

getMinAmountInEJBType

public java.math.BigDecimal getMinAmountInEJBType()
                                           throws java.rmi.RemoteException,
                                                  javax.ejb.CreateException,
                                                  javax.ejb.FinderException,
                                                  javax.naming.NamingException

This method provides access to the PURCHASELT.MINAMOUNT column of DB2 type DECIMAL(20 5).

The following is a description of this column:

Minimum purchase amount.

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

setMinAmount

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

setMinAmount

public void setMinAmount(java.math.BigDecimal newValue)
This method accesses a non-CMP field

getLimitType

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

This method provides access to the PURCHASELT.LIMITTYPE column of DB2 type CHAR(1) NOT NULL.

The following is a description of this column:

Indicates the type of limit. Valid values are as follows:&l

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

setLimitType

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

getTcId

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

This method provides access to the PURCHASELT.TERMCOND_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The TermAndCondition ID.

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

getTcIdInEJBType

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

This method provides access to the PURCHASELT.TERMCOND_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The TermAndCondition ID.

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

setTcId

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

setTcId

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

getCurrentQuantity

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

This method provides access to the PURCHASELT.CURRENTQUANTITY column of DB2 type DOUBLE.

The following is a description of this column:

Current purchase quantity.

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

getCurrentQuantityInEJBType

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

This method provides access to the PURCHASELT.CURRENTQUANTITY column of DB2 type DOUBLE.

The following is a description of this column:

Current purchase quantity.

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

setCurrentQuantity

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

setCurrentQuantity

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

getCatEntryId

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

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

The following is a description of this column:

The CatalogEntry offered for sale.

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

getCatEntryIdInEJBType

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

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

The following is a description of this column:

The CatalogEntry offered for sale.

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

setCatEntryId

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

setCatEntryId

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

getMaxQuantity

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

This method provides access to the PURCHASELT.MAXQUANTITY column of DB2 type DOUBLE.

The following is a description of this column:

Maximum purchase quantity.

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

getMaxQuantityInEJBType

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

This method provides access to the PURCHASELT.MAXQUANTITY column of DB2 type DOUBLE.

The following is a description of this column:

Maximum purchase quantity.

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

setMaxQuantity

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

setMaxQuantity

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

getCurrency

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

This method provides access to the PURCHASELT.CURRENCY column of DB2 type CHAR(3).

The following is a description of this column:

The Currency of the minimum or maximum amount. This is a currency code as per ISO 4217 standards.

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

setCurrency

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

getMaxAmount

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

This method provides access to the PURCHASELT.MAXAMOUNT column of DB2 type DECIMAL(20 5).

The following is a description of this column:

Maximum purchase amount.

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

getMaxAmountInEJBType

public java.math.BigDecimal getMaxAmountInEJBType()
                                           throws java.rmi.RemoteException,
                                                  javax.ejb.CreateException,
                                                  javax.ejb.FinderException,
                                                  javax.naming.NamingException

This method provides access to the PURCHASELT.MAXAMOUNT column of DB2 type DECIMAL(20 5).

The following is a description of this column:

Maximum purchase amount.

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

setMaxAmount

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

setMaxAmount

public void setMaxAmount(java.math.BigDecimal newValue)
This method accesses a non-CMP field

getMinQuantity

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

This method provides access to the PURCHASELT.MINQUANTITY column of DB2 type DOUBLE.

The following is a description of this column:

Minimum purchase quantity.

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

getMinQuantityInEJBType

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

This method provides access to the PURCHASELT.MINQUANTITY column of DB2 type DOUBLE.

The following is a description of this column:

Minimum purchase quantity.

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

setMinQuantity

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

setMinQuantity

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

getPurchaseLimitId

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

This method provides access to the PURCHASELT.PURCHASELT_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The internal reference number. This is a primary key.

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

getPurchaseLimitIdInEJBType

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

This method provides access to the PURCHASELT.PURCHASELT_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The internal reference number. This is a primary key.

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

setPurchaseLimitId

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

setPurchaseLimitId

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

getCurrentAmount

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

This method provides access to the PURCHASELT.CURRENTAMOUNT column of DB2 type DECIMAL(20 5).

The following is a description of this column:

Current purchase amount.

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

getCurrentAmountInEJBType

public java.math.BigDecimal getCurrentAmountInEJBType()
                                               throws java.rmi.RemoteException,
                                                      javax.ejb.CreateException,
                                                      javax.ejb.FinderException,
                                                      javax.naming.NamingException

This method provides access to the PURCHASELT.CURRENTAMOUNT column of DB2 type DECIMAL(20 5).

The following is a description of this column:

Current purchase amount.

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

setCurrentAmount

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

setCurrentAmount

public void setCurrentAmount(java.math.BigDecimal newValue)
This method accesses a non-CMP field

Feedback