Class XmlInteractorPool
- java.lang.Object
-
- psidev.psi.mi.jami.xml.model.extension.AbstractBaseXmlInteractor
-
- psidev.psi.mi.jami.xml.model.extension.xml300.AbstractXmlInteractor
-
- psidev.psi.mi.jami.xml.model.extension.xml300.DefaultXmlInteractor
-
- psidev.psi.mi.jami.xml.model.extension.xml300.XmlInteractorPool
-
- All Implemented Interfaces:
com.sun.xml.bind.Locatable,Iterable<Interactor>,Collection<Interactor>,FileSourceContext,Interactor,InteractorPool,ExtendedPsiXmlInteractor
public class XmlInteractorPool extends DefaultXmlInteractor implements InteractorPool
Xml implementation for InteractorSet- Since:
24/07/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class psidev.psi.mi.jami.xml.model.extension.xml300.AbstractXmlInteractor
AbstractXmlInteractor.JAXBAttributeWrapper
-
Nested classes/interfaces inherited from class psidev.psi.mi.jami.xml.model.extension.AbstractBaseXmlInteractor
AbstractBaseXmlInteractor.AbstractJAXBAttributeWrapper
-
-
Field Summary
-
Fields inherited from class psidev.psi.mi.jami.xml.model.extension.AbstractBaseXmlInteractor
locator
-
Fields inherited from interface psidev.psi.mi.jami.model.Interactor
UNKNOWN_INTERACTOR, UNKNOWN_INTERACTOR_MI
-
Fields inherited from interface psidev.psi.mi.jami.model.InteractorPool
CANDIDATE_SET, CANDIDATE_SET_MI, DEFINED_SET, DEFINED_SET_MI, MOLECULE_SET, MOLECULE_SET_MI, OPEN_SET, OPEN_SET_MI
-
-
Constructor Summary
Constructors Constructor Description XmlInteractorPool()Constructor for XmlInteractorPool.XmlInteractorPool(String name)Constructor for XmlInteractorPool.XmlInteractorPool(String name, String fullName)Constructor for XmlInteractorPool.XmlInteractorPool(String name, String fullName, CvTerm type)Constructor for XmlInteractorPool.XmlInteractorPool(String name, String fullName, CvTerm type, Organism organism)Constructor for XmlInteractorPool.XmlInteractorPool(String name, String fullName, CvTerm type, Organism organism, Xref uniqueId)Constructor for XmlInteractorPool.XmlInteractorPool(String name, String fullName, CvTerm type, Xref uniqueId)Constructor for XmlInteractorPool.XmlInteractorPool(String name, String fullName, Organism organism)Constructor for XmlInteractorPool.XmlInteractorPool(String name, String fullName, Organism organism, Xref uniqueId)Constructor for XmlInteractorPool.XmlInteractorPool(String name, String fullName, Xref uniqueId)Constructor for XmlInteractorPool.XmlInteractorPool(String name, CvTerm type)Constructor for XmlInteractorPool.XmlInteractorPool(String name, CvTerm type, Organism organism)Constructor for XmlInteractorPool.XmlInteractorPool(String name, CvTerm type, Organism organism, Xref uniqueId)Constructor for XmlInteractorPool.XmlInteractorPool(String name, CvTerm type, Xref uniqueId)Constructor for XmlInteractorPool.XmlInteractorPool(String name, Organism organism)Constructor for XmlInteractorPool.XmlInteractorPool(String name, Organism organism, Xref uniqueId)Constructor for XmlInteractorPool.XmlInteractorPool(String name, Xref uniqueId)Constructor for XmlInteractorPool.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanadd(Interactor interactor)add.booleanaddAll(Collection<? extends Interactor> interactors)voidclear()clear.booleancontains(Object o)booleancontainsAll(Collection<?> objects)protected voidcreateDefaultInteractorType()createDefaultInteractorType.protected voidinitialiseInteractorCandidatesSet()initialiseInteractorCandidatesSet.protected voidinitialiseInteractorCandidatesSetWith(Set<Interactor> interactorCandidates)initialiseInteractorCandidatesSetWith.booleanisEmpty()isEmpty.Iterator<Interactor>iterator()iterator.booleanremove(Object o)booleanremoveAll(Collection<?> objects)booleanretainAll(Collection<?> objects)intsize()size.Object[]toArray()toArray.<T> T[]toArray(T[] ts)toArray.StringtoString()toString-
Methods inherited from class psidev.psi.mi.jami.xml.model.extension.xml300.AbstractXmlInteractor
initialiseAnnotationWrapper, initialiseNamesContainer, initialiseXrefContainer, setJAXBAttributeWrapper, setJAXBId, setJAXBInteractorType, setJAXBNames, setJAXBOrganism, setJAXBXref, setSequence
-
Methods inherited from class psidev.psi.mi.jami.xml.model.extension.AbstractBaseXmlInteractor
getAliases, getAnnotations, getChecksums, getFullName, getId, getIdentifiers, getInteractorType, getNamesContainer, getOrganism, getPreferredIdentifier, getPreferredName, getSequence, getShortName, getSourceLocator, getXrefs, setFullName, setId, setInteractorType, setJAXBAttributeWrapper, setJAXBInteractorType, setJAXBNames, setJAXBOrganism, setNamesContainer, setOrganism, setShortName, setSourceLocation, setSourceLocator, setXrefContainer, sourceLocation
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
equals, hashCode, parallelStream, removeIf, spliterator, stream, toArray
-
Methods inherited from interface psidev.psi.mi.jami.model.Interactor
getAliases, getAnnotations, getChecksums, getFullName, getIdentifiers, getInteractorType, getOrganism, getPreferredIdentifier, getPreferredName, getShortName, getXrefs, setFullName, setInteractorType, setOrganism, setShortName
-
-
-
-
Constructor Detail
-
XmlInteractorPool
public XmlInteractorPool()
Constructor for XmlInteractorPool.
-
XmlInteractorPool
public XmlInteractorPool(String name, CvTerm type)
Constructor for XmlInteractorPool.
-
XmlInteractorPool
public XmlInteractorPool(String name, String fullName, CvTerm type)
Constructor for XmlInteractorPool.
-
XmlInteractorPool
public XmlInteractorPool(String name, CvTerm type, Organism organism)
Constructor for XmlInteractorPool.
-
XmlInteractorPool
public XmlInteractorPool(String name, String fullName, CvTerm type, Organism organism)
Constructor for XmlInteractorPool.
-
XmlInteractorPool
public XmlInteractorPool(String name, CvTerm type, Xref uniqueId)
Constructor for XmlInteractorPool.
-
XmlInteractorPool
public XmlInteractorPool(String name, String fullName, CvTerm type, Xref uniqueId)
Constructor for XmlInteractorPool.
-
XmlInteractorPool
public XmlInteractorPool(String name, CvTerm type, Organism organism, Xref uniqueId)
Constructor for XmlInteractorPool.
-
XmlInteractorPool
public XmlInteractorPool(String name, String fullName, CvTerm type, Organism organism, Xref uniqueId)
Constructor for XmlInteractorPool.
-
XmlInteractorPool
public XmlInteractorPool(String name)
Constructor for XmlInteractorPool.
- Parameters:
name- aStringobject.
-
XmlInteractorPool
public XmlInteractorPool(String name, String fullName)
Constructor for XmlInteractorPool.
-
XmlInteractorPool
public XmlInteractorPool(String name, Organism organism)
Constructor for XmlInteractorPool.
-
XmlInteractorPool
public XmlInteractorPool(String name, String fullName, Organism organism)
Constructor for XmlInteractorPool.
-
XmlInteractorPool
public XmlInteractorPool(String name, Xref uniqueId)
Constructor for XmlInteractorPool.
-
XmlInteractorPool
public XmlInteractorPool(String name, String fullName, Xref uniqueId)
Constructor for XmlInteractorPool.
-
XmlInteractorPool
public XmlInteractorPool(String name, Organism organism, Xref uniqueId)
Constructor for XmlInteractorPool.
-
-
Method Detail
-
initialiseInteractorCandidatesSet
protected void initialiseInteractorCandidatesSet()
initialiseInteractorCandidatesSet.
-
initialiseInteractorCandidatesSetWith
protected void initialiseInteractorCandidatesSetWith(Set<Interactor> interactorCandidates)
initialiseInteractorCandidatesSetWith.
- Parameters:
interactorCandidates- aSetobject.
-
size
public int size()
size.
- Specified by:
sizein interfaceCollection<Interactor>- Returns:
- a int.
-
isEmpty
public boolean isEmpty()
isEmpty.
- Specified by:
isEmptyin interfaceCollection<Interactor>- Returns:
- a boolean.
-
contains
public boolean contains(Object o)
- Specified by:
containsin interfaceCollection<Interactor>
-
iterator
public Iterator<Interactor> iterator()
iterator.
- Specified by:
iteratorin interfaceCollection<Interactor>- Specified by:
iteratorin interfaceIterable<Interactor>- Returns:
- a
Iteratorobject.
-
toArray
public Object[] toArray()
toArray.
- Specified by:
toArrayin interfaceCollection<Interactor>- Returns:
- an array of
Objectobjects.
-
toArray
public <T> T[] toArray(T[] ts)
toArray.
- Specified by:
toArrayin interfaceCollection<Interactor>- Type Parameters:
T- a T object.- Parameters:
ts- an array of T objects.- Returns:
- an array of T objects.
-
add
public boolean add(Interactor interactor)
add.
- Specified by:
addin interfaceCollection<Interactor>- Parameters:
interactor- aInteractorobject.- Returns:
- a boolean.
-
remove
public boolean remove(Object o)
- Specified by:
removein interfaceCollection<Interactor>
-
containsAll
public boolean containsAll(Collection<?> objects)
- Specified by:
containsAllin interfaceCollection<Interactor>
-
addAll
public boolean addAll(Collection<? extends Interactor> interactors)
- Specified by:
addAllin interfaceCollection<Interactor>
-
retainAll
public boolean retainAll(Collection<?> objects)
- Specified by:
retainAllin interfaceCollection<Interactor>
-
removeAll
public boolean removeAll(Collection<?> objects)
- Specified by:
removeAllin interfaceCollection<Interactor>
-
clear
public void clear()
clear.
- Specified by:
clearin interfaceCollection<Interactor>
-
toString
public String toString()
toString
- Specified by:
toStringin interfaceFileSourceContext- Overrides:
toStringin classAbstractBaseXmlInteractor- Returns:
- the file source context as a String. If the source locator is not null, it should give the source locator properties
-
createDefaultInteractorType
protected void createDefaultInteractorType()
createDefaultInteractorType.
- Overrides:
createDefaultInteractorTypein classAbstractXmlInteractor
-
-