com.ibm.commerce.contract.objects
Class PurchaseLimitAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractAccessBean
        |
        +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
              |
              +--com.ibm.commerce.contract.objects.PurchaseLimitAccessBean
All Implemented Interfaces:
PurchaseLimitAccessBeanData, java.io.Serializable

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

This bean provides access to the PURCHASELT table.

The following is a description of this table:

The Purchase Limit table.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
PurchaseLimitAccessBean()
          Default constructor.
PurchaseLimitAccessBean(javax.ejb.EJBObject anObject)
          Creates an access bean for the specified EJB
PurchaseLimitAccessBean(java.lang.Long tcId, java.lang.Long tpcId, java.lang.Long catEntryId, java.lang.String limitType)
          Constructs an PurchaseLimitAccessBean 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).
 java.util.Enumeration findByTC(java.lang.Long tcId)
          Retrieves the PurchaseLimitAccessBean representing purchase limit with the specified term condition ID.
 PurchaseLimitAccessBean findByTCTradingPositionContainerAndCatEntry(java.lang.Long tcId, java.lang.Long tpcId, java.lang.Long catEntryId)
          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) NULL.
 java.lang.String getCurrentAmount()
          This method provides access to the PURCHASELT.CURRENTAMOUNT column of DB2 type DECIMAL(20,5) NULL.
 java.math.BigDecimal getCurrentAmountInEJBType()
          This method provides access to the PURCHASELT.CURRENTAMOUNT column of DB2 type DECIMAL(20,5) NULL.
 java.lang.String getCurrentQuantity()
          This method provides access to the PURCHASELT.CURRENTQUANTITY column of DB2 type DOUBLE NULL.
 java.lang.Double getCurrentQuantityInEJBType()
          This method provides access to the PURCHASELT.CURRENTQUANTITY column of DB2 type DOUBLE NULL.
 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) NULL.
 java.math.BigDecimal getMaxAmountInEJBType()
          This method provides access to the PURCHASELT.MAXAMOUNT column of DB2 type DECIMAL(20,5) NULL.
 java.lang.String getMaxQuantity()
          This method provides access to the PURCHASELT.MAXQUANTITY column of DB2 type DOUBLE NULL.
 java.lang.Double getMaxQuantityInEJBType()
          This method provides access to the PURCHASELT.MAXQUANTITY column of DB2 type DOUBLE NULL.
 java.lang.String getMinAmount()
          This method provides access to the PURCHASELT.MINAMOUNT column of DB2 type DECIMAL(20,5) NULL.
 java.math.BigDecimal getMinAmountInEJBType()
          This method provides access to the PURCHASELT.MINAMOUNT column of DB2 type DECIMAL(20,5) NULL.
 java.lang.String getMinQuantity()
          This method provides access to the PURCHASELT.MINQUANTITY column of DB2 type DOUBLE NULL.
 java.lang.Double getMinQuantityInEJBType()
          This method provides access to the PURCHASELT.MINQUANTITY column of DB2 type DOUBLE NULL.
 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.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setCatEntryId(java.lang.Long aCatEntryId)
          This method provides access to the PURCHASELT.CATENTRY_ID column of DB2 type BIGINT NOT NULL.
 void setCatEntryId(java.lang.String aCatEntryId)
          This method provides access to the PURCHASELT.CATENTRY_ID column of DB2 type BIGINT NOT NULL.
 void setCurrency(java.lang.String aCurrency)
          This method provides access to the PURCHASELT.CURRENCY column of DB2 type CHAR(3) NULL.
 void setCurrentAmount(java.math.BigDecimal aCurrentAmount)
          This method provides access to the PURCHASELT.CURRENTAMOUNT column of DB2 type DECIMAL(20,5) NULL.
 void setCurrentAmount(java.lang.String aCurrentAmount)
          This method provides access to the PURCHASELT.CURRENTAMOUNT column of DB2 type DECIMAL(20,5) NULL.
 void setCurrentQuantity(java.lang.Double aCurrentQuantity)
          This method provides access to the PURCHASELT.CURRENTQUANTITY column of DB2 type DOUBLE NULL.
 void setCurrentQuantity(java.lang.String aCurrentQuantity)
          This method provides access to the PURCHASELT.CURRENTQUANTITY column of DB2 type DOUBLE NULL.
 void setInitKey_purchaseLimitId(java.lang.String aInitKey_purchaseLimitId)
          Set the primary key for this object
 void setLimitType(java.lang.String aLimitType)
          This method provides access to the PURCHASELT.LIMITTYPE column of DB2 type CHAR(1) NOT NULL.
 void setMaxAmount(java.math.BigDecimal aMaxAmount)
          This method provides access to the PURCHASELT.MAXAMOUNT column of DB2 type DECIMAL(20,5) NULL.
 void setMaxAmount(java.lang.String aMaxAmount)
          This method provides access to the PURCHASELT.MAXAMOUNT column of DB2 type DECIMAL(20,5) NULL.
 void setMaxQuantity(java.lang.Double aMaxQuantity)
          This method provides access to the PURCHASELT.MAXQUANTITY column of DB2 type DOUBLE NULL.
 void setMaxQuantity(java.lang.String aMaxQuantity)
          This method provides access to the PURCHASELT.MAXQUANTITY column of DB2 type DOUBLE NULL.
 void setMinAmount(java.math.BigDecimal aMinAmount)
          This method provides access to the PURCHASELT.MINAMOUNT column of DB2 type DECIMAL(20,5) NULL.
 void setMinAmount(java.lang.String aMinAmount)
          This method provides access to the PURCHASELT.MINAMOUNT column of DB2 type DECIMAL(20,5) NULL.
 void setMinQuantity(java.lang.Double aMinQuantity)
          This method provides access to the PURCHASELT.MINQUANTITY column of DB2 type DOUBLE NULL.
 void setMinQuantity(java.lang.String aMinQuantity)
          This method provides access to the PURCHASELT.MINQUANTITY column of DB2 type DOUBLE NULL.
 void setPurchaseLimitId(java.lang.Long aPurchaseLimitId)
          This method provides access to the PURCHASELT.PURCHASELT_ID column of DB2 type BIGINT NOT NULL.
 void setPurchaseLimitId(java.lang.String aPurchaseLimitId)
          This method provides access to the PURCHASELT.PURCHASELT_ID column of DB2 type BIGINT NOT NULL.
 void setTcId(java.lang.Long aTcId)
          This method provides access to the PURCHASELT.TERMCOND_ID column of DB2 type BIGINT NOT NULL.
 void setTcId(java.lang.String aTcId)
          This method provides access to the PURCHASELT.TERMCOND_ID column of DB2 type BIGINT NOT NULL.
 void setTradingPositionContainerId(java.lang.Long aTradingPositionContainerId)
          This method provides access to the PURCHASELT.TRADEPOSCN_ID column of DB2 type BIGINT NOT NULL.
 void setTradingPositionContainerId(java.lang.String aTradingPositionContainerId)
          This method provides access to the PURCHASELT.TRADEPOSCN_ID column of DB2 type BIGINT NOT NULL.
 
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
__getCache, __getCache, __getKey, __setCache, __setCache, __setKey, commitCopyHelper, createAccessBeans, createAccessBeans, instantiateEJBByPrimaryKey, refreshCopyHelper, setEJBRef
 
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
defaultJNDIName, defaultNameServiceType, defaultNameServiceURL, getEJBRef, getGlobalHome, getHome, getInit_GlobalNameServiceTypeName, getInit_GlobalNameServiceURLName, getInit_JNDIName, getInit_NameServiceTypeName, getInit_NameServiceURLName, getInitContext, getInitContext, instantiateEJB, resetEJBRef, resetHomeCache, setInit_GlobalNameServiceTypeName, setInit_GlobalNameServiceURLName, setInit_JNDIName, setInit_NameServiceTypeName, setInit_NameServiceURLName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PurchaseLimitAccessBean

