Class XmlMoleculeEffector
- java.lang.Object
-
- psidev.psi.mi.jami.xml.model.extension.xml300.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 AllostericEffectorTypegetEffectorType()getEffectorType.ModelledEntitygetMolecule()getMolecule.FileSourceLocatorgetSourceLocator()Getter for the fieldsourceLocator.voidsetSourceLocator(FileSourceLocator locator)Sets the source locatorvoidsetSourceLocator(PsiXmlLocator locator)Setter for the fieldsourceLocator.StringtoString()toString
-
-
-
Constructor Detail
-
XmlMoleculeEffector
public XmlMoleculeEffector(int participant, PsiXmlLocator locator)Constructor for XmlMoleculeEffector.
- Parameters:
participant- a int.locator- aPsiXmlLocatorobject.
-
-
Method Detail
-
getMolecule
public ModelledEntity getMolecule()
getMolecule.
- Specified by:
getMoleculein interfaceMoleculeEffector- Returns:
- a
ModelledEntityobject.
-
getEffectorType
public AllostericEffectorType getEffectorType()
getEffectorType.
- Specified by:
getEffectorTypein interfaceAllostericEffector- Returns:
- a
AllostericEffectorTypeobject.
-
getSourceLocator
public FileSourceLocator getSourceLocator()
Getter for the field
sourceLocator.- Specified by:
getSourceLocatorin interfaceFileSourceContext- Returns:
- a
FileSourceLocatorobject.
-
setSourceLocator
public void setSourceLocator(FileSourceLocator locator)
Sets the source locator- Specified by:
setSourceLocatorin interfaceFileSourceContext- Parameters:
locator- : the file locator
-
setSourceLocator
public void setSourceLocator(PsiXmlLocator locator)
Setter for the field
sourceLocator.- Parameters:
locator- aPsiXmlLocatorobject.
-
toString
public String toString()
toString
- Specified by:
toStringin interfaceFileSourceContext- Overrides:
toStringin classObject- Returns:
- the file source context as a String. If the source locator is not null, it should give the source locator properties
-
-