Class CsvXref
- java.lang.Object
-
- psidev.psi.mi.jami.model.impl.DefaultXref
-
- psidev.psi.mi.jami.crosslink.extension.CsvXref
-
- All Implemented Interfaces:
FileSourceContext
,Xref
public class CsvXref extends DefaultXref implements FileSourceContext
CSV extension for Xref. It contains a FileSourceLocator- Since:
14/06/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 CsvXref(CvTerm database, String id)
Constructor for CsvXref.CsvXref(CvTerm database, String id, String version)
Constructor for CsvXref.CsvXref(CvTerm database, String id, String version, CvTerm qualifier)
Constructor for CsvXref.CsvXref(CvTerm database, String id, CvTerm qualifier)
Constructor for CsvXref.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileSourceLocator
getSourceLocator()
Getter for the fieldsourceLocator
.void
setSourceLocator(FileSourceLocator sourceLocator)
Sets the source locatorString
toString()
-
Methods inherited from class psidev.psi.mi.jami.model.impl.DefaultXref
equals, getDatabase, getId, getQualifier, getVersion, hashCode
-
-
-
-
Constructor Detail
-
CsvXref
public CsvXref(CvTerm database, String id, String version, CvTerm qualifier)
Constructor for CsvXref.
-
-
Method Detail
-
getSourceLocator
public FileSourceLocator getSourceLocator()
Getter for the field
sourceLocator
.- Specified by:
getSourceLocator
in interfaceFileSourceContext
- Returns:
- a
FileSourceLocator
object.
-
setSourceLocator
public void setSourceLocator(FileSourceLocator sourceLocator)
Sets the source locator- Specified by:
setSourceLocator
in interfaceFileSourceContext
- Parameters:
sourceLocator
- : the file locator
-
toString
public String toString()
- Specified by:
toString
in interfaceFileSourceContext
- Overrides:
toString
in classDefaultXref
- Returns:
- the file source context as a String. If the source locator is not null, it should give the source locator properties
-
-