Class Publication
java.lang.Object
cz.metacentrum.perun.core.api.PerunBean
cz.metacentrum.perun.cabinet.model.Publication
- All Implemented Interfaces:
Serializable
,Comparable<PerunBean>
- Direct Known Subclasses:
PublicationForGUI
Class represents single Publication.
- Author:
- Jiri Harazim invalid input: '<'harazim@mail.muni.cz>, Pavel Zlamal invalid input: '<'256627@mail.muni.cz>
- See Also:
-
Constructor Summary
ConstructorDescriptionPublication
(int id) Publication
(int id, int externalId, int publicationSystemId, String title, int year, String main, String isbn, int categoryId, String doi, double rank, boolean locked, String createdBy, Date createdDate) Publication
(List<Author> authors, double rank, int id, int externalId, int publicationSystemId, String title, int year, String main, String isbn, int categoryId, String createdBy, Date createdDate, String doi, boolean locked) Publication
(List<Author> authors, double rank, int id, int externalId, int publicationSystemId, String title, int year, String main, String isbn, int categoryId, String createdBy, Date createdDate, String doi, boolean locked, int createdByUid) -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Returns the value of the database column PUBLICATION.categoryIdReturns the value of the database column PUBLICATION.createdByint
Returns the value of the database column PUBLICATION.createdDategetDoi()
int
Returns the value of the database column PUBLICATION.externalIdgetIsbn()
Returns the value of the database column PUBLICATION.isbnboolean
getMain()
Returns the value of the database column PUBLICATION.mainint
Returns the value of the database column PUBLICATION.publicationSystemIddouble
getRank()
Return rank for publicationgetTitle()
Returns the value of the database column PUBLICATION.titleint
getYear()
This method returns the value of the database column PUBLICATION.yearint
hashCode()
void
setAuthors
(List<Author> authors) void
setCategoryId
(int categoryId) Sets the value of the database column PUBLICATION.categoryIdvoid
setCreatedBy
(String createdBy) Sets the value of the database column PUBLICATION.createdByvoid
setCreatedByUid
(int createdByUid) void
setCreatedDate
(Date createdDate) Sets the value of the database column PUBLICATION.createdDatevoid
void
setExternalId
(int externalId) Sets the value of the database column PUBLICATION.externalIdvoid
Sets the value of the database column PUBLICATION.isbnvoid
setLocked
(boolean locked) void
Sets the value of the database column PUBLICATION.mainvoid
setPublicationSystemId
(int publicationSystemId) Sets the value of the database column PUBLICATION.publicationSystemIdvoid
setRank
(double rank) Sets Publications rankvoid
Sets the value of the database column PUBLICATION.titlevoid
setYear
(int year) Sets the value of the database column PUBLICATION.yeartoString()
Methods inherited from class cz.metacentrum.perun.core.api.PerunBean
compareTo, getBeanName, getId, setId
-
Constructor Details
-
Publication
public Publication() -
Publication
public Publication(int id) -
Publication
-
Publication
-
Publication
-
-
Method Details
-
equals
-
getAuthors
-
setAuthors
-
getCategoryId
public int getCategoryId()Returns the value of the database column PUBLICATION.categoryId- Returns:
- the value of PUBLICATION.categoryId
-
setCategoryId
public void setCategoryId(int categoryId) Sets the value of the database column PUBLICATION.categoryId- Parameters:
categoryId
- the value for PUBLICATION.categoryId
-
getCreatedBy
Returns the value of the database column PUBLICATION.createdBy- Returns:
- the value of PUBLICATION.createdBy
-
setCreatedBy
Sets the value of the database column PUBLICATION.createdBy- Parameters:
createdBy
- the value for PUBLICATION.createdBy
-
getCreatedByUid
public int getCreatedByUid() -
setCreatedByUid
public void setCreatedByUid(int createdByUid) -
getCreatedDate
Returns the value of the database column PUBLICATION.createdDate- Returns:
- the value of PUBLICATION.createdDate
-
setCreatedDate
Sets the value of the database column PUBLICATION.createdDate- Parameters:
createdDate
- the value for PUBLICATION.createdDate
-
getDoi
-
setDoi
-
getExternalId
public int getExternalId()Returns the value of the database column PUBLICATION.externalId- Returns:
- the value of PUBLICATION.externalId
-
setExternalId
public void setExternalId(int externalId) Sets the value of the database column PUBLICATION.externalId- Parameters:
externalId
- the value for PUBLICATION.externalId
-
getIsbn
Returns the value of the database column PUBLICATION.isbn- Returns:
- the value of PUBLICATION.isbn
-
setIsbn
Sets the value of the database column PUBLICATION.isbn- Parameters:
isbn
- the value for PUBLICATION.isbn
-
getLocked
public boolean getLocked() -
setLocked
public void setLocked(boolean locked) -
getMain
Returns the value of the database column PUBLICATION.main- Returns:
- the value of PUBLICATION.main
-
setMain
Sets the value of the database column PUBLICATION.main- Parameters:
main
- the value for PUBLICATION.main
-
getPublicationSystemId
public int getPublicationSystemId()Returns the value of the database column PUBLICATION.publicationSystemId- Returns:
- the value of PUBLICATION.publicationSystemId
-
setPublicationSystemId
public void setPublicationSystemId(int publicationSystemId) Sets the value of the database column PUBLICATION.publicationSystemId- Parameters:
publicationSystemId
- the value for PUBLICATION.publicationSystemId
-
getRank
public double getRank()Return rank for publication- Returns:
- rank of publication (value of PUBLICATION.rank)
-
setRank
public void setRank(double rank) Sets Publications rank- Parameters:
rank
- value for PUBLICATION.rank
-
getTitle
Returns the value of the database column PUBLICATION.title- Returns:
- the value of PUBLICATION.title
-
setTitle
Sets the value of the database column PUBLICATION.title- Parameters:
title
- the value for PUBLICATION.title
-
getYear
public int getYear()This method returns the value of the database column PUBLICATION.year- Returns:
- the value of PUBLICATION.year
-
setYear
public void setYear(int year) Sets the value of the database column PUBLICATION.year- Parameters:
year
- the value for PUBLICATION.year
-
hashCode
public int hashCode() -
serializeToString
- Overrides:
serializeToString
in classPerunBean
-
toString
-