com.ibm.commerce.common.objects
Class QuantityUnitBean

com.ibm.commerce.common.objects.QuantityUnitBean
All Implemented Interfaces:
java.io.Serializable

public class QuantityUnitBean
implements java.io.Serializable

This bean provides access to the QTYUNIT table.

The following is a description of this table:

Each row of this table represents a QuantityUnit. A QuantityUnit is a unit of measurement, such as kilogram, meter, liter, pound, foot, quart, and so on.
Note: Do not remove the row for the default QTYUNIT_ID C62 (the unitless unit).

See Also:
Serialized Form

Constructor Summary
QuantityUnitBean()
           
 
Method Summary
 java.lang.String getField1()
          This method provides access to the QTYUNIT.FIELD1 column of DB2 type VARCHAR(254) NULL.
 java.lang.String getQuantityUnitId()
          This method provides access to the QTYUNIT.QTYUNIT_ID column of DB2 type CHAR(16) NOT NULL.
 void setField1(java.lang.String aField1)
          This method provides access to the QTYUNIT.FIELD1 column of DB2 type VARCHAR(254) NULL.
 void setQuantityUnitId(java.lang.String aQuantityUnitId)
          This method provides access to the QTYUNIT.QTYUNIT_ID column of DB2 type CHAR(16) NOT NULL.
 

Constructor Detail

QuantityUnitBean

public QuantityUnitBean()
Method Detail

getField1

public java.lang.String getField1()

This method provides access to the QTYUNIT.FIELD1 column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

Customizable.

Returns:
java.lang.String

getQuantityUnitId

public java.lang.String getQuantityUnitId()

This method provides access to the QTYUNIT.QTYUNIT_ID column of DB2 type CHAR(16) NOT NULL.

The following is a description of this column:

A uniquely assigned identifier. Several identifiers are defined, as specified in the UN/CEFACT Working Party on Facilitation of International Trade Procedures (WP.4), Recommendation No. 20, Codes for Units of Measure Used in International Trade.

Returns:
java.lang.String

setField1

public void setField1(java.lang.String aField1)

This method provides access to the QTYUNIT.FIELD1 column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

Customizable.

Parameters:
aField1 - java.lang.String
Returns:
void

setQuantityUnitId

public void setQuantityUnitId(java.lang.String aQuantityUnitId)

This method provides access to the QTYUNIT.QTYUNIT_ID column of DB2 type CHAR(16) NOT NULL.

The following is a description of this column:

A uniquely assigned identifier. Several identifiers are defined, as specified in the UN/CEFACT Working Party on Facilitation of International Trade Procedures (WP.4), Recommendation No. 20, Codes for Units of Measure Used in International Trade.

Parameters:
aQuantityUnitId - java.lang.String
Returns:
void