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 class
AbstractBaseEntry.AbstractJAXBAnnotationsWrapper
static class
AbstractBaseEntry.AbstractJAXBInteractionsWrapper<T>
static class
AbstractBaseEntry.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.FileSourceLocator
getSourceLocator()
Getter for the fieldsourceLocator
.boolean
hasLoadedFullEntry()
hasLoadedFullEntry.protected void
initialiseAnnotations()
initialiseAnnotations.protected void
setAnnotationsWrapper(AbstractBaseEntry.AbstractJAXBAnnotationsWrapper wrapper)
Setter for the fieldannotationsWrapper
.void
setHasLoadedFullEntry(boolean hasLoadedFullEntry)
Setter for the fieldhasLoadedFullEntry
.protected void
setInteractionsWrapper(AbstractBaseEntry.AbstractJAXBInteractionsWrapper wrapper)
Setter for the fieldinteractionsWrapper
.protected void
setInteractorsWrapper(AbstractBaseEntry.AbstractJAXBInteractorsWrapper wrapper)
Setter for the fieldinteractorsWrapper
.void
setSourceLocator(FileSourceLocator sourceLocator)
Sets the source locatorLocator
sourceLocation()
String
toString()
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:
sourceLocation
in interfacecom.sun.xml.bind.Locatable
-
getSourceLocator
public FileSourceLocator getSourceLocator()
Getter for the field
sourceLocator
.- Specified by:
getSourceLocator
in interfaceFileSourceContext
- Returns:
- a
FileSourceLocator
object.
-
setSourceLocator
public void setSourceLocator(FileSourceLocator sourceLocator)
Sets the source locator- Specified by:
setSourceLocator
in interfaceFileSourceContext
- Parameters:
sourceLocator
- : the file locator
-
getInteractors
public List<Interactor> getInteractors()
getInteractors.
- Returns:
- a
List
object.
-
hasLoadedFullEntry
public boolean hasLoadedFullEntry()
hasLoadedFullEntry.
- Overrides:
hasLoadedFullEntry
in classEntry
- Returns:
- a boolean.
-
setHasLoadedFullEntry
public void setHasLoadedFullEntry(boolean hasLoadedFullEntry)
Setter for the field
hasLoadedFullEntry
.- Overrides:
setHasLoadedFullEntry
in classEntry
- Parameters:
hasLoadedFullEntry
- a boolean.
-
toString
public String toString()
toString
- Specified by:
toString
in interfaceFileSourceContext
- Overrides:
toString
in 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.AbstractJAXBInteractorsWrapper
object.
-
setInteractionsWrapper
protected void setInteractionsWrapper(AbstractBaseEntry.AbstractJAXBInteractionsWrapper wrapper)
Setter for the field
interactionsWrapper
.- Parameters:
wrapper
- aAbstractBaseEntry.AbstractJAXBInteractionsWrapper
object.
-
setAnnotationsWrapper
protected void setAnnotationsWrapper(AbstractBaseEntry.AbstractJAXBAnnotationsWrapper wrapper)
Setter for the field
annotationsWrapper
.- Parameters:
wrapper
- aAbstractBaseEntry.AbstractJAXBAnnotationsWrapper
object.
-
initialiseAnnotations
protected void initialiseAnnotations()
initialiseAnnotations.
- Overrides:
initialiseAnnotations
in classEntry
-
-