package com.eactive.eai.rms.onl.vo;

public class TestReportVo {
    private String bizCode;
    private String bizName;
    private String eaiSvcCode;
    private String eaiSvcDesc;
    private String tranCd; // 인터페이스송신거래코드 ( 2009.09.29  추가 )
    
    private String gstatSysAdptrBzwkGroupName; // 기동어댑터 ( 2009.09.29 추가 )
    private String psvSysAdptrBzwkGroupName;   // 수동어댑터 ( 2009.09.29 추가 )
    
    
    private int cntPlan;
    private int cntDone;
    private String ruleResult;
    
    private int cntTestPlan;
    private int cntTestDone;
    
    // 테스트건수(전체,에러,정상)
    private double countTotal;
    private double countError;
    private double countSuccess;

    /////////////////////////////////////
    // TAS
    private int cntTestPlanTas;
    private int cntTestDoneTas;
    
    // 테스트건수(전체,에러,정상)
    private double countTotalTas;
    private double countErrorTas;
    private double countSuccessTas;
    
    private int     kfmPos ;
    private int     kjnPos ;
    
    private String bizType;
    
    /**
     * @return the bizCode
     */
    public String getBizCode() {
        if( bizCode == null ) {
            return "" ;
        }
        return bizCode;
    }
    /**
     * @param bizCode the bizCode to set
     */
    public void setBizCode(String bizCode) {
        this.bizCode = bizCode;
    }
    /**
     * @return the bizName
     */
    public String getBizName() {
        return bizName;
    }
    /**
     * @param bizName the bizName to set
     */
    public void setBizName(String bizName) {
        this.bizName = bizName;
    }
    /**
     * @return the eaiSvcCode
     */
    public String getEaiSvcCode() {
        if( eaiSvcCode == null ) {
            return "" ;
        }
        return eaiSvcCode;
    }
    /**
     * @param eaiSvcCode the eaiSvcCode to set
     */
    public void setEaiSvcCode(String eaiSvcCode) {
        this.eaiSvcCode = eaiSvcCode;
    }
    /**
     * @return the eaiSvcDesc
     */
    public String getEaiSvcDesc() {
        return eaiSvcDesc;
    }
    /**
     * @param eaiSvcDesc the eaiSvcDesc to set
     */
    public void setEaiSvcDesc(String eaiSvcDesc) {
        this.eaiSvcDesc = eaiSvcDesc;
    }
    
    public String getTranCd() {
        if( tranCd == null || "".equals(tranCd) )
            return " " ;
        return tranCd;
    }
    
    public void setTranCd(String tranCd) {
        this.tranCd = tranCd;
    }
    
    
    
    /**
     * @return the gstatSysAdptrBzwkGroupName
     */
    public String getGstatSysAdptrBzwkGroupName() {
        if( null == gstatSysAdptrBzwkGroupName ) {
            return "" ;
        }
        return gstatSysAdptrBzwkGroupName;
    }
    /**
     * @param gstatSysAdptrBzwkGroupName the gstatSysAdptrBzwkGroupName to set
     */
    public void setGstatSysAdptrBzwkGroupName(String gstatSysAdptrBzwkGroupName) {
        this.gstatSysAdptrBzwkGroupName = gstatSysAdptrBzwkGroupName;
    }
    /**
     * @return the psvSysAdptrBzwkGroupName
     */
    public String getPsvSysAdptrBzwkGroupName() {
        if( null == psvSysAdptrBzwkGroupName ) {
            return "" ;
        }
        
        return psvSysAdptrBzwkGroupName;
    }
    /**
     * @param psvSysAdptrBzwkGroupName the psvSysAdptrBzwkGroupName to set
     */
    public void setPsvSysAdptrBzwkGroupName(String psvSysAdptrBzwkGroupName) {
        this.psvSysAdptrBzwkGroupName = psvSysAdptrBzwkGroupName;
    }
    /**
     * @return the cntPlan
     */
    public int getCntPlan() {
        return cntPlan;
    }
    /**
     * @param cntPlan the cntPlan to set
     */
    public void setCntPlan(int cntPlan) {
        this.cntPlan = cntPlan;
    }
    /**
     * @return the cntDone
     */
    public int getCntDone() {
        return cntDone;
    }
    /**
     * @param cntDone the cntDone to set
     */
    public void setCntDone(int cntDone) {
        this.cntDone = cntDone;
    }
    /**
     * @return the ruleResult
     */
    public String getRuleResult() {
        return ruleResult;
    }
    /**
     * @param ruleResult the ruleResult to set
     */
    public void setRuleResult(String ruleResult) {
        this.ruleResult = ruleResult;
    }

    /**
     * @return the kfmPos
     */
    public int getKfmPos() {
        return kfmPos;
    }
    /**
     * @param kfmPos the kfmPos to set
     */
    public void setKfmPos(int kfmPos) {
        this.kfmPos = kfmPos;
    }
    
