fleXplorer.Types
Class IntegerType

java.lang.Object
  extended by fleXplorer.Types.FacetsType
      extended by fleXplorer.Types.IntegerType

public class IntegerType
extends FacetsType

A Generic Type that describes the terms which have as value an Integer.

Version:
1.0
Author:
Nikos Armenatzoglou

Constructor Summary
IntegerType(int value)
          Constructs an integer value.
 
Method Summary
 java.lang.Integer getValue()
          Returns the value as Integer.
 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

IntegerType

public IntegerType(int value)
Constructs an integer value.

Parameters:
value - the integer value.
Method Detail

getValue

public java.lang.Integer getValue()
Returns the value as Integer.

Specified by:
getValue in class FacetsType
Returns:
the value as Integer.

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.