Package psidev.psi.mi.jami.tab.extension
Class MitabProtein
- java.lang.Object
-
- psidev.psi.mi.jami.model.impl.DefaultInteractor
-
- psidev.psi.mi.jami.model.impl.DefaultMolecule
-
- psidev.psi.mi.jami.model.impl.DefaultPolymer
-
- psidev.psi.mi.jami.model.impl.DefaultProtein
-
- psidev.psi.mi.jami.tab.extension.MitabProtein
-
- All Implemented Interfaces:
FileSourceContext,Interactor,Molecule,Polymer,Protein
public class MitabProtein extends DefaultProtein implements FileSourceContext
Mitab extension of Protein. It contains a FileSourceContext- Since:
11/06/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Field Summary
-
Fields inherited from interface psidev.psi.mi.jami.model.Interactor
UNKNOWN_INTERACTOR, UNKNOWN_INTERACTOR_MI
-
Fields inherited from interface psidev.psi.mi.jami.model.Polymer
POLYMER, POLYMER_MI
-
Fields inherited from interface psidev.psi.mi.jami.model.Protein
PEPTIDE, PEPTIDE_MI, PROTEIN, PROTEIN_MI
-
-
Constructor Summary
Constructors Constructor Description MitabProtein(String name)Constructor for MitabProtein.MitabProtein(String name, String fullName)Constructor for MitabProtein.MitabProtein(String name, String fullName, CvTerm type)Constructor for MitabProtein.MitabProtein(String name, String fullName, CvTerm type, Organism organism)Constructor for MitabProtein.MitabProtein(String name, String fullName, CvTerm type, Organism organism, Xref uniqueId)Constructor for MitabProtein.MitabProtein(String name, String fullName, CvTerm type, Xref uniqueId)Constructor for MitabProtein.MitabProtein(String name, String fullName, Organism organism)Constructor for MitabProtein.MitabProtein(String name, String fullName, Organism organism, Xref uniqueId)Constructor for MitabProtein.MitabProtein(String name, String fullName, Xref uniqueId)Constructor for MitabProtein.MitabProtein(String name, CvTerm type)Constructor for MitabProtein.MitabProtein(String name, CvTerm type, Organism organism)Constructor for MitabProtein.MitabProtein(String name, CvTerm type, Organism organism, Xref uniqueId)Constructor for MitabProtein.MitabProtein(String name, CvTerm type, Xref uniqueId)Constructor for MitabProtein.MitabProtein(String name, Organism organism)Constructor for MitabProtein.MitabProtein(String name, Organism organism, Xref uniqueId)Constructor for MitabProtein.MitabProtein(String name, Xref uniqueId)Constructor for MitabProtein.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileSourceLocatorgetSourceLocator()Getter for the fieldsourceLocator.voidsetSourceLocator(FileSourceLocator sourceLocator)Sets the source locatorStringtoString()-
Methods inherited from class psidev.psi.mi.jami.model.impl.DefaultProtein
clearPropertiesLinkedToAliases, clearPropertiesLinkedToChecksums, clearPropertiesLinkedToIdentifiers, getGeneName, getPreferredIdentifier, getPreferredName, getRefseq, getRogid, getUniprotkb, initialiseAliases, initialiseChecksums, initialiseIdentifiers, processAddedAliasEvent, processAddedChecksumEvent, processAddedIdentifierEvent, processRemovedAliasEvent, processRemovedChecksumEvent, processRemovedIdentifierEvent, setGeneName, setInteractorType, setRefseq, setRogid, setUniprotkb
-
Methods inherited from class psidev.psi.mi.jami.model.impl.DefaultPolymer
getSequence, setSequence
-
Methods inherited from class psidev.psi.mi.jami.model.impl.DefaultInteractor
getAliases, getAnnotations, getChecksums, getFullName, getIdentifiers, getInteractorType, getOrganism, getShortName, getXrefs, initialiseAliasesWith, initialiseAnnotations, initialiseAnnotationsWith, initialiseChecksumsWith, initialiseIdentifiersWith, initialiseXrefs, initialiseXrefsWith, setFullName, setOrganism, setShortName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface psidev.psi.mi.jami.model.Interactor
getAliases, getAnnotations, getChecksums, getFullName, getIdentifiers, getInteractorType, getOrganism, getShortName, getXrefs, setFullName, setOrganism, setShortName
-
Methods inherited from interface psidev.psi.mi.jami.model.Polymer
getSequence, setSequence
-
-
-
-
Constructor Detail
-
MitabProtein
public MitabProtein(String name, String fullName, CvTerm type)
Constructor for MitabProtein.
-
MitabProtein
public MitabProtein(String name, CvTerm type, Organism organism)
Constructor for MitabProtein.
-
MitabProtein
public MitabProtein(String name, String fullName, CvTerm type, Organism organism)
Constructor for MitabProtein.
-
MitabProtein
public MitabProtein(String name, CvTerm type, Xref uniqueId)
Constructor for MitabProtein.
-
MitabProtein
public MitabProtein(String name, String fullName, CvTerm type, Xref uniqueId)
Constructor for MitabProtein.
-
MitabProtein
public MitabProtein(String name, CvTerm type, Organism organism, Xref uniqueId)
Constructor for MitabProtein.
-
MitabProtein
public MitabProtein(String name, String fullName, CvTerm type, Organism organism, Xref uniqueId)
Constructor for MitabProtein.
-
MitabProtein
public MitabProtein(String name)
Constructor for MitabProtein.
- Parameters:
name- aStringobject.
-
MitabProtein
public MitabProtein(String name, String fullName, Organism organism)
Constructor for MitabProtein.
-
MitabProtein
public MitabProtein(String name, String fullName, Xref uniqueId)
Constructor for MitabProtein.
-
MitabProtein
public MitabProtein(String name, Organism organism, Xref uniqueId)
Constructor for MitabProtein.
-
-
Method Detail
-
getSourceLocator
public FileSourceLocator getSourceLocator()
Getter for the field
sourceLocator.- Specified by:
getSourceLocatorin interfaceFileSourceContext- Returns:
- a
FileSourceLocatorobject.
-
setSourceLocator
public void setSourceLocator(FileSourceLocator sourceLocator)
Sets the source locator- Specified by:
setSourceLocatorin interfaceFileSourceContext- Parameters:
sourceLocator- : the file locator
-
toString
public String toString()
- Specified by:
toStringin interfaceFileSourceContext- Overrides:
toStringin classDefaultProtein- Returns:
- the file source context as a String. If the source locator is not null, it should give the source locator properties
-
-