public function __construct($data = null)
 {
     parent::__construct($data);
     $exploded = explode('\\', get_class($this));
     $classMap = '\\ws\\komerci\\typemaps\\' . array_pop($exploded) . 'Map';
     if (class_exists($classMap)) {
         $map = new $classMap();
         $validator = new GenericValidator($this, $map, true);
         $validator->isValid();
     }
 }
 public function __construct($data = array())
 {
     parent::__construct($data);
 }