fleXplorer.Types
Class IntervalType<Type extends java.lang.Comparable<Type>>

java.lang.Object
  extended by fleXplorer.Types.FacetsType
      extended by fleXplorer.Types.IntervalType<Type>
Type Parameters:
Type - Generic Type

public class IntervalType<Type extends java.lang.Comparable<Type>>
extends FacetsType

Version:
1.0
Author:
Nikos Armenatzoglou

Constructor Summary
IntervalType(Interval<Type> value)
          Construct a new Interval value.
 
Method Summary
 Interval<Type> getValue()
          Returns the value as interval.
 java.lang.String getValueAsString()
          Returns the String representation of the value.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntervalType

public IntervalType(Interval<Type> value)
Construct a new Interval value.

Parameters:
value - the interval.
Method Detail

getValue

public Interval<Type> getValue()
Returns the value as interval.

Specified by:
getValue in class FacetsType
Returns:
the value of the term as Object.

getValueAsString

public java.lang.String getValueAsString()
Returns the String representation of the value.

Specified by:
getValueAsString in class FacetsType
Returns:
the String representation of the value.