Package psidev.psi.mi.jami.tab.extension
Class MitabInteraction
- java.lang.Object
-
- psidev.psi.mi.jami.model.impl.AbstractInteraction<Participant>
-
- psidev.psi.mi.jami.model.impl.DefaultInteraction
-
- psidev.psi.mi.jami.tab.extension.MitabInteraction
-
- All Implemented Interfaces:
FileSourceContext
,Interaction<Participant>
public class MitabInteraction extends DefaultInteraction implements FileSourceContext
Mitab extension for Interaction It contains a SourceLocator- Since:
11/06/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description MitabInteraction()
Constructor for MitabInteraction.MitabInteraction(String shortName)
Constructor for MitabInteraction.MitabInteraction(String shortName, CvTerm type)
Constructor for MitabInteraction.
-
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.AbstractInteraction
addAllParticipants, addParticipant, clearPropertiesLinkedToChecksums, getAnnotations, getChecksums, getCreatedDate, getIdentifiers, getInteractionType, getParticipants, getRigid, getShortName, getUpdatedDate, getXrefs, initialiseAnnotations, initialiseAnnotationsWith, initialiseChecksums, initialiseChecksumWith, initialiseIdentifiers, initialiseIdentifiersWith, initialiseParticipants, initialiseParticipantsWith, initialiseXrefs, initialiseXrefsWith, processAddedChecksumEvent, processRemovedChecksumEvent, removeAllParticipants, removeParticipant, setCreatedDate, setInteractionType, setRigid, setShortName, setUpdatedDate
-
-
-
-
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 classAbstractInteraction<Participant>
- Returns:
- the file source context as a String. If the source locator is not null, it should give the source locator properties
-
-