public PurchaseLimitAccessBean()

Default constructor. Maps to findByPrimaryKey.


PurchaseLimitAccessBean

public PurchaseLimitAccessBean(javax.ejb.EJBObject anObject)
                        throws java.rmi.RemoteException

Creates an access bean for the specified EJB

Parameters:
anObject - The EJB Object used for the access bean construction.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception

PurchaseLimitAccessBean

public PurchaseLimitAccessBean(java.lang.Long tcId,
                               java.lang.Long tpcId,
                               java.lang.Long catEntryId,
                               java.lang.String limitType)
                        throws javax.naming.NamingException,
                               javax.ejb.CreateException,
                               javax.ejb.FinderException,
                               java.rmi.RemoteException

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

Parameters:
tcId - java.lang.Long
tpcId - java.lang.Long
catEntryId - java.lang.Long
limitType - 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

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).

Overrides:
commitCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findByTC

public java.util.Enumeration findByTC(java.lang.Long tcId)
                               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:
tcId - 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 - The javax.naming.NamingException exception

findByTCTradingPositionContainerAndCatEntry

public PurchaseLimitAccessBean findByTCTradingPositionContainerAndCatEntry(java.lang.Long tcId,
                                                                           java.lang.Long tpcId,
                                                                           java.lang.Long catEntryId)
                                                                    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:
tcId - java.lang.Long
tpcId - java.lang.Long
catEntryId - 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 - The javax.naming.NamingException exception

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:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

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 - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

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) NULL.

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 - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

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) NULL.

The following is a description of this column:

Current purchase amount.

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

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) NULL.

The following is a description of this column:

Current purchase amount.

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

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 NULL.

The following is a description of this column:

Current purchase quantity.

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

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 NULL.

The following is a description of this column:

Current purchase quantity.

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

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:
0 = by quantity or 1 = by amount.

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

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) NULL.

The following is a description of this column:

Maximum purchase amount.

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

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) NULL.

The following is a description of this column:

Maximum purchase amount.

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

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 NULL.

The following is a description of this column:

Maximum purchase quantity.

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

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 NULL.

