Enum Class OBOVocabulary

java.lang.Object
java.lang.Enum<OBOVocabulary>
org.coode.owlapi.obo12.parser.OBOVocabulary
All Implemented Interfaces:
Serializable, Comparable<OBOVocabulary>, java.lang.constant.Constable, org.semanticweb.owlapi.model.HasIRI

public enum OBOVocabulary extends Enum<OBOVocabulary> implements org.semanticweb.owlapi.model.HasIRI
Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 10-Jan-2007

  • Enum Constant Details

  • Field Details

  • Method Details

    • values

      public static OBOVocabulary[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static OBOVocabulary valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • ID2IRI

      public static org.semanticweb.owlapi.model.IRI ID2IRI(String oboId)
      Converts OBO Ids to IRIs. The conversion is defined at http://www. obofoundry.org/id-policy.shtml
      Parameters:
      oboId - The Id to convert
      Returns:
      The IRI of the converted Id
    • ID2IRI

      public static org.semanticweb.owlapi.model.IRI ID2IRI(String oboId, org.coode.owlapi.obo12.parser.IDSpaceManager idSpaceManager)
      Converts OBO Ids to IRIs. The conversion is defined at http://www. obofoundry.org/id-policy.shtml.
      Parameters:
      oboId - The OBO Id to convert.
      idSpaceManager - An IDSpaceManager which can be used to customise the IRI prefixes used in the conversion.
      Returns:
      The IRI of the converted Id.
    • IRI2ID

      public static String IRI2ID(org.semanticweb.owlapi.model.IRI oboIRI)
    • isOBOIRI

      public static boolean isOBOIRI(org.semanticweb.owlapi.model.IRI oboIRI)
    • getHeaderTags

      public static List<OBOVocabulary> getHeaderTags()
    • getTermStanzaTags

      public static List<OBOVocabulary> getTermStanzaTags()
    • getTypeDefStanzaTags

      public static List<OBOVocabulary> getTypeDefStanzaTags()
    • getInstanceStanzaTags

      public static List<OBOVocabulary> getInstanceStanzaTags()
    • getName

      public String getName()
    • getIRI

      public org.semanticweb.owlapi.model.IRI getIRI()
      Specified by:
      getIRI in interface org.semanticweb.owlapi.model.HasIRI
    • toString

      public String toString()
      Overrides:
      toString in class Enum<OBOVocabulary>