MoveContextValue.java

package com.mycim.valueobject.prp;

/**
 * @author andy
 */
public class MoveContextValue extends ContextValue {

    public void setcontextRrn(long contextRrn) {
        if (contextRrn > 0) {
            this.setContextRrn(contextRrn);
        }
    }

    public void setProductRrn(Long productRrn) {
        if (productRrn != null) {
            this.setContextKey1(productRrn + "");
        }
    }

    public void setProcessRrn(Long processRrn) {
        if (processRrn != null) {
            this.setContextKey2(processRrn + "");
        }
    }

    public void setRouteRrn(Long routeRrn) {
        if (routeRrn != null) {
            this.setContextKey3(routeRrn + "");
        }
    }

    public void setOperationRrn(Long operationRrn) {
        if (operationRrn != null) {
            this.setContextKey4(operationRrn + "");
        }
    }

    public void setEntity(Long entity) {
        if (entity != null) {
            this.setContextKey5(entity + "");
        }
    }

    public void setEquipmentmodel(Long equipmentmodel) {
        if (equipmentmodel != null) {
            this.setContextKey6(equipmentmodel + "");
        }
    }

    public void setLotRrn(Long lotRrn) {
        if (lotRrn != null) {
            this.setContextKey7(lotRrn + "");
        }
    }

    public void setMove(String move) {
        if (move != null) {
            this.setContextKey8(move + "");
        }
    }

    public String getMoveResult() {
        return this.getResultValue1();
    }

}