com.ibm.commerce.contract.objects
Class PurchaseLimitBean

com.ibm.commerce.contract.objects.PurchaseLimitBean

public class PurchaseLimitBean

This bean provides access to the PURCHASELT table.

The following is a description of this table:

The Purchase Limit table.


Constructor Summary
PurchaseLimitBean()
           
 
Method Summary
 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 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 setCurrentQuantity(java.lang.Double aCurrentQuantity)
          This method provides access to the PURCHASELT.CURRENTQUANTITY column of DB2 type DOUBLE NULL.
 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 setMaxQuantity(java.lang.Double 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 setMinQuantity(java.lang.Double 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 setTcId(java.lang.Long 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.
 

Constructor Detail

PurchaseLimitBean

public PurchaseLimitBean()
Method Detail

getCatEntryId

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.

Returns:
java.lang.Long

getCurrency

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.

Returns:
java.lang.String

getCurrentAmount

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.

Returns:
java.math.BigDecimal

getCurrentQuantity

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.

Returns:
java.lang.Double

getLimitType

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.

Returns:
java.lang.String

getMaxAmount

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.

Returns:
java.math.BigDecimal

getMaxQuantity

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.

Returns:
java.lang.Double

getMinAmount

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.

Returns:
java.math.BigDecimal

getMinQuantity

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.

Returns:
java.lang.Double

getPurchaseLimitId

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.

Returns:
java.lang.Long

getTcId

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.

Returns:
java.lang.Long

getTradingPositionContainerId

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.

Returns:
java.lang.Long

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

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.

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

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

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.

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

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

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

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

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

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

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