com.ibm.commerce.tools.campaigns

Class CampaignInitiativeScheduleDataBeanQuickSortCompare

  • java.lang.Object
    • com.ibm.commerce.tools.campaigns.CampaignInitiativeScheduleDataBeanQuickSortCompare
  • All Implemented Interfaces:
    com.ibm.commerce.tools.util.QuickSortCompare


    public final class CampaignInitiativeScheduleDataBeanQuickSortCompare
    extends java.lang.Object
    implements com.ibm.commerce.tools.util.QuickSortCompare
    This class is used to compare CampaignInitiativeScheduleDataBean objects during a sort.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM copyright notice field.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int compare(java.lang.Object obj1, java.lang.Object obj2)
      Compares two CampaignInitiativeScheduleDataBean objects.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CampaignInitiativeScheduleDataBeanQuickSortCompare

        public CampaignInitiativeScheduleDataBeanQuickSortCompare(java.text.Collator localeCollator,
                                                                  java.lang.String orderBy)
        This constructor takes a Collater object and an "orderBy" value.
        Parameters:
        localeCollator - The locale collator used in the sorting.
        orderBy - The field to be sorted.
    • Method Detail

      • compare

        public int compare(java.lang.Object obj1,
                           java.lang.Object obj2)
        Compares two CampaignInitiativeScheduleDataBean objects.
        Specified by:
        compare in interface com.ibm.commerce.tools.util.QuickSortCompare
        Parameters:
        obj1 - The first Object.
        obj2 - The second Object.
        Returns:
        0 if the objects are equal. A value greater than 0 if obj1 is greater than obj2. A value less than 0 if ojb1 is less than obj2.