public function GetAttributeFlags($sAttCode, &$aReasons = array(), $sTargetState = '')
 {
     if (($sAttCode == 'scope_class' || $sAttCode == 'database_table_name') && !$this->IsNew()) {
         return OPT_ATT_READONLY;
     }
     return parent::GetAttributeFlags($sAttCode, $aReasons, $sTargetState);
 }