Package psidev.psi.mi.jami.model.impl
Class DefaultAnnotation
- java.lang.Object
-
- psidev.psi.mi.jami.model.impl.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)
-
-
Field Summary
-
Fields inherited from interface psidev.psi.mi.jami.model.Annotation
AUTHOR, AUTHOR_MI, BIPARTITE_EXPANSION, BIPARTITE_EXPANSION_MI, CAUTION, CAUTION_MI, CLUSTERED, CLUSTERED_MI, COMMENT, COMMENT_MI, COMPLEX_EXPANSION, COMPLEX_EXPANSION_MI, COMPLEX_PROPERTIES, COMPLEX_PROPERTIES_MI, CONTACT_EMAIL, CONTACT_EMAIL_MI, CURATION_DEPTH, CURATION_DEPTH_MI, EVIDENCE, EVIDENCE_MI, EXP_MODIFICATION, EXP_MODIFICATION_MI, EXPERIMENTALLY_OBSERVED, EXPERIMENTALLY_OBSERVED_MI, FIGURE_LEGEND, FIGURE_LEGEND_MI, FULL_COVERAGE, FULL_COVERAGE_MI, IMEX_CURATION, IMEX_CURATION_MI, IMPORTED, IMPORTED_MI, INTERNALLY_CURATED, INTERNALLY_CURATED_MI, MATRIX_EXPANSION, MATRIX_EXPANSION_MI, MIMIX_CURATION, MIMIX_CURATION_MI, NUCLEIC_ACID_PROTEIN, NUCLEIC_ACID_PROTEIN_MI, PARTIAL_COVERAGE, PARTIAL_COVERAGE_MI, POSTAL_ADDRESS, PREDICTED, PREDICTED_MI, PROTEIN_PROTEIN, PROTEIN_PROTEIN_MI, PUBLICATION_JOURNAL, PUBLICATION_JOURNAL_MI, PUBLICATION_TITLE, PUBLICATION_TITLE_MI, PUBLICATION_YEAR, PUBLICATION_YEAR_MI, RAPID_CURATION, RAPID_CURATION_MI, SEARCH_URL, SEARCH_URL_MI, SMALL_MOLECULE_PROTEIN, SMALL_MOLECULE_PROTEIN_MI, SPOKE_EXPANSION, SPOKE_EXPANSION_MI, TEXT_MINING, TEXT_MINING_MI, URL, URL_MI, VALIDATION_REGEXP, VALIDATION_REGEXP_MI
-
-
Constructor Summary
Constructors Constructor Description DefaultAnnotation(CvTerm topic)
Constructor for DefaultAnnotation.DefaultAnnotation(CvTerm topic, String value)
Constructor for DefaultAnnotation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
CvTerm
getTopic()
Getter for the fieldtopic
.String
getValue()
Getter for the fieldvalue
.int
hashCode()
void
setValue(String value)
Set the value of this annotation.String
toString()
-
-
-
Method Detail
-
getTopic
public CvTerm getTopic()
Getter for the field
topic
.- Specified by:
getTopic
in interfaceAnnotation
- Returns:
- a
CvTerm
object.
-
getValue
public String getValue()
Getter for the field
value
.- Specified by:
getValue
in interfaceAnnotation
- Returns:
- a
String
object.
-
setValue
public void setValue(String value)
Set the value of this annotation.- Specified by:
setValue
in interfaceAnnotation
- Parameters:
value
- : the value
-
-