UnitRecycledInfo.java

// Created on 2014年10月29日
// $Id$

package com.mycim.valueobject.prp;

import java.io.Serializable;

/**
 * @author mark
 */
public class UnitRecycledInfo extends LotRecycledInfo implements Serializable {

    private Long unitRrn;

    private String unitId;

    public UnitRecycledInfo(LotRecycledInfo lotRecycledInfo) {

        this.objectRrn = lotRecycledInfo.getObjectRrn();
        this.lotRrn = lotRecycledInfo.getLotRrn();
        this.processRrn = lotRecycledInfo.getProcessRrn();
        this.processVersion = lotRecycledInfo.getProcessVersion();
        this.startRouteRrn = lotRecycledInfo.getStartRouteRrn();
        this.startOperationRrn = lotRecycledInfo.getStartOperationRrn();
        this.endRouteRrn = lotRecycledInfo.getEndRouteRrn();
        this.endOperationRrn = lotRecycledInfo.getEndOperationRrn();
        this.loopCount = lotRecycledInfo.getLoopCount();
        this.sumLoopCount = lotRecycledInfo.getSumLoopCount();
        this.stepSequence = lotRecycledInfo.getStepSequence();

        this.transRrn = lotRecycledInfo.getTransRrn();
        this.transSequence = lotRecycledInfo.getTransSequence();
    }

    public UnitRecycledInfo() {

    }

    public Long getUnitRrn() {
        return unitRrn;
    }

    public void setUnitRrn(Long unitRrn) {
        this.unitRrn = unitRrn;
    }

    public String getUnitId() {
        return unitId;
    }

    public void setUnitId(String unitId) {
        this.unitId = unitId;
    }

}