Class XmlFeatureModificationEffector
- java.lang.Object
-
- psidev.psi.mi.jami.xml.model.extension.xml300.XmlFeatureModificationEffector
-
- All Implemented Interfaces:
FileSourceContext,AllostericEffector,FeatureModificationEffector
public class XmlFeatureModificationEffector extends Object implements FeatureModificationEffector, FileSourceContext
Xml implementation of feature modification effector- Since:
15/11/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description XmlFeatureModificationEffector(int feature, PsiXmlLocator locator)Constructor for XmlFeatureModificationEffector.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AllostericEffectorTypegetEffectorType()getEffectorType.ModelledFeaturegetFeatureModification()getFeatureModification.FileSourceLocatorgetSourceLocator()Getter for the fieldsourceLocator.voidsetSourceLocator(FileSourceLocator locator)Sets the source locatorvoidsetSourceLocator(PsiXmlLocator locator)Setter for the fieldsourceLocator.StringtoString()toString
-
-
-
Constructor Detail
-
XmlFeatureModificationEffector
public XmlFeatureModificationEffector(int feature, PsiXmlLocator locator)Constructor for XmlFeatureModificationEffector.
- Parameters:
feature- a int.locator- aPsiXmlLocatorobject.
-
-
Method Detail
-
getFeatureModification
public ModelledFeature getFeatureModification()
getFeatureModification.
- Specified by:
getFeatureModificationin interfaceFeatureModificationEffector- Returns:
- a
ModelledFeatureobject.
-
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
-
-