TreeRout.java

package com.mycim.valueobject.prp;

import java.util.List;

public class TreeRout {

    private Long routeRrn;

    private Integer routeSeq = 0;

    private String processId;

    private Long processRrn;

    private Long productRrn;

    private Boolean isRoute;

    private String routeId;

    private String routeDesc;

    private String productId;

    private String isDifferent;

    private Long contextRrn;

    private List<TreeOperation> operList;


    public Long getRouteRrn() {
        return routeRrn;
    }

    public void setRouteRrn(Long routeRrn) {
        this.routeRrn = routeRrn;
    }

    public Long getContextRrn() {
        return contextRrn;
    }

    public void setContextRrn(Long contextRrn) {
        this.contextRrn = contextRrn;
    }

    public void setProcessRrn(Long processRrn) {
        this.processRrn = processRrn;
    }

    public void setProductRrn(Long productRrn) {
        this.productRrn = productRrn;
    }

    public Integer getRouteSeq() {
        return routeSeq;
    }

    public void setRouteSeq(Integer routeSeq) {
        this.routeSeq = routeSeq;
    }

    public String getProcessId() {
        return processId;
    }

    public void setProcessId(String processId) {
        this.processId = processId;
    }


    public Long getProcessRrn() {
        return processRrn;
    }

    public Long getProductRrn() {
        return productRrn;
    }

    public Boolean getIsRoute() {
        return isRoute;
    }

    public void setIsRoute(Boolean isRoute) {
        this.isRoute = isRoute;
    }

    public String getRouteId() {
        return routeId;
    }

    public void setRouteId(String routeId) {
        this.routeId = routeId;
    }

    public String getRouteDesc() {
        return routeDesc;
    }

