All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.opencb.biodata.models.pharma.PharmaVariantAnnotation 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 PharmaVariantAnnotation {
    private String variantId;
    private String location;
    private String chromosome;
    private int position;
    private List haplotypes;
    private List geneNames;
    private List phenotypes;
    private List phenotypeTypes;
    private String confidence;
    private String score;
    private String url;
    private String population;
    private List evidences;
    private List alleles;

    private Map attributes;

    public PharmaVariantAnnotation() {
        haplotypes = new ArrayList<>();
        geneNames = new ArrayList<>();
        phenotypes = new ArrayList<>();
        phenotypeTypes = new ArrayList<>();
        evidences = new ArrayList<>();
        alleles = new ArrayList<>();
        attributes = new HashMap<>();
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("PharmaVariantAnnotation{");
        sb.append("variantId='").append(variantId).append('\'');
        sb.append(", location='").append(location).append('\'');
        sb.append(", chromosome='").append(chromosome).append('\'');
        sb.append(", position=").append(position);
        sb.append(", haplotypes=").append(haplotypes);
        sb.append(", geneNames=").append(geneNames);
        sb.append(", phenotypes=").append(phenotypes);
        sb.append(", phenotypeTypes=").append(phenotypeTypes);
        sb.append(", confidence='").append(confidence).append('\'');
        sb.append(", score='").append(score).append('\'');
        sb.append(", url='").append(url).append('\'');
        sb.append(", population='").append(population).append('\'');
        sb.append(", evidences=").append(evidences);
        sb.append(", alleles=").append(alleles);
        sb.append(", attributes=").append(attributes);
        sb.append('}');
        return sb.toString();
    }

    public String getVariantId() {
        return variantId;
    }

    public PharmaVariantAnnotation setVariantId(String variantId) {
        this.variantId = variantId;
        return this;
    }

    public String getLocation() {
        return location;
    }

    public PharmaVariantAnnotation setLocation(String location) {
        this.location = location;
        return this;
    }

    public String getChromosome() {
        return chromosome;
    }

    public PharmaVariantAnnotation setChromosome(String chromosome) {
        this.chromosome = chromosome;
        return this;
    }

    public int getPosition() {
        return position;
    }

    public PharmaVariantAnnotation setPosition(int position) {
        this.position = position;
        return this;
    }

    public List getHaplotypes() {
        return haplotypes;
    }

    public PharmaVariantAnnotation setHaplotypes(List haplotypes) {
        this.haplotypes = haplotypes;
        return this;
    }

    public List getGeneNames() {
        return geneNames;
    }

    public PharmaVariantAnnotation setGeneNames(List geneNames) {
        this.geneNames = geneNames;
        return this;
    }

    public List getPhenotypes() {
        return phenotypes;
    }

    public PharmaVariantAnnotation setPhenotypes(List phenotypes) {
        this.phenotypes = phenotypes;
        return this;
    }

    public List getPhenotypeTypes() {
        return phenotypeTypes;
    }

    public PharmaVariantAnnotation setPhenotypeTypes(List phenotypeTypes) {
        this.phenotypeTypes = phenotypeTypes;
        return this;
    }

    public String getConfidence() {
        return confidence;
    }

    public PharmaVariantAnnotation setConfidence(String confidence) {
        this.confidence = confidence;
        return this;
    }

    public String getScore() {
        return score;
    }

    public PharmaVariantAnnotation setScore(String score) {
        this.score = score;
        return this;
    }

    public String getUrl() {
        return url;
    }

    public PharmaVariantAnnotation setUrl(String url) {
        this.url = url;
        return this;
    }

    public String getPopulation() {
        return population;
    }

    public PharmaVariantAnnotation setPopulation(String population) {
        this.population = population;
        return this;
    }

    public List getEvidences() {
        return evidences;
    }

    public PharmaVariantAnnotation setEvidences(List evidences) {
        this.evidences = evidences;
        return this;
    }

    public List getAlleles() {
        return alleles;
    }

    public PharmaVariantAnnotation setAlleles(List alleles) {
        this.alleles = alleles;
        return this;
    }

    public Map getAttributes() {
        return attributes;
    }

    public PharmaVariantAnnotation setAttributes(Map attributes) {
        this.attributes = attributes;
        return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy