it.sistematica.isharedoc.service.search.engine.impl
Class FieldImpl

java.lang.Object
  extended by it.sistematica.isharedoc.service.search.engine.impl.FieldImpl
All Implemented Interfaces:
Field, java.io.Serializable, java.lang.Comparable<Field>

public class FieldImpl
extends java.lang.Object
implements Field

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface it.sistematica.isharedoc.service.search.engine.Field
Field.Type
 
Field Summary
 
Fields inherited from interface it.sistematica.isharedoc.service.search.engine.Field
CLASS_FIELD_NAME, ID_FIELD_NAME, PARTITION_FIELD_NAME, TIME_FIELD_NAME
 
Constructor Summary
FieldImpl(java.lang.String name, Field.Type type, java.lang.String description, FieldReader reader)
           
 
Method Summary
 int compareTo(Field o)
           
 java.lang.String getDescription()
           
 java.lang.String getName()
           
 FieldReader getReader()
           
 Field.Type getType()
           
 org.apache.lucene.index.IndexableField readField(java.lang.Object item)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FieldImpl

public FieldImpl(java.lang.String name,
                 Field.Type type,
                 java.lang.String description,
                 FieldReader reader)
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface Field

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface Field

getType

public Field.Type getType()
Specified by:
getType in interface Field

getReader

public FieldReader getReader()
Specified by:
getReader in interface Field

readField

public org.apache.lucene.index.IndexableField readField(java.lang.Object item)
Specified by:
readField in interface Field

compareTo

public int compareTo(Field o)
Specified by:
compareTo in interface java.lang.Comparable<Field>

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object