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.

See Also:
Serialized Form

Constructor Summary
PurchaseLimitAccessBean()
          constructor
PurchaseLimitAccessBean(javax.ejb.EJBObject o)
          constructor
PurchaseLimitAccessBean(java.lang.Long arg0, java.lang.Long arg1, java.lang.Long arg2, java.lang.String arg3)
          constructor
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
protected  java.lang.String defaultJNDIName()
           
 java.util.Enumeration findByTC(java.lang.Long arg0)
          Retrieves the PurchaseLimitAccessBean representing purchase limit with the specified term condition ID.
  PurchaseLimitAccessBean findByTCTradingPositionContainerAndCatEntry(java.lang.Long arg0, java.lang.Long arg1, java.lang.Long arg2)
          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 provides access to the PURCHASELT.CATENTRY_ID column of DB2 type BIGINT NOT NULL.
 void setCatEntryId(java.lang.String newValue)
          This method provides access to the PURCHASELT.CATENTRY_ID column of DB2 type BIGINT NOT NULL.
 void setCurrency(java.lang.String newValue)
          This method provides access to the PURCHASELT.CURRENCY column of DB2 type CHAR(3).
 void setCurrentAmount(java.math.BigDecimal newValue)
          This method provides access to the PURCHASELT.CURRENTAMOUNT column of DB2 type DECIMAL(20 5).
 void setCurrentAmount(java.lang.String newValue)
          This method provides access to the PURCHASELT.CURRENTAMOUNT column of DB2 type DECIMAL(20 5).
 void setCurrentQuantity(java.lang.Double newValue)
          This method provides access to the PURCHASELT.CURRENTQUANTITY column of DB2 type DOUBLE.
 void setCurrentQuantity(java.lang.String newValue)
          This method provides access to the PURCHASELT.CURRENTQUANTITY column of DB2 type DOUBLE.
 void setInitKey_purchaseLimitId(java.lang.String newValue)
          Set the primary key for this object
 void setLimitType(java.lang.String newValue)
          This method provides access to the PURCHASELT.LIMITTYPE column of DB2 type CHAR(1) NOT NULL.
 void setMaxAmount(java.math.BigDecimal newValue)
          This method provides access to the PURCHASELT.MAXAMOUNT column of DB2 type DECIMAL(20 5).
 void setMaxAmount(java.lang.String newValue)
          This method provides access to the PURCHASELT.MAXAMOUNT column of DB2 type DECIMAL(20 5).
 void setMaxQuantity(java.lang.Double newValue)
          This method provides access to the PURCHASELT.MAXQUANTITY column of DB2 type DOUBLE.
 void setMaxQuantity(java.lang.String newValue)
          This method provides access to the PURCHASELT.MAXQUANTITY column of DB2 type DOUBLE.
 void setMinAmount(java.math.BigDecimal newValue)
          This method provides access to the PURCHASELT.MINAMOUNT column of DB2 type DECIMAL(20 5).
 void setMinAmount(java.lang.String newValue)
          This method provides access to the PURCHASELT.MINAMOUNT column of DB2 type DECIMAL(20 5).
 void setMinQuantity(java.lang.Double newValue)
          This method provides access to the PURCHASELT.MINQUANTITY column of DB2 type DOUBLE.
 void setMinQuantity(java.lang.String newValue)
          This method provides access to the PURCHASELT.MINQUANTITY column of DB2 type DOUBLE.
 void setPurchaseLimitId(java.lang.Long newValue)
          This method provides access to the PURCHASELT.PURCHASELT_ID column of DB2 type BIGINT NOT NULL.
 void setPurchaseLimitId(java.lang.String newValue)
          This method provides access to the PURCHASELT.PURCHASELT_ID column of DB2 type BIGINT NOT NULL.
 void setTcId(java.lang.Long newValue)
          This method provides access to the PURCHASELT.TERMCOND_ID column of DB2 type BIGINT NOT NULL.
 void setTcId(java.lang.String newValue)
          This method provides access to the PURCHASELT.TERMCOND_ID column of DB2 type BIGINT NOT NULL.
 void setTradingPositionContainerId(java.lang.Long newValue)
          This method provides access to the PURCHASELT.TRADEPOSCN_ID column of DB2 type BIGINT NOT NULL.
 void setTradingPositionContainerId(java.lang.String newValue)
          This method provides access to the PURCHASELT.TRADEPOSCN_ID column of DB2 type BIGINT NOT NULL.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PurchaseLimitAccessBean

