protected function getMappedNativeType($propelType)
    {
        if (null === $this->reverseTypeMap) {
            $this->reverseTypeMap = array_flip($this->getTypeMapping());
        }

        return isset($this->reverseTypeMap[$propelType]) ? $this->reverseTypeMap[$propelType] : null;
    }