Class XmlModelledParticipantCandidate
- java.lang.Object
-
- psidev.psi.mi.jami.xml.model.extension.xml253.AbstractXmlEntity<ModelledFeature>
-
- psidev.psi.mi.jami.xml.model.extension.xml253.XmlModelledParticipantCandidate
-
- All Implemented Interfaces:
com.sun.xml.bind.Locatable
,FileSourceContext
,Entity<ModelledFeature>
,ModelledEntity
,ModelledParticipantCandidate
,ParticipantCandidate<ModelledParticipantPool,ModelledFeature>
,ExtendedPsiXmlEntity<ModelledFeature>
public class XmlModelledParticipantCandidate extends AbstractXmlEntity<ModelledFeature> implements ModelledParticipantCandidate
XML implementation of ModelledParticipantCandidate- Since:
08/10/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
XmlModelledParticipantCandidate.JAXBFeatureWrapper
-
Constructor Summary
Constructors Constructor Description XmlModelledParticipantCandidate()
Constructor for XmlModelledParticipantCandidate.XmlModelledParticipantCandidate(Interactor interactor)
Constructor for XmlModelledParticipantCandidate.XmlModelledParticipantCandidate(Interactor interactor, Stoichiometry stoichiometry)
Constructor for XmlModelledParticipantCandidate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModelledParticipantPool
getParentPool()
The participant pool parent with which the candidate is involved.FileSourceLocator
getSourceLocator()
Getter for the fieldsourceLocator
.protected void
initialiseFeatureWrapper()
initialiseFeatureWrapper.void
setJAXBFeatureWrapper(XmlModelledParticipantCandidate.JAXBFeatureWrapper jaxbFeatureWrapper)
setJAXBFeatureWrapper.void
setJAXBId(int value)
setJAXBId.void
setJAXBInteractor(DefaultXmlInteractor interactor)
setJAXBInteractor.void
setJAXBInteractorRef(Integer value)
Sets the value of the interactorRef property.void
setParentPool(ModelledParticipantPool pool)
Sets the participant pool parent.-
Methods inherited from class psidev.psi.mi.jami.xml.model.extension.xml253.AbstractXmlEntity
addAllFeatures, addFeature, getCausalRelationships, getChangeListener, getFeatures, getId, getInteractor, getParticipantLocator, getStoichiometry, initialiseUnspecifiedInteractor, processAddedFeature, removeAllFeatures, removeFeature, setChangeListener, setFeatureWrapper, setId, setInteractor, setSourceLocator, setStoichiometry, setStoichiometry, sourceLocation, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface psidev.psi.mi.jami.model.Entity
addAllFeatures, addFeature, getCausalRelationships, getChangeListener, getFeatures, getInteractor, getStoichiometry, removeAllFeatures, removeFeature, setChangeListener, setInteractor, setStoichiometry, setStoichiometry
-
-
-
-
Field Detail
-
locator
protected Locator locator
-
-
Constructor Detail
-
XmlModelledParticipantCandidate
public XmlModelledParticipantCandidate()
Constructor for XmlModelledParticipantCandidate.
-
XmlModelledParticipantCandidate
public XmlModelledParticipantCandidate(Interactor interactor)
Constructor for XmlModelledParticipantCandidate.
- Parameters:
interactor
- aInteractor
object.
-
XmlModelledParticipantCandidate
public XmlModelledParticipantCandidate(Interactor interactor, Stoichiometry stoichiometry)
Constructor for XmlModelledParticipantCandidate.
- Parameters:
interactor
- aInteractor
object.stoichiometry
- aStoichiometry
object.
-
-
Method Detail
-
setJAXBInteractor
public void setJAXBInteractor(DefaultXmlInteractor interactor)
setJAXBInteractor.
- Overrides:
setJAXBInteractor
in classAbstractXmlEntity<ModelledFeature>
- Parameters:
interactor
- aDefaultXmlInteractor
object.
-
setJAXBInteractorRef
public void setJAXBInteractorRef(Integer value)
Sets the value of the interactorRef property.- Overrides:
setJAXBInteractorRef
in classAbstractXmlEntity<ModelledFeature>
- Parameters:
value
- allowed object isInteger
-
setJAXBId
public void setJAXBId(int value)
setJAXBId.
- Parameters:
value
- a int.
-
setJAXBFeatureWrapper
public void setJAXBFeatureWrapper(XmlModelledParticipantCandidate.JAXBFeatureWrapper jaxbFeatureWrapper)
setJAXBFeatureWrapper.
- Parameters:
jaxbFeatureWrapper
- aXmlModelledParticipantCandidate.JAXBFeatureWrapper
object.
-
getSourceLocator
public FileSourceLocator getSourceLocator()
Getter for the field
sourceLocator
.- Specified by:
getSourceLocator
in interfaceFileSourceContext
- Overrides:
getSourceLocator
in classAbstractXmlEntity<ModelledFeature>
- Returns:
- a
FileSourceLocator
object.
-
initialiseFeatureWrapper
protected void initialiseFeatureWrapper()
initialiseFeatureWrapper.
- Overrides:
initialiseFeatureWrapper
in classAbstractXmlEntity<ModelledFeature>
-
getParentPool
public ModelledParticipantPool getParentPool()
The participant pool parent with which the candidate is involved. It can be null if the participant candidate is not part of any participant pool. It can happen if the participant candidate has been removed from a participant pool and is now invalid.- Specified by:
getParentPool
in interfaceParticipantCandidate<ModelledParticipantPool,ModelledFeature>
- Returns:
- the participant pool parent
-
setParentPool
public void setParentPool(ModelledParticipantPool pool)
Sets the participant pool parent.- Specified by:
setParentPool
in interfaceParticipantCandidate<ModelledParticipantPool,ModelledFeature>
- Parameters:
pool
- : participant pool
-
-