com.ibm.commerce.fulfillment.objects
Class ShippingJurisdictionGroupCalculationRuleBean

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

public class ShippingJurisdictionGroupCalculationRuleBean
implements java.io.Serializable

This bean provides access to the SHPJCRULE table.

The following is a description of this table:

This table can be used by the shipping CalculationRuleQualifyMethod to choose a CalculationRule based on ShippingMode and FulfillmentCenter when the shipping address matches one of the ShippingJurisdictions in a particular ShippingJurisdictionGroup.

See Also:
Serialized Form

Constructor Summary
ShippingJurisdictionGroupCalculationRuleBean()
           
 
Method Summary
 java.lang.Integer getCalculationRuleId()
          This method provides access to the SHPJCRULE.SHPJCRULE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getFulfillmentCenterId()
          This method provides access to the SHPJCRULE.FFMCENTER_ID column of DB2 type INTEGER NULL.
 java.lang.Integer getJurisdictionGroupId()
          This method provides access to the SHPJCRULE.JURSTGROUP_ID column of DB2 type INTEGER NULL.
 java.lang.Double getPrecedence()
          This method provides access to the SHPJCRULE.PRECEDENCE column of DB2 type FLOAT NOT NULL.
 java.lang.Integer getShipModeId()
          This method provides access to the SHPJCRULE.SHIPMODE_ID column of DB2 type INTEGER NULL.
 java.lang.Integer getShippingJurisdictionGroupCalculationRuleId()
          This method provides access to the SHPJCRULE.SHPJCRULE_ID column of DB2 type INTEGER NOT NULL.
 void setFulfillmentCenterId(java.lang.Integer aFulfillmentCenterId)
          This method provides access to the SHPJCRULE.FFMCENTER_ID column of DB2 type INTEGER NULL.
 void setPrecedence(java.lang.Double aPrecedence)
          This method provides access to the SHPJCRULE.PRECEDENCE column of DB2 type FLOAT NOT NULL.
 void setShipModeId(java.lang.Integer aShipModeId)
          This method provides access to the SHPJCRULE.SHIPMODE_ID column of DB2 type INTEGER NULL.
 void setShippingJurisdictionGroupCalculationRuleId(java.lang.Integer aShippingJurisdictionGroupCalculationRuleId)
          This method provides access to the SHPJCRULE.SHPJCRULE_ID column of DB2 type INTEGER NOT NULL.
 

Constructor Detail

ShippingJurisdictionGroupCalculationRuleBean

public ShippingJurisdictionGroupCalculationRuleBean()
Method Detail

getCalculationRuleId

public java.lang.Integer getCalculationRuleId()

This method provides access to the SHPJCRULE.SHPJCRULE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Generated unique key.

Returns:
java.lang.Integer

getFulfillmentCenterId

public java.lang.Integer getFulfillmentCenterId()

This method provides access to the SHPJCRULE.FFMCENTER_ID column of DB2 type INTEGER NULL.

The following is a description of this column:

The FulfillmentCenter. If this is NULL then this row applies to all FulfillmentCenters.

Returns:
java.lang.Integer

getJurisdictionGroupId

public java.lang.Integer getJurisdictionGroupId()

This method provides access to the SHPJCRULE.JURSTGROUP_ID column of DB2 type INTEGER NULL.

The following is a description of this column:

The ShippingJurisdictionGroup. If this is NULL, then this row applies to all ShippingJurisdictionGroups.

Returns:
java.lang.Integer

getPrecedence

public java.lang.Double getPrecedence()

This method provides access to the SHPJCRULE.PRECEDENCE column of DB2 type FLOAT NOT NULL.

The following is a description of this column:

When a shipping address falls within more than one of the specified ShippingJurisdictionGroups, for the same FulfillmentCenter and ShippingMode, only the CalculationRule with the highest SHPJCRULE.PRECEDENCE value qualifies.

Returns:
java.lang.Double

getShipModeId

public java.lang.Integer getShipModeId()

This method provides access to the SHPJCRULE.SHIPMODE_ID column of DB2 type INTEGER NULL.

The following is a description of this column:

The ShippingMode.

Returns:
java.lang.Integer

getShippingJurisdictionGroupCalculationRuleId

public java.lang.Integer getShippingJurisdictionGroupCalculationRuleId()

This method provides access to the SHPJCRULE.SHPJCRULE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Generated unique key.

Returns:
java.lang.Integer

setFulfillmentCenterId

public void setFulfillmentCenterId(java.lang.Integer aFulfillmentCenterId)

This method provides access to the SHPJCRULE.FFMCENTER_ID column of DB2 type INTEGER NULL.

The following is a description of this column:

The FulfillmentCenter. If this is NULL then this row applies to all FulfillmentCenters.

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

setPrecedence

public void setPrecedence(java.lang.Double aPrecedence)

This method provides access to the SHPJCRULE.PRECEDENCE column of DB2 type FLOAT NOT NULL.

The following is a description of this column:

When a shipping address falls within more than one of the specified ShippingJurisdictionGroups, for the same FulfillmentCenter and ShippingMode, only the CalculationRule with the highest SHPJCRULE.PRECEDENCE value qualifies.

Parameters:
aPrecedence - java.lang.Double
Returns:
void

setShipModeId

public void setShipModeId(java.lang.Integer aShipModeId)

This method provides access to the SHPJCRULE.SHIPMODE_ID column of DB2 type INTEGER NULL.

The following is a description of this column:

The ShippingMode.

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

setShippingJurisdictionGroupCalculationRuleId

public void setShippingJurisdictionGroupCalculationRuleId(java.lang.Integer aShippingJurisdictionGroupCalculationRuleId)

This method provides access to the SHPJCRULE.SHPJCRULE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Generated unique key.

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