Class DefaultXref

  • All Implemented Interfaces:
    Xref
    Direct Known Subclasses:
    CsvXref

    public class DefaultXref
    extends Object
    implements Xref
    Default implementation for Xref Notes: The equals and hashcode methods have been overridden to be consistent with UnambiguousXrefComparator
    Since:
    22/01/13
    Version:
    $Id$
    Author:
    Marine Dumousseau (marine@ebi.ac.uk)
    • Constructor Detail

      • DefaultXref

        public DefaultXref​(CvTerm database,
                           String id,
                           CvTerm qualifier)

        Constructor for DefaultXref.

        Parameters:
        database - a CvTerm object.
        id - a String object.
        qualifier - a CvTerm object.
      • DefaultXref

        public DefaultXref​(CvTerm database,
                           String id,
                           String version,
                           CvTerm qualifier)

        Constructor for DefaultXref.

        Parameters:
        database - a CvTerm object.
        id - a String object.
        version - a String object.
        qualifier - a CvTerm object.
      • DefaultXref

        public DefaultXref​(CvTerm database,
                           String id,
                           String version)

        Constructor for DefaultXref.

        Parameters:
        database - a CvTerm object.
        id - a String object.
        version - a String object.
      • DefaultXref

        public DefaultXref​(CvTerm database,
                           String id)

        Constructor for DefaultXref.

        Parameters:
        database - a CvTerm object.
        id - a String object.