public function test()
 {
     require_once 'RealEstateAgency/GlobalData.php';
     $globalData = new RealEstateAgency_GlobalData();
     $object = new RealEstateAgency_Object_Street();
     $object->setGlobalData($globalData);
     $object->obj_id = '';
     $object->obj_name = 'TEST_STREET';
     $object->insert();
     // $object2 = $this->loadById($globalData, 1);
 }
 private function insert()
 {
     $object_name = $this->object_name;
     $settlement_id = $this->filter->getSettlementId();
     $object = new RealEstateAgency_Object_Street();
     $object->setGlobalData($this->getGlobalData());
     $object->setObjectName($object_name);
     $object->setSettlementId($settlement_id);
     $result = $object->insert();
     if ($result == RealEstateAgency_Const::ALREADY_SAVED) {
         $this->already_saved = true;
     }
 }