Class DefaultAnnotation

  • All Implemented Interfaces:
    Annotation
    Direct Known Subclasses:
    MitabAnnotation

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

      • DefaultAnnotation

        public DefaultAnnotation​(CvTerm topic)

        Constructor for DefaultAnnotation.

        Parameters:
        topic - a CvTerm object.
      • DefaultAnnotation

        public DefaultAnnotation​(CvTerm topic,
                                 String value)

        Constructor for DefaultAnnotation.

        Parameters:
        topic - a CvTerm object.
        value - a String object.