Class XmlMoleculeEffector
- java.lang.Object
-
- psidev.psi.mi.jami.xml.model.extension.xml254.XmlMoleculeEffector
-
- All Implemented Interfaces:
FileSourceContext
,AllostericEffector
,MoleculeEffector
public class XmlMoleculeEffector extends Object implements MoleculeEffector, FileSourceContext
XML implementation of allosteric molecule effector- Since:
15/11/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description XmlMoleculeEffector(int participant, PsiXmlLocator locator)
Constructor for XmlMoleculeEffector.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AllostericEffectorType
getEffectorType()
getEffectorType.ModelledEntity
getMolecule()
getMolecule.FileSourceLocator
getSourceLocator()
Getter for the fieldsourceLocator
.void
setSourceLocator(FileSourceLocator locator)
Sets the source locatorvoid
setSourceLocator(PsiXmlLocator locator)
Setter for the fieldsourceLocator
.String
toString()
toString
-
-
-
Constructor Detail
-
XmlMoleculeEffector
public XmlMoleculeEffector(int participant, PsiXmlLocator locator)
Constructor for XmlMoleculeEffector.
- Parameters:
participant
- a int.locator
- aPsiXmlLocator
object.
-
-
Method Detail
-
getMolecule
public ModelledEntity getMolecule()
getMolecule.
- Specified by:
getMolecule
in interfaceMoleculeEffector
- Returns:
- a
ModelledEntity
object.
-
getEffectorType
public AllostericEffectorType getEffectorType()
getEffectorType.
- Specified by:
getEffectorType
in interfaceAllostericEffector
- Returns:
- a
AllostericEffectorType
object.
-
getSourceLocator
public FileSourceLocator getSourceLocator()
Getter for the field
sourceLocator
.- Specified by:
getSourceLocator
in interfaceFileSourceContext
- Returns:
- a
FileSourceLocator
object.
-
setSourceLocator
public void setSourceLocator(FileSourceLocator locator)
Sets the source locator- Specified by:
setSourceLocator
in interfaceFileSourceContext
- Parameters:
locator
- : the file locator
-
setSourceLocator
public void setSourceLocator(PsiXmlLocator locator)
Setter for the field
sourceLocator
.- Parameters:
locator
- aPsiXmlLocator
object.
-
toString
public String toString()
toString
- Specified by:
toString
in interfaceFileSourceContext
- Overrides:
toString
in classObject
- Returns:
- the file source context as a String. If the source locator is not null, it should give the source locator properties
-
-