com.ibm.commerce.common.objects
Class NumberUsageBean

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

public class NumberUsageBean
implements java.io.Serializable

This bean provides access to the NUMBRUSG table.

The following is a description of this table:

Each row defines a NumberUsage object. Numbers such as quantities and monetary amounts can be rounded and formatted differently depending on their associated NumberUsage objects. The CurrencyManager and QuantityManager cache this information.

See Also:
Serialized Form

Constructor Summary
NumberUsageBean()
           
 
Method Summary
 java.lang.String getCode()
          This method provides access to the NUMBRUSG.CODE column of DB2 type CHAR(60) NULL.
 java.lang.Integer getNumberUsageId()
          This method provides access to the NUMBRUSG.NUMBRUSG_ID column of DB2 type INTEGER NOT NULL.
 void setCode(java.lang.String aCode)
          This method provides access to the NUMBRUSG.CODE column of DB2 type CHAR(60) NULL.
 void setNumberUsageId(java.lang.Integer aNumberUsageId)
          This method provides access to the NUMBRUSG.NUMBRUSG_ID column of DB2 type INTEGER NOT NULL.
 

Constructor Detail

NumberUsageBean

public NumberUsageBean()
Method Detail

getCode

public java.lang.String getCode()

This method provides access to the NUMBRUSG.CODE column of DB2 type CHAR(60) NULL.

The following is a description of this column:

Applications can specify this value to identify their application specific NumberUsages. It is suggested that Java package naming conventions be used to facilitate application integration. Values starting with "com.ibm." are reserved for IBM.

Returns:
java.lang.String

getNumberUsageId

public java.lang.Integer getNumberUsageId()

This method provides access to the NUMBRUSG.NUMBRUSG_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Generated unique key. Negative values are reserved for IBM. Websphere Commerce defines and uses the following values:
-1 = com.ibm.commerce.default
-2 = com.ibm.commerce.unitPrice
-3 = com.ibm.commerce.listPrice

Returns:
java.lang.Integer

setCode

public void setCode(java.lang.String aCode)

This method provides access to the NUMBRUSG.CODE column of DB2 type CHAR(60) NULL.

The following is a description of this column:

Applications can specify this value to identify their application specific NumberUsages. It is suggested that Java package naming conventions be used to facilitate application integration. Values starting with "com.ibm." are reserved for IBM.

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

setNumberUsageId

public void setNumberUsageId(java.lang.Integer aNumberUsageId)

This method provides access to the NUMBRUSG.NUMBRUSG_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Generated unique key. Negative values are reserved for IBM. Websphere Commerce defines and uses the following values:
-1 = com.ibm.commerce.default
-2 = com.ibm.commerce.unitPrice
-3 = com.ibm.commerce.listPrice

Parameters:
aNumberUsageId - java.lang.Integer
Returns:
void