public class BioentityDocument extends Object
Constructor and Description |
---|
BioentityDocument(String id,
String documentPath) |
BioentityDocument(String id,
String documentPath,
List<Bioentity> bioentities) |
Modifier and Type | Method and Description |
---|---|
void |
addBioentity(Bioentity bioentity)
Add a
Bioentity object to the document. |
void |
addComment(String c)
Add a comment line.
|
List<Bioentity> |
getBioentities()
Get all
Bioentity objects. |
List<String> |
getComments()
Get the current set of comments.
|
String |
getDocumentPath()
Retrieve the source path for this document
|
String |
getId() |
public String getId()
public String getDocumentPath()
public void addBioentity(Bioentity bioentity)
Bioentity
object to the document.bioentity
- public List<Bioentity> getBioentities()
Bioentity
objects.public List<String> getComments()
public void addComment(String c)
c
- Copyright © 2010-2014. All Rights Reserved.