com.ibm.commerce.fulfillment.objects
Class CalculationMethodBean

com.ibm.commerce.fulfillment.objects.CalculationMethodBean
All Implemented Interfaces:
java.io.Serializable

public class CalculationMethodBean
implements java.io.Serializable

This bean provides access to the CALMETHOD table.

The following is a description of this table:

Each row of this table defines a CalculationMethod implementation.

See Also:
Serialized Form

Constructor Summary
CalculationMethodBean()
           
 
Method Summary
 java.lang.Integer getCalculationMethodId()
          This method provides access to the CALMETHOD.CALMETHOD_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getCalculationUsageId()
          This method provides access to the CALMETHOD.CALUSAGE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getDescription()
          This method provides access to the CALMETHOD.DESCRIPTION column of DB2 type VARCHAR(254) NULL.
 java.lang.String getName()
          This method provides access to the CALMETHOD.NAME column of DB2 type VARCHAR(254) NULL.
 java.lang.Integer getStoreEntityId()
          This method provides access to the CALMETHOD.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getSubclass()
          This method provides access to the CALMETHOD.SUBCLASS column of DB2 type INTEGER NULL.
 java.lang.String getTaskName()
          This method provides access to the CALMETHOD.TASKNAME column of DB2 type VARCHAR(254) NULL.
 void setCalculationMethodId(java.lang.Integer aCalculationMethodId)
          This method provides access to the CALMETHOD.CALMETHOD_ID column of DB2 type INTEGER NOT NULL.
 void setCalculationUsageId(java.lang.Integer aCalculationUsageId)
          This method provides access to the CALMETHOD.CALUSAGE_ID column of DB2 type INTEGER NOT NULL.
 void setDescription(java.lang.String aDescription)
          This method provides access to the CALMETHOD.DESCRIPTION column of DB2 type VARCHAR(254) NULL.
 void setName(java.lang.String aName)
          This method provides access to the CALMETHOD.NAME column of DB2 type VARCHAR(254) NULL.
 void setStoreEntityId(java.lang.Integer aStoreEntityId)
          This method provides access to the CALMETHOD.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 void setSubclass(java.lang.Integer aSubclass)
          This method provides access to the CALMETHOD.SUBCLASS column of DB2 type INTEGER NULL.
 void setTaskName(java.lang.String aTaskName)
          This method provides access to the CALMETHOD.TASKNAME column of DB2 type VARCHAR(254) NULL.
 

Constructor Detail

CalculationMethodBean

public CalculationMethodBean()
Method Detail

getCalculationMethodId

public java.lang.Integer getCalculationMethodId()

This method provides access to the CALMETHOD.CALMETHOD_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Generated unique identifier.

Returns:
java.lang.Integer

getCalculationUsageId

public java.lang.Integer getCalculationUsageId()

This method provides access to the CALMETHOD.CALUSAGE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The CalculationUsage (such as discount, shipping, sales tax, shipping tax) of the CalculationMethod.

Returns:
java.lang.Integer

getDescription

public java.lang.String getDescription()

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

The following is a description of this column:

A description of the CalculationMethod, suitable for display by a user interface that creates and updates CalculationCodes and CalculationScales.

Returns:
java.lang.String

getName

public java.lang.String getName()

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

The following is a description of this column:

A character string that uniquely identifies this CalculationMethod for a particular combination of StoreEntity, SubClass, and CalculationUsage.

Returns:
java.lang.String

getStoreEntityId

public java.lang.Integer getStoreEntityId()

This method provides access to the CALMETHOD.STOREENT_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The StoreEntity of which this CalculationMethod definition is a part.

Returns:
java.lang.Integer

getSubclass

public java.lang.Integer getSubclass()

This method provides access to the CALMETHOD.SUBCLASS column of DB2 type INTEGER NULL.

The following is a description of this column:

The type of CalculationMethod. Refer to CALMETHOD table: details for more information.

Returns:
java.lang.Integer

getTaskName

public java.lang.String getTaskName()

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

The following is a description of this column:

Complete name of the Java Interface Class for the method. For example, com.ibm.commerce.order.utils.CalculationCodeCombineCmd

Returns:
java.lang.String

setCalculationMethodId

public void setCalculationMethodId(java.lang.Integer aCalculationMethodId)

This method provides access to the CALMETHOD.CALMETHOD_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Generated unique identifier.

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

setCalculationUsageId

public void setCalculationUsageId(java.lang.Integer aCalculationUsageId)

This method provides access to the CALMETHOD.CALUSAGE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The CalculationUsage (such as discount, shipping, sales tax, shipping tax) of the CalculationMethod.

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

setDescription

public void setDescription(java.lang.String aDescription)

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

The following is a description of this column:

A description of the CalculationMethod, suitable for display by a user interface that creates and updates CalculationCodes and CalculationScales.

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

setName

public void setName(java.lang.String aName)

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

The following is a description of this column:

A character string that uniquely identifies this CalculationMethod for a particular combination of StoreEntity, SubClass, and CalculationUsage.

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

setStoreEntityId

public void setStoreEntityId(java.lang.Integer aStoreEntityId)

This method provides access to the CALMETHOD.STOREENT_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The StoreEntity of which this CalculationMethod definition is a part.

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

setSubclass

public void setSubclass(java.lang.Integer aSubclass)

This method provides access to the CALMETHOD.SUBCLASS column of DB2 type INTEGER NULL.

The following is a description of this column:

The type of CalculationMethod. Refer to CALMETHOD table: details for more information.

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

setTaskName

public void setTaskName(java.lang.String aTaskName)

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

The following is a description of this column:

Complete name of the Java Interface Class for the method. For example, com.ibm.commerce.order.utils.CalculationCodeCombineCmd

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