The following is a description of this column:

Maximum purchase quantity.

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

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) NULL.

The following is a description of this column:

Minimum purchase amount.

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

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) NULL.

The following is a description of this column:

Minimum purchase amount.

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

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 NULL.

The following is a description of this column:

Minimum purchase quantity.

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

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 NULL.

The following is a description of this column:

Minimum purchase quantity.

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

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, and the Primary key.

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

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, and the Primary key.

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

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:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

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 - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

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:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

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 - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

refreshCopyHelper

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

Load data from the EJBObject.

Overrides:
refreshCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

setCatEntryId

public void setCatEntryId(java.lang.Long aCatEntryId)

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:
aCatEntryId - java.lang.Long
Returns:
void

setCatEntryId

public void setCatEntryId(java.lang.String aCatEntryId)

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:
aCatEntryId - java.lang.String
Returns:
void

setCurrency

public void setCurrency(java.lang.String aCurrency)

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

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:
aCurrency - java.lang.String
Returns:
void

setCurrentAmount

public void setCurrentAmount(java.math.BigDecimal aCurrentAmount)

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

The following is a description of this column:

Current purchase amount.

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

setCurrentAmount

public void setCurrentAmount(java.lang.String aCurrentAmount)

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

The following is a description of this column:

Current purchase amount.

Specified by:
setCurrentAmount in interface PurchaseLimitAccessBeanData
Parameters:
aCurrentAmount - java.lang.String
Returns:
void

setCurrentQuantity

public void setCurrentQuantity(java.lang.Double aCurrentQuantity)

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

The following is a description of this column:

Current purchase quantity.

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

setCurrentQuantity

public void setCurrentQuantity(java.lang.String aCurrentQuantity)

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

The following is a description of this column:

Current purchase quantity.

Specified by:
setCurrentQuantity in interface PurchaseLimitAccessBeanData
Parameters:
aCurrentQuantity - java.lang.String
Returns:
void

setInitKey_purchaseLimitId

public void setInitKey_purchaseLimitId(java.lang.String aInitKey_purchaseLimitId)

Set the primary key for this object

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

setLimitType

public void setLimitType(java.lang.String aLimitType)

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:
0 = by quantity or 1 = by amount.

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

setMaxAmount

public void setMaxAmount(java.math.BigDecimal aMaxAmount)

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

The following is a description of this column:

Maximum purchase amount.

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

setMaxAmount

public void setMaxAmount(java.lang.String aMaxAmount)

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

The following is a description of this column:

Maximum purchase amount.

Specified by:
setMaxAmount in interface PurchaseLimitAccessBeanData
Parameters:
aMaxAmount - java.lang.String
Returns:
void

setMaxQuantity

public void setMaxQuantity(java.lang.Double aMaxQuantity)

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

The following is a description of this column:

Maximum purchase quantity.

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

setMaxQuantity

public void setMaxQuantity(java.lang.String aMaxQuantity)

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

The following is a description of this column:

Maximum purchase quantity.

Specified by:
setMaxQuantity in interface PurchaseLimitAccessBeanData
Parameters:
aMaxQuantity - java.lang.String
Returns:
void

setMinAmount

public void setMinAmount(java.math.BigDecimal aMinAmount)

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

The following is a description of this column:

Minimum purchase amount.

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

setMinAmount

public void setMinAmount(java.lang.String aMinAmount)

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

The following is a description of this column:

Minimum purchase amount.

Specified by:
setMinAmount in interface PurchaseLimitAccessBeanData
Parameters:
aMinAmount - java.lang.String
Returns:
void

setMinQuantity

public void setMinQuantity(java.lang.Double aMinQuantity)

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

The following is a description of this column:

Minimum purchase quantity.

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

setMinQuantity

public void setMinQuantity(java.lang.String aMinQuantity)

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

The following is a description of this column:

Minimum purchase quantity.

Specified by:
setMinQuantity in interface PurchaseLimitAccessBeanData
Parameters:
aMinQuantity - java.lang.String
Returns:
void

setPurchaseLimitId

public void setPurchaseLimitId(java.lang.Long aPurchaseLimitId)

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, and the Primary key.

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

setPurchaseLimitId

public void setPurchaseLimitId(java.lang.String aPurchaseLimitId)

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, and the Primary key.

Specified by:
setPurchaseLimitId in interface PurchaseLimitAccessBeanData
Parameters:
aPurchaseLimitId - java.lang.String
Returns:
void

setTcId

public void setTcId(java.lang.Long aTcId)

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:
aTcId - java.lang.Long
Returns:
void

setTcId

public void setTcId(java.lang.String aTcId)

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:
aTcId - java.lang.String
Returns:
void

setTradingPositionContainerId

public void setTradingPositionContainerId(java.lang.Long aTradingPositionContainerId)

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:
aTradingPositionContainerId - java.lang.Long
Returns:
void

setTradingPositionContainerId

public void setTradingPositionContainerId(java.lang.String aTradingPositionContainerId)

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:
aTradingPositionContainerId - java.lang.String
Returns:
void