@SuppressWarnings("static-access") public boolean isCustomized(){
  if (m_customizationLevel == null) {
    getElementID();
    m_customizationLevel=new Integer(s_parameters.CUSTOMNONE);
    if (m_parent.isCustomPrefix(m_name)) {
      m_customizationLevel=new Integer(s_parameters.CUSTOMPREFIXED);
    }
 else {
      if (m_parent.isObjectExists("AD_COLUMN",m_parent.getTables()) && m_parent.isObjectExists("AD_TABLE",m_parent.getTables())) {
        String sql=s_dbEngine.sqlAD_getTableColumnEntityType(m_parent.getVendor(),m_parent.getCatalog(),m_parent.getSchema(),m_table,m_name);
        Statement stmt=m_parent.setStatement();
        ResultSet rs=m_parent.executeQuery(stmt,sql);
        if (m_parent.getResultSetNext(rs)) {
          String s=m_parent.getResultSetString(rs,"ENTITY_TYPE");
          if (m_parent.isCustomEntityType(s))           m_customizationLevel=new Integer(s_parameters.CUSTOMMARKED);
        }
        m_parent.releaseResultSet(rs);
        m_parent.releaseStatement(stmt);
      }
    }
  }
  if (m_customizationLevel.intValue() > s_parameters.CUSTOMNONE)   return true;
 else   return false;
}

@ SuppressWarnings ( "static-access" ) public boolean isCustomized ( ) { if ( m_customizationLevel == null ) { getElementID ( ) ; m_customizationLevel = new Integer ( s_parameters . CUSTOMNONE ) ; if ( m_parent . isCustomPrefix ( m_name ) ) { m_customizationLevel = new Integer ( s_parameters . CUSTOMPREFIXED ) ; } else { if ( m_parent . isObjectExists ( "AD_COLUMN" , m_parent . getTables ( ) ) && m_parent . isObjectExists ( "AD_TABLE" , m_parent . getTables ( ) ) ) { String sql = s_dbEngine . sqlAD_getTableColumnEntityType ( m_parent . getVendor ( ) , m_parent . getCatalog ( ) , m_parent . getSchema ( ) , m_table , m_name ) ; Statement stmt = m_parent . setStatement ( ) ; ResultSet rs = m_parent . executeQuery ( stmt , sql ) ; if ( m_parent . getResultSetNext ( rs ) ) { String s = m_parent . getResultSetString ( rs , "ENTITY_TYPE" ) ; if ( m_parent . isCustomEntityType ( s ) ) m_customizationLevel = new Integer ( s_parameters . CUSTOMMARKED ) ; } m_parent . releaseResultSet ( rs ) ; m_parent . releaseStatement ( stmt ) ; } } } if ( m_customizationLevel . intValue ( ) > s_parameters . CUSTOMNONE ) return true ; else return false ; }
whether or not this column is a customization
