summaryrefslogtreecommitdiffstats
path: root/gerrit-common/src/main/java/com/google/gerrit/common/data/PatchSetDetail.java
diff options
context:
space:
mode:
Diffstat (limited to 'gerrit-common/src/main/java/com/google/gerrit/common/data/PatchSetDetail.java')
-rw-r--r--gerrit-common/src/main/java/com/google/gerrit/common/data/PatchSetDetail.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/gerrit-common/src/main/java/com/google/gerrit/common/data/PatchSetDetail.java b/gerrit-common/src/main/java/com/google/gerrit/common/data/PatchSetDetail.java
index a2debf2a4a..39f5cb0aed 100644
--- a/gerrit-common/src/main/java/com/google/gerrit/common/data/PatchSetDetail.java
+++ b/gerrit-common/src/main/java/com/google/gerrit/common/data/PatchSetDetail.java
@@ -17,6 +17,7 @@ package com.google.gerrit.common.data;
import com.google.gerrit.reviewdb.client.Patch;
import com.google.gerrit.reviewdb.client.PatchSet;
import com.google.gerrit.reviewdb.client.PatchSetInfo;
+import com.google.gerrit.reviewdb.client.Project;
import java.util.List;
@@ -24,6 +25,7 @@ public class PatchSetDetail {
protected PatchSet patchSet;
protected PatchSetInfo info;
protected List<Patch> patches;
+ protected Project.NameKey project;
public PatchSetDetail() {
}
@@ -51,4 +53,12 @@ public class PatchSetDetail {
public void setPatches(final List<Patch> p) {
patches = p;
}
+
+ public Project.NameKey getProject() {
+ return project;
+ }
+
+ public void setProject(final Project.NameKey p) {
+ project = p;
+ }
}