Package de.isas.mztab2.model
Class Publication
- java.lang.Object
-
- de.isas.mztab2.model.IndexedElement
-
- de.isas.mztab2.model.Publication
-
@Generated(value="io.swagger.codegen.languages.JavaClientCodegen", date="2019-08-07T11:10:11.690+02:00") public class Publication extends IndexedElement
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.Publication
elementType(String elementType)
Builder method for elementType.boolean
equals(Object o)
@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
setPublicationItems(List<PublicationItem> publicationItems)
Set publicationItems.String
toString()
-
Methods inherited from class de.isas.mztab2.model.IndexedElement
getElementType, getId, setElementType, setId
-
-
-
-
Method Detail
-
id
public Publication id(Integer id)
Description copied from class:IndexedElement
Builder method for id.- Overrides:
id
in classIndexedElement
- Parameters:
id
- aInteger
parameter.- Returns:
- IndexedElement
- See Also:
IndexedElement#setId for specification examples
,IndexedElement#getId for validation constraints
-
elementType
public Publication elementType(String elementType)
Description copied from class:IndexedElement
Builder method for elementType.- Overrides:
elementType
in classIndexedElement
- Parameters:
elementType
- aString
parameter.- Returns:
- IndexedElement
- See Also:
IndexedElement#setElementType for specification examples
,IndexedElement#getElementType 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
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classIndexedElement
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classIndexedElement
-
toString
public String toString()
- Overrides:
toString
in classIndexedElement
-
-