com.ibm.commerce.fulfillment.objects
Class CalculationRuleMemberGroupRelationshipBean

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

public class CalculationRuleMemberGroupRelationshipBean
implements java.io.Serializable

This bean provides access to the CALRULEMGP table.

The following is a description of this table:

A row in this table associates a CalculationRule with a MemberGroup. The discount CalculationRuleQualifyMethod can use this relationship to restrict use of the CalculationRule to members of certain MemberGroups. See the STOREMBRGP table.

See Also:
Serialized Form

Constructor Summary
CalculationRuleMemberGroupRelationshipBean()
           
 
Method Summary
 java.lang.Integer getCalculationRuleId()
          This method provides access to the CALRULEMGP.CALRULE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Long getMemberGroupId()
          This method provides access to the CALRULEMGP.MBRGRP_ID column of DB2 type BIGINT NOT NULL.
 

Constructor Detail

CalculationRuleMemberGroupRelationshipBean

public CalculationRuleMemberGroupRelationshipBean()
Method Detail

getCalculationRuleId

public java.lang.Integer getCalculationRuleId()

This method provides access to the CALRULEMGP.CALRULE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The CalculationRule.

Returns:
java.lang.Integer

getMemberGroupId

public java.lang.Long getMemberGroupId()

This method provides access to the CALRULEMGP.MBRGRP_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The MemberGroup. The default CalculationRuleQualifyMethod for discount CalculationUsage uses the MemberGroup as well as CALRULE.FLAGS and the STOREMBRGP relationship table to determine which customers can use the CalculationRule.

Returns:
java.lang.Long