org.apache.cayenne.lifecycle.sort
Class WeightedAshwoodEntitySorter
java.lang.Object
org.apache.cayenne.ashwood.AshwoodEntitySorter
org.apache.cayenne.lifecycle.sort.WeightedAshwoodEntitySorter
- All Implemented Interfaces:
- EntitySorter
public class WeightedAshwoodEntitySorter
- extends AshwoodEntitySorter
EntitySorter that takes into account entity "weights", and otherwise delegating to
another (topological) sorter.
- Since:
- 3.1
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WeightedAshwoodEntitySorter
public WeightedAshwoodEntitySorter()
doIndexSorter
protected void doIndexSorter()
- Overrides:
doIndexSorter in class AshwoodEntitySorter
getDbEntityComparator
protected Comparator<DbEntity> getDbEntityComparator(boolean dependantFirst)
- Overrides:
getDbEntityComparator in class AshwoodEntitySorter
getObjEntityComparator
protected Comparator<ObjEntity> getObjEntityComparator(boolean dependantFirst)
- Overrides:
getObjEntityComparator in class AshwoodEntitySorter
Copyright © 2001-2013 Apache Cayenne. All Rights Reserved.