org.openbp.cockpit.plugins.finder.treemodel
Interface Strategy

All Known Implementing Classes:
RefStrategy, RefStrategy

public interface Strategy

Strategy for the generic model.

Author:
Baumgartner Michael

Method Summary
 DataMapper createDataMapper(java.lang.Object leafData)
          Create a datamapper for a data object.
 java.util.Comparator getTreeComparator()
          Get the comparator that is used in the tree.
 

Method Detail

createDataMapper

DataMapper createDataMapper(java.lang.Object leafData)
Create a datamapper for a data object.

Parameters:
leafData - The data object to map
Returns:
data mapper

getTreeComparator

java.util.Comparator getTreeComparator()
Get the comparator that is used in the tree.

Returns:
comparator or null if the tree should not be sorted


Copyright © 2011. All Rights Reserved.