Package de.isas.mztab2.model
Class PublicationItem
- java.lang.Object
-
- de.isas.mztab2.model.PublicationItem
-
@Generated(value="io.swagger.codegen.languages.JavaClientCodegen", date="2021-01-02T19:26:21.550+01:00") public class PublicationItem extends Object
A publication item, defined by a qualifier and a native accession, e.g. pubmed id.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PublicationItem.Properties
Property enumeration for PublicationItem.static class
PublicationItem.TypeEnum
The type qualifier of this publication item.
-
Constructor Summary
Constructors Constructor Description PublicationItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PublicationItem
accession(String accession)
Builder method for accession.boolean
equals(Object o)
@NotNull String
getAccession()
The native accession id for this publication item.@NotNull PublicationItem.TypeEnum
getType()
The type qualifier of this publication item.int
hashCode()
void
setAccession(String accession)
Set accession.void
setType(PublicationItem.TypeEnum type)
Set type.String
toString()
PublicationItem
type(PublicationItem.TypeEnum type)
Builder method for type.
-
-
-
Constructor Detail
-
PublicationItem
public PublicationItem()
-
-
Method Detail
-
type
public PublicationItem type(PublicationItem.TypeEnum type)
Builder method for type.- Parameters:
type
- aTypeEnum
parameter.- Returns:
- PublicationItem
- See Also:
PublicationItem#setType for specification examples
,PublicationItem#getType for validation constraints
-
getType
@NotNull public @NotNull PublicationItem.TypeEnum getType()
The type qualifier of this publication item.- Returns:
- type
-
setType
public void setType(PublicationItem.TypeEnum type)
Set type.- Parameters:
type
- aTypeEnum
parameter.- See Also:
PublicationItem#getType for validation constraints
-
accession
public PublicationItem accession(String accession)
Builder method for accession.- Parameters:
accession
- aString
parameter.- Returns:
- PublicationItem
- See Also:
PublicationItem#setAccession for specification examples
,PublicationItem#getAccession for validation constraints
-
getAccession
@NotNull public @NotNull String getAccession()
The native accession id for this publication item.- Returns:
- accession
-
setAccession
public void setAccession(String accession)
Set accession.- Parameters:
accession
- aString
parameter.- See Also:
PublicationItem#getAccession for validation constraints
-
-