Package psidev.psi.mi.jami.tab.extension
Class MitabCvTerm
- java.lang.Object
-
- psidev.psi.mi.jami.model.impl.DefaultCvTerm
-
- psidev.psi.mi.jami.tab.extension.MitabCvTerm
-
- All Implemented Interfaces:
FileSourceContext
,CvTerm
public class MitabCvTerm extends DefaultCvTerm implements FileSourceContext
Mitab extension for CvTerm. It contains a FileSourceLocator- Since:
11/06/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description MitabCvTerm(String shortName)
Constructor for MitabCvTerm.MitabCvTerm(String shortName, String miIdentifier)
Constructor for MitabCvTerm.MitabCvTerm(String shortName, String fullName, String miIdentifier)
Constructor for MitabCvTerm.MitabCvTerm(String shortName, String fullName, String db, String id)
Constructor for MitabCvTerm.MitabCvTerm(String shortName, String fullName, Xref ontologyId)
Constructor for MitabCvTerm.MitabCvTerm(String shortName, Xref ontologyId)
Constructor for MitabCvTerm.
-
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.DefaultCvTerm
clearPropertiesLinkedToIdentifiers, equals, getAnnotations, getFullName, getIdentifiers, getMIIdentifier, getMODIdentifier, getPARIdentifier, getShortName, getSynonyms, getXrefs, hashCode, initialiseAnnotations, initialiseAnnotationsWith, initialiseIdentifiers, initialiseIdentifiersWith, initialiseSynonyms, initialiseSynonymsWith, initialiseXrefs, initialiseXrefsWith, processAddedIdentifierEvent, processRemovedIdentifierEvent, setFullName, setMIIdentifier, setMODIdentifier, setPARIdentifier, setShortName
-
-
-
-
Constructor Detail
-
MitabCvTerm
public MitabCvTerm(String shortName)
Constructor for MitabCvTerm.
- Parameters:
shortName
- aString
object.
-
MitabCvTerm
public MitabCvTerm(String shortName, String fullName, String miIdentifier)
Constructor for MitabCvTerm.
-
MitabCvTerm
public MitabCvTerm(String shortName, String fullName, Xref ontologyId)
Constructor for MitabCvTerm.
-
-
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 classDefaultCvTerm
- Returns:
- the file source context as a String. If the source locator is not null, it should give the source locator properties
-
-