Class AbstractExtendedXmlBinaryInteraction<P extends Participant>
- java.lang.Object
-
- psidev.psi.mi.jami.model.impl.AbstractInteraction<T>
-
- psidev.psi.mi.jami.binary.impl.AbstractBinaryInteraction<P>
-
- psidev.psi.mi.jami.xml.model.extension.binary.AbstractExtendedXmlBinaryInteraction<P>
-
- All Implemented Interfaces:
BinaryInteraction<P>,FileSourceContext,Interaction<P>,NamedInteraction<P>,ExtendedPsiXmlInteraction<P>,PsiXmlInteraction<P>
- Direct Known Subclasses:
AbstractXmlBinaryInteractionEvidence,XmlBinaryInteraction,XmlModelledBinaryInteraction
public abstract class AbstractExtendedXmlBinaryInteraction<P extends Participant> extends AbstractBinaryInteraction<P> implements ExtendedPsiXmlInteraction<P>, FileSourceContext
Abstract class for xml binary interactions- Since:
29/10/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description AbstractExtendedXmlBinaryInteraction()Constructor for AbstractExtendedXmlBinaryInteraction.AbstractExtendedXmlBinaryInteraction(String shortName)Constructor for AbstractExtendedXmlBinaryInteraction.AbstractExtendedXmlBinaryInteraction(String shortName, P participantA, P participantB)Constructor for AbstractExtendedXmlBinaryInteraction.AbstractExtendedXmlBinaryInteraction(String shortName, P participantA, P participantB, CvTerm complexExpansion)Constructor for AbstractExtendedXmlBinaryInteraction.AbstractExtendedXmlBinaryInteraction(String shortName, CvTerm type)Constructor for AbstractExtendedXmlBinaryInteraction.AbstractExtendedXmlBinaryInteraction(String shortName, CvTerm type, P participantA, P participantB)Constructor for AbstractExtendedXmlBinaryInteraction.AbstractExtendedXmlBinaryInteraction(String shortName, CvTerm type, P participantA, P participantB, CvTerm complexExpansion)Constructor for AbstractExtendedXmlBinaryInteraction.AbstractExtendedXmlBinaryInteraction(String shortName, CvTerm type, CvTerm complexExpansion)Constructor for AbstractExtendedXmlBinaryInteraction.AbstractExtendedXmlBinaryInteraction(P participantA, P participantB)Constructor for AbstractExtendedXmlBinaryInteraction.AbstractExtendedXmlBinaryInteraction(P participantA, P participantB, CvTerm complexExpansion)Constructor for AbstractExtendedXmlBinaryInteraction.AbstractExtendedXmlBinaryInteraction(CvTerm complexExpansion)Constructor for AbstractExtendedXmlBinaryInteraction.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Alias>getAliases()getAliases.EntrygetEntry()getEntry.StringgetFullName()The full name of the interaction.intgetId()getId.List<AbstractInferredInteraction>getInferredInteractions()getInferredInteractions.CvTermgetInteractionType()Getter for the fieldinteractionType.List<CvTerm>getInteractionTypes()getInteractionTypes.FileSourceLocatorgetSourceLocator()Getter for the fieldsourceLocator.booleanisIntraMolecular()isIntraMolecular.voidsetEntry(Entry entry)setEntry.voidsetFullName(String name)Sets the full name of the interactionvoidsetId(int id)setId.voidsetInteractionType(CvTerm term)Sets the interaction type.voidsetIntraMolecular(boolean value)setIntraMolecular.voidsetSourceLocator(FileSourceLocator sourceLocator)Sets the source locatorStringtoString()-
Methods inherited from class psidev.psi.mi.jami.binary.impl.AbstractBinaryInteraction
addAllParticipants, addParticipant, getCausalRegulatoryMechanism, getComplexExpansion, getParticipantA, getParticipantB, getParticipants, removeAllParticipants, removeParticipant, setCausalRegulatoryMechanism, setComplexExpansion, setParticipantA, setParticipantB
-
Methods inherited from class psidev.psi.mi.jami.model.impl.AbstractInteraction
clearPropertiesLinkedToChecksums, getAnnotations, getChecksums, getCreatedDate, getIdentifiers, getRigid, getShortName, getUpdatedDate, getXrefs, initialiseAnnotations, initialiseAnnotationsWith, initialiseChecksums, initialiseChecksumWith, initialiseIdentifiers, initialiseIdentifiersWith, initialiseParticipants, initialiseParticipantsWith, initialiseXrefs, initialiseXrefsWith, processAddedChecksumEvent, processRemovedChecksumEvent, setCreatedDate, setRigid, setShortName, setUpdatedDate
-
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.Interaction
addAllParticipants, addParticipant, getAnnotations, getChecksums, getCreatedDate, getIdentifiers, getParticipants, getRigid, getShortName, getUpdatedDate, getXrefs, removeAllParticipants, removeParticipant, setCreatedDate, setRigid, setShortName, setUpdatedDate
-
-
-
-
Constructor Detail
-
AbstractExtendedXmlBinaryInteraction
public AbstractExtendedXmlBinaryInteraction()
Constructor for AbstractExtendedXmlBinaryInteraction.
-
AbstractExtendedXmlBinaryInteraction
public AbstractExtendedXmlBinaryInteraction(String shortName)
Constructor for AbstractExtendedXmlBinaryInteraction.
- Parameters:
shortName- aStringobject.
-
AbstractExtendedXmlBinaryInteraction
public AbstractExtendedXmlBinaryInteraction(String shortName, CvTerm type)
Constructor for AbstractExtendedXmlBinaryInteraction.
-
AbstractExtendedXmlBinaryInteraction
public AbstractExtendedXmlBinaryInteraction(P participantA, P participantB)
Constructor for AbstractExtendedXmlBinaryInteraction.
- Parameters:
participantA- a P object.participantB- a P object.
-
AbstractExtendedXmlBinaryInteraction
public AbstractExtendedXmlBinaryInteraction(String shortName, P participantA, P participantB)
Constructor for AbstractExtendedXmlBinaryInteraction.
- Parameters:
shortName- aStringobject.participantA- a P object.participantB- a P object.
-
AbstractExtendedXmlBinaryInteraction
public AbstractExtendedXmlBinaryInteraction(String shortName, CvTerm type, P participantA, P participantB)
Constructor for AbstractExtendedXmlBinaryInteraction.
-
AbstractExtendedXmlBinaryInteraction
public AbstractExtendedXmlBinaryInteraction(CvTerm complexExpansion)
Constructor for AbstractExtendedXmlBinaryInteraction.
- Parameters:
complexExpansion- aCvTermobject.
-
AbstractExtendedXmlBinaryInteraction
public AbstractExtendedXmlBinaryInteraction(String shortName, CvTerm type, CvTerm complexExpansion)
Constructor for AbstractExtendedXmlBinaryInteraction.
-
AbstractExtendedXmlBinaryInteraction
public AbstractExtendedXmlBinaryInteraction(P participantA, P participantB, CvTerm complexExpansion)
Constructor for AbstractExtendedXmlBinaryInteraction.
- Parameters:
participantA- a P object.participantB- a P object.complexExpansion- aCvTermobject.
-
AbstractExtendedXmlBinaryInteraction
public AbstractExtendedXmlBinaryInteraction(String shortName, P participantA, P participantB, CvTerm complexExpansion)
Constructor for AbstractExtendedXmlBinaryInteraction.
-
-
Method Detail
-
getSourceLocator
public FileSourceLocator getSourceLocator()
Getter for the field
sourceLocator.- Specified by:
getSourceLocatorin interfaceFileSourceContext- Returns:
- a
FileSourceLocatorobject.
-
setSourceLocator
public void setSourceLocator(FileSourceLocator sourceLocator)
Sets the source locator- Specified by:
setSourceLocatorin interfaceFileSourceContext- Parameters:
sourceLocator- : the file locator
-
isIntraMolecular
public boolean isIntraMolecular()
isIntraMolecular.
- Specified by:
isIntraMolecularin interfacePsiXmlInteraction<P extends Participant>- Returns:
- a boolean.
-
setIntraMolecular
public void setIntraMolecular(boolean value)
setIntraMolecular.
Sets the value of the intraMolecular property.- Specified by:
setIntraMolecularin interfacePsiXmlInteraction<P extends Participant>- Parameters:
value- a boolean.
-
getFullName
public String getFullName()
The full name of the interaction. It can be null- Specified by:
getFullNamein interfaceNamedInteraction<P extends Participant>- Returns:
- the full name
-
setFullName
public void setFullName(String name)
Sets the full name of the interaction- Specified by:
setFullNamein interfaceNamedInteraction<P extends Participant>- Parameters:
name- : full name
-
getAliases
public List<Alias> getAliases()
getAliases.
- Specified by:
getAliasesin interfaceExtendedPsiXmlInteraction<P extends Participant>- Specified by:
getAliasesin interfaceNamedInteraction<P extends Participant>- Specified by:
getAliasesin interfacePsiXmlInteraction<P extends Participant>- Returns:
- a
Collectionobject.
-
getInteractionType
public CvTerm getInteractionType()
Getter for the field
interactionType.- Specified by:
getInteractionTypein interfaceInteraction<P extends Participant>- Overrides:
getInteractionTypein classAbstractInteraction<P extends Participant>- Returns:
- a
CvTermobject.
-
setInteractionType
public void setInteractionType(CvTerm term)
Sets the interaction type.- Specified by:
setInteractionTypein interfaceInteraction<P extends Participant>- Overrides:
setInteractionTypein classAbstractInteraction<P extends Participant>- Parameters:
term- : interaction type
-
getInteractionTypes
public List<CvTerm> getInteractionTypes()
getInteractionTypes.
- Specified by:
getInteractionTypesin interfaceExtendedPsiXmlInteraction<P extends Participant>- Returns:
- a
Listobject.
-
getEntry
public Entry getEntry()
getEntry.
- Specified by:
getEntryin interfacePsiXmlInteraction<P extends Participant>- Returns:
- a
Entryobject.
-
setEntry
public void setEntry(Entry entry)
setEntry.
- Specified by:
setEntryin interfacePsiXmlInteraction<P extends Participant>- Parameters:
entry- aEntryobject.
-
getInferredInteractions
public List<AbstractInferredInteraction> getInferredInteractions()
getInferredInteractions.
- Specified by:
getInferredInteractionsin interfaceExtendedPsiXmlInteraction<P extends Participant>- Returns:
- a
Listobject.
-
getId
public int getId()
getId.
- Specified by:
getIdin interfacePsiXmlInteraction<P extends Participant>- Returns:
- a int.
-
setId
public void setId(int id)
setId.
- Specified by:
setIdin interfacePsiXmlInteraction<P extends Participant>- Parameters:
id- a int.
-
toString
public String toString()
- Specified by:
toStringin interfaceFileSourceContext- Overrides:
toStringin classAbstractBinaryInteraction<P extends Participant>- Returns:
- the file source context as a String. If the source locator is not null, it should give the source locator properties
-
-