public class SimpleHomologeneBuilder extends Object implements HomologeneBuilder
ACCESSION, CURATED, HOMOID, LOCUSID, MULTIPLE, PERCENTIDENTITY, REFERENCE, SIMILARITYTYPE, TAXONID, TWIN| Constructor and Description |
|---|
SimpleHomologeneBuilder() |
| Modifier and Type | Method and Description |
|---|---|
void |
addOrthologueProperty(String key,
String value)
add a property to the current Orthologue
|
void |
addOrthoPairProperty(String key,
String value)
add a property to the current OrthoPair
|
void |
addTitle(int taxonID,
String homologeneID,
String title)
add title information to an Orthologue
(this is not in enclosed in the Orthologue element
because it comes completely separate in the Homologene
data files.
|
void |
endDB()
end of data for DB
|
void |
endGroup()
end of data for group
|
void |
endOrthologue()
end of data for this Orthologue
|
void |
endOrthoPair()
end of data for this OrthoPair
|
HomologeneDB |
getDB()
retrieve the DB that has just been built
|
void |
startDB()
indicates start of data for a HomologeneDB
|
void |
startGroup()
indicates start of data for a OrthoPairSet
|
void |
startOrthologue()
indicates start of data for an orthologue
|
void |
startOrthoPair()
indicates start of data for an OrthoPair
|
public SimpleHomologeneBuilder()
public void startDB()
HomologeneBuilderstartDB in interface HomologeneBuilderpublic void startGroup()
HomologeneBuilderstartGroup in interface HomologeneBuilderpublic void startOrthoPair()
HomologeneBuilderstartOrthoPair in interface HomologeneBuilderpublic void startOrthologue()
HomologeneBuilderstartOrthologue in interface HomologeneBuilderpublic void addOrthologueProperty(String key, String value)
HomologeneBuilderaddOrthologueProperty in interface HomologeneBuilderpublic void endOrthologue()
HomologeneBuilderendOrthologue in interface HomologeneBuilderpublic void addOrthoPairProperty(String key, String value)
HomologeneBuilderaddOrthoPairProperty in interface HomologeneBuilderpublic void endOrthoPair()
HomologeneBuilderendOrthoPair in interface HomologeneBuilderpublic void addTitle(int taxonID, String homologeneID, String title)
HomologeneBuilderaddTitle in interface HomologeneBuilderpublic void endGroup()
HomologeneBuilderendGroup in interface HomologeneBuilderpublic void endDB()
HomologeneBuilderendDB in interface HomologeneBuilderpublic HomologeneDB getDB()
HomologeneBuildergetDB in interface HomologeneBuilderCopyright © 2020 BioJava. All rights reserved.