Class AbstractXmlParticipant<I extends Interaction,F extends Feature>
- java.lang.Object
-
- psidev.psi.mi.jami.xml.model.extension.xml300.AbstractXmlEntity<F>
-
- psidev.psi.mi.jami.xml.model.extension.xml300.AbstractXmlParticipant<I,F>
-
- All Implemented Interfaces:
com.sun.xml.bind.Locatable,FileSourceContext,Entity<F>,NamedParticipant<I,F>,Participant<I,F>,ExtendedPsiXmlEntity<F>
- Direct Known Subclasses:
XmlModelledParticipant,XmlParticipant,XmlParticipantEvidence
public abstract class AbstractXmlParticipant<I extends Interaction,F extends Feature> extends AbstractXmlEntity<F> implements FileSourceContext, com.sun.xml.bind.Locatable, ExtendedPsiXmlEntity<F>, NamedParticipant<I,F>
Abstract class for XmlParticipant- Since:
07/10/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAbstractXmlParticipant.JAXBAttributeWrapperstatic classAbstractXmlParticipant.JAXBInteractorCandidateWrapper<I extends Interaction,F extends Feature,P extends ParticipantCandidate>-
Nested classes/interfaces inherited from class psidev.psi.mi.jami.xml.model.extension.xml300.AbstractXmlEntity
AbstractXmlEntity.JAXBFeatureWrapper<F extends Feature>
-
-
Field Summary
-
Fields inherited from interface psidev.psi.mi.jami.model.Participant
ACCEPTOR_ROLE, ACCEPTOR_ROLE_MI, BAIT_ROLE, BAIT_ROLE_MI, DONOR_ROLE, DONOR_ROLE_MI, ELECTRON_ACCEPTOR_ROLE, ELECTRON_ACCEPTOR_ROLE_MI, ELECTRON_DONOR_ROLE, ELECTRON_DONOR_ROLE_MI, ENZYME_REGULATOR_ROLE, ENZYME_REGULATOR_ROLE_MI, ENZYME_ROLE, ENZYME_ROLE_MI, ENZYME_TARGET_ROLE, ENZYME_TARGET_ROLE_MI, FLUORESCENCE_ACCEPTOR_ROLE, FLUORESCENCE_ACCEPTOR_ROLE_MI, FLUORESCENCE_DONOR_ROLE, FLUORESCENCE_DONOR_ROLE_MI, INHIBITED, INHIBITED_MI, INHIBITOR, INHIBITOR_MI, NEUTRAL, NEUTRAL_MI, PHOSPHATE_ACCEPTOR_ROLE, PHOSPHATE_ACCEPTOR_ROLE_MI, PHOSPHATE_DONOR_ROLE, PHOSPHATE_DONOR_ROLE_MI, PHOTON_ACCEPTOR_ROLE, PHOTON_ACCEPTOR_ROLE_MI, PHOTON_DONOR_ROLE, PHOTON_DONOR_ROLE_MI, PREDETERMINED, PREDETERMINED_MI, PREY, PREY_MI, PUTATIVE_SELF_ROLE, PUTATIVE_SELF_ROLE_MI, SELF_ROLE, SELF_ROLE_MI, SUPPRESSED_GENE_ROLE, SUPPRESSED_GENE_ROLE_MI, SUPPRESSOR_GENE_ROLE, SUPPRESSOR_GENE_ROLE_MI, UNSPECIFIED_ROLE, UNSPECIFIED_ROLE_MI
-
-
Constructor Summary
Constructors Constructor Description AbstractXmlParticipant()Constructor for AbstractXmlParticipant.AbstractXmlParticipant(Interactor interactor)Constructor for AbstractXmlParticipant.AbstractXmlParticipant(Interactor interactor, CvTerm bioRole)Constructor for AbstractXmlParticipant.AbstractXmlParticipant(Interactor interactor, CvTerm bioRole, Stoichiometry stoichiometry)Constructor for AbstractXmlParticipant.AbstractXmlParticipant(Interactor interactor, Stoichiometry stoichiometry)Constructor for AbstractXmlParticipant.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Alias>getAliases()Collection of aliases which give more information about the participant.Collection<Annotation>getAnnotations()getAnnotations.CvTermgetBiologicalEffect()Gets the value of the biologicalEffect property.CvTermgetBiologicalRole()Gets the value of the biologicalRole property.StringgetFullName()The full name of the entity.IgetInteraction()Getter for the fieldinteraction.AbstractXmlParticipantPool<I,F,? extends ParticipantCandidate>getParticipantPool()getParticipantPool.StringgetShortName()The short name of the entity.StoichiometrygetStoichiometry()getStoichiometry.Collection<Xref>getXrefs()getXrefs.protected voidinitialiseAnnotationWrapper()initialiseAnnotationWrapper.protected voidinitialiseStoichiometry()initialiseStoichiometry.voidsetBiologicalEffect(CvTerm biologicalEffect)Sets the biological effect of the participant in a causal interaction.voidsetBiologicalRole(CvTerm bioRole)Sets the biological role.voidsetFullName(String name)Sets the full name of the entityvoidsetInteraction(I interaction)Setter for the fieldinteraction.voidsetInteractionAndAddParticipant(I interaction)setInteractionAndAddParticipant.voidsetJAXBAttributeWrapper(AbstractXmlParticipant.JAXBAttributeWrapper jaxbAttributeWrapper)setJAXBAttributeWrapper.voidsetJAXBBiologicalRole(XmlCvTerm bioRole)Sets the value of the biologicalRole property.voidsetJAXBInteractionRef(Integer value)Sets the value of the interactionRef property.protected voidsetJAXBInteractorCandidates(AbstractXmlParticipant.JAXBInteractorCandidateWrapper<I,F,? extends ParticipantCandidate> value)Sets the value of the interactor candidates property.voidsetJAXBNames(NamesContainer value)Sets the value of the namesContainer property.voidsetJAXBStoichiometry(XmlStoichiometry stoichiometry)setJAXBStoichiometry.voidsetJAXBStoichiometryRange(XmlStoichiometryRange stoichiometry)setJAXBStoichiometryRange.voidsetJAXBXref(XrefContainer value)Sets the value of the xrefContainer property.voidsetShortName(String name)Sets the short name of an entityvoidsetStoichiometry(Integer stoichiometry)Sets the mean stoichiometry for this participant.voidsetStoichiometry(Stoichiometry stoichiometry)Setter for the fieldstoichiometry.-
Methods inherited from class psidev.psi.mi.jami.xml.model.extension.xml300.AbstractXmlEntity
addAllFeatures, addFeature, getCausalRelationships, getChangeListener, getFeatures, getId, getInteractor, getParticipantLocator, getSourceLocator, initialiseFeatureWrapper, initialiseUnspecifiedInteractor, processAddedFeature, removeAllFeatures, removeFeature, setChangeListener, setFeatureWrapper, setId, setInteractor, setJAXBInteractor, setJAXBInteractorRef, setSourceLocator, 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, removeAllFeatures, removeFeature, setChangeListener, setInteractor
-
Methods inherited from interface psidev.psi.mi.jami.xml.model.extension.ExtendedPsiXmlEntity
getId, setId
-
Methods inherited from interface psidev.psi.mi.jami.datasource.FileSourceContext
getSourceLocator, setSourceLocator, toString
-
-
-
-
Constructor Detail
-
AbstractXmlParticipant
public AbstractXmlParticipant()
Constructor for AbstractXmlParticipant.
-
AbstractXmlParticipant
public AbstractXmlParticipant(Interactor interactor)
Constructor for AbstractXmlParticipant.
- Parameters:
interactor- aInteractorobject.
-
AbstractXmlParticipant
public AbstractXmlParticipant(Interactor interactor, CvTerm bioRole)
Constructor for AbstractXmlParticipant.
- Parameters:
interactor- aInteractorobject.bioRole- aCvTermobject.
-
AbstractXmlParticipant
public AbstractXmlParticipant(Interactor interactor, Stoichiometry stoichiometry)
Constructor for AbstractXmlParticipant.
- Parameters:
interactor- aInteractorobject.stoichiometry- aStoichiometryobject.
-
AbstractXmlParticipant
public AbstractXmlParticipant(Interactor interactor, CvTerm bioRole, Stoichiometry stoichiometry)
Constructor for AbstractXmlParticipant.
- Parameters:
interactor- aInteractorobject.bioRole- aCvTermobject.stoichiometry- aStoichiometryobject.
-
-
Method Detail
-
setInteractionAndAddParticipant
public void setInteractionAndAddParticipant(I interaction)
setInteractionAndAddParticipant.
- Specified by:
setInteractionAndAddParticipantin interfaceParticipant<I extends Interaction,F extends Feature>- Parameters:
interaction- a I object.
-
getInteraction
public I getInteraction()
Getter for the field
interaction.- Specified by:
getInteractionin interfaceParticipant<I extends Interaction,F extends Feature>- Returns:
- a I object.
-
setInteraction
public void setInteraction(I interaction)
Setter for the field
interaction.- Specified by:
setInteractionin interfaceParticipant<I extends Interaction,F extends Feature>- Parameters:
interaction- a I object.
-
getShortName
public String getShortName()
The short name of the entity. It can be null or empty.- Specified by:
getShortNamein interfaceNamedParticipant<I extends Interaction,F extends Feature>- Returns:
- the short name
-
setShortName
public void setShortName(String name)
Sets the short name of an entity- Specified by:
setShortNamein interfaceNamedParticipant<I extends Interaction,F extends Feature>- Parameters:
name- : short name
-
getFullName
public String getFullName()
The full name of the entity. It can be null- Specified by:
getFullNamein interfaceNamedParticipant<I extends Interaction,F extends Feature>- Returns:
- the full name
-
setFullName
public void setFullName(String name)
Sets the full name of the entity- Specified by:
setFullNamein interfaceNamedParticipant<I extends Interaction,F extends Feature>- Parameters:
name- : full name
-
getAliases
public List<Alias> getAliases()
Collection of aliases which give more information about the participant. The set of aliases cannot be null. If the participant does not have any aliases, the method should return an empty Collection. Ex: author assigned name, ...- Specified by:
getAliasesin interfaceParticipant<I extends Interaction,F extends Feature>- Returns:
- the xrefs
-
getXrefs
public Collection<Xref> getXrefs()
getXrefs.
- Specified by:
getXrefsin interfaceParticipant<I extends Interaction,F extends Feature>- Returns:
- a
Collectionobject.
-
getAnnotations
public Collection<Annotation> getAnnotations()
getAnnotations.
- Specified by:
getAnnotationsin interfaceParticipant<I extends Interaction,F extends Feature>- Returns:
- a
Collectionobject.
-
getStoichiometry
public Stoichiometry getStoichiometry()
getStoichiometry.
- Specified by:
getStoichiometryin interfaceEntity<I extends Interaction>- Overrides:
getStoichiometryin classAbstractXmlEntity<F extends Feature>- Returns:
- a
Stoichiometryobject.
-
setStoichiometry
public void setStoichiometry(Integer stoichiometry)
Sets the mean stoichiometry for this participant.- Specified by:
setStoichiometryin interfaceEntity<I extends Interaction>- Overrides:
setStoichiometryin classAbstractXmlEntity<F extends Feature>- Parameters:
stoichiometry- : mean stoichiometry value
-
setStoichiometry
public void setStoichiometry(Stoichiometry stoichiometry)
Setter for the field
stoichiometry.- Specified by:
setStoichiometryin interfaceEntity<I extends Interaction>- Overrides:
setStoichiometryin classAbstractXmlEntity<F extends Feature>- Parameters:
stoichiometry- aStoichiometryobject.
-
getBiologicalRole
public CvTerm getBiologicalRole()
Gets the value of the biologicalRole property.- Specified by:
getBiologicalRolein interfaceParticipant<I extends Interaction,F extends Feature>- Returns:
- a
CvTermobject.
-
setBiologicalRole
public void setBiologicalRole(CvTerm bioRole)
Sets the biological role. If the bioRole is null, should create a bioRole Sets the value of the biologicalRole property.- Specified by:
setBiologicalRolein interfaceParticipant<I extends Interaction,F extends Feature>- Parameters:
bioRole- : biological role unspecified role (MI:0499)
-
getBiologicalEffect
public CvTerm getBiologicalEffect()
Gets the value of the biologicalEffect property.- Specified by:
getBiologicalEffectin interfaceParticipant<I extends Interaction,F extends Feature>- Returns:
- a
CvTermobject.
-
setBiologicalEffect
public void setBiologicalEffect(CvTerm biologicalEffect)
Sets the biological effect of the participant in a causal interaction. Sets the value of the biologicalEffect property.- Specified by:
setBiologicalEffectin interfaceParticipant<I extends Interaction,F extends Feature>- Parameters:
biologicalEffect- : biological effect
-
setJAXBNames
public void setJAXBNames(NamesContainer value)
Sets the value of the namesContainer property.- Parameters:
value- allowed object isNamesContainer
-
setJAXBXref
public void setJAXBXref(XrefContainer value)
Sets the value of the xrefContainer property.- Parameters:
value- allowed object isXrefContainer
-
setJAXBBiologicalRole
public void setJAXBBiologicalRole(XmlCvTerm bioRole)
Sets the value of the biologicalRole property.- Parameters:
bioRole- allowed object isXmlCvTerm
-
setJAXBStoichiometry
public void setJAXBStoichiometry(XmlStoichiometry stoichiometry)
setJAXBStoichiometry.
- Parameters:
stoichiometry- aXmlStoichiometryobject.
-
setJAXBStoichiometryRange
public void setJAXBStoichiometryRange(XmlStoichiometryRange stoichiometry)
setJAXBStoichiometryRange.
- Parameters:
stoichiometry- aXmlStoichiometryRangeobject.
-
setJAXBInteractionRef
public void setJAXBInteractionRef(Integer value)
Sets the value of the interactionRef property.- Parameters:
value- allowed object isInteger
-
getParticipantPool
public AbstractXmlParticipantPool<I,F,? extends ParticipantCandidate> getParticipantPool()
getParticipantPool.
- Returns:
- a
AbstractXmlParticipantPoolobject.
-
setJAXBInteractorCandidates
protected void setJAXBInteractorCandidates(AbstractXmlParticipant.JAXBInteractorCandidateWrapper<I,F,? extends ParticipantCandidate> value)
Sets the value of the interactor candidates property.- Parameters:
value- allowed object isInteger
-
setJAXBAttributeWrapper
public void setJAXBAttributeWrapper(AbstractXmlParticipant.JAXBAttributeWrapper jaxbAttributeWrapper)
setJAXBAttributeWrapper.
- Parameters:
jaxbAttributeWrapper- aAbstractXmlParticipant.JAXBAttributeWrapperobject.
-
initialiseStoichiometry
protected void initialiseStoichiometry()
initialiseStoichiometry.
-
initialiseAnnotationWrapper
protected void initialiseAnnotationWrapper()
initialiseAnnotationWrapper.
-
-