org.opencb.biodata.models.pharma.PharmaClinicalAllele Maven / Gradle / Ivy
The newest version!
package org.opencb.biodata.models.pharma;
import java.util.HashMap;
import java.util.Map;
public class PharmaClinicalAllele {
private String allele;
private String annotation;
private String description;
private Map attributes;
public PharmaClinicalAllele() {
this.attributes = new HashMap<>();
}
public PharmaClinicalAllele(String allele, String annotation, String description, Map attributes) {
this.allele = allele;
this.annotation = annotation;
this.description = description;
this.attributes = attributes;
}
@Override
public String toString() {
final StringBuilder sb = new StringBuilder("PharmaClinicalAllele{");
sb.append("allele='").append(allele).append('\'');
sb.append(", annotation='").append(annotation).append('\'');
sb.append(", description='").append(description).append('\'');
sb.append(", attributes=").append(attributes);
sb.append('}');
return sb.toString();
}
public String getAllele() {
return allele;
}
public PharmaClinicalAllele setAllele(String allele) {
this.allele = allele;
return this;
}
public String getAnnotation() {
return annotation;
}
public PharmaClinicalAllele setAnnotation(String annotation) {
this.annotation = annotation;
return this;
}
public String getDescription() {
return description;
}
public PharmaClinicalAllele setDescription(String description) {
this.description = description;
return this;
}
public Map getAttributes() {
return attributes;
}
public PharmaClinicalAllele setAttributes(Map attributes) {
this.attributes = attributes;
return this;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy