EDCPlanExcelData.java
package com.mycim.valueobject.edcspc;
import com.mycim.framework.utils.lang.StringUtils;
import java.io.Serializable;
import java.util.Objects;
public class EDCPlanExcelData implements Serializable {
private String category;
private String productId;
private Long productRrn;
private String processId;
private Long processRrn;
private String stepSeq;
private String stepId;
private Long stepRrn;
private String stepDes;
private String edcplan;
private String measspec;
private String sequence;
private String measdes;
private String prompt;
private String dataType;
private String unit;
private String measType;
private String dept;
private String units;
private String sites;
private String isDerived;
private String edcOperator;
private String operand1;
private String operand2;
private String autoExclude;
private String chartId;
private String chartDes;
private String chartTemplate;
private String allowPartialRequired;
private String receiveViolations;
private String rulevioloca;
private String specvioloca;
private String ocap;
private String measurementType;
private String numberOfUnits;
private String numberOfSites;
private String subgroupStyle;
private String subgroupSize;
private String trend_USL;
private String trend_UCL;
private String trend_CL;
private String trend_LCL;
private String trend_LSL;
private String trend_rules;
private String trend_SPEC;
private String XBAR_USL;
private String XBAR_UCL;
private String XBAR_CL;
private String XBAR_LCL;
private String XBAR_LSL;
private String XBAR_RULES;
private String XBAR_SPEC;
private String RS_USL;
private String RS_UCL;
private String RS_CL;
private String RS_LCL;
private String RS_LSL;
private String RS_rules;
private String RS_SPEC;
private String s_UCL;
private String s_USL;
private String s_Target;
private String s_LCL;
private String s_LSL;
private String s_RULES;
private String fabID;
private String impType;
private int impSeq;
private String impTime;
private String impUser;
private String impDataType;
private String errorMsg = StringUtils.EMPTY;
private Boolean isValid = true;
private String cpPara;
private String keyChartFlag;
private String actionPoint;
private String checkUpperLimitFlag;
private String checkLowerLimitFlag;
private String optionalFlag;
private String lowerSpecificationLimit;
private String upperSpecificationLimit;
public String getCpPara() {
return cpPara;
}
public void setCpPara(String cpPara) {
this.cpPara = cpPara;
}
public String getKeyChartFlag() {
return keyChartFlag;
}
public void setKeyChartFlag(String keyChartFlag) {
this.keyChartFlag = keyChartFlag;
}
public String getImpDataType() {
return impDataType;
}
public void setImpDataType(String impDataType) {
this.impDataType = impDataType;
}
public String getCategory() {
return category;
}
public void setCategory(String category) {
this.category = category;
}
public Long getProductRrn() {
return productRrn;
}
public void setProductRrn(Long productRrn) {
this.productRrn = productRrn;
}
public Long getProcessRrn() {
return processRrn;
}
public void setProcessRrn(Long processRrn) {
this.processRrn = processRrn;
}
public Long getStepRrn() {
return stepRrn;
}
public void setStepRrn(Long stepRrn) {
this.stepRrn = stepRrn;
}
public String getProductId() {
return productId;
}
public void setProductId(String productId) {
this.productId = productId;
}
public String getProcessId() {
return processId;
}
public void setProcessId(String processId) {
this.processId = processId;
}
public String getStepSeq() {
return stepSeq;
}
public void setStepSeq(String stepSeq) {
this.stepSeq = stepSeq;
}
public String getStepId() {
return stepId;
}
public void setStepId(String stepId) {
this.stepId = stepId;
}
public String getStepDes() {
return stepDes;
}
public void setStepDes(String stepDes) {
this.stepDes = stepDes;
}
public String getEdcplan() {
return edcplan;
}
public void setEdcplan(String edcplan) {
this.edcplan = edcplan;
}
public String getMeasspec() {
return measspec;
}
public void setMeasspec(String measspec) {
this.measspec = measspec;
}
public String getSequence() {
return sequence;
}
public void setSequence(String sequence) {
this.sequence = sequence;
}
public String getMeasdes() {
return measdes;
}
public void setMeasdes(String measdes) {
this.measdes = measdes;
}
public String getPrompt() {
return prompt;
}
public void setPrompt(String prompt) {
this.prompt = prompt;
}
public String getDataType() {
return dataType;
}
public void setDataType(String dataType) {
this.dataType = dataType;
}
public String getUnit() {
return unit;
}
public void setUnit(String unit) {
this.unit = unit;
}
public String getMeasType() {
return measType;
}
public void setMeasType(String measType) {
this.measType = measType;
}
public String getUnits() {
return units;
}
public void setUnits(String units) {
this.units = units;
}
public String getSites() {
return sites;
}
public void setSites(String sites) {
this.sites = sites;
}
public String getIsDerived() {
return isDerived;
}
public void setIsDerived(String isDerived) {
this.isDerived = isDerived;
}
public String getEdcOperator() {
return edcOperator;
}
public void setEdcOperator(String edcOperator) {
this.edcOperator = edcOperator;
}
public String getOperand1() {
return operand1;
}
public void setOperand1(String operand1) {
this.operand1 = operand1;
}
public String getOperand2() {
return operand2;
}
public void setOperand2(String operand2) {
this.operand2 = operand2;
}
public String getAutoExclude() {
return autoExclude;
}
public void setAutoExclude(String autoExclude) {
this.autoExclude = autoExclude;
}
public String getChartId() {
return chartId;
}
public void setChartId(String chartId) {
this.chartId = chartId;
}
public String getChartDes() {
return chartDes;
}
public void setChartDes(String chartDes) {
this.chartDes = chartDes;
}
public String getChartTemplate() {
return chartTemplate;
}
public void setChartTemplate(String chartTemplate) {
this.chartTemplate = chartTemplate;
}
public String getAllowPartialRequired() {
return allowPartialRequired;
}
public void setAllowPartialRequired(String allowPartialRequired) {
this.allowPartialRequired = allowPartialRequired;
}
public String getReceiveViolations() {
return receiveViolations;
}
public void setReceiveViolations(String receiveViolations) {
this.receiveViolations = receiveViolations;
}
public String getRulevioloca() {
return rulevioloca;
}
public void setRulevioloca(String rulevioloca) {
this.rulevioloca = rulevioloca;
}
public String getSpecvioloca() {
return specvioloca;
}
public void setSpecvioloca(String specvioloca) {
this.specvioloca = specvioloca;
}
public String getOcap() {
return ocap;
}
public void setOcap(String ocap) {
this.ocap = ocap;
}
public String getMeasurementType() {
return measurementType;
}
public void setMeasurementType(String measurementType) {
this.measurementType = measurementType;
}
public String getNumberOfUnits() {
return numberOfUnits;
}
public void setNumberOfUnits(String numberOfUnits) {
this.numberOfUnits = numberOfUnits;
}
public String getNumberOfSites() {
return numberOfSites;
}
public void setNumberOfSites(String numberOfSites) {
this.numberOfSites = numberOfSites;
}
public String getSubgroupStyle() {
return subgroupStyle;
}
public void setSubgroupStyle(String subgroupStyle) {
this.subgroupStyle = subgroupStyle;
}
public String getSubgroupSize() {
return subgroupSize;
}
public void setSubgroupSize(String subgroupSize) {
this.subgroupSize = subgroupSize;
}
public String getTrend_UCL() {
return trend_UCL;
}
public void setTrend_UCL(String trend_UCL) {
this.trend_UCL = trend_UCL;
}
public String getTrend_CL() {
return trend_CL;
}
public void setTrend_CL(String trend_CL) {
this.trend_CL = trend_CL;
}
public String getTrend_LCL() {
return trend_LCL;
}
public void setTrend_LCL(String trend_LCL) {
this.trend_LCL = trend_LCL;
}
public String getTrend_rules() {
return trend_rules;
}
public void setTrend_rules(String trend_rules) {
this.trend_rules = trend_rules;
}
public String getXBAR_UCL() {
return XBAR_UCL;
}
public void setXBAR_UCL(String xBAR_UCL) {
XBAR_UCL = xBAR_UCL;
}
public String getXBAR_CL() {
return XBAR_CL;
}
public void setXBAR_CL(String xBAR_CL) {
XBAR_CL = xBAR_CL;
}
public String getXBAR_LCL() {
return XBAR_LCL;
}
public void setXBAR_LCL(String xBAR_LCL) {
XBAR_LCL = xBAR_LCL;
}
public String getXBAR_RULES() {
return XBAR_RULES;
}
public void setXBAR_RULES(String xBAR_RULES) {
XBAR_RULES = xBAR_RULES;
}
public String getRS_UCL() {
return RS_UCL;
}
public void setRS_UCL(String rS_UCL) {
RS_UCL = rS_UCL;
}
public String getRS_CL() {
return RS_CL;
}
public void setRS_CL(String rS_CL) {
RS_CL = rS_CL;
}
public String getRS_LCL() {
return RS_LCL;
}
public void setRS_LCL(String rS_LCL) {
RS_LCL = rS_LCL;
}
public String getRS_rules() {
return RS_rules;
}
public void setRS_rules(String rS_rules) {
RS_rules = rS_rules;
}
public String getErrorMsg() {
return errorMsg;
}
public void setErrorMsg(String errorMsg) {
this.errorMsg = errorMsg;
}
public Boolean getIsValid() {
return isValid;
}
public void setIsValid(Boolean isValid) {
this.isValid = isValid;
}
public void addErrorMsg(String errorMsg) {
this.isValid = false;
this.errorMsg += errorMsg + ";\n";
}
public Boolean judgeBaseInfoValid() {
if (this.getProductRrn() == 0 || this.getProcessRrn() == 0 || this.getStepRrn() == 0 ||
StringUtils.isBlank(this.getStepSeq())) {
return false;
} else {
return true;
}
}
public String getImpType() {
return impType;
}
public void setImpType(String impType) {
this.impType = impType;
}
public int getImpSeq() {
return impSeq;
}
public void setImpSeq(int impSeq) {
this.impSeq = impSeq;
}
public String getImpTime() {
return impTime;
}
public void setImpTime(String impTime) {
this.impTime = impTime;
}
public String getImpUser() {
return impUser;
}
public void setImpUser(String impUser) {
this.impUser = impUser;
}
public String getFabID() {
return fabID;
}
public void setFabID(String fabID) {
this.fabID = fabID;
}
public String getTrend_LSL() {
return trend_LSL;
}
public void setTrend_LSL(String trend_LSL) {
this.trend_LSL = trend_LSL;
}
public String getXBAR_USL() {
return XBAR_USL;
}
public void setXBAR_USL(String xBAR_USL) {
XBAR_USL = xBAR_USL;
}
public String getXBAR_LSL() {
return XBAR_LSL;
}
public void setXBAR_LSL(String xBAR_LSL) {
XBAR_LSL = xBAR_LSL;
}
public String getXBAR_SPEC() {
return XBAR_SPEC;
}
public void setXBAR_SPEC(String xBAR_SPEC) {
XBAR_SPEC = xBAR_SPEC;
}
public String getRS_USL() {
return RS_USL;
}
public void setRS_USL(String rS_USL) {
RS_USL = rS_USL;
}
public String getRS_LSL() {
return RS_LSL;
}
public void setRS_LSL(String rS_LSL) {
RS_LSL = rS_LSL;
}
public String getRS_SPEC() {
return RS_SPEC;
}
public void setRS_SPEC(String rS_SPEC) {
RS_SPEC = rS_SPEC;
}
public String getTrend_USL() {
return trend_USL;
}
public void setTrend_USL(String trend_USL) {
this.trend_USL = trend_USL;
}
public String getTrend_SPEC() {
return trend_SPEC;
}
public void setTrend_SPEC(String trend_SPEC) {
this.trend_SPEC = trend_SPEC;
}
public String getDept() {
return dept;
}
public void setDept(String dept) {
this.dept = dept;
}
public String getActionPoint() {
return actionPoint;
}
public void setActionPoint(String actionPoint) {
this.actionPoint = actionPoint;
}
public String getCheckUpperLimitFlag() {
return checkUpperLimitFlag;
}
public void setCheckUpperLimitFlag(String checkUpperLimitFlag) {
this.checkUpperLimitFlag = checkUpperLimitFlag;
}
public String getCheckLowerLimitFlag() {
return checkLowerLimitFlag;
}
public void setCheckLowerLimitFlag(String checkLowerLimitFlag) {
this.checkLowerLimitFlag = checkLowerLimitFlag;
}
public String getOptionalFlag() {
return optionalFlag;
}
public void setOptionalFlag(String optionalFlag) {
this.optionalFlag = optionalFlag;
}
public String getLowerSpecificationLimit() {
return lowerSpecificationLimit;
}
public void setLowerSpecificationLimit(String lowerSpecificationLimit) {
this.lowerSpecificationLimit = lowerSpecificationLimit;
}
public String getUpperSpecificationLimit() {
return upperSpecificationLimit;
}
public void setUpperSpecificationLimit(String upperSpecificationLimit) {
this.upperSpecificationLimit = upperSpecificationLimit;
}
public String getS_UCL() {
return s_UCL;
}
public void setS_UCL(String s_UCL) {
this.s_UCL = s_UCL;
}
public String getS_USL() {
return s_USL;
}
public void setS_USL(String s_USL) {
this.s_USL = s_USL;
}
public String getS_Target() {
return s_Target;
}
public void setS_Target(String s_Target) {
this.s_Target = s_Target;
}
public String getS_LCL() {
return s_LCL;
}
public void setS_LCL(String s_LCL) {
this.s_LCL = s_LCL;
}
public String getS_LSL() {
return s_LSL;
}
public void setS_LSL(String s_LSL) {
this.s_LSL = s_LSL;
}
public String getS_RULES() {
return s_RULES;
}
public void setS_RULES(String s_RULES) {
this.s_RULES = s_RULES;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
EDCPlanExcelData that = (EDCPlanExcelData) o;
return impSeq == that.impSeq && Objects.equals(category, that.category) &&
Objects.equals(productId, that.productId) && Objects.equals(productRrn, that.productRrn) &&
Objects.equals(processId, that.processId) && Objects.equals(processRrn, that.processRrn) &&
Objects.equals(stepSeq, that.stepSeq) && Objects.equals(stepId, that.stepId) &&
Objects.equals(stepRrn, that.stepRrn) && Objects.equals(stepDes, that.stepDes) &&
Objects.equals(edcplan, that.edcplan) && Objects.equals(measspec, that.measspec) &&
Objects.equals(sequence, that.sequence) && Objects.equals(measdes, that.measdes) &&
Objects.equals(prompt, that.prompt) && Objects.equals(dataType, that.dataType) &&
Objects.equals(unit, that.unit) && Objects.equals(measType, that.measType) &&
Objects.equals(units, that.units) && Objects.equals(sites, that.sites) &&
Objects.equals(isDerived, that.isDerived) && Objects.equals(edcOperator, that.edcOperator) &&
Objects.equals(operand1, that.operand1) && Objects.equals(operand2, that.operand2) &&
Objects.equals(autoExclude, that.autoExclude) && Objects.equals(chartId, that.chartId) &&
Objects.equals(chartDes, that.chartDes) && Objects.equals(chartTemplate, that.chartTemplate) &&
Objects.equals(allowPartialRequired, that.allowPartialRequired) &&
Objects.equals(receiveViolations, that.receiveViolations) &&
Objects.equals(rulevioloca, that.rulevioloca) && Objects.equals(specvioloca, that.specvioloca) &&
Objects.equals(ocap, that.ocap) && Objects.equals(measurementType, that.measurementType) &&
Objects.equals(numberOfUnits, that.numberOfUnits) &&
Objects.equals(numberOfSites, that.numberOfSites) &&
Objects.equals(subgroupStyle, that.subgroupStyle) && Objects.equals(trend_USL, that.trend_USL) &&
Objects.equals(trend_LSL, that.trend_LSL) && Objects.equals(trend_SPEC, that.trend_SPEC) &&
Objects.equals(XBAR_USL, that.XBAR_USL) && Objects.equals(XBAR_LSL, that.XBAR_LSL) &&
Objects.equals(XBAR_SPEC, that.XBAR_SPEC) && Objects.equals(RS_USL, that.RS_USL) &&
Objects.equals(RS_LSL, that.RS_LSL) && Objects.equals(RS_SPEC, that.RS_SPEC) &&
Objects.equals(subgroupSize, that.subgroupSize) && Objects.equals(trend_UCL, that.trend_UCL) &&
Objects.equals(trend_CL, that.trend_CL) && Objects.equals(trend_LCL, that.trend_LCL) &&
Objects.equals(trend_rules, that.trend_rules) && Objects.equals(XBAR_UCL, that.XBAR_UCL) &&
Objects.equals(XBAR_CL, that.XBAR_CL) && Objects.equals(XBAR_LCL, that.XBAR_LCL) &&
Objects.equals(XBAR_RULES, that.XBAR_RULES) && Objects.equals(RS_UCL, that.RS_UCL) &&
Objects.equals(RS_CL, that.RS_CL) && Objects.equals(RS_LCL, that.RS_LCL) &&
Objects.equals(RS_rules, that.RS_rules) && Objects.equals(fabID, that.fabID) &&
Objects.equals(impType, that.impType) && Objects.equals(impTime, that.impTime) &&
Objects.equals(impUser, that.impUser) && Objects.equals(impDataType, that.impDataType) &&
Objects.equals(errorMsg, that.errorMsg) && Objects.equals(isValid, that.isValid) &&
Objects.equals(cpPara, that.cpPara) && Objects.equals(keyChartFlag, that.keyChartFlag) &&
Objects.equals(actionPoint, that.actionPoint) && Objects.equals(optionalFlag, that.optionalFlag) &&
Objects.equals(lowerSpecificationLimit, that.lowerSpecificationLimit) &&
Objects.equals(upperSpecificationLimit, that.upperSpecificationLimit) &&
Objects.equals(s_USL, that.s_USL) && Objects.equals(s_LSL, that.s_LSL) &&
Objects.equals(s_UCL, that.s_UCL) && Objects.equals(s_Target, that.s_Target) &&
Objects.equals(s_LCL, that.s_LCL) && Objects.equals(s_RULES, that.s_RULES);
}
}