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 id
    • setId

      public void setId(Long id)

      Setter for the field id.

      Parameters:
      id - the id to set
    • getDateCreated

      public LocalDateTime getDateCreated()

      Getter for the field dateCreated.

      Returns:
      the dateCreated
    • setDateCreated

      public void setDateCreated(LocalDateTime dateCreated)

      Setter for the field dateCreated.

      Parameters:
      dateCreated - the dateCreated to set
    • getDateUpdated

      public LocalDateTime getDateUpdated()

      Getter for the field dateUpdated.

      Returns:
      the dateUpdated
    • setDateUpdated

      public void setDateUpdated(LocalDateTime dateUpdated)

      Setter for the field dateUpdated.

      Parameters:
      dateUpdated - the dateUpdated to set
    • getOwner

      public CampaignRecordStatistic getOwner()

      Getter for the field owner.

      Returns:
      the owner
    • setOwner

      public void setOwner(CampaignRecordStatistic owner)

      Setter for the field owner.

      Parameters:
      owner - the owner to set
    • getPi

      public String getPi()

      Getter for the field pi.

      Returns:
      the pi
    • setPi

      public void setPi(String pi)

      Setter for the field pi.

      Parameters:
      pi - the pi to set
    • getPage

      public Integer getPage()
      Returns:
      the page
    • setPage

      public void setPage(Integer page)
      Parameters:
      page - the page to set
    • getKey

      public String getKey()
      Returns:
      the key
    • setKey

      public void setKey(String key)
      Parameters:
      key - the key to set
    • getStatus

      public CrowdsourcingStatus getStatus()

      Getter for the field status.

      Returns:
      the status
    • setStatus

      public void setStatus(CrowdsourcingStatus status)

      Setter for the field status.

      Parameters:
      status - the status to set
    • getAnnotators

      public List<User> getAnnotators()

      Getter for the field annotators.

      Returns:
      the annotators
    • setAnnotators

      public void setAnnotators(List<User> annotators)

      Setter for the field annotators.

      Parameters:
      annotators - the annotators to set
    • getReviewers

      public List<User> getReviewers()

      Getter for the field reviewers.

      Returns:
      the reviewers
    • setReviewers

      public void setReviewers(List<User> reviewers)

      Setter for the field reviewers.

      Parameters:
      reviewers - the reviewers to set
    • addAnnotater

      public void addAnnotater(User user)

      addAnnotater.

      Parameters:
      user - a User object.
    • addReviewer

      public void addReviewer(User user)

      addReviewer.

      Parameters:
      user - a User object.