java.lang.Object | +--com.ibm.commerce.base.objects.ECEntityBean | +--com.ibm.commerce.contract.objimpl.PurchaseLimitBeanBase
This bean provides access to the PURCHASELT table.
The following is a description of this table:
The Purchase Limit table.
Field Summary | |
---|---|
java.lang.Long |
catEntryId |
java.lang.String |
currency |
java.math.BigDecimal |
currentAmount |
java.lang.Double |
currentQuantity |
java.lang.String |
limitType |
java.math.BigDecimal |
maxAmount |
java.lang.Double |
maxQuantity |
java.math.BigDecimal |
minAmount |
java.lang.Double |
minQuantity |
java.lang.Long |
purchaseLimitId |
java.lang.Long |
tcId |
java.lang.Long |
tradingPositionContainerId |
Constructor Summary | |
---|---|
PurchaseLimitBeanBase() |
Method Summary | |
---|---|
com.ibm.commerce.contract.objects.PurchaseLimitKey |
ejbCreate(java.lang.Long argTCId,
java.lang.Long argTradingPositionContainerId, java.lang.Long argCatEntryId,
java.lang.String argLimitType) Constructs an PurchaseLimitAccessBean object with the specified term condition ID, trading position container ID, catalog entry ID, ant the limit type. |
void |
ejbPostCreate(java.lang.Long argTCId,
java.lang.Long argTradingPositionContainerId, java.lang.Long argCatEntryId,
java.lang.String argLimitType) The EJB post create method for the Purchase Limit bean |
java.lang.Long |
getCatEntryId() 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.math.BigDecimal |
getCurrentAmount() This method provides access to the PURCHASELT.CURRENTAMOUNT column of DB2 type DECIMAL(20,5) NULL. |
java.lang.Double |
getCurrentQuantity() 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.math.BigDecimal |
getMaxAmount() This method provides access to the PURCHASELT.MAXAMOUNT column of DB2 type DECIMAL(20,5) NULL. |
java.lang.Double |
getMaxQuantity() This method provides access to the PURCHASELT.MAXQUANTITY column of DB2 type DOUBLE NULL. |
java.math.BigDecimal |
getMinAmount() This method provides access to the PURCHASELT.MINAMOUNT column of DB2 type DECIMAL(20,5) NULL. |
java.lang.Double |
getMinQuantity() This method provides access to the PURCHASELT.MINQUANTITY column of DB2 type DOUBLE NULL. |
java.lang.Long |
getPurchaseLimitId() This method provides access to the PURCHASELT.PURCHASELT_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long |
getTcId() This method provides access to the PURCHASELT.TERMCOND_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long |
getTradingPositionContainerId() This method provides access to the PURCHASELT.TRADEPOSCN_ID column of DB2 type BIGINT NOT NULL. |
void |
setCatEntryId(java.lang.Long 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) NULL. |
void |
setCurrentAmount(java.math.BigDecimal newValue) This method provides access to the PURCHASELT.CURRENTAMOUNT column of DB2 type DECIMAL(20,5) NULL. |
void |
setCurrentQuantity(java.lang.Double newValue) This method provides access to the PURCHASELT.CURRENTQUANTITY column of DB2 type DOUBLE NULL. |
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) NULL. |
void |
setMaxQuantity(java.lang.Double newValue) This method provides access to the PURCHASELT.MAXQUANTITY column of DB2 type DOUBLE NULL. |
void |
setMinAmount(java.math.BigDecimal newValue) This method provides access to the PURCHASELT.MINAMOUNT column of DB2 type DECIMAL(20,5) NULL. |
void |
setMinQuantity(java.lang.Double newValue) This method provides access to the PURCHASELT.MINQUANTITY column of DB2 type DOUBLE NULL. |
void |
setPurchaseLimitId(java.lang.Long 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 |
setTradingPositionContainerId(java.lang.Long 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 |
Field Detail |
---|
public java.lang.Long purchaseLimitId
public java.lang.Long tcId
public java.lang.Long tradingPositionContainerId
public java.lang.Long catEntryId
public java.lang.String currency
public java.lang.String limitType
public java.math.BigDecimal maxAmount
public java.math.BigDecimal minAmount
public java.math.BigDecimal currentAmount
public java.lang.Double maxQuantity
public java.lang.Double minQuantity
public java.lang.Double currentQuantity
Constructor Detail |
---|
public PurchaseLimitBeanBase()
Method Detail |
---|
public com.ibm.commerce.contract.objects.PurchaseLimitKey ejbCreate(java.lang.Long argTCId, java.lang.Long argTradingPositionContainerId, java.lang.Long argCatEntryId, java.lang.String argLimitType) throws javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
argTCId
- The ID of the terms and conditions.argTradingPositionContainerId
- The ID of the trading position
container, or price list.argCatEntryId
- The ID of the catalog entry.argLimitType
- The type of limit.javax.ejb.CreateException
- The javax.ejb.CreateException
exception.javax.ejb.FinderException
- The javax.ejb.FinderException
exception.javax.naming.NamingException
- The
javax.naming.NamingException exception.public void ejbPostCreate(java.lang.Long argTCId, java.lang.Long argTradingPositionContainerId, java.lang.Long argCatEntryId, java.lang.String argLimitType)
argTCId
- The ID of the terms and conditions.argTradingPositionContainerId
- The ID of the trading position
container, or price list.argCatEntryId
- The ID of the catalog entry.argLimitType
- The type of limit.public java.lang.Long getCatEntryId()
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.String getCurrency()
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.
public java.math.BigDecimal getCurrentAmount()
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.
public java.lang.Double getCurrentQuantity()
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.
public java.lang.String getLimitType()
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.
public java.math.BigDecimal getMaxAmount()
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.
public java.lang.Double getMaxQuantity()
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.
public java.math.BigDecimal getMinAmount()
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.
public java.lang.Double getMinQuantity()
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.
public java.lang.Long getPurchaseLimitId()
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.
public java.lang.Long getTcId()
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 getTradingPositionContainerId()
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 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.
newValue
- The ID of the catalog entry.public void setCurrency(java.lang.String newValue)
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.
newValue
- The currency type.public void setCurrentAmount(java.math.BigDecimal newValue)
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.
newValue
- The current purchase amount.public void setCurrentQuantity(java.lang.Double newValue)
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.
newValue
- The current purchase quantity.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:
0 = by quantity or 1 = by amount.
newValue
- The type of limit.public void setMaxAmount(java.math.BigDecimal newValue)
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.
newValue
- The maximum purchase amount.public void setMaxQuantity(java.lang.Double newValue)
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.
newValue
- The maximum purchase quantity.public void setMinAmount(java.math.BigDecimal newValue)
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.
newValue
- The minimum purchase amount.public void setMinQuantity(java.lang.Double newValue)
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.
newValue
- The minimum purchase quantity.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, and the Primary key.
newValue
- The ID of the purchase limit.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.
newValue
- The ID of the terms and
conditions.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.
newValue
- The ID of the trading position container, or price
list.