    public void setRouteDesc(String routeDesc) {
        this.routeDesc = routeDesc;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public List<TreeOperation> getOperList() {
        return operList;
    }

    public void setOperList(List<TreeOperation> operList) {
        this.operList = operList;
    }

    public String getIsDifferent() {
        return isDifferent;
    }

    public void setIsDifferent(String isDifferent) {
        this.isDifferent = isDifferent;
    }

    public static class TreeOperation {
        private String operationDesc;

        private Long routeRrn;

        private Integer routeSeq;

        private String processId;

        private Long processRrn;

        private Long operationRrn;

        private Long productRrn;

        private String routeId;

        private Integer operationSeq = 0;

        private String operationId;

        private String routeDesc;

        private String flowSeq;

        private String productId;

        private String isDifferent; //完全不同的情况下,补位

        private String recipeId;

        private String recipeDesc;

        private String equip;

        private String reticleGroupId;

        private String entityGroupId;

        private String parameterSetId;

        private String recipeDifferent; //recipe不同

        private String reticleDifferent; //reticle不同

        private String equipDifferent; //设备不同

        private String edcDifferent;//edc不同

        private String operationDifferent; //工步不同

        private String operationDescDifferent; //工步不同

        private String routeDifferent; //路径不同

        private String routeDescDifferent; //路径不同


        public Long getRouteRrn() {
            return routeRrn;
        }

        public void setRouteRrn(Long routeRrn) {
            this.routeRrn = routeRrn;
        }

        public Integer getRouteSeq() {
            return routeSeq;
        }

        public void setRouteSeq(Integer routeSeq) {
            this.routeSeq = routeSeq;
        }

        public String getProcessId() {
            return processId;
        }

        public void setProcessId(String processId) {
            this.processId = processId;
        }

        public Long getProcessRrn() {
            return processRrn;
        }

        public void setProcessRrn(Long processRrn) {
            this.processRrn = processRrn;
        }

        public Long getOperationRrn() {
            return operationRrn;
        }

        public void setOperationRrn(Long operationRrn) {
            this.operationRrn = operationRrn;
        }

        public Long getProductRrn() {
            return productRrn;
        }

        public void setProductRrn(Long productRrn) {
            this.productRrn = productRrn;
        }

        public String getOperationDescDifferent() {
            return operationDescDifferent;
        }

        public void setOperationDescDifferent(String operationDescDifferent) {
            this.operationDescDifferent = operationDescDifferent;
        }

        public String getRouteDescDifferent() {
            return routeDescDifferent;
        }

        public void setRouteDescDifferent(String routeDescDifferent) {
            this.routeDescDifferent = routeDescDifferent;
        }

        public String getOperationDifferent() {
            return operationDifferent;
        }

        public void setOperationDifferent(String operationDifferent) {
            this.operationDifferent = operationDifferent;
        }

        public String getRouteDifferent() {
            return routeDifferent;
        }

        public void setRouteDifferent(String routeDifferent) {
            this.routeDifferent = routeDifferent;
        }

        public String getRecipeDifferent() {
            return recipeDifferent;
        }

        public void setRecipeDifferent(String recipeDifferent) {
            this.recipeDifferent = recipeDifferent;
        }

        public String getReticleDifferent() {
            return reticleDifferent;
        }

        public void setReticleDifferent(String reticleDifferent) {
            this.reticleDifferent = reticleDifferent;
        }

        public String getEquipDifferent() {
            return equipDifferent;
        }

        public void setEquipDifferent(String equipDifferent) {
            this.equipDifferent = equipDifferent;
        }

        public String getEquip() {
            return equip;
        }

        public void setEquip(String equip) {
            this.equip = equip;
        }

        public String getReticleGroupId() {
            return reticleGroupId;
        }

        public void setReticleGroupId(String reticleGroupId) {
            this.reticleGroupId = reticleGroupId;
        }

        public String getRecipeId() {
            return recipeId;
        }

        public void setRecipeId(String recipeId) {
            this.recipeId = recipeId;
        }

        public String getRecipeDesc() {
            return recipeDesc;
        }

        public void setRecipeDesc(String recipeDesc) {
            this.recipeDesc = recipeDesc;
        }

        public String getIsDifferent() {
            return isDifferent;
        }

        public void setIsDifferent(String isDifferent) {
            this.isDifferent = isDifferent;

            this.recipeDifferent = null; //recipe不同
            this.reticleDifferent = null; //reticle不同
            this.equipDifferent = null; //设备不同
            this.operationDifferent = null; //工步不同
            this.operationDescDifferent = null; //工步不同
            this.routeDifferent = null; //路径不同
            this.routeDescDifferent = null; //路径不同

        }

        public String getOperationDesc() {
            return operationDesc;
        }

        public void setOperationDesc(String operationDesc) {
            this.operationDesc = operationDesc;
        }

        public String getRouteId() {
            return routeId;
        }

        public void setRouteId(String routeId) {
            this.routeId = routeId;
        }

        public Integer getOperationSeq() {
            return operationSeq;
        }

        public void setOperationSeq(Integer operationSeq) {
            this.operationSeq = operationSeq;
        }

        public String getOperationId() {
            return operationId;
        }

        public void setOperationId(String operationId) {
            this.operationId = operationId;
        }

        public String getRouteDesc() {
            return routeDesc;
        }

        public void setRouteDesc(String routeDesc) {
            this.routeDesc = routeDesc;
        }

        public String getProductId() {
            return productId;
        }

        public void setProductId(String productId) {
            this.productId = productId;
        }

        public String getFlowSeq() {
            return flowSeq;
        }

        public void setFlowSeq(String flowSeq) {
            this.flowSeq = flowSeq;
        }

        public String getParameterSetId() {
            return parameterSetId;
        }

        public void setParameterSetId(String parameterSetId) {
            this.parameterSetId = parameterSetId;
        }

        public String getEntityGroupId() {
            return entityGroupId;
        }

        public void setEntityGroupId(String entityGroupId) {
            this.entityGroupId = entityGroupId;
        }

        public String getEdcDifferent() {
            return edcDifferent;
        }

        public void setEdcDifferent(String edcDifferent) {
            this.edcDifferent = edcDifferent;
        }

    }

}