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)
DocumentIF
getField
in interface DocumentIF
public Collection<FieldIF> getFields()
DocumentIF
getFields
in interface DocumentIF
public void addField(FieldIF field)
DocumentIF
addField
in interface DocumentIF
public void removeField(FieldIF field)
DocumentIF
removeField
in interface DocumentIF