-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
models: add QualityControlFile data model, #187
- Loading branch information
Showing
1 changed file
with
68 additions
and
0 deletions.
There are no files selected for viewing
68 changes: 68 additions & 0 deletions
68
biodata-models/src/main/java/org/opencb/biodata/models/clinical/qc/QualityControlFile.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
package org.opencb.biodata.models.clinical.qc; | ||
|
||
import java.util.Map; | ||
|
||
public class QualityControlFile { | ||
|
||
private String file; | ||
private String type; | ||
private String subtype; | ||
private Map<String, String> query; | ||
|
||
public QualityControlFile() { | ||
} | ||
|
||
public QualityControlFile(String file, String type, String subtype, Map<String, String> query) { | ||
this.file = file; | ||
this.type = type; | ||
this.subtype = subtype; | ||
this.query = query; | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
final StringBuilder sb = new StringBuilder("QualityControlFile{"); | ||
sb.append("file='").append(file).append('\''); | ||
sb.append(", type='").append(type).append('\''); | ||
sb.append(", subtype='").append(subtype).append('\''); | ||
sb.append(", query=").append(query); | ||
sb.append('}'); | ||
return sb.toString(); | ||
} | ||
|
||
public String getFile() { | ||
return file; | ||
} | ||
|
||
public QualityControlFile setFile(String file) { | ||
this.file = file; | ||
return this; | ||
} | ||
|
||
public String getType() { | ||
return type; | ||
} | ||
|
||
public QualityControlFile setType(String type) { | ||
this.type = type; | ||
return this; | ||
} | ||
|
||
public String getSubtype() { | ||
return subtype; | ||
} | ||
|
||
public QualityControlFile setSubtype(String subtype) { | ||
this.subtype = subtype; | ||
return this; | ||
} | ||
|
||
public Map<String, String> getQuery() { | ||
return query; | ||
} | ||
|
||
public QualityControlFile setQuery(Map<String, String> query) { | ||
this.query = query; | ||
return this; | ||
} | ||
} |