DataCollection.java

/*
 *        @ Copyright 2001 FA Software;
 *        All right reserved. No part of this program may be reproduced or
 *        transmitted in any form or by any means, electronic or
 *        mechanical, including photocopying, recording, or by any
 *        information storage or retrieval system without written
 *        permission from FA Software, except for inclusion of brief
 *        quotations in a review.
 */
package com.mycim.valueobject.spc;

import com.mycim.valueobject.bas.NamedObject;

import java.util.Collection;


public class DataCollection extends NamedObject {

    private Long dcolRrn;

    private Integer dcolSequence;

    private String validFlag;

    private Long parameterSetRrn;

    private Integer parameterSetVersion;

    private Long parameterRrn;

    private String measureType;

    private Double targetValue;

    private Double upperSpecificationLimit;

    private Double lowerSpecificationLimit;

    private Long numberOfSamples;

    private Long numberOfReadings;

    private Long numberOfDefects;

    private Double percentageOfDefects;

    private Double sumValue;

    private Double averageValue;

    private Double rangeValue;

    private Double minimumValue;

    private Double maximumValue;

    private Double standardDeviationValue;

    private Double customValue;

    private String collectionTimestamp;

    private Long transRrn;

    private String comments;

    private Collection samples;

    private Double cacluationValue;

    private long lotRrn;

    private Long parameterSetSpecRrn;

    public long getLotRrn() {
        return lotRrn;
    }

    public void setLotRrn(long lotRrn) {
        this.lotRrn = lotRrn;
    }

    public Double getAverageValue() {
        return averageValue;
    }

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

    public String getCollectionTimestamp() {
        return collectionTimestamp;
    }

    public void setCollectionTimestamp(String collectionTimestamp) {
        this.collectionTimestamp = collectionTimestamp;
    }

    public String getComments() {
        return comments;
    }

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

    public Double getCustomValue() {
        return customValue;
    }

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

    public Long getDcolRrn() {
        return dcolRrn;
    }

    public void setDcolRrn(Long dcolRrn) {
        this.dcolRrn = dcolRrn;
    }

    public Integer getDcolSequence() {
        return dcolSequence;
    }

    public void setDcolSequence(Integer dcolSequence) {
        this.dcolSequence = dcolSequence;
    }

    public Double getLowerSpecificationLimit() {
        return lowerSpecificationLimit;
    }

    public void setLowerSpecificationLimit(Double lowerSpecificationLimit) {
        this.lowerSpecificationLimit = lowerSpecificationLimit;
    }

    public Double getMaximumValue() {
        return maximumValue;
    }

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

    public String getMeasureType() {
        return measureType;
    }

    public void setMeasureType(String measureType) {
        this.measureType = measureType;
    }

    public Double getMinimumValue() {
        return minimumValue;
    }

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

    public Long getNumberOfDefects() {
        return numberOfDefects;
    }

    public void setNumberOfDefects(Long numberOfDefects) {
        this.numberOfDefects = numberOfDefects;
    }

    public Long getNumberOfReadings() {
        return numberOfReadings;
    }

    public void setNumberOfReadings(Long numberOfReadings) {
        this.numberOfReadings = numberOfReadings;
    }

    public Long getNumberOfSamples() {
        return numberOfSamples;
    }

    public void setNumberOfSamples(Long numberOfSamples) {
        this.numberOfSamples = numberOfSamples;
    }

    public Long getParameterRrn() {
        return parameterRrn;
    }

    public void setParameterRrn(Long parameterRrn) {
        this.parameterRrn = parameterRrn;
    }

    public Long getParameterSetRrn() {
        return parameterSetRrn;
    }

    public void setParameterSetRrn(Long parameterSetRrn) {
        this.parameterSetRrn = parameterSetRrn;
    }

    public Integer getParameterSetVersion() {
        return parameterSetVersion;
    }

    public void setParameterSetVersion(Integer parameterSetVersion) {
        this.parameterSetVersion = parameterSetVersion;
    }

    public Double getPercentageOfDefects() {
        return percentageOfDefects;
    }

    public void setPercentageOfDefects(Double percentageOfDefects) {
        this.percentageOfDefects = percentageOfDefects;
    }

    public Double getRangeValue() {
        return rangeValue;
    }

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

    public Double getStandardDeviationValue() {
        return standardDeviationValue;
    }

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

    public Double getSumValue() {
        return sumValue;
    }

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

    public Double getTargetValue() {
        return targetValue;
    }

    public void setTargetValue(Double targetValue) {
        this.targetValue = targetValue;
    }

    public Long getTransRrn() {
        return transRrn;
    }

    public void setTransRrn(Long transRrn) {
        this.transRrn = transRrn;
    }

    public Double getUpperSpecificationLimit() {
        return upperSpecificationLimit;
    }

    public void setUpperSpecificationLimit(Double upperSpecificationLimit) {
        this.upperSpecificationLimit = upperSpecificationLimit;
    }

    public String getValidFlag() {
        return validFlag;
    }

    public void setValidFlag(String validFlag) {
        this.validFlag = validFlag;
    }

    public Collection getSamples() {
        return samples;
    }

    public void setSamples(Collection samples) {
        this.samples = samples;
    }

    @Override
    public String toString() {
        String s = super.toString() + "[";
        s = s + " dcolRrn:" + this.getDcolRrn();
        s = s + " dcolSequence:" + this.getDcolSequence();
        s = s + " validFlag:" + this.getValidFlag();
        s = s + " parameterSetRrn:" + this.getParameterSetRrn();
        s = s + " parameterSetVersion:" + this.getParameterSetVersion();
        s = s + " parameterRrn:" + this.getParameterRrn();
        s = s + " measureType:" + this.getMeasureType();
        s = s + " targetValue:" + this.getTargetValue();
        s = s + " upperSpecificationLimit:" + this.getUpperSpecificationLimit();
        s = s + " lowerSpecificationLimit:" + this.getLowerSpecificationLimit();
        s = s + " numberOfSamples:" + this.getNumberOfSamples();
        s = s + " numberOfReadings:" + this.getNumberOfReadings();
        s = s + " numberOfDefects:" + this.getNumberOfDefects();
        s = s + " percentageOfDefects:" + this.getPercentageOfDefects();
        s = s + " sumValue:" + this.getSumValue();
        s = s + " averageValue:" + this.getAverageValue();
        s = s + " rangeValue:" + this.getRangeValue();
        s = s + " minimumValue:" + this.getMinimumValue();
        s = s + " maximumValue:" + this.getMaximumValue();
        s = s + " standardDeviationValue:" + this.getStandardDeviationValue();
        s = s + " customValue:" + this.getCustomValue();
        s = s + " collectionTimestamp:" + this.getCollectionTimestamp();
        s = s + " transRrn:" + this.getTransRrn();
        s = s + " comments:" + this.getComments();
        s = s + " samples:" + this.getSamples();
        s = s + "]";

        return s;
    }

    /**
     * @return Returns the cacluationValue.
     */
    public Double getCacluationValue() {
        return cacluationValue;
    }

    /**
     * @param cacluationValue The cacluationValue to set.
     */
    public void setCacluationValue(Double cacluationValue) {
        this.cacluationValue = cacluationValue;
    }

    public Long getParameterSetSpecRrn() {
        return parameterSetSpecRrn;
    }

    public void setParameterSetSpecRrn(Long parameterSetSpecRrn) {
        this.parameterSetSpecRrn = parameterSetSpecRrn;
    }

}

/*
 * Modification Log Log No : Name : Modified Date: Description :
 */