org.opencb.biodata.models.pharma.PharmaClinicalEvidence Maven / Gradle / Ivy
The newest version!
package org.opencb.biodata.models.pharma;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class PharmaClinicalEvidence {
private String type;
private String url;
private String pubmed;
private String summary;
private String score;
private List variantAssociations;
private List guidelineAnnotations;
private List drugLabelAnnotations;
private Map attributes;
public PharmaClinicalEvidence() {
this.variantAssociations = new ArrayList<>();
this.guidelineAnnotations = new ArrayList<>();
this.drugLabelAnnotations = new ArrayList<>();
this.attributes = new HashMap<>();
}
public PharmaClinicalEvidence(String type, String url, String pubmed, String summary, String score,
List variantAssociations, List guidelineAnnotations,
List drugLabelAnnotations, Map attributes) {
this.type = type;
this.url = url;
this.pubmed = pubmed;
this.summary = summary;
this.score = score;
this.variantAssociations = variantAssociations;
this.guidelineAnnotations = guidelineAnnotations;
this.drugLabelAnnotations = drugLabelAnnotations;
this.attributes = attributes;
}
@Override
public String toString() {
final StringBuilder sb = new StringBuilder("PharmaClinicalEvidence{");
sb.append("type='").append(type).append('\'');
sb.append(", url='").append(url).append('\'');
sb.append(", pubmed='").append(pubmed).append('\'');
sb.append(", summary='").append(summary).append('\'');
sb.append(", score='").append(score).append('\'');
sb.append(", variantAssociations=").append(variantAssociations);
sb.append(", guidelineAnnotations=").append(guidelineAnnotations);
sb.append(", drugLabelAnnotations=").append(drugLabelAnnotations);
sb.append(", attributes=").append(attributes);
sb.append('}');
return sb.toString();
}
public String getType() {
return type;
}
public PharmaClinicalEvidence setType(String type) {
this.type = type;
return this;
}
public String getUrl() {
return url;
}
public PharmaClinicalEvidence setUrl(String url) {
this.url = url;
return this;
}
public String getPubmed() {
return pubmed;
}
public PharmaClinicalEvidence setPubmed(String pubmed) {
this.pubmed = pubmed;
return this;
}
public String getSummary() {
return summary;
}
public PharmaClinicalEvidence setSummary(String summary) {
this.summary = summary;
return this;
}
public String getScore() {
return score;
}
public PharmaClinicalEvidence setScore(String score) {
this.score = score;
return this;
}
public List getVariantAssociations() {
return variantAssociations;
}
public PharmaClinicalEvidence setVariantAssociations(List variantAssociations) {
this.variantAssociations = variantAssociations;
return this;
}
public List getGuidelineAnnotations() {
return guidelineAnnotations;
}
public PharmaClinicalEvidence setGuidelineAnnotations(List guidelineAnnotations) {
this.guidelineAnnotations = guidelineAnnotations;
return this;
}
public List getDrugLabelAnnotations() {
return drugLabelAnnotations;
}
public PharmaClinicalEvidence setDrugLabelAnnotations(List drugLabelAnnotations) {
this.drugLabelAnnotations = drugLabelAnnotations;
return this;
}
public Map getAttributes() {
return attributes;
}
public PharmaClinicalEvidence setAttributes(Map attributes) {
this.attributes = attributes;
return this;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy