Package wt.fc

Class IdentityCollationKeyFactory

java.lang.Object
wt.util.CollationKeyFactory
wt.fc.IdentityCollationKeyFactory

public class IdentityCollationKeyFactory extends CollationKeyFactory
A collation key factory for Identified objects. This is used to sort the objects by the string value of their getIdentificationObject().getIdentity() string or for WTObject's, by their getIdentity() string. Usage example:
   IdentityCollationKeyFactory keyFactory = new IdentityCollationKeyFactory( );
   QueryResult result = ...;  // perform query
   SortedEnumeration enum = new SortedEnumeration( result, keyFactory );
 


Supported API: true

Extendable: false