public String getValue() {
String value;
if ( facet instanceof RangeFacet ) {
// this could get more involved
RangeFacet rangeFacet = (RangeFacet) facet;
value = rangeFacet.getMin().toString() + " - " + rangeFacet.getMax().toString();
}
else {
value = facet.getValue();
}
return value;