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

org.opencb.biodata.models.clinical.qc.GenomePlot 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;

public class GenomePlot {

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

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

    @DataField(id = "config", indexed = true,
            description = FieldConstants.GENOMEPLOT_CONFIG_DESCRIPTION)
    private GenomePlotConfig config;

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

    public GenomePlot() {

    }

    public GenomePlot(String id, String description, GenomePlotConfig config, String file) {
        this.id = id;
        this.description = description;
        this.config = config;
        this.file = file;

    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("GenomePlot{");
        sb.append("id='").append(id).append('\'');
        sb.append(", description='").append(description).append('\'');
        sb.append(", config=").append(config);
        sb.append(", file='").append(file).append('\'');
        sb.append('}');
        return sb.toString();
    }


    public String getId() {
        return id;
    }

    public GenomePlot setId(String id) {
        this.id = id;
        return this;
    }

    public String getDescription() {
        return description;
    }

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

    public GenomePlotConfig getConfig() {
        return config;
    }

    public GenomePlot setConfig(GenomePlotConfig config) {
        this.config = config;
        return this;
    }

    public String getFile() {
        return file;
    }

    public GenomePlot setFile(String file) {
        this.file = file;
        return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy