/**
  * 
  * @param \Bluegrass\Metadata\Bundle\MetadataBundle\Model\IMetadataValue $metadataValue
  */
 public function getValue(IMetadataValue $metadataValue)
 {
     $entity = $this->getEm()->getRepository($this->getEntityType())->find($metadataValue->getValue());
     return $entity;
 }
 /**
  * 
  * @param \Bluegrass\Metadata\Bundle\MetadataBundle\Model\IMetadataValue $metadataValue
  */
 public function getValue(IMetadataValue $metadataValue)
 {
     return $metadataValue->getValue();
 }