Package psidev.psi.mi.jami.xml.model
Class AbstractBaseEntry<T extends Interaction>
- java.lang.Object
-
- psidev.psi.mi.jami.xml.model.Entry
-
- psidev.psi.mi.jami.xml.model.AbstractBaseEntry<T>
-
- All Implemented Interfaces:
com.sun.xml.bind.Locatable,FileSourceContext
- Direct Known Subclasses:
AbstractEntry,AbstractEntry,AbstractEntry
public abstract class AbstractBaseEntry<T extends Interaction> extends Entry implements com.sun.xml.bind.Locatable, FileSourceContext
Abstract class for Entry- Since:
07/11/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAbstractBaseEntry.AbstractJAXBAnnotationsWrapperstatic classAbstractBaseEntry.AbstractJAXBInteractionsWrapper<T>static classAbstractBaseEntry.AbstractJAXBInteractorsWrapper
-
Constructor Summary
Constructors Constructor Description AbstractBaseEntry()Constructor for AbstractBaseEntry.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<T>getInteractions()getInteractions.List<Interactor>getInteractors()getInteractors.FileSourceLocatorgetSourceLocator()Getter for the fieldsourceLocator.booleanhasLoadedFullEntry()hasLoadedFullEntry.protected voidinitialiseAnnotations()initialiseAnnotations.protected voidsetAnnotationsWrapper(AbstractBaseEntry.AbstractJAXBAnnotationsWrapper wrapper)Setter for the fieldannotationsWrapper.voidsetHasLoadedFullEntry(boolean hasLoadedFullEntry)Setter for the fieldhasLoadedFullEntry.protected voidsetInteractionsWrapper(AbstractBaseEntry.AbstractJAXBInteractionsWrapper wrapper)Setter for the fieldinteractionsWrapper.protected voidsetInteractorsWrapper(AbstractBaseEntry.AbstractJAXBInteractorsWrapper wrapper)Setter for the fieldinteractorsWrapper.voidsetSourceLocator(FileSourceLocator sourceLocator)Sets the source locatorLocatorsourceLocation()StringtoString()toString-
Methods inherited from class psidev.psi.mi.jami.xml.model.Entry
getAnnotations, getAvailabilities, getSource, initialiseAnnotationsWith, initialiseAvailabilities, initialiseAvailabilitiesWith, setSource
-
-
-
-
Method Detail
-
sourceLocation
public Locator sourceLocation()
- Specified by:
sourceLocationin interfacecom.sun.xml.bind.Locatable
-
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
-
getInteractors
public List<Interactor> getInteractors()
getInteractors.
- Returns:
- a
Listobject.
-
hasLoadedFullEntry
public boolean hasLoadedFullEntry()
hasLoadedFullEntry.
- Overrides:
hasLoadedFullEntryin classEntry- Returns:
- a boolean.
-
setHasLoadedFullEntry
public void setHasLoadedFullEntry(boolean hasLoadedFullEntry)
Setter for the field
hasLoadedFullEntry.- Overrides:
setHasLoadedFullEntryin classEntry- Parameters:
hasLoadedFullEntry- a boolean.
-
toString
public String toString()
toString
- Specified by:
toStringin interfaceFileSourceContext- Overrides:
toStringin classObject- Returns:
- the file source context as a String. If the source locator is not null, it should give the source locator properties
-
setInteractorsWrapper
protected void setInteractorsWrapper(AbstractBaseEntry.AbstractJAXBInteractorsWrapper wrapper)
Setter for the field
interactorsWrapper.- Parameters:
wrapper- aAbstractBaseEntry.AbstractJAXBInteractorsWrapperobject.
-
setInteractionsWrapper
protected void setInteractionsWrapper(AbstractBaseEntry.AbstractJAXBInteractionsWrapper wrapper)
Setter for the field
interactionsWrapper.- Parameters:
wrapper- aAbstractBaseEntry.AbstractJAXBInteractionsWrapperobject.
-
setAnnotationsWrapper
protected void setAnnotationsWrapper(AbstractBaseEntry.AbstractJAXBAnnotationsWrapper wrapper)
Setter for the field
annotationsWrapper.- Parameters:
wrapper- aAbstractBaseEntry.AbstractJAXBAnnotationsWrapperobject.
-
initialiseAnnotations
protected void initialiseAnnotations()
initialiseAnnotations.
- Overrides:
initialiseAnnotationsin classEntry
-
-