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
ConstructorsConstructorDescriptionPublication(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 TypeMethodDescriptionbooleanintReturns the value of the database column PUBLICATION.categoryIdReturns the value of the database column PUBLICATION.createdByintReturns the value of the database column PUBLICATION.createdDategetDoi()intReturns the value of the database column PUBLICATION.externalIdgetIsbn()Returns the value of the database column PUBLICATION.isbnbooleangetMain()Returns the value of the database column PUBLICATION.mainintReturns the value of the database column PUBLICATION.publicationSystemIddoublegetRank()Return rank for publicationgetTitle()Returns the value of the database column PUBLICATION.titleintgetYear()This method returns the value of the database column PUBLICATION.yearinthashCode()voidsetAuthors(List<Author> authors) voidsetCategoryId(int categoryId) Sets the value of the database column PUBLICATION.categoryIdvoidsetCreatedBy(String createdBy) Sets the value of the database column PUBLICATION.createdByvoidsetCreatedByUid(int createdByUid) voidsetCreatedDate(Date createdDate) Sets the value of the database column PUBLICATION.createdDatevoidvoidsetExternalId(int externalId) Sets the value of the database column PUBLICATION.externalIdvoidSets the value of the database column PUBLICATION.isbnvoidsetLocked(boolean locked) voidSets the value of the database column PUBLICATION.mainvoidsetPublicationSystemId(int publicationSystemId) Sets the value of the database column PUBLICATION.publicationSystemIdvoidsetRank(double rank) Sets Publications rankvoidSets the value of the database column PUBLICATION.titlevoidsetYear(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:
serializeToStringin classPerunBean
-
toString
-