private function parseQueryResult($result = [])
    {
        $rdsDeliveryExecution = new RdsDeliveryExecution($this);

        if (array_key_exists(self::COLUMN_ID, $result)) {
            $rdsDeliveryExecution->setIdentifier($result[self::COLUMN_ID]);
        }

        if (array_key_exists(self::COLUMN_LABEL, $result)) {
            $rdsDeliveryExecution->setLabel($result[self::COLUMN_LABEL]);
        }

        if (array_key_exists(self::COLUMN_DELIVERY_ID, $result)) {
            $rdsDeliveryExecution->setDelivery($result[self::COLUMN_DELIVERY_ID]);
        }

        if (array_key_exists(self::COLUMN_STATUS, $result)) {
            $rdsDeliveryExecution->setState($result[self::COLUMN_STATUS]);
        }

        if (array_key_exists(self::COLUMN_USER_ID, $result)) {
            $rdsDeliveryExecution->setUserIdentifier($result[self::COLUMN_USER_ID]);
        }

        if (array_key_exists(self::COLUMN_STARTED_AT, $result)) {
            $rdsDeliveryExecution->setStartTime(new \DateTime($result[self::COLUMN_STARTED_AT]));
        }

        if (array_key_exists(self::COLUMN_FINISHED_AT, $result)) {
            $rdsDeliveryExecution->setFinishTime(new \DateTime($result[self::COLUMN_FINISHED_AT]));
        }

        return $this->propagate(new DeliveryExecution($rdsDeliveryExecution));
    }
private function parseQueryResult($result = [])
    {
        $rdsDeliveryExecution = new RdsDeliveryExecution($this);

        if (array_key_exists(self::COLUMN_ID, $result)) {
            $rdsDeliveryExecution->setIdentifier($result[self::COLUMN_ID]);
        }

        if (array_key_exists(self::COLUMN_LABEL, $result)) {
            $rdsDeliveryExecution->setLabel($result[self::COLUMN_LABEL]);
        }

        if (array_key_exists(self::COLUMN_DELIVERY_ID, $result)) {
            $rdsDeliveryExecution->setDelivery($result[self::COLUMN_DELIVERY_ID]);
        }

        if (array_key_exists(self::COLUMN_STATUS, $result)) {
            $rdsDeliveryExecution->setState($result[self::COLUMN_STATUS]);
        }

        if (array_key_exists(self::COLUMN_USER_ID, $result)) {
            $rdsDeliveryExecution->setUserIdentifier($result[self::COLUMN_USER_ID]);
        }

        if (array_key_exists(self::COLUMN_STARTED_AT, $result)) {
            $rdsDeliveryExecution->setStartTime(new \DateTime($result[self::COLUMN_STARTED_AT]));
        }

        if (array_key_exists(self::COLUMN_FINISHED_AT, $result)) {
            $rdsDeliveryExecution->setFinishTime(new \DateTime($result[self::COLUMN_FINISHED_AT]));
        }

        return $this->propagate(new DeliveryExecution($rdsDeliveryExecution));
    }
private function parseQueryResult ( $ result = [ ] ) { $ rdsDeliveryExecution = new RdsDeliveryExecution ( $ this ) ; if ( array_key_exists ( self :: COLUMN_ID , $ result ) ) { $ rdsDeliveryExecution -> setIdentifier ( $ result [ self :: COLUMN_ID ] ) ; } if ( array_key_exists ( self :: COLUMN_LABEL , $ result ) ) { $ rdsDeliveryExecution -> setLabel ( $ result [ self :: COLUMN_LABEL ] ) ; } if ( array_key_exists ( self :: COLUMN_DELIVERY_ID , $ result ) ) { $ rdsDeliveryExecution -> setDelivery ( $ result [ self :: COLUMN_DELIVERY_ID ] ) ; } if ( array_key_exists ( self :: COLUMN_STATUS , $ result ) ) { $ rdsDeliveryExecution -> setState ( $ result [ self :: COLUMN_STATUS ] ) ; } if ( array_key_exists ( self :: COLUMN_USER_ID , $ result ) ) { $ rdsDeliveryExecution -> setUserIdentifier ( $ result [ self :: COLUMN_USER_ID ] ) ; } if ( array_key_exists ( self :: COLUMN_STARTED_AT , $ result ) ) { $ rdsDeliveryExecution -> setStartTime ( new \ DateTime ( $ result [ self :: COLUMN_STARTED_AT ] ) ) ; } if ( array_key_exists ( self :: COLUMN_FINISHED_AT , $ result ) ) { $ rdsDeliveryExecution -> setFinishTime ( new \ DateTime ( $ result [ self :: COLUMN_FINISHED_AT ] ) ) ; } return $ this -> propagate ( new DeliveryExecution ( $ rdsDeliveryExecution ) ) ; }
Parses the query result array and constructs a new DeliveryExecution object from it

@param array $result
@return DeliveryExecution
@throws \common_exception_Error
Parses the query result array and constructs a new DeliveryExecution object from it