aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-core/src
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-core/src')
-rw-r--r--sonar-core/src/main/java/org/sonar/jpa/entity/Review.java19
1 files changed, 19 insertions, 0 deletions
diff --git a/sonar-core/src/main/java/org/sonar/jpa/entity/Review.java b/sonar-core/src/main/java/org/sonar/jpa/entity/Review.java
index 54984c4baf5..77dce349146 100644
--- a/sonar-core/src/main/java/org/sonar/jpa/entity/Review.java
+++ b/sonar-core/src/main/java/org/sonar/jpa/entity/Review.java
@@ -46,6 +46,10 @@ public final class Review {
return id;
}
+ public void setId(Long id) {
+ this.id = id;
+ }
+
/**
* @return id of user, who created this review
*/
@@ -53,6 +57,11 @@ public final class Review {
return userId;
}
+ public Review setUserId(Integer userId) {
+ this.userId = userId;
+ return this;
+ }
+
/**
* @return id of assigned user or null, if not assigned
*/
@@ -60,8 +69,18 @@ public final class Review {
return assigneeId;
}
+ public Review setAssigneeId(Integer assigneeId) {
+ this.assigneeId = assigneeId;
+ return this;
+ }
+
public String getTitle() {
return title;
}
+ public Review setTitle(String title) {
+ this.title = title;
+ return this;
+ }
+
}