Fri, 23 Oct 2020 13:29:33 +0200
adds issue detail view - fixes #24
universe@86 | 1 | package de.uapcore.lightpit.viewmodel; |
universe@86 | 2 | |
universe@146 | 3 | import de.uapcore.lightpit.entities.Issue; |
universe@146 | 4 | import de.uapcore.lightpit.entities.IssueComment; |
universe@86 | 5 | |
universe@146 | 6 | import java.util.List; |
universe@86 | 7 | |
universe@146 | 8 | public class IssueDetailView extends ProjectView { |
universe@99 | 9 | private Issue issue; |
universe@86 | 10 | |
universe@124 | 11 | private List<IssueComment> comments; |
universe@86 | 12 | |
universe@99 | 13 | public void setIssue(Issue issue) { |
universe@86 | 14 | this.issue = issue; |
universe@86 | 15 | } |
universe@86 | 16 | |
universe@86 | 17 | public Issue getIssue() { |
universe@86 | 18 | return issue; |
universe@86 | 19 | } |
universe@86 | 20 | |
universe@124 | 21 | public List<IssueComment> getComments() { |
universe@124 | 22 | return comments; |
universe@124 | 23 | } |
universe@124 | 24 | |
universe@124 | 25 | public void setComments(List<IssueComment> comments) { |
universe@124 | 26 | this.comments = comments; |
universe@124 | 27 | } |
universe@86 | 28 | } |