Class DatasetPublicationValueObject
java.lang.Object
ubic.gemma.model.common.IdentifiableValueObject<BibliographicReference>
ubic.gemma.model.common.description.BibliographicReferenceValueObject
ubic.gemma.model.common.description.DatasetPublicationValueObject
- All Implemented Interfaces:
Serializable, Identifiable
A publication as it appears in the context of one dataset: the reference, plus the evidenced claim
that ties it to (or rules it out for) that dataset.
Extends BibliographicReferenceValueObject rather than wrapping it so the addition is
strictly additive on the wire — GET /datasets/{id}/publications keeps emitting every field
it emitted before, with association alongside them. A client that has never heard of
evidence is unaffected.
The association is nullable, and its being null means something: the link exists but nothing is recorded about where it came from. That is the state of any link written by a path that predates this record and has not been backfilled, and it is worth being able to see rather than smoothing over.
- See Also:
-
Field Summary
Fields inherited from class IdentifiableValueObject
id -
Constructor Summary
ConstructorsConstructorDescriptionDatasetPublicationValueObject(BibliographicReference ref, PublicationAssociation association) -
Method Summary
Modifier and TypeMethodDescriptionvoidsetAssociation(PublicationAssociationValueObject association) Methods inherited from class BibliographicReferenceValueObject
constructCitation, constructCitations, convert2ValueObjects, getAbstractText, getAuthorList, getChemicalsTerms, getCitation, getExperiments, getIssue, getMeshTerms, getPages, getPubAccession, getPublication, getPublicationDate, getPublisher, getTitle, getVolume, isRetracted, setAbstractText, setAuthorList, setCitation, setExperiments, setIssue, setPages, setPubAccession, setPublication, setPublicationDate, setPublisher, setRetracted, setTitle, setVolume
-
Constructor Details
-
DatasetPublicationValueObject
public DatasetPublicationValueObject() -
DatasetPublicationValueObject
public DatasetPublicationValueObject(BibliographicReference ref, @Nullable PublicationAssociation association)
-
-
Method Details
-
getAssociation
-
setAssociation
-