Class Thanks

java.lang.Object
cz.metacentrum.perun.core.api.PerunBean
cz.metacentrum.perun.cabinet.model.Thanks
All Implemented Interfaces:
Serializable, Comparable<PerunBean>
Direct Known Subclasses:
ThanksForGUI

public class Thanks extends PerunBean
Class represents Thanks = expression of acknowledgment from authors to facility owners.
Author:
Jiri Harazim invalid input: '<'harazim@mail.muni.cz>, Pavel Zlamal invalid input: '<'256627@mail.muni.cz>
See Also:
  • Constructor Details

    • Thanks

      public Thanks()
    • Thanks

      public Thanks(int id, int publicationId, int ownerId, String createdBy, Date createdDate)
    • Thanks

      public Thanks(int id, int publicationId, int ownerId, String createdBy, Date createdDate, int createdByUid)
  • Method Details

    • equals

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

      public String getCreatedBy()
      This method returns the value of the database column THANKS.createdBy
      Returns:
      the value of THANKS.createdBy
    • setCreatedBy

      public void setCreatedBy(String createdBy)
      This method sets the value of the database column THANKS.createdBy
      Parameters:
      createdBy - the value for THANKS.createdBy
    • getCreatedByUid

      public int getCreatedByUid()
    • setCreatedByUid

      public void setCreatedByUid(int createdByUid)
    • getCreatedDate

      public Date getCreatedDate()
      This method returns the value of the database column THANKS.createdDate
      Returns:
      the value of THANKS.createdDate
    • setCreatedDate

      public void setCreatedDate(Date createdDate)
      This method sets the value of the database column THANKS.createdDate
      Parameters:
      createdDate - the value for THANKS.createdDate
    • getOwnerId

      public int getOwnerId()
      This method returns the value of the database column THANKS.ownerId
      Returns:
      the value of THANKS.ownerId
    • setOwnerId

      public void setOwnerId(int ownerId)
      This method sets the value of the database column THANKS.ownerId
      Parameters:
      ownerId - the value for THANKS.ownerId
    • getPublicationId

      public int getPublicationId()
      This method returns the value of the database column THANKS.reportId
      Returns:
      the value of THANKS.reportId
    • setPublicationId

      public void setPublicationId(int publicationId)
      This method sets the value of the database column THANKS.publicationId
      Parameters:
      publicationId - the value for THANKS.publicationId
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class PerunBean
    • toString

      public String toString()
      Overrides:
      toString in class PerunBean