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 FileSourceLocatorgetSourceLocator()Getter for the fieldsourceLocator.voidsetSourceLocator(FileSourceLocator sourceLocator)Sets the source locatorStringtoString()-
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- aCvTermobject.target- aParticipantobject.
-
-
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 classDefaultCausalRelationship- Returns:
- the file source context as a String. If the source locator is not null, it should give the source locator properties
-
-