/**
  * Makes new Project Object and sets the values from the partialProjectArray
  * @param $data
  * @return Project
  */
 private static function buildPartialProjectFromArray($data)
 {
     $project = new Project();
     $project->setId($data['id']);
     $project->setSelf($data['self']);
     $project->setKey($data['key']);
     $project->setName($data['name']);
     $project->setType($data['projectTypeKey']);
     $project->setKey($data['key']);
     return $project;
 }