de.hpi.fgis.dude.util.sorting.sortingkey
Interface Subkey

All Superinterfaces:
AutoJsonable, Comparator<DuDeObject>
All Known Implementing Classes:
AbstractSubkey, NumberBasedSubkey, TextBasedSubkey

public interface Subkey
extends Comparator<DuDeObject>, AutoJsonable

Subkey is an interface that is used within the SortingKey implementation. Each Subkey defines a part of this sorting key.

Author:
Matthias Pohl, Arvid Heise

Method Summary
 JsonArray getSubkeyValue(DuDeObject obj)
          Returns a JsonArray that collects all relevant values for the subkey of the passed DuDeObject.
 
Methods inherited from interface java.util.Comparator
compare, equals
 

Method Detail

getSubkeyValue

JsonArray getSubkeyValue(DuDeObject obj)
Returns a JsonArray that collects all relevant values for the subkey of the passed DuDeObject.

Parameters:
obj - The object from which the sub-key shall be returned.
Returns:
The JsonArray collecting all relevant values of the sub-key.


Copyright © 2011 Hasso Plattner Institute - Chair of Information Systems. All Rights Reserved.