Class GeneSymbol

    • Constructor Detail

      • GeneSymbol

        public GeneSymbol​(String id)
      • GeneSymbol

        public GeneSymbol​(URI uri)
    • Method Detail

      • getIdPrefix

        protected String getIdPrefix()
        Description copied from class: Entity
        The entity prefix.
        Specified by:
        getIdPrefix in class Entity
        Returns:
        a String containing the prefix.
      • getIdRegex

        protected String getIdRegex()
        Description copied from class: Entity
        A regular expression an input String should adhere to when deriving the Entity from it.
        Specified by:
        getIdRegex in class Entity
        Returns:
      • getRegexIdGroup

        protected int getRegexIdGroup()
        Description copied from class: Entity
        The group within the regular expression the actual Entity.id is stored in.
        Specified by:
        getRegexIdGroup in class Entity
        Returns:
      • getUriPrefix

        protected String getUriPrefix()
        Description copied from class: Entity
        The String describing the URI prefix it should match with.
        Specified by:
        getUriPrefix in class Entity
        Returns:
      • toString

        public String toString()
        Description copied from class: Entity
        While uniqueness is based on the Entity.id (as each Entity.id should only occur once and data belonging to it should be consistent), Entity.toString() can be used for testing whether data retrieval from external sources yielded the expected results.
        Overrides:
        toString in class Entity