Skip to content

Commit

Permalink
models: update AlignmentStats, #184
Browse files Browse the repository at this point in the history
  • Loading branch information
jtarraga committed Apr 30, 2020
1 parent 1bf81c2 commit 796462c
Showing 1 changed file with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
package org.opencb.biodata.models.alignment;

import java.util.List;

public class AlignmentStats {
private String fileId;
private String sampleId;
private List<String> sampleIds;
private int rawTotalSequences;
private int filteredSequences;
private int sequences;
Expand Down Expand Up @@ -49,7 +51,7 @@ public AlignmentStats() {
public String toString() {
final StringBuilder sb = new StringBuilder("AlignmentStats{");
sb.append("fileId='").append(fileId).append('\'');
sb.append(", sampleId='").append(sampleId).append('\'');
sb.append(", sampleIds=").append(sampleIds);
sb.append(", rawTotalSequences=").append(rawTotalSequences);
sb.append(", filteredSequences=").append(filteredSequences);
sb.append(", sequences=").append(sequences);
Expand Down Expand Up @@ -101,12 +103,12 @@ public AlignmentStats setFileId(String fileId) {
return this;
}

public String getSampleId() {
return sampleId;
public List<String> getSampleIds() {
return sampleIds;
}

public AlignmentStats setSampleId(String sampleId) {
this.sampleId = sampleId;
public AlignmentStats setSampleIds(List<String> sampleIds) {
this.sampleIds = sampleIds;
return this;
}

Expand Down

0 comments on commit 796462c

Please sign in to comment.