SampleDto.java

// Created on Feb 1, 2015
// $Id$

package com.mycim.valueobject.wip.dto;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @author andy
 */
public class SampleDto implements Serializable {

    private static final long serialVersionUID = 1263116320052011468L;

    private Long sampleRrn;

    private String sampleId;

    private Integer sampleSequence;

    private Double sampleValue;

    private Long unitRrn;

    private String unitId;

    private String recipeId;

    private Double sumValue;

    private Double averageValue;

    private Double rangeValue;

    private Double minimumValue;

    private Double maximumValue;

    private Double standardDeviationValue;

    private Double customValue;

    private String comments;

    private Double centValue;

    private List readingPrompts = new ArrayList();

    private Integer readingPromptSize;

    private String position;

    public Double getSumValue() {
        return sumValue;
    }

    public void setSumValue(Double sumValue) {
        this.sumValue = sumValue;
    }

    public Double getAverageValue() {
        return averageValue;
    }

    public void setAverageValue(Double averageValue) {
        this.averageValue = averageValue;
    }

    public Double getRangeValue() {
        return rangeValue;
    }

    public void setRangeValue(Double rangeValue) {
        this.rangeValue = rangeValue;
    }

    public Double getMinimumValue() {
        return minimumValue;
    }

    public void setMinimumValue(Double minimumValue) {
        this.minimumValue = minimumValue;
    }

    public Double getMaximumValue() {
        return maximumValue;
    }

    public void setMaximumValue(Double maximumValue) {
        this.maximumValue = maximumValue;
    }

    public Double getStandardDeviationValue() {
        return standardDeviationValue;
    }

    public void setStandardDeviationValue(Double standardDeviationValue) {
        this.standardDeviationValue = standardDeviationValue;
    }

    public Double getCustomValue() {
        return customValue;
    }

    public void setCustomValue(Double customValue) {
        this.customValue = customValue;
    }

    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments;
    }

    public Double getCentValue() {
        return centValue;
    }

    public void setCentValue(Double centValue) {
        this.centValue = centValue;
    }

    /**
     * @return the sampleRrn
     */
    public Long getSampleRrn() {
        return sampleRrn;
    }

    /**
     * @param sampleRrn the sampleRrn to set
     */
    public void setSampleRrn(Long sampleRrn) {
        this.sampleRrn = sampleRrn;
    }

    /**
     * @return the sampleId
     */
    public String getSampleId() {
        return sampleId;
    }

    /**
     * @param sampleId the sampleId to set
     */
    public void setSampleId(String sampleId) {
        this.sampleId = sampleId;
    }

    /**
     * @return the sampleSequence
     */
    public Integer getSampleSequence() {
        return sampleSequence;
    }

    /**
     * @param sampleSequence the sampleSequence to set
     */
    public void setSampleSequence(Integer sampleSequence) {
        this.sampleSequence = sampleSequence;
    }

    /**
     * @return the sampleValue
     */
    public Double getSampleValue() {
        return sampleValue;
    }

    /**
     * @param sampleValue the sampleValue to set
     */
    public void setSampleValue(Double sampleValue) {
        this.sampleValue = sampleValue;
    }

    /**
     * @return the unitRrn
     */
    public Long getUnitRrn() {
        return unitRrn;
    }

    /**
     * @param unitRrn the unitRrn to set
     */
    public void setUnitRrn(Long unitRrn) {
        this.unitRrn = unitRrn;
    }

    /**
     * @return the unitId
     */
    public String getUnitId() {
        return unitId;
    }

    /**
     * @param unitId the unitId to set
     */
    public void setUnitId(String unitId) {
        this.unitId = unitId;
    }

    /**
     * @return the recipeId
     */
    public String getRecipeId() {
        return recipeId;
    }

    /**
     * @param recipeId the recipeId to set
     */
    public void setRecipeId(String recipeId) {
        this.recipeId = recipeId;
    }

    /**
     * @return the readingPrompts
     */
    public List getReadingPrompts() {
        return readingPrompts;
    }

    /**
     * @param readingPrompts the readingPrompts to set
     */
    public void setReadingPrompts(List readingPrompts) {
        this.readingPrompts = readingPrompts;
    }

    /**
     * @return the readingPromptSize
     */
    public Integer getReadingPromptSize() {
        this.readingPromptSize = new Integer(readingPrompts.size());
        return readingPromptSize;
    }

    /**
     * @param readingPromptSize the readingPromptSize to set
     */
    public void setReadingPromptSize(Integer readingPromptSize) {
        this.readingPromptSize = readingPromptSize;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

}