Class CampaignRecordPageStatistic

java.lang.Object
io.goobi.viewer.model.crowdsourcing.campaigns.CampaignRecordPageStatistic
All Implemented Interfaces:
Serializable

@Entity public class CampaignRecordPageStatistic extends Object implements Serializable
Annotation status of a single page in a record in the context of a particular campaign.
See Also:
  • Constructor Details

    • CampaignRecordPageStatistic

      public CampaignRecordPageStatistic()
  • Method Details

    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • getId

      public Long getId()
      Getter for the field id.
      Returns:
      the database primary key of this page statistic entry
    • setId

      public void setId(Long id)
      Setter for the field id.
      Parameters:
      id - the database primary key to set
    • getDateCreated

      public LocalDateTime getDateCreated()
      Getter for the field dateCreated.
      Returns:
      the date and time when this statistic entry was created
    • setDateCreated

      public void setDateCreated(LocalDateTime dateCreated)
      Setter for the field dateCreated.
      Parameters:
      dateCreated - the date and time when this statistic entry was created
    • getDateUpdated

      public LocalDateTime getDateUpdated()
      Getter for the field dateUpdated.
      Returns:
      the date and time when this statistic entry was last updated
    • setDateUpdated

      public void setDateUpdated(LocalDateTime dateUpdated)
      Setter for the field dateUpdated.
      Parameters:
      dateUpdated - the date and time when this statistic entry was last updated
    • getOwner

      public CampaignRecordStatistic getOwner()
      Getter for the field owner.
      Returns:
      the campaign record statistic that owns this per-page statistic entry
    • setOwner

      public void setOwner(CampaignRecordStatistic owner)
      Setter for the field owner.
      Parameters:
      owner - the campaign record statistic that owns this per-page statistic entry
    • getPi

      public String getPi()
      Getter for the field pi.
      Returns:
      the persistent identifier of the record this page statistic belongs to
    • setPi

      public void setPi(String pi)
      Setter for the field pi.
      Parameters:
      pi - the persistent identifier of the record this page statistic belongs to
    • getPage

      public Integer getPage()
    • setPage

      public void setPage(Integer page)
    • getKey

      public String getKey()
    • setKey

      public void setKey(String key)
    • getStatus

      public CrowdsourcingStatus getStatus()
      Getter for the field status.
      Returns:
      the crowdsourcing processing status for this page within the campaign
    • setStatus

      public void setStatus(CrowdsourcingStatus status)
      Setter for the field status.
      Parameters:
      status - the crowdsourcing processing status for this page within the campaign
    • getAnnotators

      public List<User> getAnnotators()
      Getter for the field annotators.
      Returns:
      the list of users who have contributed annotations to this page
    • setAnnotators

      public void setAnnotators(List<User> annotators)
      Setter for the field annotators.
      Parameters:
      annotators - the list of users who have contributed annotations to this page
    • getReviewers

      public List<User> getReviewers()
      Getter for the field reviewers.
      Returns:
      the list of users who have reviewed annotations on this page
    • setReviewers

      public void setReviewers(List<User> reviewers)
      Setter for the field reviewers.
      Parameters:
      reviewers - the list of users who have reviewed annotations on this page
    • addAnnotater

      public void addAnnotater(User user)
      addAnnotater.
      Parameters:
      user - a User object.
    • addReviewer

      public void addReviewer(User user)
      addReviewer.
      Parameters:
      user - a User object.