/**
  * @param \ride\application\orm\entry\ImageTransformationEntry $transformation 
  * @return null
  */
 public function setTransformation(ImageTransformationEntry $transformation = NULL)
 {
     if (!isset($this->loadedFields['transformation'])) {
         $this->loadProperties();
     }
     $oldValue = null;
     if (array_key_exists('transformation', $this->loadedValues)) {
         $oldValue = $this->loadedValues['transformation'];
     }
     if (!$oldValue && !$transformation || $oldValue && $transformation && $oldValue->getId() === $transformation->getId()) {
         $this->transformation = $transformation;
         return;
     }
     return parent::setTransformation($transformation);
 }