Class CampaignRecordPageStatistic
java.lang.Object
io.goobi.viewer.model.crowdsourcing.campaigns.CampaignRecordPageStatistic
- All Implemented Interfaces:
Serializable
Annotation status of a single page in a record in the context of a particular campaign.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAnnotater(User user) addAnnotater.voidaddReviewer(User user) addReviewer.booleanGetter for the fieldannotators.Getter for the fielddateCreated.Getter for the fielddateUpdated.getId()Getter for the fieldid.getKey()getOwner()Getter for the fieldowner.getPage()getPi()Getter for the fieldpi.Getter for the fieldreviewers.Getter for the fieldstatus.inthashCode()voidsetAnnotators(List<User> annotators) Setter for the fieldannotators.voidsetDateCreated(LocalDateTime dateCreated) Setter for the fielddateCreated.voidsetDateUpdated(LocalDateTime dateUpdated) Setter for the fielddateUpdated.voidSetter for the fieldid.voidvoidsetOwner(CampaignRecordStatistic owner) Setter for the fieldowner.voidvoidSetter for the fieldpi.voidsetReviewers(List<User> reviewers) Setter for the fieldreviewers.voidsetStatus(CrowdsourcingStatus status) Setter for the fieldstatus.
-
Constructor Details
-
CampaignRecordPageStatistic
public CampaignRecordPageStatistic()
-
-
Method Details
-
hashCode
public int hashCode() -
equals
-
getId
Getter for the fieldid.- Returns:
- the database primary key of this page statistic entry
-
setId
Setter for the fieldid.- Parameters:
id- the database primary key to set
-
getDateCreated
Getter for the fielddateCreated.- Returns:
- the date and time when this statistic entry was created
-
setDateCreated
Setter for the fielddateCreated.- Parameters:
dateCreated- the date and time when this statistic entry was created
-
getDateUpdated
Getter for the fielddateUpdated.- Returns:
- the date and time when this statistic entry was last updated
-
setDateUpdated
Setter for the fielddateUpdated.- Parameters:
dateUpdated- the date and time when this statistic entry was last updated
-
getOwner
Getter for the fieldowner.- Returns:
- the campaign record statistic that owns this per-page statistic entry
-
setOwner
Setter for the fieldowner.- Parameters:
owner- the campaign record statistic that owns this per-page statistic entry
-
getPi
Getter for the fieldpi.- Returns:
- the persistent identifier of the record this page statistic belongs to
-
setPi
Setter for the fieldpi.- Parameters:
pi- the persistent identifier of the record this page statistic belongs to
-
getPage
-
setPage
-
getKey
-
setKey
-
getStatus
Getter for the fieldstatus.- Returns:
- the crowdsourcing processing status for this page within the campaign
-
setStatus
Setter for the fieldstatus.- Parameters:
status- the crowdsourcing processing status for this page within the campaign
-
getAnnotators
Getter for the fieldannotators.- Returns:
- the list of users who have contributed annotations to this page
-
setAnnotators
Setter for the fieldannotators.- Parameters:
annotators- the list of users who have contributed annotations to this page
-
getReviewers
Getter for the fieldreviewers.- Returns:
- the list of users who have reviewed annotations on this page
-
setReviewers
Setter for the fieldreviewers.- Parameters:
reviewers- the list of users who have reviewed annotations on this page
-
addAnnotater
addAnnotater.- Parameters:
user- aUserobject.
-
addReviewer
addReviewer.- Parameters:
user- aUserobject.
-