protected function getParameters($paramMapping)
    {
        $parameters = array();
        foreach ($paramMapping as $propertyName => $mapping) {
            $paramName = isset($mapping['fieldName']) ? $mapping['fieldName'] : $propertyName;
            $parameters[$paramName] = $propertyName;
        }
        return $parameters;
    }