private function getDataType($doctrineType)
    {
        $map = $this->getDoctrineTypeMap();
        if (!isset($map[$doctrineType])) {
            throw new InvalidArgumentException(sprintf('The Doctrine type "%s" is currenty not implemented by the API.', $doctrineType));
        }
        return $map[$doctrineType];
    }