java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.contract.objects.PurchaseLimitAccessBean
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'.
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 |
public PurchaseLimitAccessBean()
public PurchaseLimitAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
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.
Method Detail |
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 = ?
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 = ?
public void setInitKey_purchaseLimitId(java.lang.String newValue)
Set the primary key for this object
protected java.lang.String defaultJNDIName()
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.naming.NamingException
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Update(flush) data to the EJBObject (persistent storage).
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
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.
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.
public void setTradingPositionContainerId(java.lang.String newValue)
public void setTradingPositionContainerId(java.lang.Long newValue)
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.
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.
public void setMinAmount(java.lang.String newValue)
public void setMinAmount(java.math.BigDecimal newValue)
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
public void setLimitType(java.lang.String newValue)
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.
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.
public void setTcId(java.lang.String newValue)
public void setTcId(java.lang.Long newValue)
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.
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.
public void setCurrentQuantity(java.lang.String newValue)
public void setCurrentQuantity(java.lang.Double newValue)
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.
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.
public void setCatEntryId(java.lang.String newValue)
public void setCatEntryId(java.lang.Long newValue)
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.
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.
public void setMaxQuantity(java.lang.String newValue)
public void setMaxQuantity(java.lang.Double newValue)
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.
public void setCurrency(java.lang.String newValue)
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.
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.
public void setMaxAmount(java.lang.String newValue)
public void setMaxAmount(java.math.BigDecimal newValue)
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.
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.
public void setMinQuantity(java.lang.String newValue)
public void setMinQuantity(java.lang.Double newValue)
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.
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.
public void setPurchaseLimitId(java.lang.String newValue)
public void setPurchaseLimitId(java.lang.Long newValue)
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.
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.
public void setCurrentAmount(java.lang.String newValue)
public void setCurrentAmount(java.math.BigDecimal newValue)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.