public KeyArea setupKey ( int iKeyArea ) { KeyArea keyArea = null ; if ( iKeyArea == DBConstants . MAIN_KEY_FIELD ) { keyArea = this . makeIndex ( DBConstants . UNIQUE , DBConstants . PRIMARY_KEY ) ; keyArea . addKeyField ( DBConstants . MAIN_FIELD , DBConstants . ASCENDING ) ; } return keyArea ; }
Add this key area description to the Record ..