gate.creole.ir
Class DefaultIndexDefinition

java.lang.Object
  |
  +--gate.creole.ir.DefaultIndexDefinition
All Implemented Interfaces:
IndexDefinition, Serializable

public class DefaultIndexDefinition
extends Object
implements IndexDefinition

See Also:
Serialized Form

Field Summary
private  List fields
          List of IndexField - objects for indexing
private  String irEngineClassName
           
private  String location
          Location (path) of the index store directory
(package private) static long serialVersionUID
          Serialisation ID
 
Constructor Summary
DefaultIndexDefinition()
           
 
Method Summary
 void addIndexField(IndexField fld)
          Add new IndexField object to fields list.
 Iterator getIndexFields()
           
 String getIndexLocation()
           
 String getIrEngineClassName()
          Gets the fully qualified class name for the IR engine to be used.
 void setIndexLocation(String location)
          Sets the location of index
 void setIrEngineClassName(String irEngineClassName)
          Sets the fully qualified class name for the IR engine to be used.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fields

private List fields
List of IndexField - objects for indexing


location

private String location
Location (path) of the index store directory


serialVersionUID

static final long serialVersionUID
Serialisation ID

See Also:
Constant Field Values

irEngineClassName

private String irEngineClassName
Constructor Detail

DefaultIndexDefinition

public DefaultIndexDefinition()
Method Detail

setIndexLocation

public void setIndexLocation(String location)
Sets the location of index

Parameters:
location - - index directory path

getIndexLocation

public String getIndexLocation()
Specified by:
getIndexLocation in interface IndexDefinition
Returns:
String path of index store directory

getIndexFields

public Iterator getIndexFields()
Specified by:
getIndexFields in interface IndexDefinition
Returns:
Iterator of IndexFields, fileds for indexing.

addIndexField

public void addIndexField(IndexField fld)
Add new IndexField object to fields list.


setIrEngineClassName

public void setIrEngineClassName(String irEngineClassName)
Sets the fully qualified class name for the IR engine to be used.

Parameters:
irEngineClassName - a String.

getIrEngineClassName

public String getIrEngineClassName()
Gets the fully qualified class name for the IR engine to be used.

Specified by:
getIrEngineClassName in interface IndexDefinition
Returns:
a String.