com.ibm.commerce.tools.campaigns
Class CampaignInitiativeScheduleDataBeanQuickSortCompare

com.ibm.commerce.tools.campaigns.CampaignInitiativeScheduleDataBeanQuickSortCompare

public final class CampaignInitiativeScheduleDataBeanQuickSortCompare

This class is used to compare CampaignInitiativeScheduleDataBean objects during a sort.


Field Summary
static java.lang.String COPYRIGHT
          Copyright.
 
Constructor Summary
CampaignInitiativeScheduleDataBeanQuickSortCompare(java.text.Collator localeCollator, java.lang.String orderBy)
          This constructor takes a Collater object and an "orderBy" value.
 
Method Summary
 int compare(java.lang.Object obj1, java.lang.Object obj2)
          Compares two CampaignInitiativeScheduleDataBean objects.
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
Copyright.
Constructor Detail

CampaignInitiativeScheduleDataBeanQuickSortCompare

public CampaignInitiativeScheduleDataBeanQuickSortCompare(java.text.Collator localeCollator,
                                                          java.lang.String orderBy)
This constructor takes a Collater object and an "orderBy" value.
Method Detail

compare

public int compare(java.lang.Object obj1,
                   java.lang.Object obj2)
Compares two CampaignInitiativeScheduleDataBean objects.
Parameters:
obj1 - Object 1.
obj2 - Object 2.
Returns:
0 if the objects are equal. A value greater than 1 if obj1 is greater than obj2. A value less than 1 if ojb1 is less than obj2.