From 796462cde0d8fe39d0b77aa08e876ece68b4ddc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joaqu=C3=ADn=20T=C3=A1rraga=20Gim=C3=A9nez?= Date: Thu, 30 Apr 2020 11:04:09 +0200 Subject: [PATCH] models: update AlignmentStats, #184 --- .../biodata/models/alignment/AlignmentStats.java | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/biodata-models/src/main/java/org/opencb/biodata/models/alignment/AlignmentStats.java b/biodata-models/src/main/java/org/opencb/biodata/models/alignment/AlignmentStats.java index 53cfd620b..6cca590a6 100644 --- a/biodata-models/src/main/java/org/opencb/biodata/models/alignment/AlignmentStats.java +++ b/biodata-models/src/main/java/org/opencb/biodata/models/alignment/AlignmentStats.java @@ -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 sampleIds; private int rawTotalSequences; private int filteredSequences; private int sequences; @@ -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); @@ -101,12 +103,12 @@ public AlignmentStats setFileId(String fileId) { return this; } - public String getSampleId() { - return sampleId; + public List getSampleIds() { + return sampleIds; } - public AlignmentStats setSampleId(String sampleId) { - this.sampleId = sampleId; + public AlignmentStats setSampleIds(List sampleIds) { + this.sampleIds = sampleIds; return this; }