    /**
     * @return the kjnPos
     */
    public int getKjnPos() {
        return kjnPos;
    }
    /**
     * @param kjnPos the kjnPos to set
     */
    public void setKjnPos(int kjnPos) {
        this.kjnPos = kjnPos;
    }
    /**
     * @return the cntTestPlan
     */
    public int getCntTestPlan() {
        return cntTestPlan;
    }
    /**
     * @param cntTestPlan the cntTestPlan to set
     */
    public void setCntTestPlan(int cntTestPlan) {
        this.cntTestPlan = cntTestPlan;
    }
    /**
     * @return the cntTestDone
     */
    public int getCntTestDone() {
        return cntTestDone;
    }
    /**
     * @param cntTestDone the cntTestDone to set
     */
    public void setCntTestDone(int cntTestDone) {
        this.cntTestDone = cntTestDone;
    }
    /**
     * @return the bizType
     */
    public String getBizType() {
        return bizType;
    }
    /**
     * @param bizType the bizType to set
     */
    public void setBizType(String bizType) {
        this.bizType = bizType;
    }
    
    /**
     * @return the countTotal
     */
    public double getCountTotal() {
        return countTotal;
    }
    /**
     * @param countTotal the countTotal to set
     */
    public void setCountTotal(double countTotal) {
        this.countTotal = countTotal;
    }
    /**
     * @return the countError
     */
    public double getCountError() {
        return countError;
    }
    /**
     * @param countError the countError to set
     */
    public void setCountError(double countError) {
        this.countError = countError;
    }
    /**
     * @return the countSuccess
     */
    public double getCountSuccess() {
        return countSuccess;
    }
    /**
     * @param countSuccess the countSuccess to set
     */
    public void setCountSuccess(double countSuccess) {
        this.countSuccess = countSuccess;
    }
    
    
    /**
     * @return the cntTestPlanTas
     */
    public int getCntTestPlanTas() {
        return cntTestPlanTas;
    }
    /**
     * @param cntTestPlanTas the cntTestPlanTas to set
     */
    public void setCntTestPlanTas(int cntTestPlanTas) {
        this.cntTestPlanTas = cntTestPlanTas;
    }
    /**
     * @return the cntTestDoneTas
     */
    public int getCntTestDoneTas() {
        return cntTestDoneTas;
    }
    /**
     * @param cntTestDoneTas the cntTestDoneTas to set
     */
    public void setCntTestDoneTas(int cntTestDoneTas) {
        this.cntTestDoneTas = cntTestDoneTas;
    }
    /**
     * @return the countTotalTas
     */
    public double getCountTotalTas() {
        return countTotalTas;
    }
    /**
     * @param countTotalTas the countTotalTas to set
     */
    public void setCountTotalTas(double countTotalTas) {
        this.countTotalTas = countTotalTas;
    }
    /**
     * @return the countErrorTas
     */
    public double getCountErrorTas() {
        return countErrorTas;
    }
    /**
     * @param countErrorTas the countErrorTas to set
     */
    public void setCountErrorTas(double countErrorTas) {
        this.countErrorTas = countErrorTas;
    }
    /**
     * @return the countSuccessTas
     */
    public double getCountSuccessTas() {
        return countSuccessTas;
    }
    /**
     * @param countSuccessTas the countSuccessTas to set
     */
    public void setCountSuccessTas(double countSuccessTas) {
        this.countSuccessTas = countSuccessTas;
    }
    /**
     * 객체의 사본을 만들어서 리턴한다.
     * @return
     */
    public TestReportVo copyVo() {
        TestReportVo vo = new TestReportVo();
        vo.bizCode = this.bizCode ;
        vo.bizName = this.bizName ;
        vo.eaiSvcCode = this.eaiSvcCode;
        vo.eaiSvcDesc = this.eaiSvcDesc;
        vo.tranCd     = this.tranCd;
        vo.gstatSysAdptrBzwkGroupName = this.gstatSysAdptrBzwkGroupName;
        vo.psvSysAdptrBzwkGroupName   = this.psvSysAdptrBzwkGroupName;
        
        vo.cntPlan = this.cntPlan; 
        vo.cntDone = this.cntDone;
        vo.ruleResult = this.ruleResult;
        vo.cntTestPlan = this.cntTestPlan;
        vo.cntTestDone = this.cntTestDone;
        vo.cntTestPlanTas = this.cntTestPlanTas;
        vo.cntTestDoneTas = this.cntTestDoneTas;
        
        
        vo.kfmPos = this.kfmPos;
        vo.kjnPos = this.kjnPos;
        vo.bizType = this.bizType;
        
        vo.countTotal = this.countTotal;
        vo.countError = this.countError;
        vo.countSuccess = this.countSuccess;
        
        vo.countTotalTas = this.countTotalTas;
        vo.countErrorTas = this.countErrorTas;
        vo.countSuccessTas = this.countSuccessTas;
        
        return vo;
    }
    
    /**
     * 디폴트값을 지정해 준다.
     */
    public void setDefault() {
        cntPlan = 0 ;
        cntDone = 0 ;
        ruleResult = "" ;
        cntTestPlan = 0 ;
        cntTestDone = 0 ;
        cntTestPlanTas = 0 ;
        cntTestDoneTas = 0 ;
        
        kfmPos = 0 ;
        kjnPos = 0 ;
        bizType = "" ;
        countTotal = 0 ;
        countError = 0 ;
        countSuccess = 0 ;
        countTotalTas = 0 ;
        countErrorTas = 0 ;
        countSuccessTas = 0 ;
    }
}
