com.flexive.shared.search.query
Interface ValueComparator

All Superinterfaces:
ObjectWithLabel
All Known Implementing Classes:
PropertyValueComparator, TreeValueNode.TreeValueComparator

public interface ValueComparator
extends ObjectWithLabel

Comparator for query values

Version:
$Rev: 2919 $
Author:
Daniel Lichtenberger (daniel.lichtenberger@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at)

Method Summary
 FxString getLabel()
          Return the label to be displayed to the user.
 boolean isNeedsInput()
          Returns true if the comparator needs a value ("right-hand-side").
 

Method Detail

isNeedsInput

boolean isNeedsInput()
Returns true if the comparator needs a value ("right-hand-side"). For example, equality needs a value to compare to, while "is null" does not.

Returns:
true if the comparator needs a value ("right-hand-side").

getLabel

FxString getLabel()
Return the label to be displayed to the user.

Specified by:
getLabel in interface ObjectWithLabel
Returns:
the label to be displayed to the user.