Class ImexPublication
- java.lang.Object
-
- psidev.psi.mi.jami.model.impl.DefaultPublication
-
- psidev.psi.mi.jami.bridges.imex.extension.ImexPublication
-
- All Implemented Interfaces:
Publication
public class ImexPublication extends DefaultPublication
Extension of publication for imex central- Since:
29/10/14
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description ImexPublication(edu.ucla.mbi.imex.central.ws.v20.Publication delegate)
Constructor for ImexPublication.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
assignImexId(String identifier)
Assign an IMEx id to a publication.Date
getCreationDate()
Getter for the fieldcreationDate
.CurationDepth
getCurationDepth()
Getter for the fieldcurationDepth
.Collection<String>
getCurators()
Getter for the fieldcurators
.String
getDoi()
Getter for the fielddoi
.Date
getExpectedPublicationDate()
Getter for the fieldexpectedPublicationDate
.String
getImexId()
Getter for the fieldimexId
.String
getOwner()
getOwner.String
getPaperAbstract()
getPaperAbstract.String
getPubmedId()
Getter for the fieldpubmedId
.Source
getSource()
Getter for the fieldsource
.List<Source>
getSources()
Getter for the fieldsources
.PublicationStatus
getStatus()
Getter for the fieldstatus
.protected void
initialiseAuthors()
initialiseAuthorsprotected void
initialiseIdentifiers()
initialiseIdentifiersprotected void
initialiseXrefs()
initialiseXrefsvoid
setDoi(String doi)
Sets the doi.void
setPubmedId(String pubmedId)
Sets the pubmed identifier.void
setSource(Source source)
Sets the source who curated the publication.void
setStatus(PublicationStatus status)
Setter for the fieldstatus
.-
Methods inherited from class psidev.psi.mi.jami.model.impl.DefaultPublication
addAllExperiments, addExperiment, clearPropertiesLinkedToIdentifiers, clearPropertiesLinkedToXrefs, getAnnotations, getAuthors, getExperiments, getIdentifiers, getJournal, getPublicationDate, getReleasedDate, getTitle, getXrefs, initialiseAnnotations, initialiseAnnotationsWith, initialiseAuthorsWith, initialiseExperiments, initialiseExperimentsWith, initialiseIdentifiersWith, initialiseXrefsWith, processAddedIdentifierEvent, processAddedXrefEvent, processRemovedIdentifierEvent, processRemovedXrefEvent, removeAllExperiments, removeExperiment, setCurationDepth, setJournal, setPublicationDate, setReleasedDate, setTitle, toString
-
-
-
-
Method Detail
-
initialiseIdentifiers
protected void initialiseIdentifiers()
initialiseIdentifiers
- Overrides:
initialiseIdentifiers
in classDefaultPublication
-
initialiseXrefs
protected void initialiseXrefs()
initialiseXrefs
- Overrides:
initialiseXrefs
in classDefaultPublication
-
initialiseAuthors
protected void initialiseAuthors()
initialiseAuthors
- Overrides:
initialiseAuthors
in classDefaultPublication
-
getPubmedId
public String getPubmedId()
Getter for the field
pubmedId
.- Specified by:
getPubmedId
in interfacePublication
- Overrides:
getPubmedId
in classDefaultPublication
- Returns:
- a
String
object.
-
setPubmedId
public void setPubmedId(String pubmedId)
Sets the pubmed identifier. It will remove the previous pubmed identifier from the collection of identifiers, and add the new one in the collection of identifiers with qualifier identity. If pubmedId is null, it will remove all the pubmed identifiers from the collection of identifiers.- Specified by:
setPubmedId
in interfacePublication
- Overrides:
setPubmedId
in classDefaultPublication
- Parameters:
pubmedId
- : pubmed identifier
-
getDoi
public String getDoi()
Getter for the field
doi
.- Specified by:
getDoi
in interfacePublication
- Overrides:
getDoi
in classDefaultPublication
- Returns:
- a
String
object.
-
setDoi
public void setDoi(String doi)
Sets the doi. It will remove the previous doi from the collection of identifiers, and add the new one in the collection of identifiers with qualifier identity. If doi is null, it will remove all the doi from the collection of identifiers.- Specified by:
setDoi
in interfacePublication
- Overrides:
setDoi
in classDefaultPublication
- Parameters:
doi
- : DOI identifier
-
getImexId
public String getImexId()
Getter for the field
imexId
.- Specified by:
getImexId
in interfacePublication
- Overrides:
getImexId
in classDefaultPublication
- Returns:
- a
String
object.
-
assignImexId
public void assignImexId(String identifier)
Assign an IMEx id to a publication. It will add a Xref imex with qualifier imex-primary to the list of xrefs.- Specified by:
assignImexId
in interfacePublication
- Overrides:
assignImexId
in classDefaultPublication
- Parameters:
identifier
- : the IMEx id from IMEx central
-
getCurationDepth
public CurationDepth getCurationDepth()
Getter for the field
curationDepth
.- Specified by:
getCurationDepth
in interfacePublication
- Overrides:
getCurationDepth
in classDefaultPublication
- Returns:
- a
CurationDepth
object.
-
getSource
public Source getSource()
Getter for the field
source
.- Specified by:
getSource
in interfacePublication
- Overrides:
getSource
in classDefaultPublication
- Returns:
- a
Source
object.
-
setSource
public void setSource(Source source)
Sets the source who curated the publication.- Specified by:
setSource
in interfacePublication
- Overrides:
setSource
in classDefaultPublication
- Parameters:
source
- : source for this publication
-
getExpectedPublicationDate
public Date getExpectedPublicationDate()
Getter for the field
expectedPublicationDate
.- Returns:
- a
Date
object.
-
getCreationDate
public Date getCreationDate()
Getter for the field
creationDate
.- Returns:
- a
Date
object.
-
getStatus
public PublicationStatus getStatus()
Getter for the field
status
.- Returns:
- a
PublicationStatus
object.
-
setStatus
public void setStatus(PublicationStatus status)
Setter for the field
status
.- Parameters:
status
- aPublicationStatus
object.
-
getCurators
public Collection<String> getCurators()
Getter for the field
curators
.- Returns:
- a
Collection
object.
-
-