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

org.opencb.biodata.models.clinical.qc.GenomePlotTrack Maven / Gradle / Ivy

The newest version!
/*
 * 
 *
 */

package org.opencb.biodata.models.clinical.qc;

import org.opencb.biodata.models.constants.FieldConstants;
import org.opencb.commons.annotations.DataField;

import java.util.Map;

public class GenomePlotTrack {


    @DataField(id = "type", indexed = true,
            description = FieldConstants.GENOME_PLOT_TRACK_TYPE_DESCRIPTION)
    private String type;

    @DataField(id = "description", indexed = true,
            description = FieldConstants.GENOME_PLOT_TRACK_DESCRIPTION_DESCRIPTION)
    private String description;

    @DataField(id = "query", indexed = true,
            description = FieldConstants.GENOME_PLOT_TRACK_QUERY_DESCRIPTION)
    private Map query;

    public GenomePlotTrack() {
    }

    public GenomePlotTrack(String type, String description, Map query) {
        this.type = type;
        this.description = description;
        this.query = query;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("GenomePlotTrack{");
        sb.append("type='").append(type).append('\'');
        sb.append(", description='").append(description).append('\'');
        sb.append(", query=").append(query);
        sb.append('}');
        return sb.toString();
    }

    public String getDescription() {
        return description;
    }

    public GenomePlotTrack setDescription(String description) {
        this.description = description;
        return this;
    }


    public String getType() {
        return type;
    }

    public GenomePlotTrack setType(String type) {
        this.type = type;
        return this;
    }

    public Map getQuery() {
        return query;
    }

    public GenomePlotTrack setQuery(Map query) {
        this.query = query;
        return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy