/**
  * @see parent::getSpec()
  */
 function getSpec()
 {
     $spec = parent::getSpec();
     $spec->table = 'files_mediboard';
     $spec->key = 'file_id';
     $spec->measureable = true;
     return $spec;
 }
 /**
  * @see parent::getSpec()
  */
 function getSpec()
 {
     $spec = parent::getSpec();
     $spec->table = 'compte_rendu';
     $spec->key = 'compte_rendu_id';
     $spec->measureable = true;
     $spec->xor["owner"] = array("user_id", "function_id", "group_id", "object_id");
     return $spec;
 }