|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.ibm.commerce.common.objects.QuantityUnitFormatBean
This bean provides access to the QTYFORMAT table.
The following is a description of this table:
Each row of this table represents the Language-independent part of a QuantityUnit formatting rule. If a Store has no formatting rule for a particular QuantityUnit, it uses the formatting rule of its StoreGroup.
Constructor Summary | |
QuantityUnitFormatBean()
|
Method Summary | |
java.lang.Integer |
getDecimalPlace()
This method provides access to the QTYFORMAT.DECIMALPLACES column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getNumberUsgId()
This method provides access to the QTYFORMAT.NUMBRUSG_ID column of DB2 type INTEGER NOT NULL. |
java.lang.String |
getQuantityUnitId()
This method provides access to the QTYFORMAT.QTYUNIT_ID column of DB2 type CHAR(16) NOT NULL. |
java.lang.String |
getRoundingMethod()
This method provides access to the QTYFORMAT.ROUNDINGMETHOD column of DB2 type CHAR(1) NOT NULL. |
java.lang.Integer |
getRoundingMultiple()
This method provides access to the QTYFORMAT.ROUNDINGMULTIPLE column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getStoreEntityId()
This method provides access to the QTYFORMAT.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
void |
setDecimalPlace(java.lang.Integer aDecimalPlace)
This method provides access to the QTYFORMAT.DECIMALPLACES column of DB2 type INTEGER NOT NULL. |
void |
setNumberUsgId(java.lang.Integer aNumberUsgId)
This method provides access to the QTYFORMAT.NUMBRUSG_ID column of DB2 type INTEGER NOT NULL. |
void |
setRoundingMethod(java.lang.String aRoundingMethod)
This method provides access to the QTYFORMAT.ROUNDINGMETHOD column of DB2 type CHAR(1) NOT NULL. |
void |
setRoundingMultiple(java.lang.Integer aRoundingMultiple)
This method provides access to the QTYFORMAT.ROUNDINGMULTIPLE column of DB2 type INTEGER NOT NULL. |
Constructor Detail |
public QuantityUnitFormatBean()
Method Detail |
public java.lang.Integer getDecimalPlace()
This method provides access to the QTYFORMAT.DECIMALPLACES column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The number of decimal places in a rounded or truncated quantity amount.
public java.lang.Integer getNumberUsgId()
This method provides access to the QTYFORMAT.NUMBRUSG_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
This QuantityUnit formatting rule should be used when formatting quantity amounts for this usage.
public java.lang.String getQuantityUnitId()
This method provides access to the QTYFORMAT.QTYUNIT_ID column of DB2 type CHAR(16) NOT NULL.
The following is a description of this column:
The QuantityUnit.
public java.lang.String getRoundingMethod()
This method provides access to the QTYFORMAT.ROUNDINGMETHOD column of DB2 type CHAR(1) NOT NULL.
The following is a description of this column:
How to round to a multiple of ROUNDINGMULTIPLE. Valid values: R (round normally - up or down - to the nearest multiple), T (truncate - round down for positive amounts, round up for negative amounts).
public java.lang.Integer getRoundingMultiple()
This method provides access to the QTYFORMAT.ROUNDINGMULTIPLE column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Rounding multiple. For example, specify 5 to round centimeters the nearest multiple of five centimeters. The default value is 1.
public java.lang.Integer getStoreEntityId()
This method provides access to the QTYFORMAT.STOREENT_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The StoreEntity of which this formatting rule is a part.
public void setDecimalPlace(java.lang.Integer aDecimalPlace)
This method provides access to the QTYFORMAT.DECIMALPLACES column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The number of decimal places in a rounded or truncated quantity amount.
aDecimalPlace
- java.lang.Integerpublic void setNumberUsgId(java.lang.Integer aNumberUsgId)
This method provides access to the QTYFORMAT.NUMBRUSG_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
This QuantityUnit formatting rule should be used when formatting quantity amounts for this usage.
aNumberUsgId
- java.lang.Integerpublic void setRoundingMethod(java.lang.String aRoundingMethod)
This method provides access to the QTYFORMAT.ROUNDINGMETHOD column of DB2 type CHAR(1) NOT NULL.
The following is a description of this column:
How to round to a multiple of ROUNDINGMULTIPLE. Valid values: R (round normally - up or down - to the nearest multiple), T (truncate - round down for positive amounts, round up for negative amounts).
aRoundingMethod
- java.lang.Stringpublic void setRoundingMultiple(java.lang.Integer aRoundingMultiple)
This method provides access to the QTYFORMAT.ROUNDINGMULTIPLE column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Rounding multiple. For example, specify 5 to round centimeters the nearest multiple of five centimeters. The default value is 1.
aRoundingMultiple
- java.lang.Integer
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |