public function hydrate($value)
    {
        if (!is_array($value)) {
            return null;
        }

        $entity = $this->getTargetEntity();

        foreach ($value as $key=>$v) {
            $entity->{"set$key"}($v);
        }
        return $entity;
    }