Class SimpleHomologeneBuilder
java.lang.Object
org.biojava.bio.program.homologene.SimpleHomologeneBuilder
- All Implemented Interfaces:
HomologeneBuilder
A simple no-frills implementation of the HomologeneBuilder interface.
Used to instantiate a in-memory copy of the Homologene data.
- Author:
- David Huen
-
Field Summary
Fields inherited from interface org.biojava.bio.program.homologene.HomologeneBuilder
ACCESSION, CURATED, HOMOID, LOCUSID, MULTIPLE, PERCENTIDENTITY, REFERENCE, SIMILARITYTYPE, TAXONID, TWIN
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addOrthologueProperty
(String key, String value) add a property to the current Orthologuevoid
addOrthoPairProperty
(String key, String value) add a property to the current OrthoPairvoid
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 DBvoid
endGroup()
end of data for groupvoid
end of data for this Orthologuevoid
end of data for this OrthoPairgetDB()
retrieve the DB that has just been builtvoid
startDB()
indicates start of data for a HomologeneDBvoid
indicates start of data for a OrthoPairSetvoid
indicates start of data for an orthologuevoid
indicates start of data for an OrthoPair
-
Constructor Details
-
SimpleHomologeneBuilder
public SimpleHomologeneBuilder()
-
-
Method Details
-
startDB
Description copied from interface:HomologeneBuilder
indicates start of data for a HomologeneDB- Specified by:
startDB
in interfaceHomologeneBuilder
-
startGroup
Description copied from interface:HomologeneBuilder
indicates start of data for a OrthoPairSet- Specified by:
startGroup
in interfaceHomologeneBuilder
-
startOrthoPair
Description copied from interface:HomologeneBuilder
indicates start of data for an OrthoPair- Specified by:
startOrthoPair
in interfaceHomologeneBuilder
-
startOrthologue
Description copied from interface:HomologeneBuilder
indicates start of data for an orthologue- Specified by:
startOrthologue
in interfaceHomologeneBuilder
-
addOrthologueProperty
Description copied from interface:HomologeneBuilder
add a property to the current Orthologue- Specified by:
addOrthologueProperty
in interfaceHomologeneBuilder
-
endOrthologue
Description copied from interface:HomologeneBuilder
end of data for this Orthologue- Specified by:
endOrthologue
in interfaceHomologeneBuilder
-
addOrthoPairProperty
Description copied from interface:HomologeneBuilder
add a property to the current OrthoPair- Specified by:
addOrthoPairProperty
in interfaceHomologeneBuilder
-
endOrthoPair
Description copied from interface:HomologeneBuilder
end of data for this OrthoPair- Specified by:
endOrthoPair
in interfaceHomologeneBuilder
-
addTitle
Description copied from interface:HomologeneBuilder
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. Go figger.)- Specified by:
addTitle
in interfaceHomologeneBuilder
-
endGroup
Description copied from interface:HomologeneBuilder
end of data for group- Specified by:
endGroup
in interfaceHomologeneBuilder
-
endDB
Description copied from interface:HomologeneBuilder
end of data for DB- Specified by:
endDB
in interfaceHomologeneBuilder
-
getDB
Description copied from interface:HomologeneBuilder
retrieve the DB that has just been built- Specified by:
getDB
in interfaceHomologeneBuilder
-