protected function getAsObject($row)
 {
     $result = new Building();
     $result->setNew(false);
     $result->setBuildingId(Singleton::create("NullConverter")->fromDBtoDOM($row["buildingId"]));
     $result->setName(Singleton::create("NullConverter")->fromDBtoDOM($row["name"]));
     return $result;
 }