private DeliverShipment(DeliverShipment deliveryShipmentActivity) { this.shipment = (Shipment) deliveryShipmentActivity.getJob(); this.arrTime = deliveryShipmentActivity.getArrTime(); this.endTime = deliveryShipmentActivity.getEndTime(); this.capacity = deliveryShipmentActivity.getSize(); setIndex(deliveryShipmentActivity.getIndex()); this.earliest = deliveryShipmentActivity.getTheoreticalEarliestOperationStartTime(); this.latest = deliveryShipmentActivity.getTheoreticalLatestOperationStartTime(); }
private DeliverShipment(DeliverShipment deliveryShipmentActivity) { this.shipment = (Shipment) deliveryShipmentActivity.getJob(); this.arrTime = deliveryShipmentActivity.getArrTime(); this.endTime = deliveryShipmentActivity.getEndTime(); this.capacity = deliveryShipmentActivity.getSize(); setIndex(deliveryShipmentActivity.getIndex()); this.earliest = deliveryShipmentActivity.getTheoreticalEarliestOperationStartTime(); this.latest = deliveryShipmentActivity.getTheoreticalLatestOperationStartTime(); }