org.apache.openjpa.persistence.query
Class QueryDefinitionImpl.DomainSorter

java.lang.Object
  extended by org.apache.openjpa.persistence.query.QueryDefinitionImpl.DomainSorter
All Implemented Interfaces:
Comparator<AbstractDomainObject>
Enclosing class:
QueryDefinitionImpl

static class QueryDefinitionImpl.DomainSorter
extends Object
implements Comparator<AbstractDomainObject>


Field Summary
(package private) static List<Class> _order
           
 
Constructor Summary
QueryDefinitionImpl.DomainSorter()
           
 
Method Summary
 int compare(AbstractDomainObject a, AbstractDomainObject b)
           
 
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
 

Field Detail

_order

static List<Class> _order
Constructor Detail

QueryDefinitionImpl.DomainSorter

QueryDefinitionImpl.DomainSorter()
Method Detail

compare

public int compare(AbstractDomainObject a,
                   AbstractDomainObject b)
Specified by:
compare in interface Comparator<AbstractDomainObject>


Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.