Class XmlFeatureModificationEffector
- java.lang.Object
-
- psidev.psi.mi.jami.xml.model.extension.xml254.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 AllostericEffectorType
getEffectorType()
getEffectorType.ModelledFeature
getFeatureModification()
getFeatureModification.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
-
XmlFeatureModificationEffector
public XmlFeatureModificationEffector(int feature, PsiXmlLocator locator)
Constructor for XmlFeatureModificationEffector.
- Parameters:
feature
- a int.locator
- aPsiXmlLocator
object.
-
-
Method Detail
-
getFeatureModification
public ModelledFeature getFeatureModification()
getFeatureModification.
- Specified by:
getFeatureModification
in interfaceFeatureModificationEffector
- Returns:
- a
ModelledFeature
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
-
-