Class Synonym

java.lang.Object
org.biojava.nbio.ontology.Synonym
All Implemented Interfaces:
Comparable<Synonym>

public class Synonym extends Object implements Comparable<Synonym>
  • Field Details

  • Constructor Details

    • Synonym

      public Synonym()
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getCategory

      public String getCategory()
    • setCategory

      public void setCategory(String category)
    • getScope

      public int getScope()
    • setScope

      public void setScope(int scope)
    • compareTo

      public int compareTo(Synonym o)
      Specified by:
      compareTo in interface Comparable<Synonym>