net.ontopia.infoset.fulltext.impl.rdbms
Class RDBMSDocument

java.lang.Object
  extended by net.ontopia.infoset.fulltext.impl.rdbms.RDBMSDocument
All Implemented Interfaces:
DocumentIF

public class RDBMSDocument
extends java.lang.Object
implements DocumentIF

INTERNAL: RDBMS DocumentIF class implementation.


Field Summary
protected  java.util.Map<java.lang.String,FieldIF> fields
           
protected  float score
           
 
Method Summary
 void addField(FieldIF field)
          INTERNAL: Adds the given field to the document.
 FieldIF getField(java.lang.String name)
          INTERNAL: Returns the field with the specified name.
 java.util.Collection<FieldIF> getFields()
          INTERNAL: Returns all the fields of this document.
 void removeField(FieldIF field)
          INTERNAL: Removes the given field from the document.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

fields

protected java.util.Map<java.lang.String,FieldIF> fields

score

protected float score
Method Detail

getField

public FieldIF getField(java.lang.String name)
Description copied from interface: DocumentIF
INTERNAL: Returns the field with the specified name.

Specified by:
getField in interface DocumentIF

getFields

public java.util.Collection<FieldIF> getFields()
Description copied from interface: DocumentIF
INTERNAL: Returns all the fields of this document.

Specified by:
getFields in interface DocumentIF
Returns:
A collection of FieldIF objects.

addField

public void addField(FieldIF field)
Description copied from interface: DocumentIF
INTERNAL: Adds the given field to the document.

Specified by:
addField in interface DocumentIF

removeField

public void removeField(FieldIF field)
Description copied from interface: DocumentIF
INTERNAL: Removes the given field from the document.

Specified by:
removeField in interface DocumentIF

toString

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


Copyright © 2000-2012 Ontopia.