Class NcbiGeneHistory


  • public class NcbiGeneHistory
    extends Object
    Represents the information from the "gene_history" file from NCBI (for one gene's history).
    Author:
    paul
    • Constructor Detail

      • NcbiGeneHistory

        public NcbiGeneHistory​(String startingId)
    • Method Detail

      • getCurrentId

        public String getCurrentId()
      • getPreviousId

        public String getPreviousId()
        If the id was ever changed, give the previous id from the current. Otherwise return null.
        Returns:
        string
      • getPreviousIds

        public List<String> getPreviousIds()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • update

        public void update​(String oldId,
                           String newId)
      • usedToBe

        public boolean usedToBe​(String oldId)