Interface HomologeneBuilder

  • All Known Implementing Classes:
    SimpleHomologeneBuilder

    public interface HomologeneBuilder
    an interface for Homologene dataset Builders
    Author:
    David Huen
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void addOrthologueProperty​(java.lang.String key, java.lang.String value)
      add a property to the current Orthologue
      void addOrthoPairProperty​(java.lang.String key, java.lang.String value)
      add a property to the current OrthoPair
      void addTitle​(int taxonID, java.lang.String homologeneID, java.lang.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
    • Method Detail

      • startDB

        void startDB()
        indicates start of data for a HomologeneDB
      • startGroup

        void startGroup()
        indicates start of data for a OrthoPairSet
      • startOrthoPair

        void startOrthoPair()
        indicates start of data for an OrthoPair
      • startOrthologue

        void startOrthologue()
        indicates start of data for an orthologue
      • addOrthologueProperty

        void addOrthologueProperty​(java.lang.String key,
                                   java.lang.String value)
        add a property to the current Orthologue
      • endOrthologue

        void endOrthologue()
        end of data for this Orthologue
      • addOrthoPairProperty

        void addOrthoPairProperty​(java.lang.String key,
                                  java.lang.String value)
        add a property to the current OrthoPair
      • endOrthoPair

        void endOrthoPair()
        end of data for this OrthoPair
      • addTitle

        void addTitle​(int taxonID,
                      java.lang.String homologeneID,
                      java.lang.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. Go figger.)
      • endGroup

        void endGroup()
        end of data for group
      • endDB

        void endDB()
        end of data for DB
      • getDB

        HomologeneDB getDB()
        retrieve the DB that has just been built