public int lastModified ( int iAreaDesc , boolean bForceUniqueKey ) { // Set up the end key int iLastKeyField = this . getKeyFields ( bForceUniqueKey , false ) - 1 ; for ( int iKeyFieldSeq = iLastKeyField ; iKeyFieldSeq >= DBConstants . MAIN_KEY_FIELD ; iKeyFieldSeq -- ) { KeyField keyField = this . getKeyField ( iKeyFieldSeq , bForceUniqueKey ) ; if ( keyField . getField ( iAreaDesc ) . isModified ( ) ) return iKeyFieldSeq ; } return - 1 ; }
Any of these key fields modified?