Package psidev.psi.mi.jami.tab.extension
Class MitabCausalRelationship
- java.lang.Object
-
- psidev.psi.mi.jami.model.impl.DefaultCausalRelationship
-
- psidev.psi.mi.jami.tab.extension.MitabCausalRelationship
-
- All Implemented Interfaces:
FileSourceContext
,CausalRelationship
public class MitabCausalRelationship extends DefaultCausalRelationship implements FileSourceContext
-
-
Constructor Summary
Constructors Constructor Description MitabCausalRelationship(CvTerm relationType, Participant target)
Constructor for MitabCausalRelationship.
-
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.DefaultCausalRelationship
getRelationType, getTarget
-
-
-
-
Constructor Detail
-
MitabCausalRelationship
public MitabCausalRelationship(CvTerm relationType, Participant target)
Constructor for MitabCausalRelationship.
- Parameters:
relationType
- aCvTerm
object.target
- aParticipant
object.
-
-
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 classDefaultCausalRelationship
- Returns:
- the file source context as a String. If the source locator is not null, it should give the source locator properties
-
-