public PurchaseLimitAccessBean()
constructor

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 arg0,
                               java.lang.Long arg1,
                               java.lang.Long arg2,
                               java.lang.String arg3)
                        throws javax.naming.NamingException,
                               javax.ejb.CreateException,
                               javax.ejb.FinderException,
                               java.rmi.RemoteException
constructor
Parameters:
arg0 - java.lang.Long
arg1 - java.lang.Long
arg2 - java.lang.Long
arg3 - java.lang.String
Throws:
javax.naming.NamingException
javax.ejb.CreateException
javax.ejb.FinderException
java.rmi.RemoteException
Method Detail

findByTCTradingPositionContainerAndCatEntry

public PurchaseLimitAccessBean findByTCTradingPositionContainerAndCatEntry(java.lang.Long arg0,
                                                                           java.lang.Long arg1,
                                                                           java.lang.Long arg2)
                                                                    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 = ?

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 arg0)
                               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 = ?

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 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:
setTradingPositionContainerId in interface PurchaseLimitAccessBeanData
Parameters:
newValue - String
Returns:
void

setTradingPositionContainerId

public void setTradingPositionContainerId(java.lang.Long newValue)

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.

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

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 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:
setMinAmount in interface PurchaseLimitAccessBeanData
Parameters:
newValue - String
Returns:
void

setMinAmount

public void setMinAmount(java.math.BigDecimal newValue)

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.

Parameters:
newValue - java.math.BigDecimal
Returns:
void

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:&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 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:&l

Specified by:
setLimitType in interface PurchaseLimitAccessBeanData
Parameters:
newValue - java.lang.String
Returns:
void

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 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:
setTcId in interface PurchaseLimitAccessBeanData
Parameters:
newValue - String
Returns:
void

setTcId

public void setTcId(java.lang.Long newValue)

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.

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

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 provides access to the PURCHASELT.CURRENTQUANTITY column of DB2 type DOUBLE.

The following is a description of this column:

Current purchase quantity.

Specified by:
setCurrentQuantity in interface PurchaseLimitAccessBeanData
Parameters:
newValue - String
Returns:
void

setCurrentQuantity

public void setCurrentQuantity(java.lang.Double newValue)

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

The following is a description of this column:

Current purchase quantity.

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

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 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:
setCatEntryId in interface PurchaseLimitAccessBeanData
Parameters:
newValue - String
Returns:
void

setCatEntryId

public void setCatEntryId(java.lang.Long newValue)

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.

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

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 provides access to the PURCHASELT.MAXQUANTITY column of DB2 type DOUBLE.

The following is a description of this column:

Maximum purchase quantity.

Specified by:
setMaxQuantity in interface PurchaseLimitAccessBeanData
Parameters:
newValue - String
Returns:
void

setMaxQuantity

public void setMaxQuantity(java.lang.Double newValue)

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

The following is a description of this column:

Maximum purchase quantity.

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

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 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:
setCurrency in interface PurchaseLimitAccessBeanData
Parameters:
newValue - java.lang.String
Returns:
void

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 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:
setMaxAmount in interface PurchaseLimitAccessBeanData
Parameters:
newValue - String
Returns:
void

setMaxAmount

public void setMaxAmount(java.math.BigDecimal newValue)

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.

Parameters:
newValue - java.math.BigDecimal
Returns:
void

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 provides access to the PURCHASELT.MINQUANTITY column of DB2 type DOUBLE.

The following is a description of this column:

Minimum purchase quantity.

Specified by:
setMinQuantity in interface PurchaseLimitAccessBeanData
Parameters:
newValue - String
Returns:
void

setMinQuantity

public void setMinQuantity(java.lang.Double newValue)

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

The following is a description of this column:

Minimum purchase quantity.

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

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 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:
setPurchaseLimitId in interface PurchaseLimitAccessBeanData
Parameters:
newValue - String
Returns:
void

setPurchaseLimitId

public void setPurchaseLimitId(java.lang.Long newValue)

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.

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

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 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:
setCurrentAmount in interface PurchaseLimitAccessBeanData
Parameters:
newValue - String
Returns:
void

setCurrentAmount

public void setCurrentAmount(java.math.BigDecimal newValue)

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.

Parameters:
newValue - java.math.BigDecimal
Returns:
void