Package psidev.psi.mi.jami.model.impl
Class DefaultAllostery<T extends AllostericEffector>
- java.lang.Object
-
- psidev.psi.mi.jami.model.impl.DefaultCooperativeEffect
-
- psidev.psi.mi.jami.model.impl.DefaultAllostery<T>
-
- All Implemented Interfaces:
Allostery<T>,CooperativeEffect
public class DefaultAllostery<T extends AllostericEffector> extends DefaultCooperativeEffect implements Allostery<T>
Default implementation for Allostery Notes: The equals and hashcode methods have NOT been overridden because the Allostery object is a complex object. To compare Allostery objects, you can use some comparators provided by default: - DefaultAllosteryComparator - UnambiguousAllosteryComparator - AllosteryComparator- Since:
23/05/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Field Summary
-
Fields inherited from interface psidev.psi.mi.jami.model.CooperativeEffect
AFFECTED_INTERACTION, AFFECTED_INTERACTION_ID, ALLOSTERIC_DYNAMIC_CHANGE, ALLOSTERIC_DYNAMIC_CHANGE_ID, ALLOSTERIC_EFFECTOR, ALLOSTERIC_EFFECTOR_ID, ALLOSTERIC_K_RESPONSE, ALLOSTERIC_K_RESPONSE_ID, ALLOSTERIC_MOLECULE, ALLOSTERIC_MOLECULE_ID, ALLOSTERIC_PTM, ALLOSTERIC_PTM_ID, ALLOSTERIC_STRUCTURE_CHANE, ALLOSTERIC_STRUCTURE_CHANE_ID, ALLOSTERIC_V_RESPONSE, ALLOSTERIC_V_RESPONSE_ID, ALLOSTERY, ALLOSTERY_ID, ALTERED_PHYSICO_COMPATIBILITY, ALTERED_PHYSICO_COMPATIBILITY_ID, BINDING_HIDING, BINDING_HIDING_ID, COMPOSITE_BINDING, COMPOSITE_BINDING_ID, COOPERATIVE_EFFECT_VALUE, COOPERATIVE_EFFECT_VALUE_ID, EFFECT_OUTCOME, EFFECT_OUTCOME_MI, HETEROTROPIC_ALLOSTERY, HETEROTROPIC_ALLOSTERY_ID, HOMOTROPIC_ALLOSTERY, HOMOTROPIC_ALLOSTERY_ID, NEGATIVE_EFFECT, NEGATIVE_EFFECT_ID, PARTICIPANT_REF, PARTICIPANT_REF_ID, POSITIVE_EFFECT, POSITIVE_EFFECT_ID, PRE_ORGANIZATION, PRE_ORGANIZATION_ID, PREASSEMBLY, PREASSEMBLY_ID
-
-
Constructor Summary
Constructors Constructor Description DefaultAllostery(CvTerm outcome, CvTerm response, ModelledParticipant allostericMolecule, T allostericEffector)Constructor for DefaultAllostery.DefaultAllostery(CvTerm outcome, ModelledParticipant allostericMolecule, T allostericEffector)Constructor for DefaultAllostery.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TgetAllostericEffector()Getter for the fieldallostericEffector.CvTermgetAllostericMechanism()Getter for the fieldallostericMechanism.ModelledEntitygetAllostericMolecule()Getter for the fieldallostericMolecule.CvTermgetAllosteryType()Getter for the fieldallosteryType.voidsetAllostericEffector(T effector)Setter for the fieldallostericEffector.voidsetAllostericMechanism(CvTerm mechanism)Sets the allosteric mechanism.voidsetAllostericMolecule(ModelledEntity participant)Sets the allosteric molecule.voidsetAllosteryType(CvTerm type)Sets the allostery type.StringtoString()-
Methods inherited from class psidev.psi.mi.jami.model.impl.DefaultCooperativeEffect
getAffectedInteractions, getAnnotations, getCooperativityEvidences, getOutCome, getResponse, initialiseAffectedInteractions, initialiseAffectedInteractionsWith, initialiseAnnotations, initialiseAnnotationsWith, initialiseCooperativityEvidences, initialiseCooperativityEvidencesWith, setOutCome, setResponse
-
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.CooperativeEffect
getAffectedInteractions, getAnnotations, getCooperativityEvidences, getOutCome, getResponse, setOutCome, setResponse
-
-
-
-
Constructor Detail
-
DefaultAllostery
public DefaultAllostery(CvTerm outcome, ModelledParticipant allostericMolecule, T allostericEffector)
Constructor for DefaultAllostery.
- Parameters:
outcome- aCvTermobject.allostericMolecule- aModelledParticipantobject.allostericEffector- a T object.
-
DefaultAllostery
public DefaultAllostery(CvTerm outcome, CvTerm response, ModelledParticipant allostericMolecule, T allostericEffector)
Constructor for DefaultAllostery.
- Parameters:
outcome- aCvTermobject.response- aCvTermobject.allostericMolecule- aModelledParticipantobject.allostericEffector- a T object.
-
-
Method Detail
-
getAllostericMechanism
public CvTerm getAllostericMechanism()
Getter for the field
allostericMechanism.- Specified by:
getAllostericMechanismin interfaceAllostery<T extends AllostericEffector>- Returns:
- a
CvTermobject.
-
setAllostericMechanism
public void setAllostericMechanism(CvTerm mechanism)
Sets the allosteric mechanism.- Specified by:
setAllostericMechanismin interfaceAllostery<T extends AllostericEffector>- Parameters:
mechanism- : allosteric mechanism
-
getAllosteryType
public CvTerm getAllosteryType()
Getter for the field
allosteryType.- Specified by:
getAllosteryTypein interfaceAllostery<T extends AllostericEffector>- Returns:
- a
CvTermobject.
-
setAllosteryType
public void setAllosteryType(CvTerm type)
Sets the allostery type.- Specified by:
setAllosteryTypein interfaceAllostery<T extends AllostericEffector>- Parameters:
type- : allostery type
-
getAllostericMolecule
public ModelledEntity getAllostericMolecule()
Getter for the field
allostericMolecule.- Specified by:
getAllostericMoleculein interfaceAllostery<T extends AllostericEffector>- Returns:
- a
ModelledEntityobject.
-
setAllostericMolecule
public void setAllostericMolecule(ModelledEntity participant)
Sets the allosteric molecule.- Specified by:
setAllostericMoleculein interfaceAllostery<T extends AllostericEffector>- Parameters:
participant- : allosteric molecule (can refer to any participating entity)
-
getAllostericEffector
public T getAllostericEffector()
Getter for the field
allostericEffector.- Specified by:
getAllostericEffectorin interfaceAllostery<T extends AllostericEffector>- Returns:
- a T object.
-
setAllostericEffector
public void setAllostericEffector(T effector)
Setter for the field
allostericEffector.- Specified by:
setAllostericEffectorin interfaceAllostery<T extends AllostericEffector>- Parameters:
effector- a T object.
-
toString
public String toString()
- Overrides:
toStringin classDefaultCooperativeEffect
-
-