Package de.isas.mztab2.model
Class Publication
- java.lang.Object
-
- de.isas.mztab2.model.Publication
-
@Generated(value="io.swagger.codegen.languages.JavaClientCodegen", date="2021-01-02T19:26:21.550+01:00") public class Publication extends Object
A publication associated with this file. Several publications can be given by indicating the number in the square brackets after “publication”. PubMed ids must be prefixed by “pubmed:”, DOIs by “doi:”. Multiple identifiers MUST be separated by “|”.mzTab-M specification example(s):
MTD publication[1] pubmed:21063943|doi:10.1007/978-1-60761-987-1_6 MTD publication[2] pubmed:20615486|doi:10.1016/j.jprot.2010.06.008
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Publication.Properties
Property enumeration for Publication.
-
Constructor Summary
Constructors Constructor Description Publication()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Publication
addPublicationItemsItem(PublicationItem publicationItemsItem)
Add a single publicationItemsItem to the publicationItems collection.boolean
equals(Object o)
@Min(1L) Integer
getId()
Get id.@NotNull @Valid List<PublicationItem>
getPublicationItems()
The publication item ids referenced by this publication.int
hashCode()
Publication
id(Integer id)
Builder method for id.Publication
publicationItems(List<PublicationItem> publicationItems)
Builder method for publicationItems.void
setId(Integer id)
Set id.void
setPublicationItems(List<PublicationItem> publicationItems)
Set publicationItems.String
toString()
-
-
-
Constructor Detail
-
Publication
public Publication()
-
-
Method Detail
-
id
public Publication id(Integer id)
Builder method for id.- Parameters:
id
- aInteger
parameter.- Returns:
- Publication
- See Also:
Publication#setId for specification examples
,Publication#getId for validation constraints
-
setId
public void setId(Integer id)
Set id.- Parameters:
id
- aInteger
parameter.- See Also:
Publication#getId for validation constraints
-
publicationItems
public Publication publicationItems(List<PublicationItem> publicationItems)
Builder method for publicationItems.- Parameters:
publicationItems
- aList<PublicationItem>
parameter.- Returns:
- Publication
- See Also:
Publication#setPublicationItems for specification examples
,Publication#getPublicationItems for validation constraints
-
addPublicationItemsItem
public Publication addPublicationItemsItem(PublicationItem publicationItemsItem)
Add a single publicationItemsItem to the publicationItems collection.- Parameters:
publicationItemsItem
- aPublicationItem
parameter.- Returns:
- Publication
- See Also:
Publication#getPublicationItems for validation constraints
-
getPublicationItems
@NotNull @Valid public @NotNull @Valid List<PublicationItem> getPublicationItems()
The publication item ids referenced by this publication.- Returns:
- publicationItems
-
setPublicationItems
public void setPublicationItems(List<PublicationItem> publicationItems)
Set publicationItems.- Parameters:
publicationItems
- aList<PublicationItem>
parameter.- See Also:
Publication#getPublicationItems for validation constraints
-
-