org.salespointframework.desktop
Class NOPDataBasketEntryGrouper

java.lang.Object
  extended by org.salespointframework.desktop.NOPDataBasketEntryGrouper
All Implemented Interfaces:
DataBasketEntryGrouper

public final class NOPDataBasketEntryGrouper
extends java.lang.Object
implements DataBasketEntryGrouper

DataBasketEntryGrouper that can be used to indicate no grouping at all.

Since:
v2.0
Version:
2.0 23/08/1999
Author:
Steffen Zschaler

Field Summary
static DataBasketEntryGrouper NO_GROUPS
          Convenience variable holding an instance of NOPDataBasketEntryGrouper.
 
Constructor Summary
NOPDataBasketEntryGrouper()
           
 
Method Summary
 boolean canGroup(DataBasketEntry dbe1, DataBasketEntry dbe2)
          Returns false.
 DataBasketEntry group(DataBasketEntry dbe1, DataBasketEntry dbe2)
          Returns dbe1.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NO_GROUPS

public static final DataBasketEntryGrouper NO_GROUPS
Convenience variable holding an instance of NOPDataBasketEntryGrouper.

Constructor Detail

NOPDataBasketEntryGrouper

public NOPDataBasketEntryGrouper()
Method Detail

canGroup

public final boolean canGroup(DataBasketEntry dbe1,
                              DataBasketEntry dbe2)
Returns false.

Specified by:
canGroup in interface DataBasketEntryGrouper
Returns:
false.

group

public final DataBasketEntry group(DataBasketEntry dbe1,
                                   DataBasketEntry dbe2)
Returns dbe1.

Specified by:
group in interface DataBasketEntryGrouper
Returns:
dbe1