org.opencb.biodata.models.clinical.interpretation.Interpretation Maven / Gradle / Ivy
The newest version!
/*
*
*
*/
package org.opencb.biodata.models.clinical.interpretation;
import org.opencb.biodata.models.clinical.ClinicalAnalyst;
import org.opencb.biodata.models.clinical.ClinicalComment;
import org.opencb.biodata.models.common.Status;
import java.util.List;
import java.util.Map;
public class Interpretation {
protected String id;
protected String uuid;
protected String name;
protected String description;
protected String clinicalAnalysisId;
/**
* Interpretation algorithm tool used to generate this interpretation.
*/
protected ClinicalAnalyst analyst;
protected InterpretationMethod method;
protected List primaryFindings;
protected List secondaryFindings;
protected List comments;
protected InterpretationStats stats;
protected boolean locked;
protected String creationDate;
protected String modificationDate;
protected int version;
/**
* Users can add custom information in this field.
* OpenCGA uses this field to store the Clinical Analysis object in key 'OPENCGA_CLINICAL_ANALYSIS'
*/
private Map attributes;
public Interpretation() {
}
@Deprecated
public Interpretation(String id, String uuid, String description, String clinicalAnalysisId, ClinicalAnalyst analyst,
InterpretationMethod method, List primaryFindings, List secondaryFindings,
List comments, InterpretationStats stats, Status status, String creationDate,
String modificationDate, boolean locked, int version, Map attributes) {
this(id, uuid, id, description, clinicalAnalysisId, analyst, method, primaryFindings, secondaryFindings,
comments, stats, locked, creationDate, modificationDate, version, attributes);
}
public Interpretation(String id, String uuid, String name, String description, String clinicalAnalysisId,
ClinicalAnalyst analyst, InterpretationMethod method, List primaryFindings,
List secondaryFindings, List comments,
InterpretationStats stats, boolean locked, String creationDate, String modificationDate,
int version, Map attributes) {
this.id = id;
this.uuid = uuid;
this.name = name;
this.description = description;
this.clinicalAnalysisId = clinicalAnalysisId;
this.analyst = analyst;
this.method = method;
this.primaryFindings = primaryFindings;
this.secondaryFindings = secondaryFindings;
this.comments = comments;
this.stats = stats;
this.locked = locked;
this.creationDate = creationDate;
this.modificationDate = modificationDate;
this.version = version;
this.attributes = attributes;
}
@Override
public String toString() {
final StringBuilder sb = new StringBuilder("Interpretation{");
sb.append("id='").append(id).append('\'');
sb.append(", uuid='").append(uuid).append('\'');
sb.append(", name='").append(name).append('\'');
sb.append(", description='").append(description).append('\'');
sb.append(", clinicalAnalysisId='").append(clinicalAnalysisId).append('\'');
sb.append(", analyst=").append(analyst);
sb.append(", method=").append(method);
sb.append(", primaryFindings=").append(primaryFindings);
sb.append(", secondaryFindings=").append(secondaryFindings);
sb.append(", comments=").append(comments);
sb.append(", stats=").append(stats);
sb.append(", creationDate='").append(creationDate).append('\'');
sb.append(", modificationDate='").append(modificationDate).append('\'');
sb.append(", locked='").append(locked).append('\'');
sb.append(", version=").append(version);
sb.append(", attributes=").append(attributes);
sb.append('}');
return sb.toString();
}
public String getId() {
return id;
}
public Interpretation setId(String id) {
this.id = id;
return this;
}
public String getUuid() {
return uuid;
}
public Interpretation setUuid(String uuid) {
this.uuid = uuid;
return this;
}
public String getName() {
return name;
}
public Interpretation setName(String name) {
this.name = name;
return this;
}
public String getDescription() {
return description;
}
public Interpretation setDescription(String description) {
this.description = description;
return this;
}
public String getClinicalAnalysisId() {
return clinicalAnalysisId;
}
public Interpretation setClinicalAnalysisId(String clinicalAnalysisId) {
this.clinicalAnalysisId = clinicalAnalysisId;
return this;
}
public ClinicalAnalyst getAnalyst() {
return analyst;
}
public Interpretation setAnalyst(ClinicalAnalyst analyst) {
this.analyst = analyst;
return this;
}
public InterpretationMethod getMethod() {
return method;
}
public Interpretation setMethod(InterpretationMethod method) {
this.method = method;
return this;
}
public List getPrimaryFindings() {
return primaryFindings;
}
public Interpretation setPrimaryFindings(List primaryFindings) {
this.primaryFindings = primaryFindings;
return this;
}
public List getSecondaryFindings() {
return secondaryFindings;
}
public Interpretation setSecondaryFindings(List secondaryFindings) {
this.secondaryFindings = secondaryFindings;
return this;
}
public List getComments() {
return comments;
}
public Interpretation setComments(List comments) {
this.comments = comments;
return this;
}
public InterpretationStats getStats() {
return stats;
}
public Interpretation setStats(InterpretationStats stats) {
this.stats = stats;
return this;
}
public String getCreationDate() {
return creationDate;
}
public Interpretation setCreationDate(String creationDate) {
this.creationDate = creationDate;
return this;
}
public String getModificationDate() {
return modificationDate;
}
public Interpretation setModificationDate(String modificationDate) {
this.modificationDate = modificationDate;
return this;
}
public boolean isLocked() {
return locked;
}
public Interpretation setLocked(boolean locked) {
this.locked = locked;
return this;
}
public int getVersion() {
return version;
}
public Interpretation setVersion(int version) {
this.version = version;
return this;
}
public Map getAttributes() {
return attributes;
}
public Interpretation setAttributes(Map attributes) {
this.attributes = attributes;
return this;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy