Package psidev.psi.mi.jami.model.impl
Class DefaultXref
- java.lang.Object
-
- psidev.psi.mi.jami.model.impl.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)
-
-
Field Summary
-
Fields inherited from interface psidev.psi.mi.jami.model.Xref
CHAIN_PARENT, CHAIN_PARENT_MI, CHEBI, CHEBI_MI, COMPLEX_PORTAL, COMPLEX_PORTAL_MI, COMPLEX_PRIMARY, COMPLEX_PRIMARY_MI, DDBJ_EMBL_GENBANK, DDBJ_EMBL_GENBANK_MI, DOI, DOI_MI, ENSEMBL, ENSEMBL_GENOMES, ENSEMBL_GENOMES_MI, ENSEMBL_MI, ENTREZ_GENE, ENTREZ_GENE_MI, GO, GO_MI, IDENTITY, IDENTITY_MI, IMEX, IMEX_MI, IMEX_PRIMARY, IMEX_PRIMARY_MI, INTACT_MI, INTERACTOR_SET_QUALIFIER, INTERACTOR_SET_QUALIFIER_MI, INTERPRO, INTERPRO_MI, ISOFORM_PARENT, ISOFORM_PARENT_MI, METHOD_REFERENCE, METHOD_REFERENCE_MI, PRIMARY, PRIMARY_MI, PUBMED, PUBMED_MI, REFSEQ, REFSEQ_MI, RESID, RESID_MI, SECONDARY, SECONDARY_MI, SEE_ALSO, SEE_ALSO_MI, SO, SO_MI, UNIPROTKB, UNIPROTKB_MI, UNIPROTKB_SWISSPROT, UNIPROTKB_SWISSPROT_MI, UNIPROTKB_TREMBL, UNIPROTKB_TREMBL_MI
-
-
Constructor Summary
Constructors Constructor Description DefaultXref(CvTerm database, String id)
Constructor for DefaultXref.DefaultXref(CvTerm database, String id, String version)
Constructor for DefaultXref.DefaultXref(CvTerm database, String id, String version, CvTerm qualifier)
Constructor for DefaultXref.DefaultXref(CvTerm database, String id, CvTerm qualifier)
Constructor for DefaultXref.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
CvTerm
getDatabase()
Getter for the fielddatabase
.String
getId()
Getter for the fieldid
.CvTerm
getQualifier()
Getter for the fieldqualifier
.String
getVersion()
Getter for the fieldversion
.int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
DefaultXref
public DefaultXref(CvTerm database, String id, CvTerm qualifier)
Constructor for DefaultXref.
-
DefaultXref
public DefaultXref(CvTerm database, String id, String version, CvTerm qualifier)
Constructor for DefaultXref.
-
DefaultXref
public DefaultXref(CvTerm database, String id, String version)
Constructor for DefaultXref.
-
-
Method Detail
-
getDatabase
public CvTerm getDatabase()
Getter for the field
database
.- Specified by:
getDatabase
in interfaceXref
- Returns:
- a
CvTerm
object.
-
getId
public String getId()
Getter for the field
id
.
-
getVersion
public String getVersion()
Getter for the field
version
.- Specified by:
getVersion
in interfaceXref
- Returns:
- a
String
object.
-
getQualifier
public CvTerm getQualifier()
Getter for the field
qualifier
.- Specified by:
getQualifier
in interfaceXref
- Returns:
- a
CvTerm
object.
-
-