public class BioentityDocument extends Object
Modifier and Type | Field and Description |
---|---|
protected List<Bioentity> |
bioentities |
Constructor and Description |
---|
BioentityDocument(String id) |
BioentityDocument(String id,
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 |
getId() |
public BioentityDocument(String id)
public String getId()
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-2015. All Rights Reserved.