SMILA (incubation) API documentation

org.eclipse.smila.search.lucene.messages.advsearch
Class DTextField

java.lang.Object
  extended by org.eclipse.smila.search.lucene.messages.advsearch.DTermContent
      extended by org.eclipse.smila.search.lucene.messages.advsearch.DTextField
All Implemented Interfaces:
java.lang.Cloneable, ITermContent

public class DTextField
extends DTermContent
implements java.lang.Cloneable


Field Summary
 
Fields inherited from class org.eclipse.smila.search.lucene.messages.advsearch.DTermContent
TC_DATEFIELD, TC_NUMFIELD, TC_OP_1, TC_OP_N, TC_TEMPLATEFIELD, TC_TEXTFIELD, TC_WMEAN
 
Constructor Summary
DTextField()
          DTextField.
DTextField(int fieldNo, java.lang.String text, boolean fuzzy, boolean parseWildcards, int slop)
          DTextField.
 
Method Summary
 java.lang.Object clone()
          
 boolean equals(java.lang.Object obj)
          ************************************************************************ Calls the toString() method on the given Object and THIS instance and then compares the resultant Strings with the equals() method.
 int getFieldNo()
          getFieldNo.
 boolean getFuzzy()
          getFuzzy.
 java.lang.String getFuzzyAsString()
          getFuzzyAsString.
 boolean getParseWildcards()
           
 java.lang.String getParseWildcardsAsString()
           
 int getSlop()
           
 java.lang.String getText()
          getText.
 java.lang.String getType()
          
 void setFieldNo(int fieldNo)
          setFieldNo.
 void setFuzzy(boolean fuzzy)
           
 void setFuzzy(java.lang.String fuzzy)
           
 void setParseWildcards(boolean parseWildcards)
           
 void setParseWildcards(java.lang.String parseWildcards)
           
 void setSlop(int slop)
           
 void setText(java.lang.String text)
          setText.
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DTextField

public DTextField()
DTextField.


DTextField

public DTextField(int fieldNo,
                  java.lang.String text,
                  boolean fuzzy,
                  boolean parseWildcards,
                  int slop)
DTextField.

Parameters:
fieldNo - -
text - -
fuzzy - -
parseWildcards - -
slop - -
Method Detail

clone

public java.lang.Object clone()

Specified by:
clone in interface ITermContent
Overrides:
clone in class DTermContent
Returns:
Cloned object.
See Also:
DTermContent.clone()

getText

public java.lang.String getText()
getText.

Returns:
String

setText

public void setText(java.lang.String text)
setText.

Parameters:
text - -

getFieldNo

public int getFieldNo()
getFieldNo.

Returns:
int

setFieldNo

public void setFieldNo(int fieldNo)
setFieldNo.

Parameters:
fieldNo - -

getFuzzy

public boolean getFuzzy()
getFuzzy.

Returns:
boolean

getFuzzyAsString

public java.lang.String getFuzzyAsString()
getFuzzyAsString.

Returns:
String

setFuzzy

public void setFuzzy(boolean fuzzy)
Parameters:
fuzzy - -

setFuzzy

public void setFuzzy(java.lang.String fuzzy)
Parameters:
fuzzy - -

getParseWildcards

public boolean getParseWildcards()
Returns:
boolean

getParseWildcardsAsString

public java.lang.String getParseWildcardsAsString()
Returns:
String

setParseWildcards

public void setParseWildcards(boolean parseWildcards)
Parameters:
parseWildcards - -

setParseWildcards

public void setParseWildcards(java.lang.String parseWildcards)
Parameters:
parseWildcards - -

getSlop

public int getSlop()
Returns:
int

setSlop

public void setSlop(int slop)
Parameters:
slop - -

getType

public java.lang.String getType()

Specified by:
getType in class DTermContent
Returns:
String.
See Also:
DTermContent.getType()

equals

public boolean equals(java.lang.Object obj)
************************************************************************ Calls the toString() method on the given Object and THIS instance and then compares the resultant Strings with the equals() method.

Overrides:
equals in class java.lang.Object
Parameters:
obj - -
Returns:
boolean

SMILA (incubation) API documentation