public class RDBMSDocument extends Object implements DocumentIF
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,FieldIF> |
fields |
protected float |
score |
| Modifier and Type | Method and Description |
|---|---|
void |
addField(FieldIF field)
INTERNAL: Adds the given field to the document.
|
FieldIF |
getField(String name)
INTERNAL: Returns the field with the specified name.
|
Collection<FieldIF> |
getFields()
INTERNAL: Returns all the fields of this document.
|
float |
getScore() |
void |
removeField(FieldIF field)
INTERNAL: Removes the given field from the document.
|
String |
toString() |
public float getScore()
public FieldIF getField(String name)
DocumentIFgetField in interface DocumentIFpublic Collection<FieldIF> getFields()
DocumentIFgetFields in interface DocumentIFpublic void addField(FieldIF field)
DocumentIFaddField in interface DocumentIFpublic void removeField(FieldIF field)
DocumentIFremoveField in interface DocumentIF