org.yawlfoundation.yawl.resourcing.jsf.comparator
Class ParticipantNameComparator

java.lang.Object
  extended by org.yawlfoundation.yawl.resourcing.jsf.comparator.ParticipantNameComparator
All Implemented Interfaces:
Comparator<Participant>

public class ParticipantNameComparator
extends Object
implements Comparator<Participant>

Allows Participant objects to be sorted on surname, firstname for display in 'Edit Org Data' form. Sorts correctly on surname for qualified names (eg. 'D' in 'van Dyke'); case insensitive for unqualified surnames Author: Michael Adams Creation Date: 08/02/2008


Constructor Summary
ParticipantNameComparator()
           
 
Method Summary
 int compare(Participant p1, Participant p2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

ParticipantNameComparator

public ParticipantNameComparator()
Method Detail

compare

public int compare(Participant p1,
                   Participant p2)
Specified by:
compare in interface Comparator<Participant>


Copyright © 2004-2012 The YAWL Foundation.