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

public class Publication extends PerunBean
Class represents single Publication.
Author:
Jiri Harazim invalid input: '<'harazim@mail.muni.cz>, Pavel Zlamal invalid input: '<'256627@mail.muni.cz>
See Also:
  • Constructor Details

    • Publication

      public Publication()
    • Publication

      public Publication(int id)
    • Publication

      public 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

      public 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

      public 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 Details

    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class PerunBean
    • getAuthors

      public List<Author> getAuthors()
    • setAuthors

      public void setAuthors(List<Author> authors)
    • 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

      public String getCreatedBy()
      Returns the value of the database column PUBLICATION.createdBy
      Returns:
      the value of PUBLICATION.createdBy
    • setCreatedBy

      public void setCreatedBy(String createdBy)
      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

      public Date getCreatedDate()
      Returns the value of the database column PUBLICATION.createdDate
      Returns:
      the value of PUBLICATION.createdDate
    • setCreatedDate

      public void setCreatedDate(Date createdDate)
      Sets the value of the database column PUBLICATION.createdDate
      Parameters:
      createdDate - the value for PUBLICATION.createdDate
    • getDoi

      public String getDoi()
    • setDoi

      public void setDoi(String doi)
    • 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

      public String getIsbn()
      Returns the value of the database column PUBLICATION.isbn
      Returns:
      the value of PUBLICATION.isbn
    • setIsbn

      public void setIsbn(String isbn)
      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

      public String getMain()
      Returns the value of the database column PUBLICATION.main
      Returns:
      the value of PUBLICATION.main
    • setMain

      public void setMain(String main)
      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

      public String getTitle()
      Returns the value of the database column PUBLICATION.title
      Returns:
      the value of PUBLICATION.title
    • setTitle

      public void setTitle(String title)
      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()
      Overrides:
      hashCode in class PerunBean
    • serializeToString

      public String serializeToString()
      Overrides:
      serializeToString in class PerunBean
    • toString

      public String toString()
      Overrides:
      toString in class PerunBean