|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.ibm.commerce.common.objects.QuantityUnitConversionBean
This bean provides access to the QTYCONVERT table.
The following is a description of this table:
Each row of this table represents a rule that can be used to convert a quantity amount from one QuantityUnit (unit of measurement) to another QuantityUnit.
Constructor Summary | |
QuantityUnitConversionBean()
|
Method Summary | |
java.math.BigDecimal |
getConversionFactor()
This method provides access to the QTYCONVERT.FACTOR column of DB2 type DECIMAL(31,20) NOT NULL. |
java.lang.String |
getFromQuantityUnitId()
This method provides access to the QTYCONVERT.QTYUNIT_ID_FROM column of DB2 type CHAR(16) NOT NULL. |
java.lang.String |
getMultiplyOrDivide()
This method provides access to the QTYCONVERT.MULTIPLYORDIVIDE column of DB2 type CHAR(1) NOT NULL. |
java.lang.Integer |
getQuantityUnitConversionId()
This method provides access to the QTYCONVERT.QTYCONVERT_ID column of DB2 type INTEGER NOT NULL. |
java.lang.String |
getToQuantityUnitId()
This method provides access to the QTYCONVERT.QTYUNIT_ID_TO column of DB2 type CHAR(16) NOT NULL. |
java.lang.String |
getUpdatable()
This method provides access to the QTYCONVERT.UPDATABLE column of DB2 type CHAR(1) NOT NULL. |
void |
setConversionFactor(java.math.BigDecimal aConversionFactor)
This method provides access to the QTYCONVERT.FACTOR column of DB2 type DECIMAL(31,20) NOT NULL. |
void |
setFromQuantityUnitId(java.lang.String aFromQuantityUnitId)
This method provides access to the QTYCONVERT.QTYUNIT_ID_FROM column of DB2 type CHAR(16) NOT NULL. |
void |
setMultiplyOrDivide(java.lang.String aMultiplyOrDivide)
This method provides access to the QTYCONVERT.MULTIPLYORDIVIDE column of DB2 type CHAR(1) NOT NULL. |
void |
setQuantityUnitConversionId(java.lang.Integer aQuantityUnitConversionId)
This method provides access to the QTYCONVERT.QTYCONVERT_ID column of DB2 type INTEGER NOT NULL. |
void |
setToQuantityUnitId(java.lang.String aToQuantityUnitId)
This method provides access to the QTYCONVERT.QTYUNIT_ID_TO column of DB2 type CHAR(16) NOT NULL. |
void |
setUpdatable(java.lang.String aUpdatable)
This method provides access to the QTYCONVERT.UPDATABLE column of DB2 type CHAR(1) NOT NULL. |
Constructor Detail |
public QuantityUnitConversionBean()
Method Detail |
public java.math.BigDecimal getConversionFactor()
This method provides access to the QTYCONVERT.FACTOR column of DB2 type DECIMAL(31,20) NOT NULL.
The following is a description of this column:
The conversion factor. Implicit conversion rules are derived from explicit rules by combining conversion factors.
public java.lang.String getFromQuantityUnitId()
This method provides access to the QTYCONVERT.QTYUNIT_ID_FROM column of DB2 type CHAR(16) NOT NULL.
The following is a description of this column:
The QuantityUnit converted from.
public java.lang.String getMultiplyOrDivide()
This method provides access to the QTYCONVERT.MULTIPLYORDIVIDE column of DB2 type CHAR(1) NOT NULL.
The following is a description of this column:
Indicates how to convert from QTYUNIT_ID_FROM to QTYUNIT_ID_TO. Valid values: M (multiply by FACTOR), D (divide by FACTOR). Conversion from QTYUNIT_ID_TO to QTYUNIT_ID_FROM using the inverse operation is implicitly defined.
public java.lang.Integer getQuantityUnitConversionId()
This method provides access to the QTYCONVERT.QTYCONVERT_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Generated unique key.
public java.lang.String getToQuantityUnitId()
This method provides access to the QTYCONVERT.QTYUNIT_ID_TO column of DB2 type CHAR(16) NOT NULL.
The following is a description of this column:
The QuantityUnit converted to.
public java.lang.String getUpdatable()
This method provides access to the QTYCONVERT.UPDATABLE column of DB2 type CHAR(1) NOT NULL.
The following is a description of this column:
A flag intended to be used by a user interface that manages QuantityUnit conversion rules.
N = the conversion factor is irrevocable. It should never be changed.
Y = the conversion factor can be changed.
public void setConversionFactor(java.math.BigDecimal aConversionFactor)
This method provides access to the QTYCONVERT.FACTOR column of DB2 type DECIMAL(31,20) NOT NULL.
The following is a description of this column:
The conversion factor. Implicit conversion rules are derived from explicit rules by combining conversion factors.
aConversionFactor
- java.math.BigDecimalpublic void setFromQuantityUnitId(java.lang.String aFromQuantityUnitId)
This method provides access to the QTYCONVERT.QTYUNIT_ID_FROM column of DB2 type CHAR(16) NOT NULL.
The following is a description of this column:
The QuantityUnit converted from.
aFromQuantityUnitId
- java.lang.Stringpublic void setMultiplyOrDivide(java.lang.String aMultiplyOrDivide)
This method provides access to the QTYCONVERT.MULTIPLYORDIVIDE column of DB2 type CHAR(1) NOT NULL.
The following is a description of this column:
Indicates how to convert from QTYUNIT_ID_FROM to QTYUNIT_ID_TO. Valid values: M (multiply by FACTOR), D (divide by FACTOR). Conversion from QTYUNIT_ID_TO to QTYUNIT_ID_FROM using the inverse operation is implicitly defined.
aMultiplyOrDivide
- java.lang.Stringpublic void setQuantityUnitConversionId(java.lang.Integer aQuantityUnitConversionId)
This method provides access to the QTYCONVERT.QTYCONVERT_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Generated unique key.
aQuantityUnitConversionId
- java.lang.Integerpublic void setToQuantityUnitId(java.lang.String aToQuantityUnitId)
This method provides access to the QTYCONVERT.QTYUNIT_ID_TO column of DB2 type CHAR(16) NOT NULL.
The following is a description of this column:
The QuantityUnit converted to.
aToQuantityUnitId
- java.lang.Stringpublic void setUpdatable(java.lang.String aUpdatable)
This method provides access to the QTYCONVERT.UPDATABLE column of DB2 type CHAR(1) NOT NULL.
The following is a description of this column:
A flag intended to be used by a user interface that manages QuantityUnit conversion rules.
N = the conversion factor is irrevocable. It should never be changed.
Y = the conversion factor can be changed.
aUpdatable
- java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |