org.compass.core.impl
Class DefaultCompassTermFreq

java.lang.Object
  extended by org.compass.core.impl.DefaultCompassTermFreq
All Implemented Interfaces:
CompassTermFreq

public class DefaultCompassTermFreq
extends Object
implements CompassTermFreq

Author:
kimchy

Constructor Summary
DefaultCompassTermFreq(String term, float freq, String propertyName)
           
 
Method Summary
 float getFreq()
          Returns the term frequency within the index.
 String getPropertyName()
          Returns the property name this term is associated with
 String getTerm()
          Returns the term value (of the property name).
 void setFreq(float freq)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultCompassTermFreq

public DefaultCompassTermFreq(String term,
                              float freq,
                              String propertyName)
Method Detail

getTerm

public String getTerm()
Description copied from interface: CompassTermFreq
Returns the term value (of the property name).

Specified by:
getTerm in interface CompassTermFreq

getFreq

public float getFreq()
Description copied from interface: CompassTermFreq
Returns the term frequency within the index.

Specified by:
getFreq in interface CompassTermFreq

setFreq

public void setFreq(float freq)

getPropertyName

public String getPropertyName()
Description copied from interface: CompassTermFreq
Returns the property name this term is associated with

Specified by:
getPropertyName in interface CompassTermFreq


Copyright (c) 2004-2009 The Compass Project.