org.hibernate.search.query.dsl.impl
Class FacetRange<T>

java.lang.Object
  extended by org.hibernate.search.query.dsl.impl.FacetRange<T>

public class FacetRange<T>
extends Object

Author:
Hardy Ferentschik

Constructor Summary
FacetRange(Class<?> rangeType, T min, T max, boolean includeMin, boolean includeMax, String fieldName, DocumentBuilderIndexedEntity<?> documentBuilder)
           
 
Method Summary
 T getMax()
           
 T getMin()
           
 String getRangeString()
           
 boolean isInRange(T value)
           
 boolean isMaxIncluded()
           
 boolean isMinIncluded()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FacetRange

public FacetRange(Class<?> rangeType,
                  T min,
                  T max,
                  boolean includeMin,
                  boolean includeMax,
                  String fieldName,
                  DocumentBuilderIndexedEntity<?> documentBuilder)
Method Detail

getMin

public T getMin()

getMax

public T getMax()

isMinIncluded

public boolean isMinIncluded()

isMaxIncluded

public boolean isMaxIncluded()

isInRange

public boolean isInRange(T value)

getRangeString

public String getRangeString()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2006-2012 Red Hat Middleware, LLC. All Rights Reserved