• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

DataBiosphere / consent / #5691

17 Apr 2025 08:58PM UTC coverage: 78.955% (-0.1%) from 79.057%
#5691

push

web-flow
[DT-1502] Remove an unused method and test. (#2486)

2 of 2 new or added lines in 2 files covered. (100.0%)

3 existing lines in 1 file now uncovered.

10212 of 12934 relevant lines covered (78.95%)

0.79 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

76.92
/src/main/java/org/broadinstitute/consent/http/db/DAOContainer.java
1
package org.broadinstitute.consent.http.db;
2

3
/**
4
 * Generic container class for DAOs that can be used in service constructors to simplify instance
5
 * creation.
6
 * Per feedback in https://github.com/DataBiosphere/consent/pull/2408
7
 * 'We should only expand this usage if necessary.'
8
 */
9
@SuppressWarnings("unused")
10
public class DAOContainer {
1✔
11

12
  private CounterDAO counterDAO;
13
  private DacDAO dacDAO;
14
  private DataAccessRequestDAO dataAccessRequestDAO;
15
  private DarCollectionDAO darCollectionDAO;
16
  private DarCollectionSummaryDAO darCollectionSummaryDAO;
17
  private DatasetDAO datasetDAO;
18
  private ElectionDAO electionDAO;
19
  private MailMessageDAO mailMessageDAO;
20
  private MatchDAO matchDAO;
21
  private UserPropertyDAO userPropertyDAO;
22
  private UserDAO userDAO;
23
  private UserRoleDAO userRoleDAO;
24
  private VoteDAO voteDAO;
25
  private StudyDAO studyDAO;
26
  private InstitutionDAO institutionDAO;
27
  private FileStorageObjectDAO fileStorageObjectDAO;
28
  private AcknowledgementDAO acknowledgementDAO;
29

30
  public CounterDAO getCounterDAO() {
31
    return counterDAO;
×
32
  }
33

34
  public void setCounterDAO(CounterDAO counterDAO) {
35
    this.counterDAO = counterDAO;
1✔
36
  }
1✔
37

38
  public DacDAO getDacDAO() {
39
    return dacDAO;
×
40
  }
41

42
  public void setDacDAO(DacDAO dacDAO) {
43
    this.dacDAO = dacDAO;
1✔
44
  }
1✔
45

46
  public DataAccessRequestDAO getDataAccessRequestDAO() {
47
    return dataAccessRequestDAO;
1✔
48
  }
49

50
  public void setDataAccessRequestDAO(
51
      DataAccessRequestDAO dataAccessRequestDAO) {
52
    this.dataAccessRequestDAO = dataAccessRequestDAO;
1✔
53
  }
1✔
54

55
  public DarCollectionDAO getDarCollectionDAO() {
56
    return darCollectionDAO;
1✔
57
  }
58

59
  public DarCollectionSummaryDAO getDarCollectionSummaryDAO() {
60
    return darCollectionSummaryDAO;
×
61
  }
62

63
  public void setDarCollectionDAO(
64
      DarCollectionDAO darCollectionDAO) {
65
    this.darCollectionDAO = darCollectionDAO;
1✔
66
  }
1✔
67

68
  public void setDarCollectionSummaryDAO(
69
      DarCollectionSummaryDAO darCollectionSummaryDAO
70
  ) {
71
    this.darCollectionSummaryDAO = darCollectionSummaryDAO;
1✔
72
  }
1✔
73

74
  public DatasetDAO getDatasetDAO() {
UNCOV
75
    return datasetDAO;
×
76
  }
77

78
  public void setDatasetDAO(DatasetDAO datasetDAO) {
79
    this.datasetDAO = datasetDAO;
1✔
80
  }
1✔
81

82
  public ElectionDAO getElectionDAO() {
83
    return electionDAO;
1✔
84
  }
85

86
  public void setElectionDAO(ElectionDAO electionDAO) {
87
    this.electionDAO = electionDAO;
1✔
88
  }
1✔
89

90
  public MailMessageDAO getMailMessageDAO() {
91
    return mailMessageDAO;
×
92
  }
93

94
  public void setMailMessageDAO(MailMessageDAO mailMessageDAO) {
95
    this.mailMessageDAO = mailMessageDAO;
1✔
96
  }
1✔
97

98
  public MatchDAO getMatchDAO() {
99
    return matchDAO;
1✔
100
  }
101

102
  public void setMatchDAO(MatchDAO matchDAO) {
103
    this.matchDAO = matchDAO;
1✔
104
  }
1✔
105

106
  public UserPropertyDAO getUserPropertyDAO() {
107
    return userPropertyDAO;
×
108
  }
109

110
  public void setUserPropertyDAO(
111
      UserPropertyDAO userPropertyDAO) {
112
    this.userPropertyDAO = userPropertyDAO;
1✔
113
  }
1✔
114

115
  public UserDAO getUserDAO() {
UNCOV
116
    return userDAO;
×
117
  }
118

119
  public void setUserDAO(UserDAO userDAO) {
120
    this.userDAO = userDAO;
1✔
121
  }
1✔
122

123
  public UserRoleDAO getUserRoleDAO() {
124
    return userRoleDAO;
×
125
  }
126

127
  public void setUserRoleDAO(UserRoleDAO userRoleDAO) {
128
    this.userRoleDAO = userRoleDAO;
1✔
129
  }
1✔
130

131
  public VoteDAO getVoteDAO() {
132
    return voteDAO;
1✔
133
  }
134

135
  public void setVoteDAO(VoteDAO voteDAO) {
136
    this.voteDAO = voteDAO;
1✔
137
  }
1✔
138

139
  public StudyDAO getStudyDAO() {
140
    return studyDAO;
×
141
  }
142

143
  public void setStudyDAO(StudyDAO studyDAO) {
144
    this.studyDAO = studyDAO;
1✔
145
  }
1✔
146

147
  public InstitutionDAO getInstitutionDAO() {
UNCOV
148
    return institutionDAO;
×
149
  }
150

151
  public void setInstitutionDAO(InstitutionDAO institutionDAO) {
152
    this.institutionDAO = institutionDAO;
1✔
153
  }
1✔
154

155
  public FileStorageObjectDAO getFileStorageObjectDAO() {
156
    return fileStorageObjectDAO;
×
157
  }
158

159
  public void setFileStorageObjectDAO(FileStorageObjectDAO fileStorageObjectDAO) {
160
    this.fileStorageObjectDAO = fileStorageObjectDAO;
1✔
161
  }
1✔
162

163
  public AcknowledgementDAO getAcknowledgementDAO() {
164
    return acknowledgementDAO;
×
165
  }
166

167
  public void setAcknowledgementDAO(AcknowledgementDAO acknowledgementDAO) {
168
    this.acknowledgementDAO = acknowledgementDAO;
1✔
169
  }
1✔
170
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc